Multi-Modal Retrieval For Large Language Model Based Speech Recognition

Aditya Gourav, Jari Kolehmainen, Prashanth Gurunath Shivakumar, Yile Gu, Grant P. Strimel, Ankur Gandhe, Ariya Rastrow, Ivan Bulyko

Abstract

This paper introduces a novel multi-modal retrieval-augmented generation (RAG) framework for Automatic Speech Recognition (ASR). By integrating both audio and text features to query external knowledge bases, the proposed system addresses the inherent limitations of Large Language Models (LLMs) in recognizing out-of-distribution content such as technical jargon and rare entities. Experimental results demonstrate that multi-modal retrieval significantly outperforms text-only baselines, achieving up to a 50% reduction in Word Error Rate (WER) and establishing a new state-of-the-art on the Spoken-Squad benchmark, notably surpassing OpenAI's Whisper v2.

1. Introduction

Large Language Models (LLMs) have revolutionized ASR by treating audio signals as sequences of tokens. However, these models often struggle with domain-specific vocabulary or rare names that were underrepresented in their training data. Traditional mitigation strategies, such as shallow fusion or contextual biasing, often fail to scale to massive external datasets or lack the acoustic precision necessary to resolve phonetic ambiguities. This research proposes a retrieval system that "hears" the query, using multi-modal grounding to bridge the gap between spoken input and textual knowledge.

2. Methodology

The authors propose two distinct architectures to implement multi-modal retrieval within an LLM framework:

2.1 kNN-LM (k-Nearest Neighbors Language Model)

This non-parametric approach modifies the model's output distribution by interpolating the base LLM's predictions with a distribution derived from the $k$ most similar examples in a retrieval database. Similarity is determined using the hidden states of the multi-modal LLM, ensuring the retrieval is informed by the current context.

2.2 Cross-Attention Based Retrieval

A more advanced neural approach involving three primary components:

  • Key Encoder: A multi-modal LLM that generates a query vector from the audio signal and preceding text.
  • Value Encoder: A BERT-based model that encodes retrieved documents into a latent space.
  • Retrieval-Augmented Decoder: A modified LLM architecture featuring cross-attention layers that allow the model to dynamically integrate external document embeddings during the decoding process.
Architectural overview of the proposed multi-modal retrieval systems: (a) Cross-Attention based Retrieval and (b) Key Encoder for kNN-LM.

The "Multi-Modal" advantage lies in generating retrieval keys from a forward pass of the entire speech signal. This ensures that the retrieval process is grounded in actual acoustics rather than potentially erroneous intermediate text hypotheses.

3. Experimental Setup

The models were evaluated across diverse benchmarks, including Spoken-Squad (synthesized via Amazon Polly), SLUE Voxpopuli, Libri-Speech, and Tedlium. Retrieval databases were constructed from the training partitions of these datasets, consisting of paired audio and transcriptions. The study utilized two model scales, "Small" and "Large," to evaluate the impact of parameter count on retrieval effectiveness.

Model specifications for the Small and Large variants used in the study.

4. Key Results and Discussion

4.1 Performance Gains

The cross-attention model achieved a remarkable 50% WER reduction over baseline multi-modal LLMs on specific tasks. On the Spoken-Squad dataset, the proposed system reached a WER of 8.4%, a significant improvement over Whisper v2's 14.3%.

4.2 The Superiority of Audio Grounding

Multi-modal retrieval (Speech + Text) proved far more effective than text-only retrieval. Analysis showed that the "next token" prediction accuracy jumped from 16-34% (text-only) to 69-85% when audio was included in the query. Audio provides immediate context that prevents the "cold start" errors common in text-only systems, where the model lacks sufficient generated text to form a coherent query.

4.3 Efficiency and Robustness

The retrieval step is highly efficient, adding only 3-4 ms to the total decoding time. Furthermore, the cross-attention mechanism demonstrated superior robustness over kNN-LM by effectively ignoring irrelevant or "distractor" documents through learned attention weights.

5. Conclusion

By grounding the retrieval process in acoustic features, this work demonstrates that multi-modal RAG is a powerful tool for enhancing ASR performance, particularly in specialized domains. Future work will explore mitigating hallucination risks and expanding the system to incorporate additional modalities such as video or environmental audio context.

Summary updated

BibTeX
@inproceedings{gourav2024multi,
  author = {Aditya Gourav and Jari Kolehmainen and Prashanth Gurunath Shivakumar and Yile Gu and Grant P. Strimel and Ankur Gandhe and Ariya Rastrow and Ivan Bulyko},
  title = {{Multi-Modal Retrieval For Large Language Model Based Speech Recognition}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.262},
}
Figure