下一符号预测场景下正则语言的学习难度
Hardness of Learning Regular Languages in the Next Symbol Prediction Setting
AI总结:
该研究形式化了下一符号预测(NSP)学习场景,证明即便该场景标签更丰富,学习DFA、布尔公式等概念类仍具计算难度,还通过归约在密码学假设下验证了NSP场景下DFA学习的困难性。
摘要:
我们研究了下一符号预测(Next Symbol Prediction,NSP)场景下的语言可学习性,在该场景中,学习器仅接收来自某语言的正例,同时针对每个前缀,还能获得两类信息:(i)该前缀本身是否属于该语言;(ii)哪些后续符号可以导向一个可接受的字符串。该场景已在过往研究中被用于对神经序列模型进行实证分析,此外我们还发现,NSP场景下的高效算法可用于学习语言模型的(截断)支撑集。我们对该场景进行了形式化处理,使其适用于PAC(概率近似正确)学习分析。尽管该场景提供了比传统分类场景丰富得多的标签集,我们仍证明,学习确定性有限自动机(DFA)和布尔公式等概念类在计算上仍然是困难的。该证明通过一种构造实现,该构造使得几乎所有额外标签都不具备信息价值,从而将传统学习问题归约为带NSP标签的学习问题。在密码学假设下,该归约表明,在NSP场景中学习DFA的问题在计算上是困难的。
英文摘要:
We study the learnability of languages in the Next Symbol Prediction (NSP) setting, where a learner receives only positive examples from a language together with, for every prefix, (i) whether the prefix itself is in the language and (ii) which next symbols can lead to an accepting string. This setting has been used in prior works to empirically analyze neural sequence models, and additionally, we observe that efficient algorithms for the NSP setting can be used to learn the (truncated) support of language models. We formalize the setting so as to make it amenable to PAC-learning analysis. While the setting provides a much richer set of labels than the conventional classification setting, we show that learning concept classes such as DFAs and Boolean formulas remains computationally hard. The proof is via a construction that makes almost all additional labels uninformative, yielding a reduction from the conventional learning problem to learning with NSP labels. Under cryptographic assumptions, the reduction implies that the problem of learning DFAs is computationally hard in the NSP setting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。