arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.12942cs.CLcs.LG
收藏

论循环神经语言模型的表示能力

On the Representational Capacity of Recurrent Neural Language Models

ETH Zürich(苏黎世联邦理工学院);Johns Hopkins University(约翰斯·霍普金斯大学)

Franz Nowak, Anej Svete, Li Du, Ryan Cotterell

AI总结:

本文研究了基于RNN的语言模型的计算表达性,将图灵完备性扩展至概率情况,并分别证明了在无界和实时计算下RLM对概率图灵机的模拟上界与下界。

摘要:

本工作研究了基于循环神经网络(RNN)的语言模型(LM)的计算表达性。Siegelmann和Sontag(1992)著名地证明了,具有有理数权重和隐藏状态以及无界计算时间的RNN是图灵完备的。然而,LM除了(无加权的)语言成员资格外,还定义了字符串上的加权,并且对RNN LM(RLM)计算能力的分析应反映这一点。我们将图灵完备性结果扩展到概率情况,展示了具有无界计算时间的有理数加权RLM如何模拟具有有理数加权转移的任何确定性概率图灵机(PTM)。由于在实践中,RLM以实时方式工作,在每个时间步处理一个符号,我们将上述结果视为RLM表达性的上界。我们还通过证明在实时计算的限制下,此类模型可以模拟确定性实时有理PTM,从而提供了一个下界。

英文摘要:

This work investigates the computational expressivity of language models (LMs) based on recurrent neural networks (RNNs). Siegelmann and Sontag (1992) famously showed that RNNs with rational weights and hidden states and unbounded computation time are Turing complete. However, LMs define weightings over strings in addition to just (unweighted) language membership and the analysis of the computational power of RNN LMs (RLMs) should reflect this. We extend the Turing completeness result to the probabilistic case, showing how a rationally weighted RLM with unbounded computation time can simulate any deterministic probabilistic Turing machine (PTM) with rationally weighted transitions. Since, in practice, RLMs work in real-time, processing a symbol at every time step, we treat the above result as an upper bound on the expressivity of RLMs. We also provide a lower bound by showing that under the restriction to real-time computation, such models can simulate deterministic real-time rational PTMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑