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

词汇共享如何促进LLaMA的多语言能力?

How Vocabulary Sharing Facilitates Multilingualism in LLaMA?

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Hong Kong University of Science and Technology(香港科技大学);Carnegie Mellon University(卡内基梅隆大学)

Fei Yuan, Shuai Yuan, Zhiyong Wu, Lei Li

AI总结:

本研究从词汇共享角度分析LLaMA在101种语言中的多语言能力,通过嵌入微调前后的性能差距划分四个象限,并据此提供高效的调优指南,显著提升了模型的多语言性能。

摘要:

大型语言模型(LLMs)通常在英语任务上表现强劲,而在其他语言上存在局限性。当LLM仅在特定语言上训练时,其多语言能力如何?其潜在机制仍不清楚。本研究旨在通过在101种语言上进行详尽分析,从词汇共享的角度考察LLM的多语言能力。通过研究嵌入微调前后的性能差距,我们发现了四个不同的象限。通过深入探讨每个象限,我们为调整这些语言提供了可操作且高效的指南。大量实验表明,现有LLM具备的多语言能力超出了我们的预期,并且基于每个象限的这些属性,我们可以显著提升LLM的多语言性能。

英文摘要:

Large Language Models (LLMs), often show strong performance on English tasks, while exhibiting limitations on other languages. What is an LLM's multilingual capability when it is trained only on certain languages? The underlying mechanism remains unclear. This study endeavors to examine the multilingual capability of LLMs from the vocabulary sharing perspective by conducting an exhaustive analysis across 101 languages. Through the investigation of the performance gap before and after embedding fine-tuning, we discovered four distinct quadrants. By delving into each quadrant we provide actionable and efficient guidelines for tuning these languages. Extensive experiments reveal that existing LLMs possess multilingual capabilities that surpass our expectations, and we can significantly improve the multilingual performance of LLMs based on these attributes of each quadrant~\footnote{\url{https://github.com/CONE-MT/Vocabulary-Sharing-Facilitates-Multilingualism}.}.

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

↑