Localizing Visual Sounds the Hard Way

Honglie Chen, Weidi Xie, Triantafyllos Afouras, Arsha Nagrani, Andrea Vedaldi, Andrew Zisserman

Abstract

Self-supervised visual sound localization aims to identify the visual source of an audio signal without manual annotations. Traditional methods often produce coarse, "blurry" localization maps because they lack explicit negative samples from the background of the same image. We propose a novel "Tri-map" approach that treats the background as "hard negatives," forcing the model to discriminate between the sounding object and its surroundings. By incorporating an "ignore zone" for uncertain regions and using differentiable thresholding, our model achieves state-of-the-art performance on the Flickr SoundNet benchmark and establishes a new standard on the large-scale VGG-SS dataset.

Introduction

The ability to associate sounds with their visual counterparts is a fundamental aspect of human perception. In computer vision, this task—known as visual sound localization—is typically approached through self-supervised learning using audio-visual correspondence. While successful at identifying the presence of an object, these models often fail to precisely delineate the object's boundaries. The primary reason is that standard contrastive learning compares an audio clip to other videos, but never explicitly learns that the non-sounding parts of the current frame are incorrect. This research addresses this limitation by "doing it the hard way": treating the background of the same image as a source of hard negative samples.

Methodology: The Tri-map Approach

The core of the proposed method is a dual-stream architecture utilizing ResNet-18 backbones for both audio and visual features. To refine localization, the authors introduce the Tri-map, a mechanism that partitions the video frame into three distinct regions based on audio-visual correlation.

The Tri-map pipeline: from input audio-visual pairs to the final partitioned regions used for training.
  1. Positive Region: Areas with high correlation to the audio signal, likely representing the sound source.
  2. Negative Region: Areas with low correlation, explicitly treated as "hard negatives." By penalizing the model for associating audio with these regions, the localization becomes significantly sharper.
  3. Ignore Zone: An uncertain boundary region between the positive and negative zones. This zone prevents the model from being penalized for noisy or ambiguous predictions at the object's edges, which is common in self-supervised settings.

To ensure the entire system is end-to-end trainable, the authors employ differentiable thresholding. Instead of using a discrete "hard" threshold to create the Tri-map, they use a smoothed sigmoid function. This allows the model to dynamically adjust its localization boundaries during the training process.

Datasets and Benchmarking

A significant contribution of this work is the introduction of the VGG-Sound Source (VGG-SS) dataset. While the previous standard, Flickr SoundNet, contains only 250 annotated pairs, VGG-SS provides over 5,000 videos across 220 categories with high-quality bounding box annotations. This dataset is 20 times larger and offers a much more rigorous evaluation of localization performance. The model was trained on the full VGG-Sound dataset, which consists of over 200,000 video clips.

Results and Discussion

The Tri-map approach demonstrates substantial improvements over previous state-of-the-art (SOTA) methods. On the Flickr SoundNet benchmark, the model achieved a Consensus Intersection over Union (cIoU) of 0.735, a significant jump from the previous best of 0.671.

An example of the audio-visual heatmap generated by the model, showing precise localization on the keys of an organ.

On the more challenging VGG-SS dataset, the model outperformed existing methods like AVObject by nearly 5% in cIoU. Qualitative results show that the model can pinpoint specific sound-producing components, such as the strings of a violin or a singer's mouth, rather than highlighting the entire person or scene. Furthermore, the model exhibits cross-modal semantic learning, successfully localizing "unheard" sound categories with only a minimal performance drop, suggesting it has learned generalized visual-acoustic concepts.

Conclusion

By explicitly modeling the background as a hard negative and allowing for boundary uncertainty via the Tri-map, this research provides a robust framework for precise self-supervised sound localization. While challenges remain for small or diffused sound sources (like wind or waves) and multi-instance scenarios, the introduction of the VGG-SS benchmark and the Tri-map method represents a major step forward in audio-visual understanding.

Summary updated

BibTeX
@inproceedings{chen2021localizing,
  author = {Honglie Chen and Weidi Xie and Triantafyllos Afouras and Arsha Nagrani and Andrea Vedaldi and Andrew Zisserman},
  title = {{Localizing Visual Sounds the Hard Way}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01659},
}
Figure