MuSLAM: Multitask, Multilingual Speech and Language Models

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

Introduction

The push toward "foundation models" in AI aims to create single architectures capable of handling hundreds of languages and multiple modalities. However, integrating speech and text often leads to modality isolation, capacity dilution (where one modality degrades the performance of the other), and architectural complexity. Furthermore, discrepancies between pre-training objectives and fine-tuning tasks can hinder downstream performance.

To address these challenges, researchers introduce Mu²SLAM, a unified, multilingual encoder-decoder model bridging the gap between speech and text processing across more than 100 languages. By jointly pre-training on unlabeled data and supervised tasks, Mu²SLAM achieves new state-of-the-art results in speech translation while significantly narrowing the performance gap between multi-modal models and specialized text-only models.

Methodology

Mu²SLAM utilizes a standard encoder-decoder backbone consisting of 24 Conformer layers in the encoder and 6 Transformer layers in the decoder. The architecture relies on several key innovations to unify speech and text:

  • Speech Tokenization: To treat speech like text, continuous audio signals are mapped to discrete "speech tokens" using a pre-trained codebook. This quantized representation allows the model to apply text-like objectives directly to audio data.
  • Unified Pre-training Objectives: The model is trained on four data types: unlabeled speech, unlabeled text, labeled speech-text, and labeled text-text. It employs a Masked Language Modeling (MLM) loss on the encoder and a T5-style masked denoising objective on the decoder. For labeled data, an explicit alignment loss forces the model to map different modalities and languages into a shared latent space.
  • Gradual and Noisy Fine-tuning: To bridge the pre-training gap, the model undergoes a two-stage fine-tuning process. First, it receives multi-task multilingual fine-tuning on all labeled datasets without mask tokens. Then, it is fine-tuned on specific target tasks. During this final stage, "synonym noise" is injected into the decoder inputs, improving robustness against the errors that typically accumulate during sequence generation.

Datasets and Scale

The model was trained on a massive scale, leveraging approximately 429,000 hours of unlabeled speech across 51 languages (VoxPopuli, Common Voice, MLS, Babel) and unlabeled text from the mC4 dataset spanning 101 languages. Supervised training utilized Automatic Speech Recognition (ASR) and Automatic Speech Translation (AST) data from VoxPopuli, CoVoST, and FLEURS, alongside Machine Translation (MT) data from WMT and TED.

Key Results and Insights

Mu²SLAM demonstrates that a single model can excel across modalities without sacrificing text-processing capabilities:

  • Speech Translation (AST): On the CoVoST-2 benchmark, Mu²SLAM established a new state-of-the-art for models trained on public datasets. It improved non-English to English (xx-en) translation by 1.9 BLEU points and English to non-English (en-xx) translation by 1.1 BLEU points over previous bests.
  • Speech Recognition (ASR): On VoxPopuli, the model matched the performance of the previous mSLAM model, despite Mu²SLAM using a simpler Transformer decoder compared to mSLAM’s specialized RNN-T decoder.
  • Text Understanding: Mu²SLAM is one of the first speech-centric models to demonstrate highly competitive performance on text-only tasks. On the XNLI benchmark, it outperformed mSLAM by 6%, effectively closing the gap with the text-only mT5-Base model of comparable capacity.
  • Synergy Across Tasks: The inclusion of Machine Translation (text-to-text) during pre-training actively improved Speech Translation (speech-to-text) by teaching the decoder to generate higher-quality target language text.

Limitations and Future Work

While highly capable, Mu²SLAM has areas for future improvement. The model is currently limited to the ~100 languages available in academic datasets, with scaling to 1,000+ languages remaining a future goal. It also struggles with zero-shot speech translation and recognition for unseen language pairs. Furthermore, the model has not yet been evaluated on generative speech tasks like Text-to-Speech (TTS), and it still relies on log-mel spectrograms rather than operating directly on raw waveforms.

Summary updated

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