CS-Dialogue: A 104-Hour Dataset of Spontaneous Mandarin-English Code-Switching Dialogues for Speech Recognition

Jiaming Zhou, Yujie Guo, Shiwan Zhao, Haoqin Sun, Hui Wang, Jiabei He, Aobo Kong, Shiyao Wang, Xi Yang, Yequan Wang, Yonghua Lin, Yong QinarXiv 2025 · DOI

TL;DR

Researchers have introduced CS-Dialogue, a massive 104-hour dataset of spontaneous Mandarin-English conversations, to address the significant challenges code-switching poses for speech recognition. This dataset, featuring full-length dialogues and detailed transcriptions, aims to enable the development of more robust ASR systems for real-world multilingual communication.

What Problem Does This Paper Address?

Code-switching (CS), the practice of mixing languages within a single conversation, is a common phenomenon in multilingual communities. However, it presents a major hurdle for automatic speech recognition (ASR) systems, which are typically trained on monolingual data. Existing Mandarin-English CS datasets often fall short in terms of size, naturalness (spontaneity), and completeness (full-length dialogues with transcriptions). This limits the ability to train and evaluate ASR models that can effectively handle the complex acoustic and linguistic variations inherent in real-world code-switched speech.

Methods

The paper introduces the CS-Dialogue dataset, a new resource for Mandarin-English code-switching ASR. The data was collected through paired dialogues where speakers discussed pre-selected topics. The recording protocol involved an initial Mandarin segment, followed by a code-switching segment, and concluded with an English segment, with each topic lasting approximately 20 minutes. The entire process for each pair took about 1.5 hours.

The dataset underwent rigorous manual transcription and annotation, with a focus on word-level fidelity, accurate handling of disfluencies, and consistent application of conventions. A multi-stage quality control process ensured high transcription accuracy.

For evaluation, the authors trained and tested several state-of-the-art ASR models, including Transformer, Conformer, and Branchformer, trained from scratch on their new dataset. They also evaluated pre-trained models like Whisper, Qwen2-Audio, Paraformer, and SenseVoice-Small. Performance was measured using Mixture Error Rate (MER), Word Error Rate (WER), and Character Error Rate (CER).

Datasets

The primary contribution is the CS-Dialogue dataset, a novel, large-scale Mandarin-English code-switching speech corpus. It comprises:

  • 104 hours of spontaneous conversations.
  • From 200 speakers.
  • Structured as 100 dialogues (200 raw recordings).
  • Featuring 38,917 utterances.
  • Includes full-length dialogue recordings with complete transcriptions.

The dataset is divided into speaker-independent training, development, and test sets.

Key Insights and Ideas

  • The need for large-scale, spontaneous data: Existing datasets are often limited in size, read speech, or lack full dialogue context, hindering realistic ASR development for code-switching. CS-Dialogue aims to fill this gap.
  • Code-switching is challenging for even advanced models: Even large, pre-trained models like Whisper struggle with Mandarin-English code-switching, indicating that specialized data and fine-tuning are crucial.
  • Fine-tuning significantly boosts performance: Adapting pre-trained models to the CS-Dialogue dataset leads to substantial improvements in ASR accuracy, highlighting the value of domain-specific data.
  • Topic-specific difficulty: ASR performance varies across different conversational topics, with "Personal Topics" and "Education" being more frequent, while "Philosophy" and "Sports" present unique challenges.

Key Results

  • The CS-Dialogue dataset provides 104 hours of spontaneous Mandarin-English code-switching speech, making it the largest publicly available dataset of its kind with full transcriptions.
  • Models trained from scratch on CS-Dialogue showed that Conformer consistently outperformed Transformer and Branchformer, especially with attention rescoring.
  • Among pre-trained models, SenseVoice-Small achieved the lowest MER (6.71%) on the test set, while Paraformer had the lowest CER (3.70%).
  • Whisper Large-V2 showed higher error rates compared to other pre-trained models, indicating room for improvement.
  • Fine-tuning Whisper models on CS-Dialogue led to significant performance gains across all model sizes, with the Medium model achieving an MER of 7.53% after fine-tuning.
  • The analysis revealed that substitution errors are more common than deletion or insertion errors in code-switching ASR.

Limitations and Future Work

The authors acknowledge several limitations:

  • Language Pair Specificity: The dataset exclusively focuses on Mandarin-English. Future work could expand to other language combinations.
  • Speaker Demographics: All participants were native Chinese speakers with strong English proficiency. The dataset does not include native English speakers who code-switch into Mandarin.
  • Controlled Environment: While spontaneous, the dialogues were recorded in a controlled environment, which may not fully capture the acoustic diversity of real-world scenarios (e.g., noisy public spaces). Future work could explore data augmentation to simulate these conditions.

They suggest that CS-Dialogue will facilitate the development of more robust and natural-sounding ASR systems capable of handling multilingual communication.

Summary updated

BibTeX
@misc{zhou2025cs,
  author = {Jiaming Zhou and Yujie Guo and Shiwan Zhao and Haoqin Sun and Hui Wang and Jiabei He and Aobo Kong and Shiyao Wang and Xi Yang and Yequan Wang and Yonghua Lin and Yong Qin},
  title = {{CS-Dialogue: A 104-Hour Dataset of Spontaneous Mandarin-English Code-Switching Dialogues for Speech Recognition}},
  year = {2025},
  eprint = {2502.18913},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.18913},
}
Figure