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

无迁移的对齐:多语言语言模型预训练期间的分词对跨语言表示的影响

Alignment without Transfer: Tokenization Impacts Cross-lingual Representations during Multilingual Language Model Pretraining

University College London(伦敦大学学院)

Jonathan von Rad, Pontus Stenetorp, Yao Lu

AI总结:

该研究通过预训练仅改变分词器的多语言模型,发现改进词汇分配可提升跨语言表示对齐与参数知识共享,但对齐提升未改变跨语言迁移,且跨文字系统双语者迁移更低,相关资源公开。

摘要:

分词是多语言自然语言处理(NLP)流程中最关键的步骤之一,但分词器通常会为低资源语言分配过少的词汇。尽管增加词汇分配可提升性能,但人们对预训练期间分词如何塑造跨语言表示与迁移仍知之甚少。为解决该问题,我们在FineWeb2-HQ数据集上预训练了39个单语及双语10亿参数的仅解码器模型,涉及英语、德语、法语、阿拉伯语和中文,仅改变分词器。结果表明,改进的词汇分配:(i)显著提升了早期至中间层的跨语言表示对齐,仅测量输出层的现有研究无法观察到该效应;(ii)增加了前馈神经元中的跨语言参数知识共享,相关与因果证据均支持此结论;(iii)存在对齐-迁移解离现象,即尽管对齐程度更高,跨语言迁移基本保持不变。此外,即使在公平的词汇分配下,跨文字系统双语者的迁移仍显著更低,表明文字系统障碍并非仅由分词器导致。我们的所有检查点和代码均公开可用。

英文摘要:

Tokenization represents one of the most crucial steps in mulilingual NLP pipelines. Yet, tokenizers routinely under-allocate vocabulary to low-resource languages. While improved allocation leads to better performance, it remains poorly understood how tokenization shapes cross-lingual representations and transfer during pretraining. To address this, we pretrain 39 mono- and bilingual 1B decoder-only models on FineWeb2-HQ across English, German, French, Arabic and Chinese, varying only the tokenizer. Our results demonstrate that improved vocabulary allocation (i) substantially raises cross-lingual representation alignment in early-to-mid layers, an effect that prior work measuring only the output layer could not observe, (ii) increases cross-lingual parametric knowledge sharing in feed-forward neurons, supported by correlational and causal evidence, and (iii) an alignment-transfer dissociation, where cross-lingual transfer remains essentially unchanged despite higher alignment. Moreover, transfer is significantly lower for cross-script bilinguals even under fair vocabulary allocation, indicating that the script barrier is not merely a tokenizer artifact. All of our checkpoints and code are publicly available.

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

↑