arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.07817cs.CL
收藏

面向更优多语言推理的问题翻译训练

Question Translation Training for Better Multilingual Reasoning

Nanjing University(南京大学);Shanghai AI Lab(上海人工智能实验室);University of Edinburgh(爱丁堡大学)

Wenhao Zhu, Shujian Huang, Fei Yuan, Shuaijie She, Jiajun Chen, Alexandra Birch

AI总结:

本文提出问题对齐方法,通过微调模型将多语言推理问题翻译成英文,以充分利用英文指令数据,在 LLaMA2-13B 上相较 translate-training 在 MGSM 和 MSVAMP 十种语言上平均提升 11.3% 和 16.1%。

摘要:

大型语言模型在推理任务上展现出令人瞩目的性能,但在英语以外的语言中表现往往大幅下降。鉴于其训练数据主要由英文文本和指令构成,这一现象并不令人意外。一种常见的解决方案是将指令数据翻译成所有目标语言,然后基于所得的多语言数据进行训练,这种方法被称为 translate-training。该方案不仅成本高昂,而且由于数学思维链的非标准格式,往往导致翻译质量低下。本文探索了问题对齐(question alignment)的益处,即通过在 X-English 平行问题数据上微调,训练模型将推理问题翻译成英语。通过这种方式,我们执行了有针对性的领域内语言对齐,从而最有效地利用英文指令数据来释放 LLM 的多语言推理能力。在 LLaMA2-13B 上的实验结果表明,问题对齐相较 translate-training 方法带来了一致的提升:在 MGSM 和 MSVAMP 多语言推理基准的十种语言上,准确率平均分别提高了 11.3% 和 16.1%。项目地址:https://github.com/NJUNLP/QAlign。

英文摘要:

Large language models show compelling performance on reasoning tasks but they tend to perform much worse in languages other than English. This is unsurprising given that their training data largely consists of English text and instructions. A typical solution is to translate instruction data into all languages of interest, and then train on the resulting multilingual data, which is called translate-training. This approach not only incurs high cost, but also results in poorly translated data due to the non-standard formatting of mathematical chain-of-thought. In this paper, we explore the benefits of question alignment, where we train the model to translate reasoning questions into English by finetuning on X-English parallel question data. In this way we perform targeted, in-domain language alignment which makes best use of English instruction data to unlock the LLMs' multilingual reasoning abilities. Experimental results on LLaMA2-13B show that question alignment leads to consistent improvements over the translate-training approach: an average improvement of 11.3% and 16.1% accuracy across ten languages on the MGSM and MSVAMP multilingual reasoning benchmarks. The project will be available at: https://github.com/NJUNLP/QAlign.

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

↑