Multilingual Machine Translation with Large Language Models: Empirical Results and Analysis

Wenhao Zhu, Hongyi Liu, Qingxiu Dong, Jingjing Xu, Shujian Huang, Lingpeng Kong, Jiajun Chen, Lei Li

Presented at NAACL 2024, this research provides a comprehensive evaluation of how current Large Language Models (LLMs) perform in Multilingual Machine Translation (MMT) compared to specialized supervised systems. As LLMs demonstrate "emergent" translation capabilities through In-Context Learning (ICL), understanding their strengths and limitations across a diverse linguistic landscape is critical.

The Challenge of Multilingual Translation

Multilingual Machine Translation is often considered the "final boss" of translation tasks, requiring models to maintain semantic alignment across hundreds of languages. Traditionally, this has been the domain of supervised models like Meta’s NLLB, which are trained on massive parallel corpora. This study investigates whether LLMs can bridge the gap using ICL, where the model performs tasks based on a few examples provided in the prompt rather than explicit fine-tuning.

Methodology and Evaluation

The authors evaluated eight prominent models, including English-centric LLMs (OPT, LLaMA2, Falcon) and multilingual models (XGLM, BLOOMZ, ChatGPT, and GPT-4). The evaluation utilized the FLORES-101 benchmark covering 102 languages and a newly created NEWS2023 dataset. The latter, consisting of 1,000 English news sentences from late 2023 translated into Chinese, was specifically designed to test for data leakage, ensuring the models had not encountered the test data during pre-training.

Performance was measured using eight randomly selected translation pairs (exemplars) within a standard prompt template. The study also included an "ablation-style" analysis to determine how specific prompt components, such as instructions and exemplar placement, affect output quality.

Comparative Performance

GPT-4 emerged as the leading LLM, outperforming the supervised NLLB-1.3B baseline in 40.91% of English-centric translation directions. However, a significant performance gap remains when compared to commercial engines like Google Translate, particularly in low-resource languages and non-English-centric directions.

Multilingual translation performance across language families for various models.

As illustrated in Figure 1, LLM performance is highly sensitive to language family. While models perform strongly on Indo-European languages (Romance, Germanic, and Slavic), their effectiveness drops significantly for Sino-Tibetan, Afro-Asiatic, and other non-Western language groups. Additionally, LLMs show a marked bias toward translating into English rather than from it.

The Mechanics of In-Context Learning

The research highlights several key factors that drive LLM translation performance:

Exemplars Over Instructions

A surprising finding was that high-quality exemplars often override the actual text of the instructions. Even when prompted with "unreasonable" instructions (e.g., asking the model to "summarize" instead of "translate"), the models continued to provide high-quality translations by following the pattern established by the exemplars. Furthermore, the "tail" exemplars—those placed closest to the target sentence—were found to have a disproportionately high impact on the model's behavior.

Cross-Lingual Boosting

For low-resource languages, the study found that exemplars do not necessarily need to be in the target language to be beneficial. Providing examples from a different, high-resource language pair can improve performance in the target pair.

Impact of cross-lingual exemplars on translation performance.

Figure 6 demonstrates this "cross-lingual boosting" effect. Exemplars from various directions (e.g., Por-Eng, Fin-Eng) provide a performance baseline that assists the model in unrelated directions, such as Zho-Eng, suggesting that LLMs learn general translation mechanics that transcend specific language pairs.

Conclusion

While GPT-4 is beginning to challenge supervised baselines, LLMs are not yet a complete replacement for specialized commercial translation systems, especially for the world's "long-tail" languages. The efficiency with which these models acquire translation abilities—sometimes from languages representing less than 1% of their training data—points toward a promising future for zero-resource translation and more flexible multilingual systems.

Summary updated

BibTeX
@inproceedings{zhu2024multilingual,
  author = {Wenhao Zhu and Hongyi Liu and Qingxiu Dong and Jingjing Xu and Shujian Huang and Lingpeng Kong and Jiajun Chen and Lei Li},
  title = {{Multilingual Machine Translation with Large Language Models: Empirical Results and Analysis}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.176},
}
Figure