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

Meta-Transfer Learning for Code-Switched Speech Recognition

Genta Indra Winata, Samuel Cahyawijaya, Zhaojiang Lin, Zihan Liu, Peng Xu, Pascale Fung

TL;DR

Researchers from HKUST have developed a Meta-Transfer Learning framework to tackle the data scarcity problem in code-switched speech recognition (where speakers mix languages like English and Mandarin). By adapting the Model-Agnostic Meta-Learning (MAML) algorithm, their approach judiciously extracts knowledge from high-resource monolingual datasets to optimize performance on mixed-language tasks, achieving state-of-the-art results with faster convergence and less "catastrophic forgetting."

What Problem Does This Paper Address?

Code-switching—the practice of alternating between two or more languages in a single conversation—is a global phenomenon among multilingual speakers. However, building Automatic Speech Recognition (ASR) systems for these speakers is notoriously difficult.

The primary hurdle is data scarcity. While there are massive datasets for monolingual English or Mandarin, high-quality, transcribed code-switched data is expensive and rare. Standard approaches like "joint training" (mixing all data together) or "fine-tuning" (pre-training on monolingual data then tuning on mixed data) often fail. Fine-tuning, in particular, frequently leads to "catastrophic forgetting," where the model loses its ability to recognize the original monolingual languages while trying to learn the mixed one.

Methods

The authors propose a Meta-Transfer Learning algorithm based on MAML. The core idea is to learn a model initialization that can be quickly adapted to a specific target domain (code-switching) by using information from source domains (monolingual languages).

Figure 1: Illustration of (a) joint training and (b) meta- transfer learning. The solid lines show the optimiza- tion path. The orange circles represent the monolin- gual source language, and the white circles represent the code-switching target language. The lower black circle in (b) is closer to Tcs than that in (a).

The Architecture

  • ASR Model: A Transformer-based encoder-decoder. The encoder uses VGG layers to learn language-agnostic audio representations.
  • Meta-Optimization: Unlike joint training, which minimizes a single combined loss, this method uses a nested loop:
  • Inner Loop: The model calculates gradients based on monolingual source data ($D_{src}$).
  • Outer Loop: The model updates its parameters based on how well those inner-loop gradients actually improved performance on a code-switching validation set ($D_{val}$).
  • Language Model Rescoring: They incorporate a Pointer-Generator Language Model to further refine the ASR output during beam search.

Datasets

The study utilizes three primary resources:

  1. SEAME Phase II: A conversational English-Mandarin code-switching corpus (the primary target).
  2. HKUST: A large-scale Mandarin telephone speech corpus (monolingual source).
  3. Common Voice: A massively multilingual English speech corpus (monolingual source).

The authors use metrics like the Code Mixing Index (CMI) and Switch-Point Fraction (SPF) to quantify the complexity of the code-switching in their data (see Table 1).

Data statistics of SEAME Phase II.

Key Insights and Ideas

  • Judicious Extraction: The meta-learning objective acts as a filter. It forces the model to only keep features from English and Mandarin that are useful for recognizing the mixed language, rather than just learning the two languages in isolation.
  • Preserving Monolingual Ability: Standard fine-tuning causes a massive spike in error rates for the original monolingual tasks. Meta-transfer learning significantly mitigates this, maintaining much better performance on pure English and Mandarin tasks while excelling at code-switching.
  • Efficiency: The model reaches lower validation loss significantly faster than joint training or training on code-switching data alone.

Key Results

The meta-transfer learning approach consistently outperformed baselines across both ASR and Language Modeling tasks.

  • ASR Performance: The best meta-transfer model (with fine-tuning and LM rescoring) achieved a Character Error Rate (CER) of 29.30%, a significant improvement over the 32.76% reported in previous state-of-the-art work.
  • Convergence: As shown in Figure 2, the meta-transfer learning curve (yellow dashed line) drops faster and reaches a lower plateau than joint training or "only CS" training.
Validation loss per iteration. Meta-transfer learning (yellow) converges faster and lower on CS data.
  • Generalization: In monolingual tests (Table 3), the meta-transfer model maintained a CER of ~16% for English and ~31% for Mandarin, whereas a fine-tuned joint model saw its English CER explode to over 63%.

Limitations and Future Work

While highly effective, the paper notes that the current work focuses primarily on the English-Mandarin pair. The authors express intent to explore the generability of this approach to other language pairs and more diverse downstream multilingual tasks. Additionally, the computational overhead of the nested meta-learning loops, while not explicitly detailed as a drawback, is a common challenge for MAML-based methods that might be addressed in future iterations.

Summary updated

BibTeX
@inproceedings{winata2020meta,
  author = {Genta Indra Winata and Samuel Cahyawijaya and Zhaojiang Lin and Zihan Liu and Peng Xu and Pascale Fung},
  title = {{Meta-Transfer Learning for Code-Switched Speech Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.348},
}
Figure