Whisper-Flamingo: Integrating Visual Features into Whisper for Audio-Visual Speech Recognition and Translation

Andrew Rouditchenko, Yuan Gong, Samuel Thomas, Leonid Karlinsky, Hilde Kuehne, Rogério Feris, James Glass

Introduction

Automatic Speech Recognition (ASR) has reached significant milestones with models like OpenAI’s Whisper, which is trained on 680,000 hours of audio. However, these models often falter in high-noise environments where audio signals are severely degraded. Audio-Visual Speech Recognition (AVSR) addresses this by incorporating visual cues, such as lip movements, to supplement the audio stream. Despite its potential, AVSR faces a significant data bottleneck: high-quality audio-visual datasets are orders of magnitude smaller than audio-only corpora, making it difficult to train high-performing models from scratch.

Whisper-Flamingo addresses this gap by integrating visual features from a pre-trained AV-HuBERT model into the Whisper architecture. This approach leverages the massive pre-training of both models to achieve a 50% relative error reduction in noisy environments and establishes a robust framework for multilingual audio-visual speech translation.

Methodology

The Whisper-Flamingo architecture fuses two powerful pre-trained components: the Whisper model, which serves as the audio encoder and multilingual text decoder, and AV-HuBERT, which acts as the visual feature extractor.

The architecture of Whisper-Flamingo, showing the integration of visual features via Gated Cross-Attention.

Gated Cross-Attention

Inspired by the Flamingo vision-language model, the researchers inserted Gated Cross-Attention layers into Whisper’s decoder blocks. These layers allow the decoder to attend to visual features from AV-HuBERT during the text generation process.

To preserve the pre-trained knowledge of Whisper, the gates are initialized to zero. This ensures the model initially behaves as an audio-only system, preventing the "forgetting" of language knowledge while it slowly learns to incorporate visual cues. During training, the original Whisper and AV-HuBERT weights remain frozen, and only the new gated attention layers are optimized. This parameter-efficient "adapter-style" training makes the process stable and effective.

Experimental Setup

The model was evaluated primarily on the Lip Reading Sentences 3 (LRS3) dataset, a benchmark for English AVSR. To test multilingual capabilities, the MuAViC corpus was used for speech-to-text translation from English into six languages (Greek, Spanish, French, Italian, Portuguese, and Russian). To simulate challenging real-world conditions, "babble noise" was injected into the audio at a 0dB Signal-to-Noise Ratio (SNR).

Results and Discussion

Whisper-Flamingo demonstrates significant performance gains, particularly in adverse acoustic conditions. On the LRS3 dataset with 0dB noise, the model achieved a Word Error Rate (WER) of 5.6%, compared to 11.7% for a fine-tuned audio-only Whisper baseline—a relative improvement of over 52%.

Performance comparison of Whisper-Flamingo against various audio-visual and audio-only baselines on the LRS3 dataset.

Key Insights

  • Late Fusion Efficacy: The study suggests that injecting visual features directly into the decoder via cross-attention (late fusion) is more effective for pre-trained models than early fusion techniques that mix modalities before the encoder.
  • Multilingual Robustness: Unlike previous state-of-the-art models that required separate fine-tuning for each language pair, Whisper-Flamingo maintains Whisper's inherent multilingualism. A single set of parameters can handle English-to-X translation across multiple target languages.
  • Translation Performance: In noisy translation tasks, Whisper-Flamingo improved the average BLEU score from 18.6 to 20.5, demonstrating that visual cues enhance semantic understanding even when the primary audio signal is obscured.

Conclusion

Whisper-Flamingo successfully bridges the gap between large-scale audio pre-training and specialized audio-visual tasks. By using a gated cross-attention mechanism to "add eyes" to Whisper, the model achieves state-of-the-art results in noisy speech recognition and translation. Future work will focus on expanding the model to non-English audio inputs and optimizing the computational overhead introduced by the additional gated layers.

Summary updated

BibTeX
@inproceedings{rouditchenko2024whisper,
  author = {Andrew Rouditchenko and Yuan Gong and Samuel Thomas and Leonid Karlinsky and Hilde Kuehne and Rogério Feris and James Glass},
  title = {{Whisper-Flamingo: Integrating Visual Features into Whisper for Audio-Visual Speech Recognition and Translation}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-322},
}
Figure