Getting More from Less: Large Language Models are Good Spontaneous Multilingual Learners

Shimao Zhang, Changjiang Gao, Wenhao Zhu, Jiajun Chen, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang

Abstract

Large Language Models (LLMs) exhibit a remarkable capacity for "spontaneous" multilingual learning. This paper explores how instruction-tuning models on simple question-translation data—without providing annotated answers—can significantly enhance performance across dozens of languages, including those unseen during tuning. Our findings suggest that LLMs possess vast multilingual knowledge from pre-training and require only "superficial alignment" to unlock these capabilities.

Introduction: The Multilingual Gap

Despite the impressive capabilities of modern LLMs, a significant English bias persists. For instance, approximately 90% of Llama 2’s training corpus is English, resulting in a performance disparity for low-resource languages such as Swahili or Bengali. Traditional remedies involve extensive multilingual instruction tuning, requiring massive datasets of question-answer pairs across numerous languages—a process that is both computationally expensive and data-intensive.

Methodology: Question Alignment

We investigate a more efficient approach termed Question Alignment. Instead of the standard (Question, Answer) supervision, we utilize (Source Question, Target Question) pairs.

  1. Instruction Tuning: Models like Mistral-7B and Qwen1.5 were fine-tuned using LoRA on 10k–20k instances of parallel questions (e.g., translating a Chinese question into English). Crucially, "gold answers" were excluded to ensure the model learned the linguistic relationships rather than the specific task.
  2. Evaluation: Performance was assessed using few-shot prompting across 20 languages on core NLP benchmarks: Amazon Reviews Polarity (sentiment), SNLI (natural language inference), and PAWS (paraphrase identification).
  3. Mechanistic Interpretability: To probe the internal mechanics, we employed Logit Lens to inspect intermediate layer outputs and Principal Component Analysis (PCA) to visualize latent state mappings.

Key Insights

Spontaneous Generalization

A pivotal discovery is the model's ability to generalize across languages. Tuning on as few as 2 to 4 languages (e.g., Chinese and Spanish) improved performance across all 20 test languages. This suggests the model "spontaneously" learns to align languages entirely absent from the tuning set. Furthermore, high-resource languages like Chinese served as more effective "leaders," providing more stable cross-lingual improvements than low-resource counterparts.

Thinking in English

Mechanistic analysis revealed that even when prompted in a non-English language, the model's internal layers often process information in an English-centric latent space.

Logit lens analysis showing the internal language probability across layers before and after question alignment for Chinese, Japanese, and Russian.

As shown in the figure above, the model processes logic in a shared latent space (indicated by the red 'all_possible_latent' line peaking in middle-to-late layers) before decoding the final answer into the target language in the terminal layers. This supports the Superficial Alignment Hypothesis: LLMs acquire most knowledge and reasoning during pre-training, and multilingual tuning merely provides the "format" to access this existing knowledge.

Results and Discussion

The performance gains were dramatic, particularly for English-centric models like Mistral-7B. On the Amazon Reviews task, Swahili accuracy jumped from 58.0% to 81.2% after tuning on Chinese-to-English question pairs. This cross-lingual transfer is significant because Swahili was not part of the tuning data. Furthermore, the alignment proved robust across tasks: a model tuned on SNLI (inference) still showed significant improvements when tested on Amazon Reviews (sentiment), proving that the alignment is fundamentally language-based. These findings held true across different model architectures (Mistral vs. Qwen) and sizes (from 1.8B to 14B parameters), indicating a general property of LLMs.

Conclusion and Future Work

While "Question Alignment" offers a highly efficient path to multilingualism, questions remain regarding its scalability to 70B+ parameter models and its effectiveness in pure zero-shot settings. Future research should also explore more complex reasoning tasks, such as mathematics or coding, and the impact of higher-quality, human-annotated parallel data.

Summary updated

BibTeX
@inproceedings{zhang2024getting,
  author = {Shimao Zhang and Changjiang Gao and Wenhao Zhu and Jiajun Chen and Xin Huang and Xue Han and Junlan Feng and Chao Deng and Shujian Huang},
  title = {{Getting More from Less: Large Language Models are Good Spontaneous Multilingual Learners}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.457},
}
Figure