arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.18836cs.CLcs.AI
收藏

从以英语为中心到高效双语:面向代表性不足语言的定制分词器大语言模型

From English-Centric to Effective Bilingual: LLMs with Custom Tokenizers for Underrepresented Languages

OpenBabylon;ARG-Tech, University of Dundee(邓迪大学ARG-Tech公司);Georg-August Universität Göttingen(哥廷根大学);Doha Institute for Graduate Studies(多哈研究生学院);Arab Center for Research and Policy Studies(阿拉伯研究与政策研究中心);Google(谷歌);PolyAgent
Artur Kiulian, Anton Polishko, Mykola Khandoga, Yevhen Kostiuk, Guillermo Gabrielli, Łukasz Gagała, Fadi Zaraket, Qusai Abu Obaida, Hrishikesh Garud, Wendy Wing… 展开作者

Artur Kiulian, Anton Polishko, Mykola Khandoga, Yevhen Kostiuk, Guillermo Gabrielli, Łukasz Gagała, Fadi Zaraket, Qusai Abu Obaida, Hrishikesh Garud, Wendy Wing Yee Mak, Dmytro Chaplynskyi, Selma Belhadj Amor, Grigol Peradze

AI总结:

本文提出模型无关的双语LLM构建流程,通过定制词表与嵌入初始化等步骤,在三种非拉丁文字语言上以更低成本提升性能并减少语码转换等问题。

摘要:

本文提出一种与模型无关且具有成本效益的方法,用于开发支持英语和任意目标语言的双语基础大语言模型(LLM)。该方法包括词表扩展、新嵌入初始化、模型训练和评估。我们使用三种均采用非拉丁文字的语言开展实验:乌克兰语、阿拉伯语和格鲁吉亚语。我们的方法在提升语言性能的同时降低了计算成本。它缓解了代表性不足语言所遭受的不成比例的惩罚,促进公平,并最大限度减少语码转换和语法破碎等不良现象。此外,我们提出了评估语言质量的新指标,揭示词表大小会显著影响生成文本的质量。

英文摘要:

In this paper, we propose a model-agnostic cost-effective approach to developing bilingual base large language models (LLMs) to support English and any target language. The method includes vocabulary expansion, initialization of new embeddings, model training and evaluation. We performed our experiments with three languages, each using a non-Latin script - Ukrainian, Arabic, and Georgian. Our approach demonstrates improved language performance while reducing computational costs. It mitigates the disproportionate penalization of underrepresented languages, promoting fairness and minimizing adverse phenomena such as code-switching and broken grammar. Additionally, we introduce new metrics to evaluate language quality, revealing that vocabulary size significantly impacts the quality of generated text.

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

↑