Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training

Large language models (LLMs) exhibit remarkable multilingual capabilities despite the extreme language imbalance in the pre-training data.In this paper, we closely examine the reasons behind this phenomenon, focusing on the pre-training corpus.We find that the existence of code-switching, alternating between different languages within a context, is key to multilingual capabilities.We conduct an analysis to investigate code-switching in the pre-training corpus, examining its presence and categorizing it into four types within two quadrants.We then assess its impact on multilingual performance.These types of codeswitching data are unbalanced in proportions and demonstrate different effects on facilitating language transfer.To better explore the power of code-switching for language alignment during pre-training, we investigate the strategy of synthetic code-switching.We continuously scale up the synthetic code-switching data and observe remarkable improvements in both benchmarks and representation space.Extensive experiments indicate that incorporating synthetic code-switching data enables better language alignment and generalizes well to high, medium, and low-resource languages with pre-training corpora of varying qualities.Code and scripts are freely available at https: //github.com/NJUNLP/SynCS.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.575
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training

Chao Deng, Junlan Feng, Rongxiang Weng, Xue Han et al.
Natural Language Processing Techniques
article

Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training

Chao Deng, Junlan Feng, Rongxiang Weng, Xue Han, Jingang Wang, Zhijun Wang, Jiahuan Li, Xin Huang, Shujian Huang, N. Zhou
article en

Abstract

Large language models (LLMs) exhibit remarkable multilingual capabilities despite the extreme language imbalance in the pre-training data.In this paper, we closely examine the reasons behind this phenomenon, focusing on the pre-training corpus.We find that the existence of code-switching, alternating between different languages within a context, is key to multilingual capabilities.We conduct an analysis to investigate code-switching in the pre-training corpus, examining its presence and categorizing it into four types within two quadrants.We then assess its impact on multilingual performance.These types of codeswitching data are unbalanced in proportions and demonstrate different effects on facilitating language transfer.To better explore the power of code-switching for language alignment during pre-training, we investigate the strategy of synthetic code-switching.We continuously scale up the synthetic code-switching data and observe remarkable improvements in both benchmarks and representation space.Extensive experiments indicate that incorporating synthetic code-switching data enables better language alignment and generalizes well to high, medium, and low-resource languages with pre-training corpora of varying qualities.Code and scripts are freely available at https: //github.com/NJUNLP/SynCS.

Quality Education
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training — Chao Deng, Junlan Feng, et al. · (2025) | TGRS Research Map | TGRS