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

语义枢轴使大型语言模型具备跨语言迁移能力

Semantic Pivots Enable Cross-Lingual Transfer in Large Language Models

The Key Laboratory of Cognition and Decision Intelligence for Complex Systems Institute of Automation, Chinese Academy of Sciences(认知与决策智能复杂系统重点实验室,中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);University of Science and Technology Beijing(北京科技大学);Unisound Al Technology Co,Ltd(Unisound人工智能技术有限公司);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Kaiyu He, Tong Zhou, Yubo Chen, Delai Qiu, Shengping Liu, Kang Liu, Jun Zhao

AI总结:

本研究提出词级跨语言翻译任务,通过追踪中间层输出识别共现与语义枢轴行为,并利用高比例语义枢轴的预训练数据提升LLMs的跨语言能力。

摘要:

大型语言模型(LLMs)在跨语言任务中展现出卓越的能力。理解LLMs如何获得这种能力对其可解释性至关重要。为准确量化LLMs的跨语言能力,我们提出了一项词级跨语言翻译任务。为探究LLMs如何学习跨语言能力,我们追踪了LLMs在单词翻译任务中中间层的输出。我们在LLMs的前向传播中识别并区分了两种不同的行为:共现行为和语义枢轴行为。我们将LLMs的这两种不同行为归因于单词的共现频率,并从预训练数据集中发现了语义枢轴。最后,为将我们的发现应用于提升LLMs的跨语言能力,我们利用高比例语义枢轴的文档重建了一个语义枢轴感知的预训练数据集。我们的实验验证了该方法在增强跨语言能力方面的有效性。我们的研究为LLMs的可解释性提供了见解,并提供了一种提升LLMs跨语言能力的方法。

英文摘要:

Large language models (LLMs) demonstrate remarkable ability in cross-lingual tasks. Understanding how LLMs acquire this ability is crucial for their interpretability. To quantify the cross-lingual ability of LLMs accurately, we propose a Word-Level Cross-Lingual Translation Task. To find how LLMs learn cross-lingual ability, we trace the outputs of LLMs' intermediate layers in the word translation task. We identify and distinguish two distinct behaviors in the forward pass of LLMs: co-occurrence behavior and semantic pivot behavior. We attribute LLMs' two distinct behaviors to the co-occurrence frequency of words and find the semantic pivot from the pre-training dataset. Finally, to apply our findings to improve the cross-lingual ability of LLMs, we reconstruct a semantic pivot-aware pre-training dataset using documents with a high proportion of semantic pivots. Our experiments validate the effectiveness of our approach in enhancing cross-lingual ability. Our research contributes insights into the interpretability of LLMs and offers a method for improving LLMs' cross-lingual ability.

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

↑