Research
Delayed Bidirectional Alignment via Disentangled Audio Semantics for Audio-Visual Segmentation
Overview Research area: Computer vision, specifically audio-visual segmentation (AVS) — segmenting the pixels of sound-producing objects in video using both audio and image cues. Technical level: Adva
- arXiv
- 2512.20117
- Published
- 2025-12-23
- Authors
- Jingqi Tian, Yiheng Du, Haoji Zhang, Yuji Wang, Isaac Ning Lee, Xulong Bai, Tianrui Zhu, Jingxuan Niu, Yansong Tang
AI summary
Overview
- Research area: Computer vision, specifically audio-visual segmentation (AVS) — segmenting the pixels of sound-producing objects in video using both audio and image cues.
- Technical level: Advanced. The paper assumes familiarity with transformer architectures, cross-attention, contrastive learning (InfoNCE), and segmentation benchmarks.
- Scope: A single paper proposing DDAVS, a three-module AVS framework (Audio Query Module, Contrastive Optimization Module, Audio-Visual Alignment Module) evaluated on two benchmarks, AVSBench and VPO.
What This Paper Is About
Audio-visual segmentation models must figure out which objects in a scene are making sound and produce a pixel-level mask for them. Existing methods fail in two ways: when several sound sources overlap, the model entangles them and only follows the loudest or largest one; and when audio and vision are misaligned (for example a small, distant, or off-screen sound source), the model produces spurious activations or suppresses real sources. The paper's goal is a framework that disentangles multiple audio sources into structured, stable semantic representations and then aligns audio and vision bidirectionally but only in later network layers, when features are already semantically coherent.
Key Contributions
- An AVS framework, DDAVS, that combines disentangled audio semantics with delayed bidirectional alignment for challenging cases such as multi-source, subtle, distant, or off-screen sounds.
- An Audio Query Module (AQM) that anchors query-extracted audio semantics to a prototype memory bank for global consistency, with contrastive learning used to enhance the discriminability and robustness of those semantics.
- An audio-visual alignment module (AVAM) using cascaded bidirectional cross-attention, where alignment is delayed (applied only in later layers) to capture high-level correspondence while reducing low-level noise.
- Experiments on AVSBench (including AVS-Objects single-source and multi-source, and AVS-Semantic) and VPO (single-source, multi-source, and multi-source multi-instance) showing state-of-the-art results, plus ablations on components, query count, injection depth, bank removal, and backbone choice.
Main Findings
- AVSBench results: DDAVS reaches 92.4 J&F on AVS-Objects-S4 (versus 91.1 for DDESeg), 76.0 J&F on AVS-Objects-MS3 (versus 75.6 for CCFormer), and 52.9 J&F on AVS-Semantic (versus 50.9 for AAVS) — a 2.0% J&F improvement over the previous best baseline on the semantic subset.
- VPO results: DDAVS reaches 75.03 J&F on VPO-SS, 76.11 on VPO-MS, and 72.84 on VPO-MSMI, outperforming the prior state of the art by 1.81% and 3.54% J&F on VPO-MS and VPO-MSMI respectively, while remaining competitive on VPO-SS.
- Component ablation: A baseline with only encoders, transformer blocks, and the decoder achieves 69.71 J&F on AVS-MS3 and 48.63 on AVSS at 129.02M parameters and 83.56G FLOPs. Adding AQM+COM raises this to 74.07/51.70; AVAM alone gives 73.16/51.45; the full framework reaches 76.01/52.94 at 150.29M parameters and 85.72G FLOPs — gains of +6.30 points on AVS-MS3 and +4.31 on AVSS for only +2.16G FLOPs over the baseline.
- COM adds no inference cost: The contrastive module runs only during training; the clean waveform drives the main segmentation path while the augmented branch is used solely to produce contrastive pairs.
- Query count matters: Performance rises rapidly as the number of audio queries n increases from 1 to 5, then degrades above 5; n = 5 is adopted as the default.
- Delayed alignment is best: Injecting cross-modal alignment into the third and fourth of four transformer blocks ({3,4}) peaks at 76.01/52.94 J&F, outperforming block 1 (68.37/47.96), block 4 alone (73.82/51.13), and all other combinations listed, including all four blocks (72.57/53.93).
- Graceful degradation without the bank: Removing 100% of class prototypes (OOB-100%) still yields 73.16/51.45 J&F, above the 69.71/48.63 baseline; OOB-80%, OOB-50%, and OOB-20% give 73.61/51.58, 74.18/51.72, and 75.29/52.30, all below the full-bank 76.01/52.94.
- Backbone-agnostic: Across PVTv2-B5 and MiT-B5 visual backbones paired with VGGish or HTSAT audio backbones, DDAVS improves every configuration; MiT-B5 + HTSAT is the strongest at 92.43 (AVS-S4), 76.01 (AVS-MS3), and 52.94 (AVSS).
- Weak-source localization: In a visual example with a dominant dog sound and a weaker person sound, the baseline focuses diffusely on the dog and misses the person, while DDAVS activates both sources.
- Representation analysis (t-SNE): The baseline shows entangled, overlapping clusters for guitar, man, keyboard, and helicopter, and collapses a guitar-man mixture into the guitar cluster; DDAVS produces separated clusters and places mixtures along smooth interpolations between their source components. For cross-domain consistency, DDAVS consolidates "dog" embeddings from AVSBench and ESC-50 (2,000 environmental audio clips) into a single compact cluster, while the baseline fragments them by dataset origin.
Methodology in Plain English
The system takes an audio waveform and a video clip, encodes the audio with an HTSAT backbone pretrained on AudioSet and the video with a MiT-B5 visual backbone, and processes them in three stages.
First, an Audio Query Module uses a Q-Former with a set of learnable queries to split the audio into several semantic slots, one per potential sound source. These slots are then refined by cross-attention against a prototype memory bank — a fixed set of audio embeddings built by taking single-source clips where one class is the only audible sound, clustering their HTSAT features with K-means++, and keeping the centroids (the paper uses the K_c = 5 features nearest to each cluster center). The bank was built from 12,356 and 12,202 single-source clips across 71 and 21 categories for AVS-Semantic and VPO-SS, yielding 355 and 105 anchors. The bank is never updated during training or inference.
Second, a Contrastive Optimization Module (training only) creates an augmented copy of the waveform using WavAugment — resampling to 16 kHz, center-cropping or padding, normalizing to [-1, 1], then applying reverberation (r in [20, 40]), pitch shift (Δp in [-150, 150] cents), dynamic-range compression, and volume jitter (SNR in [10, 20] dB). The clean and augmented queries are projected, L2-normalized, and compared with a contrastive loss that pulls matched query pairs together and pushes mismatched ones apart, so the queries become more separable and more robust.
Third, an Audio-Visual Alignment Module alternates Cross Alignment Blocks and Transformer Blocks. Inside each block, audio queries attend to visual tokens (audio-guided filtering, which denoises the noisier audio features), then the updated audio representations act as keys and values to feed acoustic cues back into the visual stream (visual-guided enhancement), completing a bidirectional cycle. Crucially, this cross-modal alignment runs only between the third and fourth layers of the four-block architecture, after early layers have filtered low-level noise. A lightweight decoder turns the final visual features into the segmentation mask.
Training combines cross-entropy, Dice, IoU, and the contrastive loss. The system was trained on eight NVIDIA RTX 4090 GPUs (24 GB each) with AdamW, a learning rate of 1×10⁻⁴, and a batch size of 64. Evaluation uses the Jaccard index (J), the F-score (F) with β² = 0.3, and their average (J&F), following the official TPAVI protocol for AVSBench and the CAVP implementation for VPO.
Why This Matters
- Impact on research: The paper argues that the field's two main failure modes — multi-source entanglement and audio-visual misalignment — are better addressed by structuring audio semantics with an external prototype bank and by delaying bidirectional fusion rather than applying alignment at every layer. This gives other AVS and multimodal researchers a concrete alternative to both query-only disentanglement and K-nearest-neighbor bank approximation, and it shows contrastive learning can be used to sharpen audio representations rather than to align audio with vision.
- Real-world applications:
- Assistive and hearing-aid systems that need to isolate individual sound sources in a scene rather than amplify only the loudest one.
- Video editing and post-production, where isolating the pixels of a specific sounding object supports selective manipulation or re-recording.
- Robotics and autonomous systems that must localize sound-emitting entities (including off-screen cues) for perception and navigation.
- Content analysis and surveillance, where identifying which visible object produced a given sound supports event detection and indexing.
- Industry relevance: The framework is backbone-agnostic (it improves PVTv2-B5, MiT-B5, VGGish, and HTSAT combinations) and adds only modest compute (+2.16G FLOPs over the baseline), which makes it practical to plug into existing segmentation pipelines. The memory bank is fixed and requires only single-source clips to construct, and the contrastive module adds no inference cost, both of which reduce deployment friction.
Future Directions
- Open-domain video: The authors state that current validation is limited to benchmark scenarios with well-defined misalignment ranges and curated sound categories, and they plan to extend the paradigm to open-domain video analysis.
- Streaming and real-time audio: Extending to streaming audio is named as a goal toward real-time, scalable, broadly generalizable audio-visual perception.
- Bank coverage and generalization: The out-of-bank ablation leaves open how prototype banks should be built or expanded for unseen, open-vocabulary sound classes; even the OOB-100% setting performs above baseline but below the full bank, so the anchoring benefit is real but not complete.
- Where to align: The injection-block ablation shows layer placement dominates results (blocks 3 and 4 best), which invites further study of how to choose alignment depth automatically rather than by search.
Target Audience
Researchers and graduate students working on multimodal learning, audio-visual segmentation, and vision-language-vision grounding; practitioners building sound-source localization or segmentation systems who need to handle multiple simultaneous sources; and readers already familiar with transformer-based segmentation architectures who want a concrete design for disentanglement plus delayed bidirectional alignment. Beginners will find the method sections heavy going without prior exposure to cross-attention, contrastive losses, and AVS benchmarks.
Authors’ abstract
Audio-Visual Segmentation (AVS) aims to localize sound-producing objects at the pixel level by integrating auditory and visual cues. However, existing methods often struggle with multi-source entanglement and audio-visual misalignment, leading to a dominance bias toward acoustically or visually salient objects (i.e., louder or larger ones) at the expense of subtler or co-occurring sources. To address these challenges, we propose DDAVS: Delayed Bidirectional Alignment via Disentangled Audio Semantics for Audio-Visual Segmentation. To mitigate multi-source entanglement, DDAVS employs learnable queries to extract audio semantics and anchor them within a structured semantic space derived from an audio prototype memory bank. This process is further optimized through contrastive learning to enhance discriminability and robustness. To alleviate audio-visual misalignment, DDAVS introduces dual cross attention with delayed modality interaction, improving the robustness of multimodal alignment. Extensive experiments on the AVS-Objects and VPO benchmarks demonstrate that DDAVS achieves state-of-the-art performance across single-source, multi-source, and multi-class multi-instance scenarios. These results validate the effectiveness and generalization ability of our framework under challenging real-world audio-visual segmentation conditions. Project page: https://trilarflagz.github.io/DDAVS-page/