Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations

Leonardo Ranaldi, Giulia Pucci, André Freitas · DOI

Abstract

Large Language Models (LLMs) are predominantly English-centric, often failing to generalize their reasoning capabilities to other languages despite multilingual pre-training. This paper introduces CrossAlpaca, a method designed to enhance cross-lingual performance by supplementing standard instruction-tuning with "translation-following" demonstrations. By explicitly teaching the model to map concepts between English and target languages, CrossAlpaca addresses the semantic misalignment inherent in English-heavy models. Evaluated on LLaMA-7B across five languages, CrossAlpaca demonstrates substantial improvements in multilingual question answering and reasoning benchmarks, effectively bridging the gap between English and non-English performance.

Introduction

While models like LLaMA exhibit impressive reasoning, their abilities are heavily skewed toward English due to the composition of their pre-training data (e.g., the Pile or C4). When researchers attempt to adapt these models to other languages via instruction-tuning on translated datasets—such as the Stanford Alpaca set—the results are often underwhelming. The authors posit that this is due to "semantic misalignment," where the model's internal knowledge remains tethered to English concepts. The challenge lies in eliciting the model's latent multilingual potential without the prohibitive cost of full-scale multilingual pre-training.

Methodology

The researchers propose CrossAlpaca, a training regime built upon LLaMA-7B using Low-Rank Adaptation (LoRA) for parameter-efficient fine-tuning. The core innovation lies in the specific data mixture used during the supervised instruction-tuning phase.

Overview of the CrossAlpaca training regime, comparing standard English instruction-following with the proposed cross-lingual approach.

As illustrated in the figure above, the training data consists of two primary components:

  1. Instruction-following: Standard tasks (e.g., "summarize this text") provided in target languages like Chinese, Italian, Arabic, Spanish, and German.
  2. Translation-following: A set of 20,000 demonstrations (10k English-to-X and 10k X-to-English) where the model is explicitly tasked with translating between English and the target language.

By integrating translation tasks, the model learns to "anchor" its non-English vocabulary to the robust English reasoning capabilities it developed during pre-training.

Datasets and Evaluation

The model was trained using the Stanford Alpaca dataset (52k instructions) and its translations, supplemented by the news_commentary dataset for translation pairs. Evaluation spanned several benchmarks:

  • Multilingual QA: XQUAD and MLQA for reading comprehension.
  • General Reasoning: MMLU (Massive Multitask Language Understanding) and BBH (BIG-bench Hard), translated into the five target languages.

Key Results and Insights

CrossAlpaca significantly outperformed "x-Alpaca" baselines (models tuned only on translated instructions). On MLQA and XQUAD benchmarks, CrossAlpaca achieved a massive improvement of approximately 30 average points. Gains on reasoning benchmarks like MMLU and BBH were also consistent, at +8 and +4 points respectively.

A key insight from the study is that translation acts as a powerful alignment tool rather than just a utility. Furthermore, the authors observed that "English-to-target" (en-x) demonstrations were generally more effective than the reverse for improving downstream performance. Despite these gains, a "pre-training shadow" remains: the English-native Alpaca still outperforms multilingual versions on their respective languages, indicating that the model's core intelligence is deeply rooted in its primary pre-training language.

Conclusion

CrossAlpaca demonstrates that semantic alignment through translation-following is a crucial, yet often overlooked, component of multilingual LLM development. While the method drastically narrows the performance gap, future work is needed to explore its scalability to larger models (30B+) and its effectiveness on truly low-resource languages. Additionally, addressing cross-lingual alignment earlier in the pre-training process may be necessary to fully overcome the English-centric bias of current LLMs.

Summary updated

BibTeX
@inproceedings{ranaldi2024empowering,
  author = {Leonardo Ranaldi and Giulia Pucci and André Freitas},
  title = {{Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.473},
}
Figure