Rethinking Audiovisual Segmentation with Semantic Quantization and Decomposition

Xiang Li, Jinglu Wang, Xiaohao Xu, Xiulian Peng, Rita Singh, Yan Lu, Bhiksha Raj · OpenReview

Abstract

Audiovisual segmentation (AVS) is a challenging task that aims to segment visual objects in videos based on their associated acoustic cues. With multiple sound sources involved, establishing robust correspondences between audio and visual contents poses unique challenges due to its (1) intricate entanglement across sound sources and (2) frequent shift among sound events. Assuming sound events occur independently, the multi-source semantic space (which encompasses all possible semantic categories) can be viewed as the Cartesian product of single-source sub-spaces. This motivates us to decompose the multi-source audio semantics into single-source semantics, allowing for more effective interaction with visual content. Specifically, we propose a semantic decomposition method based on product quantization, where the multi-source semantics can be decomposed and represented by several quantized single-source semantics. Furthermore, we introduce a global-to-local quantization mechanism that distills knowledge from stable global (clip-level) features into local (frame-level) ones to handle the constant shift of audio semantics. Extensive experiments demonstrate that semantically quantized and decomposed audio representation significantly improves AVS performance, e.g., +21.2% mIoU on the most challenging AVS-Semantic benchmark.

Introduction

Audiovisual Segmentation (AVS) is the task of identifying and masking every pixel in a video that is currently producing sound. While it sounds straightforward, real-world environments are complex. Current AVS research faces three primary "pain points":

  1. Semantic Entanglement: In scenes with multiple sound sources (e.g., a person singing while playing a guitar), the audio signal is a tangled mix. Standard models struggle to separate these cues to guide the visual segmentation of distinct objects.
  2. Background Noise: Sounds from outside the frame or general environmental noise act as distractors, leading to "hallucinated" masks or missed targets.
  3. Temporal Instability: Audio events can start and stop rapidly. Features extracted from a single short frame are often "jittery" and less reliable than features extracted from an entire video clip.
Conceptual overview of semantic quantization and decomposition.

To address these, we introduce QDFormer, which leverages a "divide and conquer" strategy. By decomposing complex, multi-source audio into discrete semantic tokens via product quantization, the model filters out noise and untangles overlapping sound sources.

Methodology

QDFormer is built on the Information Bottleneck (IB) principle—the idea that a model should compress input data to discard noise while retaining only the most task-relevant information.

1. Product Quantization (PQ) for Decomposition

Instead of treating the audio as a single high-dimensional vector, QDFormer assumes that a multi-source audio space is the Cartesian product of several independent single-source subspaces. The Global Decomposition Module breaks the audio into $N$ separate semantic tokens. These tokens are then "quantized"—forced to match the closest entry in a learned Shared Codebook. This acts as a semantic filter: the model learns to map meaningful sounds (like "singing" or "guitar") to codebook entries while ignoring background noise that doesn't fit the learned categories.

2. Global-to-Local Calibration

To solve the "jittery" frame-level audio problem, we introduce a Local Calibration Module. It uses the stable, high-quality codebook learned from the entire video clip (global) to "calibrate" the features of individual frames (local). This ensures that even if a frame's audio is momentarily obscured by noise, the model stays anchored to the broader context of the scene.

The QDFormer architecture, highlighting the Global Decomposition and Local Calibration modules.

3. Audiovisual Semantic Recombination (AVSR)

Once the audio is decomposed into clean, discrete tokens, the model uses channel-wise attention to inject this information back into the visual features. This allows the visual encoder to "look" for specific objects corresponding to each decomposed audio cue.

Key Results

QDFormer sets a new state-of-the-art (SOTA) across major benchmarks:

  • AVS-Semantic (AVSS): Achieved 46.6% mIoU using a ResNet-50 backbone, outperforming the previous SOTA by a staggering 21.2%.
  • AVS-Object-Multi: Improved the J&F score (measuring mask quality and boundary accuracy) by 5.4 points over AVSegFormer.
  • Noise Robustness: In stress tests with varying levels of background noise, QDFormer maintained high performance while standard "continuous" models saw their accuracy plummet.

Conclusion and Future Work

QDFormer demonstrates that quantization is not just for compression, but a powerful tool for semantic denoising. By assuming sound source independence, we simplify a high-dimensional "mixed" problem into manageable "single-source" tasks. Future work will explore handling physically correlated sounds and optimizing the computational overhead for real-time applications.

Summary updated

BibTeX
@misc{li2023rethinking,
  author = {Xiang Li and Jinglu Wang and Xiaohao Xu and Xiulian Peng and Rita Singh and Yan Lu and Bhiksha Raj},
  title = {{Rethinking Audiovisual Segmentation with Semantic Quantization and Decomposition}},
  year = {2023},
  eprint = {2310.00132},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.00132},
}
Figure