How Multilingual is Multilingual LLM?

Fei Yuan, Shuai Yuan, Zhiyong Wu, Lei Li

Abstract

Large Language Models (LLMs), often show strong performance on English tasks, while exhibiting limitations on other languages. What is an LLM's multilingual capability when it is trained only on certain languages? The underlying mechanism remains unclear. This study endeavors to examine the multilingual capability of LLMs from the vocabulary sharing perspective by conducting an exhaustive analysis across 101 languages. Through the investigation of the performance gap before and after embedding fine-tuning, we discovered four distinct quadrants. By delving into each quadrant we provide actionable and efficient guidelines for tuning these languages. Extensive experiments reveal that existing LLMs possess multilingual capabilities that surpass our expectations, and we can significantly improve the multilingual performance of LLMs based on these attributes of each quadrant.

Introduction

Large Language Models (LLMs) like LLaMA are notoriously English-centric, with non-English data often comprising less than 10% of their training sets. Despite this, these models frequently exhibit surprising "zero-shot" capabilities in other languages. This research investigates the underlying mechanism of an LLM’s multilingual capability, specifically focusing on how the model's vocabulary—the way it tokenizes text—facilitates or hinders learning new languages. The goal is to move beyond simply adding more data and provide actionable guidelines for researchers working with the "long tail" of global languages.

Methodology

The researchers conducted an exhaustive analysis across 101 languages using a technique called Embed FT. Instead of updating all billions of parameters in LLaMA, they froze the transformer blocks and only fine-tuned the embedding layer.

To categorize the results, every language was plotted on a two-dimensional "Multilingual Capability Quadrant" based on two metrics:

  1. Bilingual Performance: The improvement on the specific language the model was tuned on.
  2. Multilingual Performance: The "spillover" effect, or how much tuning one language improved the model's performance on other languages.

The study utilized massive parallel corpora including Lego-MT (100 languages), Wikimatrix, and the TED dataset for training, with evaluation performed on the Flores-101 benchmark for translation performance (spBLEU) and various NLU tasks (XCOPA, XNLI, etc.).

The Four Quadrants of Multilingualism

Languages are not created equal in the eyes of an LLM. The study identifies four distinct behaviors when a model is fine-tuned on a specific language:

  • Reciprocal: Tuning helps both the target language and others (predominantly Indo-European languages).
  • Altruistic: Tuning primarily helps other languages, sometimes even slightly decreasing the target language's score due to shifts in error types.
  • Selfish: Tuning only helps the target language, showing no positive transfer to others.
  • Stagnant: Tuning has almost no impact on either the target or other languages.
The Four Quadrants of Multilingual Capability based on Bilingual and Multilingual performance metrics.

Key Insights and Results

The Power of Embed FT

For "Reciprocal" languages like Bulgarian or French, fine-tuning only the embeddings achieved performance on par with full fine-tuning. Crucially, Embed FT was found to be more parameter-efficient and better at preventing overfitting compared to full fine-tuning, especially as the size of the training data increased.

Comparison of Embed FT and Fully FT across varying data sizes, showing that Embed FT maintains superior multilingual performance.

Overcoming the Stagnant Quadrant

"Stagnant" languages (such as Lao or Khmer) suffer from inefficient tokenization. For example, a 6-word sentence in Lao can explode into 352 tokens in the LLaMA tokenizer, diluting information density. The researchers introduced a "Prefix Trick"—removing redundant byte prefixes (e.g., 227) during training. This strategy increased information density and resulted in an average improvement of 2.5 spBLEU points in languages that previously saw zero gains.

Hidden Capabilities

LLaMA showed significant improvement in languages like Afrikaans (af) even though it was not in the model's explicit pre-training corpus. This suggests that the "multilingual foundation" of these models is broader than previously assumed, largely due to vocabulary sharing and alignment between the model's English knowledge and the multilingual space.

Conclusion

This study demonstrates that vocabulary sharing is a critical driver of multilingualism in LLMs. By understanding which quadrant a language falls into, researchers can apply more efficient tuning strategies. While the specific quadrant placement of a language may vary between models (like GPT-4 or PaLM), the methodology provides a robust framework for enhancing the multilingual capabilities of English-centric models. Future work will explore "language migration"—strategies to move languages from the Stagnant quadrant into more productive ones.

Summary updated

BibTeX
@inproceedings{yuan2024how,
  author = {Fei Yuan and Shuai Yuan and Zhiyong Wu and Lei Li},
  title = {{How Multilingual is Multilingual LLM?}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.721},
}
Figure