arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.18696cs.CLcs.AIcs.LG
收藏

探究大语言模型对语言范畴的联合编码

Probing LLMs for Joint Encoding of Linguistic Categories

Institute for Logic, Language and Computation, University of Amsterdam(阿姆斯特丹大学逻辑、语言与计算研究所)

Giulio Starace, Konstantinos Papakostas, Rochelle Choenni, Apostolos Panagiotopoulos, Matteo Rosati, Alina Leidinger, Ekaterina Shutova

AI总结:

本文提出检验大语言模型中语言范畴联合编码的框架,发现词性类别之间及其与句法依存关系之间存在共享表示,且该模式在多语言模型中跨语言一致。

摘要:

大语言模型(LLMs)在众多自然语言处理任务上表现出色,这得益于其在预训练过程中习得的通用语言知识。现有的模型可解释性研究(Tenney et al., 2019)表明,LLM 的各层中会涌现出一种语言层级结构:较低层更适合解决句法任务,而较高层则用于语义处理。然而,关于不同语言现象的编码在模型内部如何相互作用,以及语言上相关范畴的处理在多大程度上依赖于相同的、共享的模型表示,目前仍知之甚少。本文提出了一个用于检验 LLM 中语言范畴联合编码的框架。以句法为重点,我们发现了在同一语言层级(相关的词性(POS)类别)和不同语言层级(词性类别与相关句法依存关系)上均存在联合编码的证据。我们的跨语言实验表明,在多语言 LLM 中,不同语言之间也呈现出相同的模式。

英文摘要:

Large Language Models (LLMs) exhibit impressive performance on a range of NLP tasks, due to the general-purpose linguistic knowledge acquired during pretraining. Existing model interpretability research (Tenney et al., 2019) suggests that a linguistic hierarchy emerges in the LLM layers, with lower layers better suited to solving syntactic tasks and higher layers employed for semantic processing. Yet, little is known about how encodings of different linguistic phenomena interact within the models and to what extent processing of linguistically-related categories relies on the same, shared model representations. In this paper, we propose a framework for testing the joint encoding of linguistic categories in LLMs. Focusing on syntax, we find evidence of joint encoding both at the same (related part-of-speech (POS) classes) and different (POS classes and related syntactic dependency relations) levels of linguistic hierarchy. Our cross-lingual experiments show that the same patterns hold across languages in multilingual LLMs.

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

↑