Learning Audio-guided Video Representation with Gated Attention for Video-Text Retrieval

Boseung Jeong, Jicheol Park, Sungyeon Kim, Suha Kwak

Abstract

Video-text retrieval, the task of retrieving videos based on a textual query or vice versa, is of paramount importance for video understanding and multimodal information retrieval. Recent methods in this area rely primarily on visual and textual features and often ignore audio, although it helps enhance overall comprehension of video content. Moreover, traditional models that incorporate audio blindly utilize the audio input regardless of whether it is useful or not, resulting in suboptimal video representation. To address these limitations, we propose a novel video-text retrieval framework, Audio-guided VIdeo representation learning with GATEd attention (AVIGATE), that effectively leverages audio cues through a gated attention mechanism that selectively filters out uninformative audio signals. In addition, we propose an adaptive margin-based contrastive loss to deal with the inherently unclear positive-negative relationship between video and text, which facilitates learning better video-text alignment. Our extensive experiments demonstrate that AVIGATE achieves state-of-the-art performance on all the public benchmarks.

Introduction

In the realm of video-text retrieval—finding a video based on a text description or vice versa—most models are effectively "deaf," relying almost entirely on visual frames and text metadata. While some recent models have started incorporating audio, they often do so "blindly," treating all audio as equally useful.

This is problematic because audio can be a "double-edged sword." For example, if a query is "a man with a very red nose" and the video contains irrelevant background music, a naive model might be misled by the audio signal. Conversely, for a query like "a man and a woman are singing," the audio provides a critical clue that visual frames alone might miss.

Audio signals can be either beneficial (e.g., singing) or distracting (e.g., background noise) for video-text retrieval.

Furthermore, many existing audio-visual models are computationally heavy at test time, requiring the text query and video to be processed together through complex attention layers. AVIGATE addresses these issues by dynamically deciding when to "listen" to audio and by decoupling the encoding process for high-speed retrieval.

Methodology

The AVIGATE framework introduces three main innovations to improve multimodal representation:

  1. Gated Fusion Transformer: Instead of simple concatenation, AVIGATE uses a gating function to calculate "gating scores" that modulate the flow of audio information. If the audio is deemed irrelevant to the visual context, the gate closes, preserving the integrity of the visual representation.
  2. Audio Resampler: To handle the high density of audio signals compared to video frames, a query-based transformer resamples dense audio features into a fixed, manageable number of embeddings.
  3. Adaptive Margin-based Contrastive Loss: Standard contrastive learning uses a fixed margin to push negative pairs apart. AVIGATE calculates similarity between items within the same modality (intra-modal similarity). If two videos are semantically similar (e.g., "running" vs. "jogging"), the model uses a adjusted margin to learn a more nuanced and discriminative embedding space.
The AVIGATE framework architecture, featuring the Gated Fusion Transformer and multi-grained alignment.

Experiments and Results

The model was evaluated on three major public benchmarks: MSR-VTT, VATEX, and Charades.

  • State-of-the-Art Performance: AVIGATE outperformed all previous methods across these datasets. On MSR-VTT (ViT-B/16), it achieved a Recall@1 of 52.1%, a significant jump over previous competitors.
  • Efficiency: AVIGATE is over 14 times faster than TEFAL (a leading audio-visual competitor) and 6 times faster than X-Pool. Its total search latency is roughly 9.9ms, compared to 140.5ms for TEFAL, because it allows video embeddings to be pre-computed and stored.
  • Qualitative Success: Analysis of gating scores shows the mechanism in action: scores are high when audio contains informative speech or specific actions and drop significantly when only background noise is present.

Conclusion

AVIGATE demonstrates that audio is a context-dependent feature that requires selective integration. By utilizing a gated attention mechanism and an adaptive contrastive loss, the framework achieves superior retrieval accuracy while remaining fast enough for real-world, large-scale applications. Future work may explore fine-tuning audio encoders and handling more complex, overlapping audio scenes.

Summary updated

BibTeX
@inproceedings{jeong2025learning,
  author = {Boseung Jeong and Jicheol Park and Sungyeon Kim and Suha Kwak},
  title = {{Learning Audio-guided Video Representation with Gated Attention for Video-Text Retrieval}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=H0YZ3kuzn3},
}
Figure