Induction Head Origins of SLAM-ASR Speech Recognition Models

Artem Fedorchenko, Tanel AlumäearXiv 2026 · arXiv

TL;DR

Researchers have discovered that SLAM-ASR models—which use frozen Large Language Models (LLMs) for speech recognition—rely heavily on induction heads to function. These specific attention heads, originally evolved for text-based in-context learning, treat speech embeddings as "prompts" to be copied into transcripts, and can even be scaled at inference time to significantly improve robustness against noisy audio.

What Problem Does This Paper Address?

The SLAM-ASR (Speech-Language Adaptation Model for ASR) framework is surprisingly effective: you take a frozen speech encoder (like Whisper) and a frozen LLM (like Llama), train a tiny "projector" to map speech features into the LLM's embedding space, and suddenly you have a competitive speech recognizer.

But why does this work? A frozen LLM wasn't trained on speech. The authors use mechanistic interpretability to find the "circuits" responsible. They specifically investigate whether the LLM is using its existing linguistic machinery—like induction heads—to bridge the gap between continuous acoustic embeddings and discrete text tokens.

Methods

The authors built SLAM-ASR models using three different frozen decoders: Llama 3.2-3B, Gemma 2-2B, and Ministral 3-3B, paired with a frozen Whisper turbo encoder.

Fig. 1. SLAM-ASR architecture. Speech projector is the only com- ponent being trained, while LLM and speech encoder remain frozen.

Key techniques included:

  • Induction Head Identification: They used "prefix-matching" scores to find heads that naturally excel at copying repeated sequences in text.
  • Head Blocking (Ablation): They manually disabled specific heads by setting their attention logits to $-\infty$ to measure their impact on Word Error Rate (WER).
  • Differential Attention Analysis: They looked for pairs of "anti-aligned" heads that act as a noise-canceling circuit, sharpening the model's focus on relevant speech embeddings.
  • Inference-Time Scaling: They tested whether boosting the output of induction heads ($\alpha = 1.5$) could mitigate "hallucinations" (insertions) in noisy environments.

Datasets

  • Training: The train-clean-100 subset of LibriSpeech.
  • Evaluation: LibriSpeech test-clean and test-other.
  • Noise Conditions: To test robustness, they added babble and white noise at 5 dB and 0 dB SNR.

Key Insights and Ideas

  • Speech as a "First Occurrence": Induction heads typically work by finding a pattern (A...B) and, when they see "A" again, they "copy" B. In SLAM-ASR, the induction heads treat the speech embeddings as the first occurrence of a word and the generated transcript as the second occurrence. This allows the LLM to "read" the speech by matching it to the text it is currently generating.
  • Natural Noise Cancellation: The researchers found pairs of heads that behave like "differential attention." One head attends to the speech, while a second "anti-aligned" head subtracts the "attention noise" (redundant or irrelevant acoustic information), sharpening the focus on the specific word being transcribed.
Fig. 2. Per-head contribution to generated sequence at token Vhi, which predicts Vhi+1. Bottom left: induction heads attend to the speech embeddings of Vhi+1. Bottom right: an attention noise cancelling pair jointly sharpens attention on the speech embeddings of Vhi.

Key Results

  • Induction Heads are Vital: Blocking just the top 10 induction heads ($C_{10}$) caused a massive spike in WER, especially in Gemma, where it jumped from ~4% to over 23% (and up to 53% in some seeds). Blocking random heads had almost no effect.
WER (%) when induction heads are blocked vs. random heads.
  • Noise Robustness via Scaling: In noisy conditions (0 dB babble), scaling induction heads reduced the Insertion rate ($I$) and WER. For Llama, scaling these heads dropped the noisy mean WER from 41.9% to 39.9% and significantly cut down on hallucinations.
Table 3. WER and I (%) with heads scaled by α = 1.5: none (un- scaled model), Ck (k = 3 % of heads), equally many random heads from the same layers (mean over 10 sets), or all remaining heads of the same layers. Clean: WER without added noise on 400 test-clean and 400 test-other utterances; noisy (mean): over babble and white noise at 5 and 0 dB SNR added to the same utterances. Means over 3 seeds; in each seed, Ck gives lower noisy WER and I than random heads. Bold: lowest per decoder under noise.

Limitations and Future Work

  • Model Specificity: While scaling worked well for Llama and Ministral, it actually slightly increased WER for Gemma 2 on clean audio, suggesting that the optimal "intervention" might vary across different LLM architectures.
  • Training Strategy: The authors suggest that instead of training the whole projector, it might be more efficient to specifically target and update the heads with high prefix-matching scores.
  • Origin Story: It remains unclear exactly how these noise-canceling head pairs emerge during standard text-only pretraining. Investigating this could reveal more about how LLMs handle redundant information in general.

Summary updated

Abstract

What makes a small trained map from encoder states to the embedding space of a frozen language model sufficient for competitive speech recognition? The premise of the SLAM-ASR architecture is that a frozen language model possesses linguistic knowledge rich enough to perform the recognition task. This assumption, while reasonable, provides little insight into the mechanisms underlying these models. We therefore seek the concrete internal structures on which they rely. This work shows that SLAM-ASR models rely on induction heads of the frozen language model: the same heads that copy repeated token sequences in text are also important for mapping speech embeddings to transcript tokens. Moreover, we find pairs of heads that behave as a constrained form of differential attention, cancelling attention noise and sharpening attention onto the previously generated word. Finally, we show how induction heads could be used to improve transcription quality under noisy audio.
BibTeX
@misc{fedorchenko2026induction,
  author = {Artem Fedorchenko and Tanel Alumäe},
  title = {{Induction Head Origins of SLAM-ASR Speech Recognition Models}},
  year = {2026},
  eprint = {2611.24721},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24721},
}
Figure