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

MindMerger:高效提升大语言模型在非英语语言中的推理能力

MindMerger: Efficient Boosting LLM Reasoning in non-English Languages

Nanjing University(南京大学);Carnegie Mellon University(卡内基梅隆大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Zixian Huang, Wenhao Zhu, Gong Cheng, Lei Li, Fei Yuan

AI总结:

针对LLM非英语推理能力不足的问题,提出MindMerger方法,融合多语言模型的外部语言理解能力与LLM内建推理能力,通过两步训练提升多语言推理性能,实验显示在低资源语言上显著优于基线。

摘要:

推理能力对于大语言模型(LLMs)至关重要,然而英语与非英语语言之间存在着显著的差距。为了弥合这一差距,一些工作通过微调LLMs来重新学习非英语语言中的推理能力,而另一些工作则用外部模型的输出(如英语翻译文本)替换非英语输入,以规避LLM理解非英语的挑战。不幸的是,这些方法往往未能充分利用LLMs内建的熟练推理和有用的语言理解能力。为了更好地利用LLMs中的推理思维和语言理解能力,我们提出了一种新方法,即MindMerger,它将LLMs与来自多语言模型的外部语言理解能力相融合,以提升多语言推理性能。此外,我们引入了一个两步训练方案:首先训练将外部能力嵌入LLMs,然后训练LLMs对外部能力与内建能力的协作利用。在三个多语言推理数据集和一个语言理解数据集上的实验表明,MindMerger在所有基线上持续取得更优表现,尤其是在低资源语言上。在不更新LLM参数的情况下,在MGSM数据集上,所有语言和低资源语言的平均准确率分别提高了6.7%和8.0%。

英文摘要:

Reasoning capabilities are crucial for Large Language Models (LLMs), yet a notable gap exists between English and non-English languages. To bridge this disparity, some works fine-tune LLMs to relearn reasoning capabilities in non-English languages, while others replace non-English inputs with an external model's outputs such as English translation text to circumvent the challenge of LLM understanding non-English. Unfortunately, these methods often underutilize the built-in skilled reasoning and useful language understanding capabilities of LLMs. In order to better utilize the minds of reasoning and language understanding in LLMs, we propose a new method, namely MindMerger, which merges LLMs with the external language understanding capabilities from multilingual models to boost the multilingual reasoning performance. Furthermore, a two-step training scheme is introduced to first train to embeded the external capabilities into LLMs and then train the collaborative utilization of the external capabilities and the built-in capabilities in LLMs. Experiments on three multilingual reasoning datasets and a language understanding dataset demonstrate that MindMerger consistently outperforms all baselines, especially in low-resource languages. Without updating the parameters of LLMs, the average accuracy improved by 6.7% and 8.0% across all languages and low-resource languages on the MGSM dataset, respectively.

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

↑