Open-Vocabulary Audio-Visual Semantic Segmentation

Ruohao Guo, Liao Qu, Dantong Niu, Yanyu Qi, Wenzhen Yue, Ji Shi, Bowei Xing, Xianghua Ying · DOI

Abstract

Traditional Audio-Visual Semantic Segmentation (AVSS) models are restricted to a fixed set of categories seen during training, failing to generalize to novel sounding objects in real-world scenarios. This paper introduces Open-Vocabulary Audio-Visual Semantic Segmentation (OV-AVSS), a novel task aimed at segmenting and classifying sounding objects from an unrestricted vocabulary. We propose a framework that decouples category-agnostic sound localization from open-vocabulary classification. By utilizing a Universal Sound Source Localization Module (USSLM) and a CLIP-based Open-Vocabulary Classification Module (OVCM), our approach significantly outperforms existing baselines on a newly curated benchmark, AVSBench-OV.

Introduction

Audio-Visual Semantic Segmentation (AVSS) involves identifying and segmenting pixels in a video that correspond to the source of a specific sound. While current state-of-the-art models perform well on closed-set datasets, they operate under the assumption that all test-time categories are present in the training set. This "closed-set assumption" limits their utility in dynamic environments where novel objects—such as a "pipa" or a "lawnmower"—may appear.

Comparison between Traditional and Open-Vocabulary AVSS during training and inference.

The transition to an open-vocabulary setting introduces significant challenges: spatial alignment between 1D audio and 2D pixels, temporal complexity of continuous signals, and the need for category-agnostic generalization to distinguish sounding objects from silent backgrounds.

Methodology

The proposed OV-AVSS framework addresses these challenges by separating localization from classification into two distinct stages.

1. Universal Sound Source Localization Module (USSLM)

This module is designed to find any sounding object regardless of its category. It employs Audio-Visual Early Fusion using bi-directional cross-attention to align VGGish audio embeddings with multi-level visual features (ResNet or Swin-B). A specialized Transformer decoder, AudioMaskDec, uses a binary "sound head" instead of a traditional classification head to predict masks for sounding entities, ensuring the localization process remains category-agnostic.

2. Open-Vocabulary Classification Module (OVCM)

Once masks are generated, the OVCM identifies the objects using a frozen CLIP model. To optimize performance, a SquareCrop strategy is used to extract object-centered crops, preserving spatial proportions for CLIP's vision encoder. Ensemble prompting is further applied to enhance classification robustness by matching image embeddings against multiple text templates (e.g., "A photo of a {category}").

Experimental Setup

To evaluate the framework, the authors established the AVSBench-OV benchmark, derived from the AVSBench-Semantic dataset. This dataset partitions 70 categories into 40 base classes for training and 30 novel classes reserved strictly for zero-shot testing. To ensure rigorous evaluation, any video containing a novel category was excluded from the training phase.

Key Results and Insights

Our OV-AVSS model demonstrates superior performance across both base and novel categories:

  • Base Categories: Achieved 55.43% mIoU, nearly doubling the performance of closed-set methods in an open environment.
  • Novel Categories: Reached 29.14% mIoU, a substantial improvement over the 8.53% achieved by previous zero-shot methods like Sam4AVS.
  • Audio as a Guide: The study found that placing audio-aware cross-attention behind spatio-temporal layers in the decoder prevents the model from "forgetting" acoustic cues in deeper layers.
  • Visual Superiority: The model outperformed open-vocabulary video segmentation models that lack audio input, proving that sound is a vital cue for resolving visual ambiguity.

Conclusion and Future Work

By decoupling localization and classification, the OV-AVSS framework provides a robust solution for open-vocabulary audio-visual tasks. While the model sets a new state-of-the-art, limitations remain regarding base-class overfitting and performance in multi-source acoustic environments with significant background interference. Future research will focus on improving robustness to out-of-sync audio-visual data and complex multi-source scenes.

Summary updated

BibTeX
@inproceedings{guo2024open,
  author = {Ruohao Guo and Liao Qu and Dantong Niu and Yanyu Qi and Wenzhen Yue and Ji Shi and Bowei Xing and Xianghua Ying},
  title = {{Open-Vocabulary Audio-Visual Semantic Segmentation}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=PkW68qL47n},
}
Figure