Mu$^2$SLAM: Multitask, Multilingual Speech and Language Models

Yong Cheng, Yu Zhang, Melvin Johnson, Wolfgang Macherey, Ankur Bapna

Abstract Mu$^2$SLAM is a unified, multilingual sequence-to-sequence model pre-trained jointly on unlabeled speech, unlabeled text, and supervised data across over 100 languages. By unifying speech and text into a single framework, it achieves new state-of-the-art results in Automatic Speech Translation (AST) and significantly closes the performance gap between joint speech-text models and specialized text-only models.

1. Introduction: The Challenge of Joint Modeling

In the quest to develop "Universal Speech and Language Models," researchers face a fundamental hurdle: speech and text are inherently different modalities. Text is discrete and highly structured, whereas speech is continuous, variable, and noisy.

Historically, attempts to jointly model both modalities have suffered from three primary issues:

  • Modality Silos: Models frequently rely on modality-specific layers or loss functions, which prevents true cross-modal representation sharing.
  • Capacity Dilution: Incorporating speech data often degrades a model's performance on text-only tasks (such as reading comprehension) compared to specialized text-only models.
  • The Pre-training Gap: Discrepancies between pre-training objectives (like predicting masked tokens) and downstream fine-tuning tasks often prevent models from reaching their full potential.

Mu$^2$SLAM addresses these challenges through a unified architecture and a multi-stage training pipeline that effectively treats speech as another "language."

2. Methodology

Mu$^2$SLAM employs a standard Encoder-Decoder architecture, utilizing 24 Conformer layers in the encoder and 6 Transformer layers in the decoder. The model introduces several key technical innovations to bridge the modality gap:

  • Speech Tokenization: To process speech similarly to text, the authors utilize a pre-trained quantizer that converts continuous audio features into discrete "speech tokens."
  • Unified Pre-training Objectives: The model leverages a T5-style masked denoising objective. By masking spans of both text and speech tokens, the encoder is forced to build robust context while the decoder reconstructs the missing segments.
  • Supervised Pre-training: Unlike models that rely exclusively on unlabeled data, Mu$^2$SLAM incorporates supervised tasks—Automatic Speech Recognition (ASR), AST, and Machine Translation (MT)—directly into the pre-training phase. This aligns representations across modalities and languages early in the training process.
  • Gradual and Noisy Fine-tuning: To bridge the gap between pre-training and final task execution, the authors introduce "gradual fine-tuning" (training on labeled data without masks) and "noisy fine-tuning" (randomly replacing decoder input tokens with synonyms) to enhance model robustness.

3. Data Scale and Benchmarks

The model was trained on a massive, multilingual corpus:

  • Unlabeled Data: Approximately 429,000 hours of unlabeled speech across 51 languages, alongside the mC4 text dataset covering 101 languages.
  • Supervised Data: A diverse mix of datasets including VoxPopuli, MLS, Babel, CoVoST, and FLEURS for speech tasks, as well as WMT and TED for machine translation.

Evaluation was conducted on standard benchmarks including CoVoST-2 for Speech Translation, VoxPopuli for ASR, and XTREME (specifically XNLI and TyDiQA) for text understanding.

4. Key Insights

  • Simplicity is Strength: By minimizing modality-specific components (using only a single CNN block for speech), the model is forced to learn a shared latent space where speech and text are interchangeable.
  • Machine Translation as a Bridge: Including text-to-text MT during pre-training significantly helps the model learn cross-lingual alignments that subsequently benefit Speech Translation.
  • Addressing the Masking Discrepancy: The artificial [MASK] tokens used in pre-training can hinder fine-tuning. The "gradual fine-tuning" stage—where the model trains on labeled data without masks before task-specific fine-tuning—proved critical for high performance.
  • Decoder Robustness: Injecting "synonym noise" into the decoder during fine-tuning prevents overfitting to specific training data, making the model more generalizable to real-world, noisy speech.

5. Results

Mu$^2$SLAM demonstrates remarkable performance across multiple domains:

  • Automatic Speech Translation (AST): The model established a new state-of-the-art for models trained on public datasets. On the CoVoST-2 benchmark, it improved non-English to English translation by 1.9 BLEU points and English to non-English by 1.1 BLEU points.
  • Automatic Speech Recognition (ASR): Despite utilizing a standard Transformer decoder—typically considered weaker for ASR than RNN-T decoders—Mu$^2$SLAM matched the performance of the much larger mSLAM model.
  • Text Understanding: On the XNLI benchmark, Mu$^2$SLAM outperformed previous joint models by 6%, proving that speech capabilities can be integrated without severely diluting text comprehension.

6. Limitations and Future Work

While Mu$^2$SLAM represents a significant step forward, the authors note several areas for future improvement. The model is currently limited to approximately 100 languages, whereas some proprietary models scale to over 1,000. Furthermore, while it can generate text from speech, its ability to generate speech (Text-to-Speech) remains unevaluated. The model also struggles with zero-shot speech translation for unseen language pairs and still relies on a CNN to process speech spectrograms, leaving a "pure" token-to-token transformation for all modalities as a goal for future research.

Summary updated

BibTeX
@inproceedings{cheng2023mu,
  author = {Yong Cheng and Yu Zhang and Melvin Johnson and Wolfgang Macherey and Ankur Bapna},
  title = {{Mu$^2$SLAM: Multitask, Multilingual Speech and Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
}
Figure