TL;DR
This paper introduces PolyLM, a new open-source multilingual large language model (LLM) designed to address the English-centric bias in current LLM development. PolyLM, available in 1.7B and 13B parameter sizes, demonstrates strong performance across a wide range of non-English languages, outperforming existing models like LLaMA and BLOOM on multilingual tasks while maintaining comparable English capabilities.
What Problem Does This Paper Address?
The vast majority of large language models (LLMs) are trained predominantly on English data, leading to a significant gap in their capabilities for the world's many other languages. This "high-resource language bias" limits research, application, and equitable access to LLM technology for billions of speakers worldwide. Existing multilingual models often fall short, especially for low-resource languages, due to insufficient training data and a lack of comprehensive multilingual evaluation benchmarks and instruction-following datasets.
Methods
PolyLM tackles this challenge through several key innovations:
- Massive Multilingual Pre-training: The model is trained on a substantial 640 billion token dataset, with a deliberate inclusion of over 30% non-English data, covering 18 commonly spoken languages.
- Curriculum Learning: To boost multilingual performance, a curriculum learning strategy is employed. This involves starting with a higher proportion of English data and gradually increasing the representation of non-English data (up to 60%) in later training stages. This approach aims to facilitate knowledge transfer from high-resource to low-resource languages.
- Multilingual Self-Instruct Dataset (MULTIALPACA): To address the scarcity of multilingual instruction data for fine-tuning, the authors developed MULTIALPACA. This dataset, containing 132,701 diverse multilingual instructions, is automatically generated using a self-instruct method, inspired by recent advancements in LLM instruction tuning.
- Architecture: PolyLM utilizes a decoder-only autoregressive Transformer architecture, similar to models like GPT-3, with specific configurations for stability and performance.
Datasets
- Pre-training Dataset: A 640B token dataset comprising data from sources like mC4, CC-100, The Pile, GitHub, and OPUS. Notably, it contains over 30% non-English data.
- MULTIALPACA: A newly created dataset of 132,701 multilingual instructions for fine-tuning, covering 11 languages.
- Multilingual Benchmark: A curated benchmark comprising existing multilingual tasks for Natural Language Understanding (NLU), Knowledge, Natural Language Generation (NLG), and Machine Translation (MT).
Key Insights and Ideas
- Curriculum Learning for Multilingualism: The paper demonstrates that a carefully designed curriculum, which gradually increases the proportion of non-English data, significantly enhances multilingual capabilities without sacrificing English proficiency. This suggests a more effective way to leverage existing knowledge for low-resource languages.
- Self-Instruct for Data Scarcity: The success of MULTIALPACA highlights the power of automated data generation techniques like self-instruct to overcome the bottleneck of creating high-quality, diverse multilingual instruction datasets, which are crucial for effective LLM fine-tuning.
- Open-Source Multilingualism is Crucial: By releasing PolyLM and MULTIALPACA, the authors contribute vital resources to the research community, democratizing access to powerful multilingual LLMs and fostering further innovation in this underserved area.
Key Results
- PolyLM-13B outperforms LLaMA-13B and BLOOM-7.1B on various multilingual tasks, including NLU, knowledge, NLG, and machine translation, often by significant margins. For instance, it shows a 7.2% and 19.1% improvement on PAWS-X and XNLI, respectively, in zero-shot settings.
- The model maintains comparable performance to LLaMA-13B on English tasks, demonstrating that multilingual focus does not necessarily come at the cost of English proficiency.
- The curriculum learning strategy leads to stable training and improved performance, particularly for low-resource languages, by facilitating knowledge transfer.
- Fine-tuning with the MULTIALPACA dataset significantly boosts PolyLM's ability to handle multilingual zero-shot tasks, especially in cross-lingual scenarios like machine translation.
Limitations and Future Work
- Computational Cost: Training large multilingual models is computationally intensive, as evidenced by the two-month training duration for PolyLM-13B due to unforeseen spikes.
- Potential for Hallucination and Toxicity: Like other LLMs, PolyLM may exhibit common deficiencies such as hallucination and toxicity, especially since its instruction data was generated by GPT-3.5-turbo.
- Future Work: The authors suggest exploring more diverse data sources, evolutionary methods, and diversification strategies for instruction tuning. They also plan to incorporate advanced positional encoding techniques like Rotary Position Encoding (RoPE) and ALiBi in future iterations. Additionally, they aim to release models of varying sizes to refine scaling laws for multilingualism.
Summary updated