arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.11098cs.CL
收藏

神经网络语言模型和人类处理嵌套重复的机制

Mechanisms for Handling Nested Dependencies in Neural-Network Language Models and Humans

University of Amsterdam(阿姆斯特丹大学);University of Milano-Bicocca(米兰比可卡大学);Facebook AI Research(Facebook人工智能研究院);Catalan Institute for Research and Advanced Studies(加泰罗尼亚研究与高级研究所);Universitat Pompeu Fabra(庞培法布拉大学);College de France(法兰西学院)

Yair Lakretz, Dieuwke Hupkes, Alessandra Vergallito, Marco Marelli, Marco Baroni, Stanislas Dehaene

摘要:

句子理解中的递归处理被认为是人类语言能力的标志。然而,其潜在的神经机制在很大程度上仍然未知。我们研究了用“深度学习“方法训练的现代人工神经网络是否模仿了人类句子处理的一个中心方面,即在工作记忆中存储语法数字和性别信息,以及它在长距离协议中的使用(例如,当主语和动词被其他短语分开时,捕捉主语和动词之间正确的数字一致性)。虽然该网络是一种具有长短期记忆单元的循环架构,但它只被训练来预测大型语料库中的下一个单词,但分析显示,出现了一组非常稀疏的专门单元,这些单元成功地处理了语法数字的本地和远程句法一致性。然而,模拟也表明,这种机制不支持完全递归,并与一些长距离嵌入依赖失败。我们在一个行为实验中测试了该模型的预测,在该实验中,人类在多个名词的单数/复数状态存在系统性变化的句子中检测到了数量一致性的违规行为,无论是否有嵌入。人类和模型的错误模式非常相似,这表明模型反映了在人类数据中观察到的各种影响。然而,一个关键的区别是,由于嵌入了长期依赖性,人类仍然高于机会水平,而模型的系统误差使其低于机会水平。总的来说,我们的研究表明,探索现代人工神经网络处理句子的方式会导致关于人类语言表现的精确和可测试的假设。

英文摘要:

Recursive processing in sentence comprehension is considered a hallmark of human linguistic abilities. However, its underlying neural mechanisms remain largely unknown. We studied whether a modern artificial neural network trained with "deep learning" methods mimics a central aspect of human sentence processing, namely the storing of grammatical number and gender information in working memory and its use in long-distance agreement (e.g., capturing the correct number agreement between subject and verb when they are separated by other phrases). Although the network, a recurrent architecture with Long Short-Term Memory units, was solely trained to predict the next word in a large corpus, analysis showed the emergence of a very sparse set of specialized units that successfully handled local and long-distance syntactic agreement for grammatical number. However, the simulations also showed that this mechanism does not support full recursion and fails with some long-range embedded dependencies. We tested the model's predictions in a behavioral experiment where humans detected violations in number agreement in sentences with systematic variations in the singular/plural status of multiple nouns, with or without embedding. Human and model error patterns were remarkably similar, showing that the model echoes various effects observed in human data. However, a key difference was that, with embedded long-range dependencies, humans remained above chance level, while the model's systematic errors brought it below chance. Overall, our study shows that exploring the ways in which modern artificial neural networks process sentences leads to precise and testable hypotheses about human linguistic performance.

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

↑