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

面向多语言大语言模型的平行语料利用配方

A Recipe of Parallel Corpora Exploitation for Multilingual Large Language Models

LMU Munich(慕尼黑大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Instituto Superior Técnico, Universidade de Lisboa(里斯本大学高等技术学院);Instituto de Telecomunicações(电信研究所);Unbabel(昂巴贝尔公司)

Peiqin Lin, André F. T. Martins, Hinrich Schütze

AI总结:

本文系统研究平行语料的质量、数量、训练目标和模型规模对多语言大语言模型的影响,发现噪声过滤、仅用机器翻译目标及更大模型能带来最佳增益,且10K平行句对即可取得显著效果。

摘要:

近期研究已凸显利用平行语料增强多语言大语言模型的潜力,在机器翻译等双语任务和文本分类等通用任务上均能提升性能。基于这些发现,本综合研究旨在确定利用平行语料的最有效策略。我们考察了平行语料质量与数量、训练目标以及模型规模对经平行语料增强的多语言大语言模型在多种语言和任务上性能的影响。分析揭示了若干关键见解:(i)过滤噪声翻译对于有效利用平行语料至关重要,而语言识别和短句过滤影响甚微;(ii)即使仅含10K平行句对的语料也能取得与远大规模数据集相当的结果;(iii)在各种训练目标及其组合中,仅采用机器翻译目标可获得最佳结果;(iv)较大的多语言大语言模型比较小模型从平行语料中获益更多。本研究为优化利用平行语料以增强多语言大语言模型提供了有价值的见解,将先前发现从有限语言和任务的可推广性扩展到更广泛的场景。

英文摘要:

Recent studies have highlighted the potential of exploiting parallel corpora to enhance multilingual large language models, improving performance in both bilingual tasks, e.g., machine translation, and general-purpose tasks, e.g., text classification. Building upon these findings, our comprehensive study aims to identify the most effective strategies for leveraging parallel corpora. We investigate the impact of parallel corpora quality and quantity, training objectives, and model size on the performance of multilingual large language models enhanced with parallel corpora across diverse languages and tasks. Our analysis reveals several key insights: (i) filtering noisy translations is essential for effectively exploiting parallel corpora, while language identification and short sentence filtering have little effect; (ii) even a corpus with just 10K parallel sentences can yield results comparable to those obtained from much larger datasets; (iii) employing only the machine translation objective yields the best results among various training objectives and their combinations; (iv) larger multilingual language models benefit more from parallel corpora than smaller models. Our study offers valuable insights into the optimal utilization of parallel corpora to enhance multilingual large language models, extending the generalizability of previous findings from limited languages and tasks to a broader range of scenarios.

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

↑