Adding Robust Code-Switching Capabilities to High Performance Multilingual ASR

Enes Yavuz Ugan, Alexander WaibelarXiv 2026

TL;DR

Fine-tuning top-tier multilingual speech recognition models on synthetic code-switching data often breaks their excellent monolingual performance. This paper introduces a solution using Bayesian Low-Rank Adaptation (BLoRA), demonstrating that robust code-switching can be integrated using a tiny amount of synthetic data without sacrificing the model's original capabilities.

What Problem Does This Paper Address?

Code-switching (CSW)—where a speaker alternates between languages within a single conversation or sentence—is incredibly common in multilingual communities but notoriously difficult for Automatic Speech Recognition (ASR) systems. Real-world CSW data is rare and expensive to collect.

To circumvent this, researchers often turn to synthetic data generated by Large Language Models (LLMs) and Text-to-Speech (TTS) engines. However, when you fine-tune state-of-the-art foundation models (like OpenAI's Whisper) on this synthetic data using standard methods, it triggers catastrophic forgetting. The model learns to code-switch but severely degrades on its original, near-optimal monolingual tasks. The authors tackle this challenge: how do we add robust code-switching capabilities to an already excellent model without breaking what already works?

Methods

The authors propose a clean, two-step pipeline for data generation combined with a regularized adaptation method:

  1. Linguistically-Informed Text Generation: They use GPT-4o to generate realistic German-English CSW text. Instead of naive word substitution, the prompt enforces strict morphosyntactic integration rules (e.g., applying German inflections to English verbs, yielding hybrid words like "downgeloadet").
  2. Multilingual TTS Stitching: They leverage a multilingual TTS model (x-tts-v2) to synthesize the German and English segments separately, stitching them together to avoid the unnatural accents that occur when a single-language TTS tries to speak foreign words.
  3. Quality Filtering: They filter out low-quality TTS audio by running a baseline Whisper model over the synthetic speech and discarding utterances that exceed a specific Character Error Rate (CER) threshold.
  4. Bayesian Low-Rank Adaptation (BLoRA): Instead of standard LoRA, which can overwrite pre-trained weights globally, BLoRA applies a Bayesian prior to the adapter weights. This forces the adaptation matrices to be sparse and uncertainty-aware, selectively integrating code-switching patterns while leaving the model's core multilingual capabilities intact.

Datasets

  • CommonVoice 14.0: Used both as the source text for generating synthetic training data and as the primary benchmark for "backwards testing" to ensure monolingual German and English performance did not degrade.
  • CSFleurs: A recent German-English code-switching benchmark used for evaluating the final model's cross-lingual performance.
  • DECM: A conversational code-switching dataset used to test out-of-domain robustness.

Key Insights and Ideas

  • Data isn't the bottleneck; integration is: The common assumption that "more complex synthetic data leads to better adaptation" fails when dealing with strong foundation models. Naive fine-tuning causes the model to lose its generalization capabilities regardless of pipeline complexity.
  • Standard LoRA is actively harmful here: Applying standard LoRA to synthetic CSW data caused a catastrophic relative WER degradation of up to 418% on monolingual German.
  • Quality over Quantity: Aggressive filtering of synthetic data yields massive benefits. A tiny dataset of 1,000 highly-filtered synthetic samples can outperform much larger, noisier datasets because it prevents the model from learning TTS hallucinations.

Key Results

  • Monolingual Preservation: BLoRA successfully maintained baseline performance on monolingual English and German (CommonVoice), whereas standard LoRA performance collapsed.
  • Code-Switching Gains: With 246k synthetic utterances, BLoRA improved the overall Word Error Rate (WER) on the CSFleurs code-switching dataset by 5.31% (from 11.49% down to 10.88%).
  • Targeted Accuracy: BLoRA reduced the Point-of-Interest Error Rate (PIER)—which specifically tracks errors on the code-switched words themselves—by 21.63% relative with the full dataset.
  • The Power of Filtering: As shown in Figure 1, with an aggressive 5% CER filter and only 1,000 training samples, BLoRA achieved a 32.87% relative PIER reduction, proving that robust adaptation relies more on clean knowledge integration than massive data scale.
PIER ↓ on CSFleurs using different amounts of data and different CER quality filters during text synthesis.

Limitations and Future Work

  • Conversational Mismatch: While the model excelled on read-speech code-switching (CSFleurs), it still faced challenges on conversational code-switching datasets like DECM. This is primarily due to an acoustic mismatch between clean, synthesized TTS training data and spontaneous, real-world human conversations.
  • Future Directions: The authors call for the ASR community to shift focus away from building increasingly complex synthetic data generation pipelines and instead invest in robust knowledge integration techniques when adapting foundation models.

Summary updated

BibTeX
@misc{ugan2026adding,
  author = {Enes Yavuz Ugan and Alexander Waibel},
  title = {{Adding Robust Code-Switching Capabilities to High Performance Multilingual ASR}},
  year = {2026},
  eprint = {2606.21990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21990},
}
Figure