Can CLIP Help Sound Source Localization?

Sooyoung Park, Arda Senocak, Joon Son Chung

Abstract

Sound source localization (SSL) aims to identify the visual regions in a video responsible for specific sounds. While humans perform this task intuitively, machines often struggle to align semantic audio information with spatial visual data. This paper introduces a novel, text-free framework that leverages the semantic power of CLIP (Contrastive Language-Image Pretraining) by translating audio signals into "pseudo-text" tokens. By mapping audio to CLIP’s token space, the model achieves state-of-the-art performance in self-supervised SSL without requiring manual text prompts.

Introduction

Identifying the "where" of a sound in a complex visual scene is a fundamental challenge in computer vision. Traditional self-supervised methods often rely on simple audio-visual correspondence, which can lead to "shortcuts" like focusing on motion or general objectness rather than true semantic alignment. While large-scale models like CLIP possess immense semantic knowledge, they are designed for image-text pairs and typically require manual text prompts (e.g., "a photo of a guitar"), which is impractical for unlabeled real-world data.

Methodology

The proposed framework treats audio as a "pseudo-text" prompt for CLIP, bypassing the need for manual labels.

  1. Audio Tokenizer: Projects raw audio into "audio tokens" that reside within CLIP’s word token embedding space.
  2. Audio-Driven Embedding: These tokens are inserted into a standard CLIP text template (e.g., "A photo of a [audio token]"), allowing the frozen CLIP text encoder to generate high-level semantic sound representations.
  3. Audio-Visual Grounder: A modified CLIPSeg model uses these embeddings to generate a "sounding area mask," highlighting relevant regions in the image.
  4. Dual-Level Contrastive Learning: The system employs Image-Level ($ACL_I$) and Feature-Level ($ACL_F$) losses to align audio embeddings with masked visual features at different granularities.
  5. Area Regularization: A specific loss term encourages compact and focused masks, preventing the model from over-highlighting the scene.
Detailed architecture of the proposed framework, including the Audio-Driven Embedder and Audio-Visual Grounder.

Key Results

The model was trained on the VGGSound dataset and evaluated across several standard benchmarks, including VGG-SS, SoundNet-Flickr, and AVSBench. The proposed method significantly outperformed previous state-of-the-art (SOTA) self-supervised models:

  • VGG-SS: Achieved a 49.46% cIoU (consensus Intersection over Union), a substantial lead over previous methods like SLAVC (39.80%) and FNAC (41.85%).
  • AVSBench (S4): Reached 59.76% mIoU, nearly doubling the performance of some previous self-supervised competitors.

Qualitatively, the model produces much cleaner, more "compact" masks that tightly segment the sounding object. In contrast, older models often produce blurry heatmaps that cover irrelevant background areas.

Qualitative comparison of sound source localization results against state-of-the-art methods.

Discussion and Limitations

The most striking insight is that audio can be effectively "translated" into the language domain. By mapping audio to CLIP's token space, the model inherits CLIP’s massive "common sense" knowledge about object appearance without ever seeing a text label during training. This allows the model to use semantic priors—understanding that a "honk" belongs to a "car" even if it is stationary—rather than relying on motion shortcuts.

However, the model's high precision can be a disadvantage on certain benchmarks. On the SoundNet-Flickr dataset, cIoU scores were lower than some baselines because the model generates fine-grained masks while the ground truth consists of coarse bounding boxes. Future work may involve fine-tuning the vision backbone specifically for audio-visual tasks or improving the separation of multiple similar-sounding sources.

Summary updated

BibTeX
@inproceedings{park2024can,
  author = {Sooyoung Park and Arda Senocak and Joon Son Chung},
  title = {{Can CLIP Help Sound Source Localization?}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00561},
}
Figure