Abstract
Current large language models demonstrate deficiencies in understanding low-resource languages, particularly the minority languages in China. This limitation stems from the scarcity of available pre-training data. To address this accessibility challenge, we present MC², a Multilingual Corpus of Minority Languages in China, which is the largest open-source corpus of its kind so far. MC² includes four underrepresented languages: Tibetan, Uyghur, Kazakh, and Mongolian. Notably, we focus on the less common writing systems of Kazakh and Mongolian, i.e., Kazakh Arabic script and traditional Mongolian script, respectively, which have been long neglected in previous corpus construction efforts. Recognizing the prevalence of language contamination within existing corpora, we adopt a quality-centric solution for collecting MC², prioritizing accuracy while enhancing diversity. Furthermore, we underscore the importance of attending to the multiplicity of writing systems, which is closely related to the cultural awareness of the resulting models. The MC² corpus and related models are made public to the community.
The Digital Divide in NLP
While Large Language Models (LLMs) like GPT-4 excel in English and Chinese, they often stumble when encountering low-resource languages. This "digital divide" is particularly acute for minority languages in China. Researchers from Peking University identify three critical gaps in existing datasets like OSCAR or CulturaX:
- Language Contamination: Automated tools often misidentify languages. For instance, up to 34% of the "Uyghur" data in some popular datasets is actually Kazakh or Arabic.
- Poor Data Cleaning: Existing crawls are often cluttered with "web noise"—headers, footers, and sidebars that disrupt the semantic flow of the text.
- Neglected Writing Systems: Many languages use multiple scripts. While Kazakh and Mongolian are often represented in Cyrillic (used in Kazakhstan and Mongolia), the Arabic script for Kazakh and the traditional vertical script for Mongolian—both widely used in China—have been almost entirely absent from open-source pre-training corpora.
The MC² Solution: Quality Over Quantity
The authors adopted a quality-centric approach to build MC². Instead of broad, noisy crawls, they manually maintained a list of high-quality websites for each language to ensure "language purity" from the start. They used AI-assisted extraction (via GitHub Copilot) to write custom scripts for different website structures, ensuring only main content was extracted while discarding UI elements. Rigorous deduplication using SHA-256 and MinHash was applied to remove the "echo chamber" effect of reposted news.
Rather than training from scratch, the team performed "continual pre-training" on existing models (XLM-RoBERTa and Llama-2), adding 3,000 new tokens per language to the vocabulary to better handle the specific scripts.
The MC² Corpus
The resulting MC² Corpus provides a significant boost to available resources for these languages:
- Tibetan: 2.2GB
- Uyghur: 736MB
- Kazakh (Arabic script): 937MB
- Mongolian (Traditional script): 970MB
Key Insights and Results
Transliteration is a Trap
A common "shortcut" for low-resource NLP is to take high-resource data (like Cyrillic Mongolian) and automatically transliterate it into a low-resource script (Traditional Mongolian). The authors prove this is flawed: the noise introduced by imperfect transliteration tools significantly harms model convergence and perplexity.
Scripts Carry Culture
The paper uses "knowledge probing" to show that writing systems represent distinct communities. A model trained on Kazakh Cyrillic (Kazakhstan) "thinks" the national currency is the Tenge, while a model trained on Kazakh Arabic (China) correctly identifies it as the Renminbi. This underscores that cultural awareness is inextricably linked to linguistic representation.
Performance Benchmarks
- Zero-Shot Transfer: The MC²XLMR-large model significantly outperformed the vanilla XLM-RoBERTa baseline across all four languages in classification and QA tasks.
- In-Context Learning: The 13B parameter model (MC²Llama-13B) showed a massive jump in performance on the WCM-v2 classification task, achieving ~37% accuracy compared to the ~10% (near random) performance of other open-source LLMs like BLOOM or mT5.
- Efficiency: The MC²-trained models achieved performance comparable to CINO, a state-of-the-art model trained on a closed-source corpus three times larger than MC². This suggests that cleaning out the "garbage" in a dataset is more effective than simply adding more data.
Limitations and Future Work
The corpus is primarily composed of web crawls (news, government, culture). Due to copyright issues, it does not yet include books, which are a rich source of linguistic variety. Additionally, since much of the data comes from public news sites, the models may inherit specific media biases. Future work will focus on scaling cultural probes and diversifying the data sources further.
Project Availability: The MC² corpus and models are publicly available on GitHub.
Summary updated