Improving Sound Source Localization with Joint Slot Attention on Image and Audio

Inho Kim, Youngkil Song, Jicheol Park, Won Hwa Kim, Suha Kwak · DOI

Introduction

Sound Source Localization (SSL) is a fundamental task in multi-modal perception, aiming to identify the specific pixels in an image responsible for a given sound. While self-supervised contrastive learning has become the standard approach due to the high cost of manual annotation, existing methods often struggle with audio noise and the "discriminative part" trap—where models focus only on small, distinct features (like a mouth) rather than the entire sounding object. Researchers from POSTECH have introduced a novel framework using Joint Slot Attention (JSA) to address these limitations, achieving state-of-the-art performance across major benchmarks.

The Challenges of Global Audio-Visual Matching

Traditional SSL models typically rely on global audio-visual matching. This approach assumes that an entire audio clip should correspond to the visual features of an image if they originate from the same video. However, this assumption fails in two critical ways:

  1. Audio Noise: Global features aggregate all sounds, including background noise (e.g., wind or traffic), which leads to blurry or inaccurate localizations when the model tries to match noise to a specific visual object.
  2. Incomplete Segmentation: Contrastive learning often encourages models to find the easiest point of connection, resulting in masks that only cover a small portion of the sound source rather than its full extent.

Proposed Methodology: Joint Slot Attention

To overcome these issues, the authors propose a framework centered on Joint Slot Attention (JSA). Unlike global vectors, JSA utilizes learnable embeddings called "slots" that compete to explain different parts of the input data.

Comparison between previous global matching methods and the proposed Joint Slot Attention framework.

Joint Feature Decomposition

For both image and audio modalities, the model employs two distinct slots: a Target Slot (representing the sound source) and an Off-target Slot (representing background clutter or noise). These slots compete to aggregate features. By using only the Target Slots for contrastive learning, the model effectively filters out irrelevant noise before the matching process begins.

Cross-modal Attention Matching

To ensure precise alignment, the model forces the cross-modal attention map (how the audio slot perceives the image) to match the intra-modal attention map (how the image slot perceives itself). This acts as a form of pseudo-supervision, leveraging the image's inherent knowledge of its own object boundaries to sharpen the localization.

Detailed architecture of the training and inference pipelines for Joint Slot Attention.

Advanced Training and Inference Strategies

  • False Negative Mitigation: The authors implement a k-reciprocal nearest neighbor strategy to identify and exclude "false negatives"—different videos that happen to contain the same object—from the loss calculation.
  • Image-Query based Refinement (IQR): During inference, audio-to-image attention is combined with the image's self-attention to produce a cleaner, more complete localization mask.

Experimental Evaluation

The model was evaluated on industry-standard benchmarks, including Flickr-SoundNet, VGG-Sound (VGG-SS), and AVSBench. These datasets provide a range of challenges, from large-scale uncurated data to fine-grained pixel-wise binary segmentation masks.

Key Results

The proposed JSA method achieved state-of-the-art (SOTA) results across nearly all evaluation metrics:

  • Localization Accuracy: On the VGG-SS benchmark, the model achieved a cIoU of 40.71%, significantly outperforming previous leading models like FNAC.
  • Segmentation: On AVSBench, it improved the Mean Intersection over Union (mIoU) by 2.03 percentage points and the F-score by 8.7 points.
  • Cross-Modal Retrieval: The most significant gain was seen in Audio → Image retrieval (Recall@1), where the model scored 30.61%, nearly doubling the performance of the previous best model (16.47%). This suggests the model is learning deep semantic links rather than just simple saliency.

Conclusion and Future Work

By introducing competition between slots and bridging the modality gap through attention matching, the JSA framework significantly advances the field of Sound Source Localization. While the model currently faces challenges with very small objects and co-occurrence biases (e.g., a person always appearing with a violin), it sets a new standard for self-supervised audio-visual learning. Future work will focus on scaling these techniques to complex, multi-source environments where multiple objects produce distinct sounds simultaneously.

Summary updated

BibTeX
@inproceedings{kim2025improving,
  author = {Inho Kim and Youngkil Song and Jicheol Park and Won Hwa Kim and Suha Kwak},
  title = {{Improving Sound Source Localization with Joint Slot Attention on Image and Audio}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00297},
}
Figure