学习正则表达式的难度
On the Hardness of Learning Regular Expressions
AI总结:
研究在PAC模型和成员查询下学习正则表达式的计算难度,证明即使在均匀分布下也困难,且不依赖于DFA/NFA的现有结果。
摘要:
尽管正则表达式具有理论重要性和广泛的实践应用,但学习它们的计算复杂度在很大程度上尚未被探索。我们研究了在PAC模型和成员查询下非恰当学习正则表达式的计算难度。我们证明,即使在超立方体上的均匀分布下,PAC学习也是困难的,并且还证明了在成员查询下无分布学习的难度。此外,如果正则表达式扩展了补集或交集操作,我们建立了即使在均匀分布下使用成员查询学习的难度。我们强调,这些结果并不源于现有的关于学习DFA或NFA的难度结果,因为正则语言在DFA、NFA和正则表达式之间的描述复杂度可能呈指数级差异。
英文摘要:
Despite the theoretical significance and wide practical use of regular expressions, the computational complexity of learning them has been largely unexplored. We study the computational hardness of improperly learning regular expressions in the PAC model and with membership queries. We show that PAC learning is hard even under the uniform distribution on the hypercube, and also prove hardness of distribution-free learning with membership queries. Furthermore, if regular expressions are extended with complement or intersection, we establish hardness of learning with membership queries even under the uniform distribution. We emphasize that these results do not follow from existing hardness results for learning DFAs or NFAs, since the descriptive complexity of regular languages can differ exponentially between DFAs, NFAs, and regular expressions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。