SwitchLingua: The First Large-Scale Multilingual and Multi-Ethnic Code-Switching Dataset

Peng Xie, Xing-Yuan Liu, Tsz-Wai Chan, Yequan Bie, Yang-Qiu Song +3 more
6/1/2025
21 citations
benchmark-dataset

No official code found. Best implementation: Shelton1013/SwitchLingua (21 stars).

Abstract

Code-switching (CS) is the alternating use of two or more languages within a conversation or utterance, often influenced by social context and speaker identity. This linguistic phenomenon poses challenges for Automatic Speech Recognition (ASR) systems, which are typically designed for a single language and struggle to handle multilingual inputs.

Show full abstract

The growing global demand for multilingual applications, including Code-Switching ASR (CSASR), Text-to-Speech (CSTTS), and Cross-Lingual Information Retrieval (CLIR), highlights the inadequacy of existing monolingual datasets. Although some code-switching datasets exist, most are limited to bilingual mixing within homogeneous ethnic groups, leaving a critical need for a large-scale, diverse benchmark akin to ImageNet in computer vision. To bridge this gap, we introduce \textbf{LinguaMaster}, a multi-agent collaboration framework specifically designed for efficient and scalable multilingual data synthesis. Leveraging this framework, we curate \textbf{SwitchLingua}, the first large-scale multilingual and multi-ethnic code-switching dataset, including: (1) 420K CS textual samples across 12 languages, and (2) over 80 hours of audio recordings from 174 speakers representing 18 countries/regions and 63 racial/ethnic backgrounds, based on the textual data. This dataset captures rich linguistic and cultural diversity, offering a foundational resource for advancing multilingual and multicultural research. Furthermore, to address the issue that existing ASR evaluation metrics lack sensitivity to code-switching scenarios, we propose the \textbf{Semantic-Aware Error Rate (SAER)}, a novel evaluation metric that incorporates semantic information, providing a more accurate and context-aware assessment of system performance.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 25]SwitchLingua: The First Large-Scale Multilingual and Multi-Ethnic Code-Switching Dataset

210

Similar Papers

Cite this paper

@article{xie2025switchlingua,
  title  = {SwitchLingua: The First Large-Scale Multilingual and Multi-Ethnic Code-Switching Dataset},
  author = {Peng Xie and Xing-Yuan Liu and Tsz-Wai Chan and Yequan Bie and Yang-Qiu Song and Yang Wang and Hao Chen and Ka-Ni Chen},
  year   = {2025},
  eprint = {2506.00087},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.00087},
  url    = {https://doi.org/10.48550/arXiv.2506.00087},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.00087.svg)](https://codeofpaper.com/paper/2506.00087)

Discussion