Joint Unsupervised and Supervised Training for Multilingual ASR

Junwen Bai, Bo Li, Yu Zhang, Ankur Bapna, Nikhil Siddhartha, Khe Chai Sim, Tara N. Sainath

TL;DR

Researchers at Google have introduced JUST (Joint Unsupervised and Supervised Training), a novel framework that trains multilingual speech recognition models using both labeled and unlabeled data simultaneously. By moving away from the traditional two-stage "pretrain-then-finetune" approach, JUST achieves a 32% improvement over previous state-of-the-art models and slashes error rates for low-resource languages like Polish by more than half.

What Problem Does This Paper Address?

In Automatic Speech Recognition (ASR), the gold standard has recently been a two-stage process: first, pretrain a model on massive amounts of unlabeled audio (self-supervised learning), then "finetune" it on a smaller set of transcribed speech (supervised learning).

However, this approach has two major flaws:

  1. Catastrophic Forgetting: When the model starts learning from labeled data, it often "forgets" the general acoustic patterns it learned during the massive pretraining phase.
  2. Checkpoint Roulette: The best model for the final task isn't always the one that performed best during pretraining, making it difficult to know when to stop training.

These issues are magnified in multilingual ASR, where data is often extremely imbalanced. For example, a dataset might have 44,000 hours of English but only 100 hours of Polish. Traditional methods struggle to balance these extremes without losing performance on one end of the spectrum.

Methods

The authors propose JUST, an end-to-end framework that optimizes three different losses at the same time:

  • Supervised Loss (RNN-T): The standard "listen and transcribe" task using labeled data.
  • Unsupervised Contrastive Loss: Inspired by wav2vec 2.0, this forces the model to distinguish between a "true" speech segment and random distractors.
  • Unsupervised Masked Language Modeling (MLM) Loss: Similar to BERT in text, the model tries to predict "masked out" parts of the audio signal based on the surrounding context.

The Architecture: JUST uses a sequential stack: a Feature Encoder (CNNs) feeds into a Contrastive Net (Conformers), which feeds into an MLM Net (more Conformers), which finally connects to an RNN-T Decoder.

Crucially, the total loss is a weighted sum: $L = L_{supervised} + \beta L_{unsupervised}$. This allows the model to keep learning general acoustic features from the unlabeled data even while it's learning to transcribe specific languages.

Datasets

The model was evaluated on the Multilingual LibriSpeech (MLS) dataset.

  • Scope: 8 languages (English, German, Dutch, French, Spanish, Italian, Portuguese, and Polish).
  • Imbalance: Ranges from ~44,500 hours of English to a mere 100 hours of Polish.
  • Benchmark: The authors compared JUST against monolingual baselines, XLSR-53 (a previous SOTA 2-stage model), and supervised transfer learning models.

Key Insights and Ideas

  • Synergy over Sequencing: Training supervised and unsupervised tasks together acts as a regularizer. The unsupervised tasks prevent the model from over-specializing (and thus forgetting) during the supervised phase.
  • The Power of MLM: The authors found that adding the MLM loss specifically helped boost performance beyond what simple contrastive learning could achieve.
  • Global vs. Local Attention: Using "global" attention (looking at the entire audio sequence) significantly outperformed "local" attention (looking at a small window), likely because global context is vital for resolving ambiguous speech sounds.
  • Low-Resource "Hero": The joint training approach is particularly effective for languages with very little data. By sharing the "unsupervised" knowledge across all languages, the model learns a much richer representation that benefits the "starved" languages.

Key Results

  • Overall Performance: JUST outperformed the monolingual baseline by 33.3% and the previous state-of-the-art (XLSR) by 32% in terms of Word Error Rate (WER).
  • Low-Resource Gains: On Polish (the smallest dataset), JUST achieved a WER of 6.6%, compared to 21.66% for the monolingual baseline and 17.2% for XLSR. This is a massive leap in usability for minoritized languages.
  • Efficiency: JUST (600M parameters) achieved these results without needing the massive external supervised datasets required by other high-performing models like Google's E3.

Limitations and Future Work

  • Weight Sensitivity: The performance of the model is sensitive to the $\beta$ parameter (the weight of the unsupervised loss). The authors found $\beta = 0.07$ to be the "sweet spot" where losses were balanced, but this might require re-tuning for different datasets.
  • Codebook Dynamics: While the paper explores whether the "quantizer codebook" should be fixed or learnable during finetuning, the underlying mechanics of how these discrete tokens represent different languages simultaneously remain an area for deeper study.
  • Scaling: The authors suggest future work should explore joint training with even more languages and investigate the trade-offs between different unsupervised components more granularly.

Summary updated

BibTeX
@inproceedings{bai2022joint,
  author = {Junwen Bai and Bo Li and Yu Zhang and Ankur Bapna and Nikhil Siddhartha and Khe Chai Sim and Tara N. Sainath},
  title = {{Joint Unsupervised and Supervised Training for Multilingual ASR}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9746038},
}
Figure