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

大型语言模型在类型多样的语言间共享潜在语法概念的表示

Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languages

Northeastern University(东北大学);TU Clausthal(图鲁克劳斯塔尔大学);EPFL(苏黎世联邦理工学院);Technion – IIT(技术学院 – 以色列理工学院)

Jannik Brinkmann, Chris Wendler, Christian Bartelt, Aaron Mueller

AI总结:

本研究通过稀疏自编码器和因果干预,发现大型语言模型在多种语言间共享形态句法概念的表示,并能精确控制行为,表明跨语言抽象能力可稳健形成。

摘要:

人类双语者在处理多种语言时,常会使用相似的大脑区域,这取决于他们学习第二语言的时间和熟练程度。在大型语言模型(LLM)中,多种语言是如何被学习和编码的呢?在本工作中,我们探讨了LLM在多大程度上跨语言共享形态句法概念(如语法数、性和时态)的表示。我们在Llama-3-8B和Aya-23-8B上训练稀疏自编码器,并证明抽象语法概念通常编码在跨多种语言共享的特征方向上。我们使用因果干预来验证这些表示的多语言性质;具体而言,我们表明仅消融多语言特征会使分类器性能在多种语言中降至接近随机水平。随后,我们利用这些特征在机器翻译任务中精确修改模型行为;这证明了这些特征在网络中作用的通用性和选择性。我们的发现表明,即使主要用英语数据训练的模型也能发展出稳健的、跨语言的形态句法概念抽象。

英文摘要:

Human bilinguals often use similar brain regions to process multiple languages, depending on when they learned their second language and their proficiency. In large language models (LLMs), how are multiple languages learned and encoded? In this work, we explore the extent to which LLMs share representations of morphsyntactic concepts such as grammatical number, gender, and tense across languages. We train sparse autoencoders on Llama-3-8B and Aya-23-8B, and demonstrate that abstract grammatical concepts are often encoded in feature directions shared across many languages. We use causal interventions to verify the multilingual nature of these representations; specifically, we show that ablating only multilingual features decreases classifier performance to near-chance across languages. We then use these features to precisely modify model behavior in a machine translation task; this demonstrates both the generality and selectivity of these feature's roles in the network. Our findings suggest that even models trained predominantly on English data can develop robust, cross-lingual abstractions of morphosyntactic concepts.

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

↑