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

多语言语言模型表示的几何学

The Geometry of Multilingual Language Model Representations

Halıcıoğlu Data Science Institute(哈利西奥卢数据科学研究所);University of California San Diego(加州大学圣地亚哥分校)

Tyler A. Chang, Zhuowen Tu, Benjamin K. Bergen

摘要:

我们评估多语言语言模型如何保持一个共享的多语言表示空间,同时仍然在每种语言中编码语言敏感信息。使用XLM-R作为一个案例研究,我们表明,语言占据类似的线性子空间后,平均中心,评估的基础上的因果关系对语言建模性能和子空间之间的直接比较88种语言。子空间平均值沿语言敏感轴不同,这些轴在整个中间层中相对稳定,并且这些轴编码诸如令牌词汇表的信息。通过语言手段转移表征足以诱导不同语言的标记预测。然而,我们也确定了稳定的语言中性轴,编码信息,如令牌的位置和词性。我们可视化表示投影到语言敏感和语言中立的轴,识别语言的家庭和词性集群,随着螺旋,环面和曲线表示令牌的位置信息。这些结果表明,多语言语言模型沿着正交的语言敏感轴和语言中性轴编码信息,允许模型为下游任务和跨语言迁移学习提取各种特征。

英文摘要:

We assess how multilingual language models maintain a shared multilingual representation space while still encoding language-sensitive information in each language. Using XLM-R as a case study, we show that languages occupy similar linear subspaces after mean-centering, evaluated based on causal effects on language modeling performance and direct comparisons between subspaces for 88 languages. The subspace means differ along language-sensitive axes that are relatively stable throughout middle layers, and these axes encode information such as token vocabularies. Shifting representations by language means is sufficient to induce token predictions in different languages. However, we also identify stable language-neutral axes that encode information such as token positions and part-of-speech. We visualize representations projected onto language-sensitive and language-neutral axes, identifying language family and part-of-speech clusters, along with spirals, toruses, and curves representing token position information. These results demonstrate that multilingual language models encode information along orthogonal language-sensitive and language-neutral axes, allowing the models to extract a variety of features for downstream tasks and cross-lingual transfer learning.

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

↑