arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.08191cs.CL
收藏

以字节为单位衡量跨语言迁移

Measuring Cross-lingual Transfer in Bytes

Maritaca AI;NeuralMind

Leandro Rodrigues de Souza, Thales Sales Almeida, Roberto Lotufo, Rodrigo Nogueira

AI总结:

该研究针对跨语言迁移机制不明确的问题,通过实验测量跨语言数据迁移量验证语言无关知识假说,发现不同源语言初始化模型迁移到10种差异目标语言的数据量相近,且迁移与语言污染、亲缘性无关,为衡量预训练语言无关表征的数据量测量提供新方向。

摘要:

多语言预训练已成为解决语言资源匮乏所带来挑战的有效方案。这类模型仅需极少甚至无需示例,就能将知识迁移到目标语言中。近期研究表明,单语言模型也具备类似能力,但这种迁移背后的机制仍不明确。部分研究探究了语言污染、句法相似性等影响因素。一个新兴研究方向指出,语言模型学习到的表征包含两个组成部分:语言特定组件和语言无关组件,后者负责迁移更具普适性的知识。然而,目前缺乏针对不同目标语言对这些特性的全面探究。为验证这一假设,我们受《迁移缩放定律》相关研究的启发开展了实验。我们测量了从源语言迁移到目标语言的数据量,发现在跨语言场景下,从不同语言初始化的模型在目标语言上的表现相近。这一结果出人意料,因为向西班牙语、韩语、芬兰语等10种差异较大的目标语言所接收的迁移数据量十分接近。我们还发现证据表明,这种迁移与语言污染或语言亲缘性无关,这进一步支撑了模型也依赖语言无关知识的假设。我们的实验为衡量预训练过程中学习到的语言无关表征对应的数据量提供了新的研究可能。

英文摘要:

Multilingual pretraining has been a successful solution to the challenges posed by the lack of resources for languages. These models can transfer knowledge to target languages with minimal or no examples. Recent research suggests that monolingual models also have a similar capability, but the mechanisms behind this transfer remain unclear. Some studies have explored factors like language contamination and syntactic similarity. An emerging line of research suggests that the representations learned by language models contain two components: a language-specific and a language-agnostic component. The latter is responsible for transferring a more universal knowledge. However, there is a lack of comprehensive exploration of these properties across diverse target languages. To investigate this hypothesis, we conducted an experiment inspired by the work on the Scaling Laws for Transfer. We measured the amount of data transferred from a source language to a target language and found that models initialized from diverse languages perform similarly to a target language in a cross-lingual setting. This was surprising because the amount of data transferred to 10 diverse target languages, such as Spanish, Korean, and Finnish, was quite similar. We also found evidence that this transfer is not related to language contamination or language proximity, which strengthens the hypothesis that the model also relies on language-agnostic knowledge. Our experiments have opened up new possibilities for measuring how much data represents the language-agnostic representations learned during pretraining.

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

↑