AudioCLIP: Extending CLIP to Image, Text and Audio

Andrey Guzhov, Federico Raue, Jörn Hees, Andreas Dengel

Introduction

While multimodal learning has seen significant breakthroughs with models like OpenAI’s CLIP, most research remains focused on the visual-linguistic axis. Audio processing, despite its semantic richness, often remains siloed or limited to dual-modality pairings (e.g., audio-visual). This isolation prevents models from leveraging the deep connections between what we see, what we hear, and how we describe the world.

AudioCLIP addresses this by extending the CLIP framework to include a third modality: audio. By aligning text, images, and audio in a shared embedding space, the model enables robust zero-shot classification and cross-modal querying across all three domains.

Methodology

The AudioCLIP architecture is a tri-modal hybrid that integrates two specialized backbones into a unified framework.

Architecture

  1. CLIP (Text and Image Heads): The model utilizes the ResNet-50 version of CLIP to provide pre-trained visual and linguistic representations.
  2. ESResNeXt (Audio Head): For audio processing, the authors employ ESResNeXt-50, which utilizes a trainable time-frequency transformation based on complex frequency B-spline wavelets to handle raw audio input.
Architecture of AudioCLIP: Aligning text, image, and audio heads into a shared multimodal embedding space.

Training Pipeline

The training process is structured in three distinct stages to ensure stable alignment:

  • Standalone Pre-training: The audio head is initially trained on AudioSet to establish a baseline for sound recognition.
  • Cooperative Pre-training: The audio head is integrated with the CLIP framework. During this stage, the text and image heads are frozen, serving as "teachers" in a multi-modal knowledge distillation process that pulls audio embeddings into the existing CLIP space.
  • Full Tri-modal Training: All three heads are fine-tuned simultaneously on AudioSet, allowing the model to learn complex relationships between audio tracks, video frames, and textual labels.

Experimental Setup

The model was evaluated using a variety of benchmarks:

  • AudioSet: Used for primary tri-modal training (~1.8M snippets).
  • UrbanSound8K & ESC-50: Standard benchmarks for Environmental Sound Classification (ESC).
  • ImageNet: Used for weight initialization and cross-modal querying tests.

Key Results and Insights

AudioCLIP demonstrates superior performance in both supervised and zero-shot settings.

State-of-the-Art Performance

The model achieved new SOTA results on standard audio benchmarks, reaching 90.07% accuracy on UrbanSound8K and 97.15% on ESC-50. This outperforms specialized audio-only models, suggesting that multimodal alignment provides a beneficial regularization effect.

Zero-Shot Generalization

A key advantage of the tri-modal alignment is the ability to perform zero-shot classification. By comparing audio embeddings to natural language labels in the shared space, AudioCLIP achieved 68.78% on UrbanSound8K and 69.40% on ESC-50—setting a significant new baseline for zero-shot environmental sound classification.

Cross-Modal Querying

The symmetric nature of the architecture allows for flexible querying. For instance, the model can retrieve images based on audio clips or vice-versa. Full tri-modal training improved the Mean Average Precision (mAP) for Audio-by-Image queries on AudioSet from 4.86 to 6.86.

Discussion and Future Work

While AudioCLIP shows remarkable versatility, there are areas for further exploration. The authors noted a slight performance decrease in ImageNet querying after full training on AudioSet, indicating a distribution shift that requires careful balancing. Additionally, scaling the image backbone to Vision Transformers (ViT) and expanding to tasks like audio captioning represent promising future directions.

Summary updated

BibTeX
@inproceedings{guzhov2022audioclip,
  author = {Andrey Guzhov and Federico Raue and Jörn Hees and Andreas Dengel},
  title = {{AudioCLIP: Extending CLIP to Image, Text and Audio}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9747631},
}
Figure