Question Translation Training for Better Multilingual Reasoning

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

This paper, recently published by researchers at Nanjing University, the Shanghai AI Lab, and the University of Edinburgh, tackles a persistent bottleneck in large language models (LLMs): their struggle with reasoning in languages other than English.

TL;DR

Instead of the costly and error-prone process of translating entire reasoning datasets into multiple languages, this paper proposes Question Alignment (QAlign). By first teaching an LLM to translate foreign-language questions into English, researchers can leverage high-quality English-only instruction data to unlock superior multilingual reasoning performance.

What Problem Does This Paper Address?

While LLMs like LLaMA show impressive reasoning capabilities in English, their performance drops significantly in other languages. The standard fix, known as "translate-training," involves translating massive English instruction-tuning datasets (which include complex, step-by-step "Chain-of-Thought" or CoT responses) into various target languages.

However, translate-training has two major flaws:

  1. High Cost: Translating hundreds of thousands of complex instruction-response pairs into dozens of languages is prohibitively expensive.
  2. Translation Noise: Translation engines often struggle with lengthy, logical CoT responses containing mathematical symbols, leading to corrupted training data that degrades model performance.

The authors ask: Can we unlock an LLM’s multilingual reasoning ability simply by teaching it to map foreign questions to their English counterparts?

Methods

The authors introduce a two-stage training framework called QAlign:

  • Stage I: Question Alignment: The base model (e.g., LLaMA2) is fine-tuned to translate reasoning questions from various languages ($X$) into English. This establishes an "in-domain" language alignment, teaching the model that a question in Thai or Swahili is semantically equivalent to a specific English question.
  • Stage II: Response Alignment: The model from Stage I is then fine-tuned using state-of-the-art, English-only instruction-response data (like MetaMathQA).

Because the model has already learned to align foreign questions with English ones in Stage I, it can now successfully transfer the reasoning expertise it gains from English data in Stage II to solve problems presented in other languages.

Figure 1: Illustration of our devised two-step training framework. At training stage I (question alignment), we use a set of multilingual questions for translation training. At training stage II (response alignment), we use cutting-edge English-only instruction data for fine-tuning. Due to the established language alignment in stage I, we can utilize LLM’s expertise in English to enhance its performance on non-English tasks.

Datasets

  • Training (Stage I): Multilingual questions from GSM8KInstruct, covering 10 languages.
  • Training (Stage II): MetaMathQA, a large-scale (395k samples) English-only augmented dataset for mathematical reasoning.
  • Evaluation:
    • MGSM: A multilingual version of the Grade School Math 8K benchmark.
  • MSVAMP: A multilingual version of the SVAMP benchmark, used to test robustness against out-of-domain data.

Key Insights and Ideas

  • Alignment Over Translation: You don't need multilingual answers to achieve multilingual reasoning. Aligning the input space (questions) is sufficient to leverage the model's internal English reasoning engine.
  • Directionality Matters: Training the model to translate into English ($X \rightarrow En$) is significantly more effective than translating from English ($En \rightarrow X$).
  • Domain Specificity: Using math questions for the translation task in Stage I is far more effective than using general-domain translation corpora (like FLORES-101).
  • Prediction Consistency: QAlign models show much higher "prediction consistency"—they are more likely to give the same correct answer to the same question, regardless of which language it's asked in.
Figure 3: Comparing the prediction consistency of different systems. Darker blue denotes higher level of prediction consistency. Question alignment stage always brings improvement to the consistency of predicted answers.

Key Results

The QAlign approach consistently outperformed the standard translate-training baseline (MathOctopus):

  • LLaMA2-13B: Achieved an average accuracy improvement of 11.3% on MGSM and 16.1% on MSVAMP across ten languages compared to the translate-training baseline.
  • Low-Resource Gains: The improvements were most dramatic in languages distant from English, such as Thai and Swahili, where accuracy jumped by 30-40%.
  • Robustness: The model maintained strong performance even on the out-of-domain MSVAMP benchmark, proving the alignment is robust and not just memorizing specific question formats.

Limitations and Future Work

  • English CoT: While the final answer is correct, the QAlign model typically generates its internal reasoning (Chain-of-Thought) in English, even when the question is in another language. While effective for accuracy, this might be less useful for end-users who need to see the reasoning in their native language.
  • Model Scale: The study was limited to 7B and 13B parameter models due to computational constraints. The authors suggest that scaling to larger models like LLaMA2-70B is a promising next step.

Summary updated

BibTeX
@inproceedings{zhu2024question,
  author = {Wenhao Zhu and Shujian Huang and Fei Yuan and Shuaijie She and Jiajun Chen and Alexandra Birch},
  title = {{Question Translation Training for Better Multilingual Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.498},
}
Figure