TL;DR
Audio-Visual Semantic Segmentation (AVSS) typically requires expensive, frame-by-frame pixel-level masks to map sounds to their visual sources. This paper introduces Weakly Supervised AVSS (WSAVSS), a new paradigm that requires only video-level category labels, and proposes a framework called PCAS that achieves performance competitive with fully supervised models.
What Problem Does This Paper Address?
Imagine watching a video of a concert where a piano and a violin are playing simultaneously. The goal of Audio-Visual Semantic Segmentation (AVSS) is to look at the video, listen to the audio, and outline exactly which pixels belong to the piano and which belong to the violin at any given millisecond.
While highly powerful, training current AVSS models requires dense, frame-by-frame pixel masks. Annotating these datasets is incredibly tedious, time-consuming, and expensive. Weakly supervised methods exist for simpler tasks—like binary Audio-Visual Segmentation (AVS), which only asks where a sound comes from without identifying the object class—but they fail at full semantic segmentation.
The authors tackle two major hurdles to eliminate the need for pixel masks:
- Frame-Precise Auditory Localization: Without frame-level labels, it is difficult for a model to pinpoint exactly when an object starts or stops making a sound.
- Pixel-Level Cross-Modal Mapping: Without explicit mask guidance, mapping a specific audio category (e.g., "violin") to a precise cluster of pixels in an image is highly challenging.
Methods
The authors introduce PCAS (Progressive Cross-modal Alignment for Semantics), which mimics human perception by breaking the task down into three sequential steps: looking, listening, and segmenting.
1. Looking-before-Listening (Temporal Visual Prompting)
Humans often use visual context to understand ambiguous or faint sounds. PCAS replicates this by using a Vision Transformer (ViT) to extract visual features first. It then injects these pooled visual patch tokens directly into the audio token sequence as "semantic prompts." This technique, called Temporal Visual Prompting (TVP), guides the audio encoder to achieve frame-precise sound localization under weak supervision.
2. Listening-before-Segmentation (Progressive Alignment)
To map sounds to pixels without mask annotations, the model employs a coarse-to-fine contrastive strategy:
- Coarse-Grained (Instance-wise): A Cross-Modal Contrast (CMC) module aligns global audio and video representations into a shared semantic space using video-level labels.
- Fine-Grained (Token-wise): Using the similarities derived from the global alignment, the model applies Cross-Modal Patch token Contrast (CMPC) and Cross-Modal Class token Contrast (CMCC). This forces individual visual patches to align tightly with corresponding audio categories, allowing the model to generate accurate Class Activation Maps (CAMs) as pseudo-labels for final mask generation.
Datasets
The model was evaluated on three primary benchmarks:
- AVS-S4: A dataset featuring single-source sounding objects.
- AVS-MS3: A more complex dataset featuring multiple sounding sources.
- AVS-Semantic: The standard benchmark for multi-source audio-visual semantic segmentation (AVSS).
Key Insights and Ideas
- Vision as an Audio Anchor: The ablation studies reveal that using raw visual cues as temporal prompts (TVP) drastically improves frame-level audio understanding. Listening becomes much easier for the model once it has already "looked" at the scene.
- Coarse-to-Fine is Crucial: Directly attempting fine-grained pixel mapping from video-level labels is too difficult. By enforcing global instance-level alignment first, the model learns a robust cross-modal similarity matrix that acts as a reliable supervisor for token-level patch contrasts.
Key Results
Despite using only video-level labels, PCAS achieves remarkable results that challenge fully supervised paradigms:
- Closing the Supervision Gap: On the challenging AVS-Semantic dataset, PCAS with a ViT-base backbone achieves a 42.07% mIoU (Mean Intersection over Union). This matches or exceeds classic fully supervised models like AVS-Mamba (39.7% mIoU) and is highly competitive with top-tier fully supervised frameworks like COMBO (42.1% mIoU).
- State-of-the-Art Weak Supervision: On the simpler AVS-S4 and AVS-MS3 benchmarks, PCAS outperforms the previous best weakly supervised method (WS-AVS) by massive margins—boosting mIoU by over 22% on single-source and 15% on multi-source data.
Limitations and Future Work
The authors do not explicitly dedicate a section to limitations, but a few challenges are inherent to this approach:
- CAM-based Noise: The framework relies heavily on Class Activation Mapping (CAM) to generate pseudo-labels. CAMs are notoriously noisy and often highlight only the most discriminative parts of an object (like the face of an animal) rather than its full boundary.
- Future Directions: Integrating modern foundation models like SAM (Segment Anything Model) could help refine the coarse pseudo-labels generated by PCAS into sharper, pixel-perfect boundaries without requiring additional supervision.
Summary updated