Given a nondeterministic finite automaton $\mathcal{A}$ and a length $n$ in unary, the problem #NFA seeks to compute the number of words of length $n$ accepted by $\mathcal{A}$. A celebrated result of Arenas, Croquevielle, Jayaram, and Riveros established that #NFA admits a fully polynomial-time randomized approximation scheme (FPRAS). Subsequent works have brought the running time down to $O(n^2m^3\log(nm)ε^{-2}\log(1/δ))$ for an NFA with $m$ states over a binary alphabet, with relative error at most $ε$ and failure probability at most $δ$. These running-time bounds concern explicitly represented alphabets, whereas automata arising from programs, strings, and structured data are naturally symbolic, i.e., their transitions carry predicates, or guards, over a large concrete alphabet $\mathbb{D}$. In this work, we study #Symbolic-NFA, which asks to count the number of words of a given length accepted by a symbolic NFA. We present a randomized approximation algorithm for this #P-hard problem. We formulate the algorithm using an oracle interface that supports membership testing, approximate counting, and almost-uniform sampling for transition guards. With polynomial-time implementations of these guard operations, the algorithm yields an FPRAS. Our algorithm extends the recent dependent sampling approach of Meel and de Colnet to symbolic automata. Our FPRAS queries only the input guards, avoiding the potentially exponential blowup from constructing Boolean combinations. For an automaton with transition set $Δ$, the algorithm makes $O(n^2|Δ|\log(n|Δ|)ε^{-2}\log(1/δ))$ counting and sampling queries. For constant-size explicit alphabets, our algorithm recovers the above running-time bound for #NFA. We also formalize the core probabilistic analysis, including concentration and confidence amplification, in Lean 4.


翻译:暂无翻译

0
下载
关闭预览

相关内容

OlymMATH: 奥林匹克级双语数学基准,R1 正确率仅为 21.2%
专知会员服务
11+阅读 · 2025年4月17日
【Google】利用AUTOML实现加速感知神经网络设计
专知会员服务
30+阅读 · 2020年3月5日
自动结构变分推理,Automatic structured variational inference
专知会员服务
41+阅读 · 2020年2月10日
使用 Keras Tuner 调节超参数
TensorFlow
15+阅读 · 2020年2月6日
概述自动机器学习(AutoML)
人工智能学家
19+阅读 · 2019年8月11日
《AutoML:方法,系统,挑战》新书免费下载
新智元
25+阅读 · 2019年5月28日
基于 Carsim 2016 和 Simulink的无人车运动控制联合仿真(四)
meta learning 17年:MAML SNAIL
CreateAMind
11+阅读 · 2019年1月2日
动手写机器学习算法:SVM支持向量机(附代码)
七月在线实验室
12+阅读 · 2017年12月5日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
国家自然科学基金
1+阅读 · 2016年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月23日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
10+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
9+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
5+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
9+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
16+阅读 · 11月25日
相关VIP内容
OlymMATH: 奥林匹克级双语数学基准,R1 正确率仅为 21.2%
专知会员服务
11+阅读 · 2025年4月17日
【Google】利用AUTOML实现加速感知神经网络设计
专知会员服务
30+阅读 · 2020年3月5日
自动结构变分推理,Automatic structured variational inference
专知会员服务
41+阅读 · 2020年2月10日
相关资讯
使用 Keras Tuner 调节超参数
TensorFlow
15+阅读 · 2020年2月6日
概述自动机器学习(AutoML)
人工智能学家
19+阅读 · 2019年8月11日
《AutoML:方法,系统,挑战》新书免费下载
新智元
25+阅读 · 2019年5月28日
基于 Carsim 2016 和 Simulink的无人车运动控制联合仿真(四)
meta learning 17年:MAML SNAIL
CreateAMind
11+阅读 · 2019年1月2日
动手写机器学习算法:SVM支持向量机(附代码)
七月在线实验室
12+阅读 · 2017年12月5日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
相关基金
国家自然科学基金
1+阅读 · 2016年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员