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

多语言大语言模型中语言方向与标记几何的对齐方式

How Language Directions Align with Token Geometry in Multilingual LLMs

Semyung University(顺阳大学)

JaeSeong Kim, Suan Lee

AI总结:

研究揭示多语言大语言模型通过训练数据塑造的潜在表示结构区分语言,而非表面文字特征。

摘要:

多语言大语言模型在多种语言上表现出强大的性能,但对其内部表示空间中语言信息的结构以及如何在各层中出现的系统分析却十分有限。我们对六个多语言大语言模型进行了全面的探测研究,覆盖了全部268个transformer层,使用线性和非线性探测方法以及新的标记-语言对齐分析,以量化语言编码的层间动态和几何结构。我们的结果显示,语言信息在第一个transformer块中变得明显分离(从第0层到第1层,+76.4±8.2个百分点),并在模型深度中几乎始终保持完全线性可分。我们进一步发现,语言方向与词汇嵌入之间的对齐程度强烈依赖于训练数据的语言组成。值得注意的是,包含中文的模型在ZH匹配峰值达到16.43%,而以英语为中心的模型仅达到3.90%,揭示出4.21倍的结构印记效应。这些发现表明,多语言大语言模型不是通过表面文字特征来区分语言,而是通过由训练语料库塑造的潜在表示结构。我们的分析为数据组成策略和多语言表示学习的公平性提供了实用见解。所有代码和分析脚本均在https://github.com/thisiskorea/How-Language-Directions-Align-with-Token-Geometry-in-Multilingual-LLMs上公开。

英文摘要:

Multilingual LLMs demonstrate strong performance across diverse languages, yet there has been limited systematic analysis of how language information is structured within their internal representation space and how it emerges across layers. We conduct a comprehensive probing study on six multilingual LLMs, covering all 268 transformer layers, using linear and nonlinear probes together with a new Token--Language Alignment analysis to quantify the layer-wise dynamics and geometric structure of language encoding. Our results show that language information becomes sharply separated in the first transformer block (+76.4$\pm$8.2 percentage points from Layer 0 to 1) and remains almost fully linearly separable throughout model depth. We further find that the alignment between language directions and vocabulary embeddings is strongly tied to the language composition of the training data. Notably, Chinese-inclusive models achieve a ZH Match@Peak of 16.43\%, whereas English-centric models achieve only 3.90\%, revealing a 4.21$\times$ structural imprinting effect. These findings indicate that multilingual LLMs distinguish languages not by surface script features but by latent representational structures shaped by the training corpus. Our analysis provides practical insights for data composition strategies and fairness in multilingual representation learning. All code and analysis scripts are publicly available at: https://github.com/thisiskorea/How-Language-Directions-Align-with-Token-Geometry-in-Multilingual-LLMs.

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

↑