Accommodating Audio Modality in CLIP for Multimodal Processing

Ludan Ruan, Anwen Hu, Yuqing Song, Liang Zhang, Sipeng Zheng, Qin Jin

Abstract

While Vision-Language (VL) models like CLIP have revolutionized image-text alignment, they remain largely indifferent to the audio modality inherent in video data. This paper presents CLIP4VLA, a framework that extends CLIP into a tri-modal architecture (Vision, Language, and Audio). By utilizing a unified transformer backbone and introducing novel "audio type tokens" to distinguish between verbal and non-verbal signals, CLIP4VLA achieves state-of-the-art performance in video retrieval and captioning tasks with high computational efficiency.

Introduction

Multimodal research has historically focused on the synergy between vision and language. However, video is inherently tri-modal, where audio provides critical context—such as the roar of a crowd or specific spoken instructions—that visual frames alone may miss. Existing attempts to integrate audio into CLIP-like models often struggle with architectural mismatches or the inherent heterogeneity of audio data, which contains both verbal (speech) and non-verbal (ambient) information.

Methodology

The Tri-Encoder Architecture

CLIP4VLA addresses these challenges by introducing a unified tri-encoder structure. Rather than employing a specialized, heavy audio backbone, the framework utilizes an audio encoder with the same architecture as the vision encoder (Vision Transformer, or ViT).

The overall tri-modal architecture of CLIP4VLA, aligning text, vision, and audio embeddings through contrastive learning.

To bridge the gap between 1D audio waveforms and 2D visual patches, the model converts audio into 2D log Mel-spectrograms. This allows the audio encoder to be initialized with pre-trained vision weights from CLIP, facilitating effective transfer learning between visual patterns and spectrogram patterns.

Audio Type Tokens

A key innovation in CLIP4VLA is the introduction of Audio Type Tokens. Recognizing that audio comprises distinct semantic types, the authors added specific tokens—[VB] for verbal and [NB] for non-verbal—to the end of the audio patch sequences.

Detailed view of the Audio Encoder, illustrating the conversion of spectrograms into patches and the integration of Audio Type Tokens.

These tokens act as control signals, allowing the model to dynamically prioritize different types of information depending on the task. For instance, ambient sound recognition benefits from the [NB] token, while instructional videos rely more on the [VB] token.

Experiments and Results

The model was pre-trained on large-scale datasets like Howto100M and AudioSet, then evaluated on downstream tasks including MSR-VTT, VATEX, and AudioCaps.

Performance Benchmarks

CLIP4VLA set new state-of-the-art records across several metrics:

  • Video Retrieval: On MSR-VTT, it achieved a Recall@1 (R@1) of 46.2, surpassing previous leaders like CLIP4Clip (44.5) and CLIP2Video (45.6).
  • Video Captioning: It reached CIDEr scores of 58.0 on MSR-VTT and 59.7 on VATEX, demonstrating that audio context leads to more descriptive text generation.
  • Zero-Shot Robustness: The model outperformed VATT on event classification tasks (ESC50 and UCF101) despite not being explicitly trained for classification.

Key Insights

  • Weight Initialization: Initializing the audio encoder with vision-trained weights provided a significant performance boost, suggesting that transformers can generalize across different "visual-like" 2D representations.
  • Computational Efficiency: By leveraging pre-trained CLIP backbones, CLIP4VLA was trained in just 48 V100 days—a fraction of the resources required by models trained from scratch, such as VATT which requires 512–768 TPU days.

Conclusion

CLIP4VLA demonstrates that the audio modality can be seamlessly integrated into the CLIP framework without architectural reinvention. By treating spectrograms as images and employing type-specific tokens, the model achieves superior performance and efficiency, providing a scalable blueprint for comprehensive video understanding.

Summary updated

BibTeX
@inproceedings{ruan2023accommodating,
  author = {Ludan Ruan and Anwen Hu and Yuqing Song and Liang Zhang and Sipeng Zheng and Qin Jin},
  title = {{Accommodating Audio Modality in CLIP for Multimodal Processing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i8.26153},
}
Figure