探究大模型是否像人类一样理解语法结构
Finding Structure in Language Models
- 用心理语言学的结构启动方法检测模型的抽象语法知识
- 发现模型对形容词顺序等现象的理解受训练数据分布影响
- 设计合成语言测试平台,揭示层级结构建模机制
我们在说话、写作或聆听时,会基于对语言语法的知识持续进行预测。令人惊叹的是,儿童仅在几年内就能掌握这种语法知识,从而理解并泛化到从未听过的全新句式。语言模型通过逐步预测句子中的下一个词来构建语言表征,近年来产生了巨大的社会影响。本文的核心研究问题是:这些模型是否具备与人类类似的深层语法结构理解能力?该问题横跨自然语言处理、语言学和可解释性领域。为此,我们开发了新的可解释性技术,以深入理解大规模语言模型的复杂本质。从三个方向展开研究:首先,通过结构启动这一心理语言学核心范式,探索抽象语言信息的存在;其次,考察形容词顺序、否定极性词等语言现象,将模型对这些现象的理解与训练数据分布相联系;最后,引入一个可控的测试平台,使用复杂度递增的合成语言,研究层级结构建模中特征交互的作用。研究结果详细揭示了语言模型表征中嵌入的语法知识,并为利用计算方法探讨基础语言学问题提供了多个方向。
原文摘要 · Abstract (English)
When we speak, write or listen, we continuously make predictions based on our knowledge of a language's grammar. Remarkably, children acquire this grammatical knowledge within just a few years, enabling them to understand and generalise to novel constructions that have never been uttered before. Language models are powerful tools that create representations of language by incrementally predicting the next word in a sentence, and they have had a tremendous societal impact in recent years. The central research question of this thesis is whether these models possess a deep understanding of grammatical structure similar to that of humans. This question lies at the intersection of natural language processing, linguistics, and interpretability. To address it, we will develop novel interpretability techniques that enhance our understanding of the complex nature of large-scale language models. We approach our research question from three directions. First, we explore the presence of abstract linguistic information through structural priming, a key paradigm in psycholinguistics for uncovering grammatical structure in human language processing. Next, we examine various linguistic phenomena, such as adjective order and negative polarity items, and connect a model's comprehension of these phenomena to the data distribution on which it was trained. Finally, we introduce a controlled testbed for studying hierarchical structure in language models using various synthetic languages of increasing complexity and examine the role of feature interactions in modelling this structure. Our findings offer a detailed account of the grammatical knowledge embedded in language model representations and provide several directions for investigating fundamental linguistic questions using computational methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。