Here is a blog-style summary of the research paper.
SLM: Bridging the Thin Gap Between Speech and Text Foundation Models
TL;DR
Google DeepMind introduces the Speech and Language Model (SLM), a framework that connects frozen, pretrained speech and text foundation models using a lightweight adapter comprising just 1% of the total parameters. This simple "sandwich" architecture unlocks cross-modality zero-shot instruction-following—allowing the model to take speech inputs alongside text instructions to perform tasks like contextual speech recognition, translation, and open-ended question answering without full-model fine-tuning.
What Problem Does This Paper Address?
While Large Language Models (LLMs) excel at following textual instructions, extending these capabilities to audio typically requires massive amounts of paired speech-text data or computationally expensive end-to-end fine-tuning. Furthermore, fine-tuning entire foundation models risks degrading their hard-won native capabilities (a phenomenon known as catastrophic forgetting).
The authors address a fundamental question: How can we efficiently merge state-of-the-art speech encoders and LLMs while keeping both models frozen? They investigate the true size of the representational gap between speech and text modalities and demonstrate how to bridge it with minimal training.
Methods
The authors propose an "Adapter Sandwich" architecture. The framework consists of three main components:
- Frozen Speech Encoder: Utilizes the Universal Speech Model (USM) to convert raw audio into speech embeddings.
- Length Reduction & Adapter: Because audio sequences are significantly longer than text sequences, the speech embeddings are uniformly downsampled by a factor of 4x. These reduced encodings pass through a lightweight, trainable adapter consisting of just two Transformer layers (156M parameters).
- Frozen LLM: The adapter maps the audio representations directly into the LLM's textual embedding space. The text instruction tokens and the adapted speech embeddings are concatenated along the time dimension (e.g.,
"{text instruction} {audio}") and fed into a frozen LLM (mT0-MT XXL, a 13B parameter model).
The entire system is trained using a standard next-token-prediction cross-entropy loss on a mixture of supervised tasks.
Datasets
The model was trained and evaluated on a diverse mixture of datasets:
- Speech Recognition (ASR): Trained on a massive 90k-hour multilingual YouTube corpus covering 75 languages. Evaluated out-of-domain on SpeechStew, VoxPopuli, and FLEURS.
- Speech Translation (AST): Trained and evaluated on the CoVoST2 corpus (speech-to-text translation across 21 languages to English, and English to 15 languages).
- Speech Instruction Tuning: The text-based Alpaca dataset was converted into speech using a Text-to-Speech (TTS) system to teach the model to follow varied instructions.
- Open-Ended Evaluation: The Natural Questions (NQ) dataset was converted via TTS to evaluate zero-shot spoken question answering.
Key Insights and Ideas
- The Modality Gap is Surprisingly Narrow: The authors experimented with adapter depths ranging from 1 to 8 Transformer layers. Performance gains saturated at just 2 layers. This reveals that the representational space of a robust speech encoder is remarkably close to that of an LLM, requiring only a shallow geometric transformation to align them.
- LLM Pretraining Objectives Matter: The choice of the underlying LLM is critical for training efficiency. LLMs pretrained with a standard language modeling objective (like mT0-MT or T5-Flan) converged in a few hours. Conversely, models solely trained on masked language modeling (like standard T5) took days to converge and struggled with zero-shot instruction following.
- End-to-End Beats Cascades: Traditional speech-to-text pipelines pass ASR transcripts into an LLM. SLM's end-to-end approach significantly outperforms these cascaded systems because it avoids compounding errors caused by mistranscribed words.
Key Results
- Zero-Shot Contextual Biasing: In tasks where the model must recognize rare words or names provided in a text prompt (Contextual ASR), SLM achieved a 46.2% relative Word Error Rate (WER) reduction (from 32.7% down to 17.6%) purely via zero-shot prompting. Fine-tuning the adapter further dropped the WER to 7.8%.
- Speech Translation: On the CoVoST2 benchmark, the frozen SLM achieved a BLEU score of 33.0. When the LLM encoder was allowed to fine-tune (SLM-FT), it reached 37.4 BLEU, performing on par with the state-of-the-art, fully fine-tuned AudioPaLM-2 model (37.8 BLEU).
- Robust Out-of-Domain ASR: Despite keeping the foundation models frozen, SLM achieved competitive WERs across standard out-of-domain datasets like LibriSpeech and Common Voice compared to the native USM baseline.
Limitations and Future Work
While SLM successfully inherits the instruction-following capabilities of the underlying LLM, it also inherits its flaws—specifically hallucinations during open-ended generation tasks (like question answering). The authors confirmed that these hallucinations stem from the LLM itself rather than errors introduced by the adapter.
For future work, the team plans to explore decoder-only LLM architectures (this study focused strictly on encoder-decoder variants) and investigate alternative adaptation techniques such as LoRA or Flamingo-style cross-attention mechanisms.
Summary updated