NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Monolingual Recognizers Fusion for Code-switching Speech Recognition

Tongtong Song, Qiang Xu, Haoyu Lu, Longbiao Wang, Hao Shi, Yuqin Lin, Yanbing Yang, Jianwu DangarXiv 2022 · DOI

This paper introduces a novel framework for code-switching (CS) speech recognition that fuses two independent, pre-trained monolingual ASR models (MAMs) using a Bilingual Expert Language Model (BELM). By employing a "text simulation strategy," the authors decouple speech recognition from language fusion, allowing the system to achieve state-of-the-art performance even with limited code-switching audio data.

The Challenge of Code-Switching

Code-switching—the practice of alternating between two or more languages in a single conversation—presents a significant challenge for Automatic Speech Recognition (ASR). The primary hurdle is the scarcity of code-switching data; while tens of thousands of hours of monolingual data are available, high-quality audio of people mixing languages is rare.

Existing "bi-encoder" solutions often require the two monolingual models to share the same architecture or only utilize the encoder portions. This prevents researchers from fully leveraging diverse, "off-the-shelf" pre-trained models. The authors propose a flexible fusion method that can use any pre-trained monolingual recognizer to improve code-switching accuracy.

Proposed Methodology

The proposed Monolingual Recognizers Fusion operates in two distinct stages:

  1. Speech Awareness (SA) Stage: Two independent MAMs (Mandarin and English) process acoustic features. To maintain their "expert" status, a language-aware training strategy is used. During training, tokens from the "other" language are masked with an <unk> token, forcing each model to focus on its primary language while ignoring foreign interference.
  2. Language Fusion (LF) Stage: The predictions from both MAMs are concatenated (separated by a "blank" token) and fed into the BELM. The BELM is an attention-based encoder-decoder (AED) that learns to merge these potentially conflicting streams into a single, coherent code-switched transcript.
Architecture of the Language Fusion (LF) stage using the Bilingual Expert Language Model (BELM).

Text Simulation Strategy

To train the BELM without massive code-switching audio, the authors use a text simulation strategy. They take monolingual text and "simulate" the errors a MAM might make (e.g., replacing a foreign word with a random native word or an <unk> token). This allows the BELM to be trained on massive text-only datasets, effectively decoupling fusion logic from acoustic models.

Datasets and Evaluation

The system was evaluated using the ASRU 2019 Mandarin-English Challenge (500h Mandarin, 200h CS) and Librispeech (460h English). For large-scale testing, the authors utilized WenetSpeech and GigaSpeech (10,000+ hours each) to provide "Open-Source Pre-Trained" (OSPT) models.

Performance is measured using Mix Error Rate (MER), which combines Character Error Rate (Mandarin) and Word Error Rate (English).

Experimental Results

Mix Error Rate (MER) results comparing the proposed fusion method against baselines.
  • Baseline vs. Fusion: Under an AED architecture, the baseline (trained on all data) achieved a 10.67% MER. The proposed fusion method (Fine-Tuned) improved this to 10.40%.
  • Power of Scale: Using massive open-source models (10k+ hours) dropped the MER to 7.76%, a significant improvement over standard baselines.
  • Zero-Shot Potential: The system can process code-switching tasks even without fine-tuning the MAMs on CS data, simply by training the BELM.

Key Insights and Future Work

  • Decoupling is Key: Separating acoustic recognition from language merging makes the system modular. Better models can be swapped in without retraining the entire pipeline.
  • The BELM as a "Corrector": The BELM doesn't just pick between models; it corrects them. If a Mandarin model misidentifies a sound by forcing it into a Mandarin phonetic box, the BELM uses bilingual context to fix it.

A current limitation is the acoustic mismatch in simulation, as it doesn't account for cross-language phonetic confusion. Future work includes testing on larger corpora and exploring pre-trained Large Language Models (LLMs) for the Language Fusion stage.

Summary updated

BibTeX
@misc{song2022monolingual,
  author = {Tongtong Song and Qiang Xu and Haoyu Lu and Longbiao Wang and Hao Shi and Yuqin Lin and Yanbing Yang and Jianwu Dang},
  title = {{Monolingual Recognizers Fusion for Code-switching Speech Recognition}},
  year = {2022},
  eprint = {2211.01046},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.01046},
}
Figure