BayLing 2: A Multilingual Large Language Model with Efficient Language Alignment

Shaolei Zhang, Kehao Zhang, Qingkai Fang, Shoutao Guo, Yan Zhou, Xiaodong Liu, Yang FengarXiv 2024 · DOI

Introduction

Current Large Language Models (LLMs) exhibit a significant performance disparity between high-resource languages, primarily English, and low-resource languages. This "digital divide" stems from the fact that English often constitutes over 90% of pre-training corpora. While these models demonstrate sophisticated reasoning in English, their capabilities degrade sharply in languages like Zulu or Macedonian. Traditional solutions involving the collection of high-quality instruction data for hundreds of languages are economically and logistically impractical. Furthermore, naive multi-lingual fine-tuning often triggers inter-language conflicts, leading to catastrophic forgetting. BayLing 2 addresses these challenges through a novel "Efficient Language Alignment" strategy.

Methodology

BayLing 2 is built upon the Llama architecture (specifically Llama-2 and Llama-3) and utilizes a pivot-based alignment strategy. By designating English and Chinese as "pivot languages," the model bridges the gap to over 100 other languages. The core innovation lies in Cross-lingual Instruction Tuning, where the model is trained on tasks that require mapping low-resource linguistic structures to high-resource semantic concepts. Translation is utilized as a primary alignment tool, forcing the model to maintain semantic consistency across diverse linguistic frameworks.

Overview of the BayLing 2 alignment process and multilingual capabilities.

Dataset Composition

The researchers curated a massive dataset of 3.2 million instructions, totaling approximately 1.47 billion tokens. This dataset is strategically balanced between high-resource monolingual instructions and cross-lingual alignment tasks. The topical distribution is broad, covering areas from news and social concerns to science, technology, and daily life, ensuring the model's versatility across various domains.

Distribution of instruction languages and topical categories in the BayLing 2 training set.

Results and Discussion

Evaluation on the Flores-101 benchmark demonstrates that BayLing-2-8B significantly outperforms its base model, Llama-3-8B-Instruct, across a wide array of languages. In high-resource translation tasks (WMT22), the model's performance approaches that of proprietary systems like GPT-4. Crucially, BayLing 2 shows a substantial performance boost in over 20 low-resource languages without incurring a "multilingual tax"—performance on English and Chinese benchmarks like GLUE and GSM8K remains stable or slightly improves. This suggests that cross-lingual instructions act as a stabilizer, mitigating inter-language conflict and enabling effective capability transfer.

Conclusion

BayLing 2 demonstrates that efficient language alignment can successfully extend the reasoning and generative powers of LLMs to low-resource languages. By leveraging pivot languages and cross-lingual instruction tuning, the model provides a scalable path toward more inclusive AI. Future work will focus on incorporating deeper cultural nuances and exploring a wider variety of cross-lingual alignment tasks.

Summary updated

BibTeX
@misc{zhang2024bayling,
  author = {Shaolei Zhang and Kehao Zhang and Qingkai Fang and Shoutao Guo and Yan Zhou and Xiaodong Liu and Yang Feng},
  title = {{BayLing 2: A Multilingual Large Language Model with Efficient Language Alignment}},
  year = {2024},
  eprint = {2411.16300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.16300},
}
Figure