arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.03547cs.CL
收藏

使用栈增强神经网络结出句法之果

Bearing Syntactic Fruit with Stack-Augmented Neural Networks

ETH Zürich(苏黎世联邦理工学院)

Brian DuSell, Ryan Cotterell

AI总结:

本文首次证明,仅基于表面形式训练的栈增强神经网络能够像人类一样进行层次句法泛化,其中非确定性栈增强的Transformer表现最佳。

摘要:

当儿童学习语言时,他们基于层次规则进行句法概括。最近的一系列研究探讨了常见的神经网络架构是否具有这种层次句法的归纳偏置,发现它们仅在特殊条件下才具有:当使用真实句法树结构增强时、当在大规模语料库上预训练时、或者当训练远超收敛点时。在本文中,我们首次证明了仅在表面形式上训练的神经网络架构——栈增强神经网络——能够以类似人类的方式进行泛化。我们测试了三种基础架构(Transformer、简单RNN、LSTM),并分别用两种栈风格进行增强,其中一种利用了非确定性。我们发现,具有非确定性栈的Transformer在多个旨在衡量层次归纳偏置的任务上泛化最佳。这表明栈增强神经网络可能比标准架构更准确地模拟人类句法习得,可作为心理语言学研究的有用对象。我们的代码已公开。

英文摘要:

When children learn language, they make syntactic generalizations based on hierarchical rules. A recent line of work has inquired as to whether common neural network architectures share this inductive bias for hierarchical syntax, finding that they do so only under special conditions: when augmented with ground-truth parse tree structures, when pre-trained on massive corpora, or when trained long past convergence. In this paper, we demonstrate, for the first time, neural network architectures that generalize in human-like fashion when trained only on surface forms: stack-augmented neural networks. We test three base architectures (transformer, simple RNN, LSTM) augmented with two styles of stack, one of which leverages nondeterminism. We find that transformers with nondeterministic stacks generalize best on multiple tasks designed to measure hierarchical inductive bias. This suggests that stack-augmented neural networks may be more accurate models of human syntax acquisition than standard architectures, serving as useful objects of psycholinguistic study. Our code is publicly available.

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

↑