TL;DR
Automatic speech recognition (ASR) models are great at single languages, but they often stumble when speakers fluidly switch between languages mid-sentence—a phenomenon called code-switching. This paper introduces CS-Dialogue, a 104-hour, publicly available dataset of spontaneous Mandarin-English conversations from 200 speakers. Unlike previous datasets that only offer isolated sentences or scripted speech, CS-Dialogue provides full-length dialogue recordings and transcriptions, revealing both where modern ASR models fail and how conversational context can help fix them.
What Problem Does This Paper Address?
If you have ever listened to bilingual friends chat, you know they don’t neatly finish a thought in one language before starting the next. They might say, "you know 就..."—seamlessly blending English and Mandarin within a single clause.
For ASR systems, this is a nightmare. Models trained primarily on monolingual data struggle with mismatched phonetic inventories, grammar shifts, and sudden language transitions. While several Mandarin-English code-switching datasets already exist, they suffer from major blind spots:
- Lack of spontaneity: Many rely on participants reading pre-written sentences aloud.
- No conversational context: Prior corpora mostly consist of isolated utterances or short clips rather than full dialogues, making it impossible to study how code-switching unfolds over a real conversation.
- Accessibility: Several large datasets are either paid or not publicly released.
CS-Dialogue bridges this gap by offering a large-scale, open-source, spontaneous conversational dataset with complete, full-length transcriptions.
Methods
To capture natural speech without letting participants drift into purely monolingual habits, the authors designed a clever, lightweight recording protocol:
- Speaker & Topic Selection: They recruited 200 native Chinese speakers with strong English proficiency (e.g., IELTS 6 or TEM-4) and paired them up to discuss 2 to 6 everyday topics—ranging from Personal Topics and Entertainment to Technology and Philosophy.
- Guided Spontaneity: Each 20-minute topic session followed a gentle linguistic arc: roughly 8 minutes in Mandarin (as a warm-up), 6 minutes of code-switching, and 6 minutes in English. Crucially, speakers weren't strictly policed; they could switch languages naturally at any point.
- Raw Audio & Rigorous Annotation: Audio was recorded via smartphone microphones in quiet rooms and left completely unprocessed (no denoising or loudness normalization) to preserve real-world acoustics. An in-house team transcribed the speech verbatim—preserving repetitions, disfluencies, and regional accents—and a separate five-person quality control team reviewed every annotation.
To benchmark the dataset, the authors evaluated both models trained from scratch (Transformer, Branchformer, Conformer) and six large-scale pre-trained models (including Whisper, Qwen2-Audio, SenseVoice-Small, Paraformer, Voxtral-Mini, and Qwen3-Omni). They used Mixture Error Rate (MER) as the primary metric, which combines Mandarin characters and English words into a single sequence to holistically measure code-switching accuracy.
Datasets
CS-Dialogue (newly introduced) contains 104.02 hours of speech across 100 dialogues (200 raw recordings, 320 topic sessions, and 38,917 utterances). The dataset is split into speaker-independent Train (140 speakers), Dev (30 speakers), and Test (30 speakers) sets, ensuring models are evaluated on unseen voices.
As shown in the comparison above, CS-Dialogue is the only publicly available conversational dataset in this space that provides full-length dialogue recordings and transcriptions.
For cross-corpus generalization experiments, the authors also evaluated models on two external Mandarin-English datasets: ASCEND (10.62 hours of spontaneous conversation) and TALCS (587 hours of online teaching).
Key Insights and Ideas
- Bigger isn't always better for code-switching: Despite its massive scale, the 8.2B-parameter Qwen2-Audio (9.76% MER) and 1.55B-parameter Whisper Large-V2 (15.29% MER) were both outperformed in zero-shot testing by the much smaller, 234M-parameter SenseVoice-Small (6.71% MER). Task-specific optimization and heavy exposure to Chinese during pre-training mattered more than sheer parameter count.
- The "Boundary" Bottleneck: Aggregate error rates hide where models fail. By analyzing 1,041 mixed-language utterances, the authors found that Boundary Error Rates (BER)—errors on words right next to a language switch—are more than double the Non-Boundary Error Rates (NBER) across all 12 tested systems (e.g., 30.45% BER vs. 13.90% NBER for Whisper Large-V2). Models mostly fail by substituting the wrong word or language token at the switch point rather than deleting it.
- Context is king: Because CS-Dialogue preserves full conversations, the authors tested feeding Whisper Large-V2 up to 3 preceding dialogue turns as text prompts. This oracle-context experiment dropped its MER from 15.29% to 12.97%, proving that conversational history significantly helps ASR models navigate language switches.
- Real speech beats synthetic: Fine-tuning on real conversational code-switching speech yielded over a 50% relative MER reduction compared to fine-tuning on synthetic, TTS-generated code-switching audio.
Key Results
- Models Trained from Scratch: Using attention rescoring, Conformer (31M) led the pack with 18.91% MER (15.45% CER, 32.36% WER), outperforming Branchformer (22.23% MER) and Transformer (26.06% MER).
- Pre-trained & Fine-tuned Models: SenseVoice-Small set the overall benchmark, achieving 6.71% MER zero-shot and dropping to 4.99% MER (3.34% CER, 10.87% WER) after fine-tuning on CS-Dialogue. Fine-tuning also dramatically improved Whisper-Medium, cutting its MER in half from 15.88% to 7.53%.
- Cross-Corpus Transfer: Models fine-tuned on CS-Dialogue consistently beat their zero-shot counterparts on external datasets (e.g., Whisper-Medium's MER dropped from 24.69% to 15.52% on ASCEND, and from 19.33% to 16.54% on TALCS).
Limitations and Future Work
The authors note that their dialogue context experiment used ground-truth transcripts as prompts (an "oracle" setup), meaning future work is needed to see how models handle noisy, predicted ASR transcripts as context. Additionally, the dataset is currently limited to Mandarin-English conversations among predominantly younger speakers (ages 18–27). Extending this full-dialogue collection framework to other language pairs and more diverse demographics remains a promising direction.
Summary updated