Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training
Zhijun Wang, Jiahuan Li, Hao Zhou, Rongxiang Weng, Jingang Wang, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang · 2025
Read Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training by Zhijun Wang, Jiahuan Li, Hao Zhou, Rongxiang Weng, Jingang Wang, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-01801.txt.
Description
Zhijun Wang and nine co-authors find that language mixing inside training text is a hidden engine of multilingual skill in large language models. Their 2025 paper asks why models do well in languages that barely appear in their training data. The suspect is code-switching, the habit of alternating languages inside one stretch of text.
The team catalogued switching in a pretraining corpus and sorted it into four types. The types appear in uneven shares and lift cross-language transfer by different amounts. They then brewed synthetic switching data and scaled it up. Benchmarks and the models' inner geometry both improved as the dose rose. Gains spread to high-, medium-, and low-resource languages, whatever the base corpus quality. The recipe offers a cheap lever for language alignment.
Catalog record
| CREATOR | Zhijun Wang, Jiahuan Li, Hao Zhou, Rongxiang Weng, Jingang Wang, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 43 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-01801