TL;DR
This paper demonstrates that a "question alignment" training strategy, which leverages a model's English proficiency to improve its performance on non-English reasoning tasks, is broadly applicable across diverse reasoning scenarios and scales effectively to very large language models. The approach significantly boosts multilingual reasoning accuracy with minimal translation data, offering a more efficient and effective solution than previous methods.
What Problem Does This Paper Address?
Large Language Models (LLMs) excel at English-language tasks but struggle significantly when applied to non-English languages. This performance gap is largely attributed to the English-centric nature of their training data. While previous work has attempted to bridge this gap using translated data or multilingual pre-training, these methods are often costly, inefficient, or rely on error-prone translations. This paper tackles the challenge of improving LLMs' multilingual reasoning capabilities, particularly in scenarios beyond simple question-answering, and explores efficient ways to apply these improvements to the largest available models.
Methods
The core of this paper builds upon a "two-stage training framework" previously proposed by Zhu et al. [12]. This framework consists of:
- Question Alignment (QAlign): This stage uses translated question pairs (e.g., English question -> non-English question) to train the LLM to associate questions across languages. This is hypothesized to improve the model's internal language alignment.
- Response Alignment (RAlign): This stage uses standard English instruction-tuning data (question-response pairs) to teach the LLM how to generate correct answers.
The novelty in this work lies in:
- Broadening Scope: Applying the QAlign framework to new reasoning scenarios:
- Program-of-Thought (PoT): Reasoning using executable code.
- Common Sense Reasoning: Tasks requiring implicit knowledge without explicit intermediate steps.
- Efficient Scaling: Investigating how to apply QAlign to extremely large LLMs (e.g., 70B parameters) efficiently, proposing proxy-tuning as an alternative to full fine-tuning. Proxy-tuning uses smaller "expert" and "anti-expert" models to mimic the behavior of a fully fine-tuned large model without the computational cost.
- Mechanism Analysis: Delving into why QAlign works by analyzing the model's representation space, the consistency of reasoning paths across languages, and the impact of translation data volume.
Datasets
The paper utilizes several existing datasets for training and evaluation:
- Mathematical Reasoning (Chain-of-Thought):
- Training: GSM8K-INSTRUCT, METAMATHQA
- Evaluation: MGSM, MSVAMP
- Mathematical Reasoning (Program-of-Thought):
- Training: OPENMATHINSTRUCT
- Common Sense Reasoning:
- Training: XCSQA-TRAIN, MULTINLI
- Evaluation: XCSQA-DEV, XNLI-TEST
- Translation Data: WIKIMATRIX (used for general domain translation data).
No new benchmarks were introduced, but the paper applies the QAlign framework to existing benchmarks across diverse reasoning types.
Key Insights and Ideas
- Universality of QAlign: The question alignment approach isn't limited to math reasoning; it demonstrably improves performance across diverse reasoning tasks, including program-of-thought and common sense reasoning. This suggests a fundamental benefit in aligning language representations.
- English as a Bridge: The framework effectively leverages an LLM's strong English capabilities as a stepping stone to improve performance in other languages, even with minimal non-English data.
- Proxy-Tuning for Scale: For extremely large models, proxy-tuning offers a computationally efficient way to achieve performance close to full fine-tuning, making advanced techniques accessible for larger models.
- Representation Space Alignment: QAlign appears to create a more unified semantic space for multilingual inputs in the model's intermediate layers, allowing it to process questions from different languages more consistently.
- Data Volume Matters (Especially for Low-Resource): While QAlign is data-efficient, the amount of question translation data still impacts performance, particularly for low-resource languages where even small amounts of data yield significant gains.
Key Results
- Significant Accuracy Gains: On the MGSM benchmark, applying QAlign to LLaMA2 models resulted in an average accuracy improvement of 12.2% (e.g., LLaMA2-70B achieved 63.0% accuracy). Similar improvements were observed across other benchmarks and model sizes.
- Scalability: The QAlign framework effectively scales to very large models like LLaMA2-70B, LLaMA3-70B, and Mixtral models.
- Proxy-Tuning Effectiveness: Proxy-tuning LLaMA2-70B using smaller models (e.g., LLaMA2-13B) achieved 98.1% of the performance of full fine-tuning without updating any parameters.
- Reasoning Path Consistency: QAlign-enhanced models showed higher consistency in step-by-step reasoning paths across different languages compared to models trained only with response alignment.
Limitations and Future Work
- Language Consistency vs. Accuracy Trade-off: While incorporating En-X translation data during response alignment can improve the model's tendency to respond in the query language (language consistency), it can sometimes reduce reasoning accuracy. The paper notes that for the sake of accuracy, they did not force non-English responses in their main experiments. Future work could explore better balancing these two aspects.
- Computational Cost: Fine-tuning extremely large models remains computationally expensive, highlighting the importance of efficient methods like proxy-tuning.
- Further Exploration of Proxy-Tuning: While promising, further research into selecting optimal expert/anti-expert models for proxy-tuning could yield even better results.
- Understanding Mechanism: While the paper provides insights into representation space and reasoning path consistency, a deeper understanding of the precise mechanisms by which QAlign strengthens language alignment and influences working patterns could be beneficial.
Summary updated