arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.02098cs.LGcs.AIcs.CLcs.FL
收藏

神经网络和乔姆斯基层次

Neural Networks and the Chomsky Hierarchy

DeepMind;Stanford University(斯坦福大学)

Grégoire Delétang, Anian Ruoss, Jordi Grau-Moya, Tim Genewein, Li Kevin Wenliang, Elliot Catt, Chris Cundy, Marcus Hutter, Shane Legg, Joel Veness, Pedro A. Ortega

摘要:

可靠的泛化是安全ML和AI的核心。然而,理解神经网络何时以及如何泛化仍然是该领域最重要的未解决问题之一。在这项工作中,我们进行了广泛的实证研究(20'910模型,15个任务),以调查是否从计算理论的见解可以预测在实践中的神经网络泛化的限制。我们证明,根据乔姆斯基层次结构的分组任务,使我们能够预测某些架构是否能够概括的分布输入。这包括负面结果,即使大量的数据和训练时间也不会导致任何非平凡的泛化,尽管模型具有足够的能力来完美地拟合训练数据。我们的研究结果表明,对于我们的任务子集,RNN和Transformers无法概括非常规任务,LSTM可以解决常规和反语言任务,只有结构化记忆(如堆栈或记忆磁带)增强的网络才能成功概括上下文无关和上下文敏感的任务。

英文摘要:

Reliable generalization lies at the heart of safe ML and AI. However, understanding when and how neural networks generalize remains one of the most important unsolved problems in the field. In this work, we conduct an extensive empirical study (20'910 models, 15 tasks) to investigate whether insights from the theory of computation can predict the limits of neural network generalization in practice. We demonstrate that grouping tasks according to the Chomsky hierarchy allows us to forecast whether certain architectures will be able to generalize to out-of-distribution inputs. This includes negative results where even extensive amounts of data and training time never lead to any non-trivial generalization, despite models having sufficient capacity to fit the training data perfectly. Our results show that, for our subset of tasks, RNNs and Transformers fail to generalize on non-regular tasks, LSTMs can solve regular and counter-language tasks, and only networks augmented with structured memory (such as a stack or memory tape) can successfully generalize on context-free and context-sensitive tasks.

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

↑