Question Translation Training for Better Multilingual Reasoning

Wenhao Zhu, Shujian Huang, Fei Yuan, Shuaijie She, Jiajun Chen +1 more
1/15/2024
cs.CL

Official code: NJUNLP/QAlign (39 stars, last commit 2024-01-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

NJUNLP/QAlignOfficial100%
393Ruby, ShellJan 13, 20242 years ago

Similar Papers

Cite this paper

@article{zhu2024question,
  title  = {Question Translation Training for Better Multilingual Reasoning},
  author = {Wenhao Zhu and Shujian Huang and Fei Yuan and Shuaijie She and Jiajun Chen and Alexandra Birch},
  year   = {2024},
  eprint = {2401.07817},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.07817v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.07817.svg)](https://codeofpaper.com/paper/2401.07817)

Discussion