Manuscript Offprint

arXiv:2611.09191

Bootstrap Your Own AV-Proxies: Adaptive Contrastive and Prototype Learning for Audio-Visual Segmentation

Junbo Zhang, Hang Su, Zhaofan Li, Hang Dong, Chao Sun

Abstract

Audio-Visual Segmentation (AVS) aims to accurately segment sounding objects in video frames by leveraging audio-visual correspondence cues. However, it remains challenging due to the intrinsic semantic incompleteness within a single modality and the semantic gap between audio and visual representations. Traditional feature-fusion decoding approaches struggle to suppress fusion noise effectively, while recent methods that incorporate data-dependent priors often increase the complexity of modeling audio-visual correlations, leading to poor cross-domain generalization. To address these issues, we propose a novel adaptive contrastive and prototype learning framework, BYOAVP, for AVS. Specifically, we design a Self-Supervised Audio Enhancement (SSAE) module that introduces contrastive learning to adaptively align audio representations with gradient-blocked visual embeddings, thus narrowing the semantic gap between modalities. Furthermore, a Dynamic Prototype Constraint (DPC) module is developed to refine pixel-wise category perception via momentum-based prototype updating, while enhancing localization of sounding regions through cross-modal interaction. Extensive experiments demonstrate that our method achieves SOTA performance across two AVS benchmarks and six sub-tasks, exhibiting strong robustness and generalization ability.

1. Introduction

Audio-Visual Segmentation (AVS) [58, 59] aims to segment frame-wise regions of sounding objects, conditioned on the category of the corresponding audio source. Compared with other audio-visual tasks such as Audio-Visual Event Localization (AVEL) [47, 49, 50, 57] and Sound Source Localization (SSL) [20, 21, 44, 48], AVS is more challenging due to its fine-grained pixel-level discrimination. Early studies [13, 53, 59] primarily focused on cross-modal interac-

Figure

Figure 1. Illustration of challenges from intra-modal noise and fine-grained localization. (a) When the target is guitar only, performer-instrument interaction introduces visual interference, while environmental sounds corrupt audio signal, causing blurred boundaries and partial segmentation (e.g., missing guitar head). (b) When the target is to guitar & woman, visual confusion is alleviated, but audio noise and cross-modal misalignment persist, leading to inaccurate boundaries and incomplete segmentation.

tions and spatio-temporal correlations, while overlooking the intra-modal noise within audio and visual streams. As illustrated in Fig. 1, semantic similarities between the target and background in visual scenes, as well as frequency overlaps among multiple audio components, introduce severe intra-modal interference during cross-modal fusion. Furthermore, the lack of fine-grained pixel perception often leads to blurred object boundaries and incomplete or even incorrect segmentation results.

To address the aforementioned challenges, recent studies [23, 35, 36, 55] introduce prototype learning and prior knowledge (e.g., anchor boxes or masks generated by SAM [25]) to suppress intra-modal noise. Others [10, 11] adopt contrastive learning strategies to achieve adaptive alignment between audio and visual modalities, thereby

† Corresponding author

Figure

Figure 2. Image denoising methods: (a) The pretrained SAM [25] model is employed to generate a prior mask, which is then fused with the original image information; (b) Offline generated prototype centers are introduced to guide pixel clustering within the image; (c) The prototype memory bank is dynamically updated following a momentum strategy based on the input data, and it constrains pixel-wise classification through prototype alignment.

mitigating cross-modal interference to some extent. Although these approaches have shown promising results, they often incur additional computational costs and suffer from limited generalization and robustness.

In contrast to prior methods, we present a fully adaptive framework comprising two key components: the Self-Supervised Audio Enhancement (SSAE) and Dynamic Prototype Constraint (DPC). The SSAE module performs intra-modal denoising and preliminary cross-modal alignment, while DPC facilitates fine-grained interaction between modalities. Inspired by [1, 2, 8, 16], SSAE treats audio and visual inputs as distinct views and adopts a self-supervised contrastive learning scheme without relying on explicit negative pairs. Unlike conventional uni-modal contrastive learning with shared branch weights, the large semantic gap between modalities hinders direct alignment. To address this, a multi-head cross-modal attention layer is introduced before the projection heads to achieve early semantic alignment, enabling the audio branch to predict visual semantics and suppress irrelevant noise. This design allows SSAE to adaptively enhance correlated features and mitigate intra-modal noise. Moreover, by removing manually constructed pairs or predefined thresholds as in [10, 11, 35, 56], our method improves generalization to in-the-wild data and reduces computational overhead. SSAE thus represents a novel extension of self-supervised contrastive learning to cross-modal representation alignment, distinct from SACL [48] in SSL tasks that

treat single-modal features as dual-branch inputs.

For visual denoising, the DPC module also differs fundamentally from prior-driven approaches [23, 35, 36, 55] owing to its adaptive design. As illustrated in Fig. 2, instead of relying on offline priors to guide object localization, DPC dynamically updates a randomly initialized prototype bank during training according to the category distribution within each batch, using momentum and adaptive mechanisms to ensure stable evolution. In the Proto Tessellation module, the prototype bank constrains pixel-wise classification via an Adaptive Prototype loss (Lap\mathcal{L}_{ap}). After pixel-level classification, DPC performs audio-visual interaction to obtain class-specific response scores, which are then used to enhance pixels belonging to sounding objects while suppressing irrelevant regions. This pixel-level classification and reinforcement strategy significantly improves the model's fine-grained discrimination capability and enhances segmentation accuracy.

In summary, our main contributions are as follows:

  • We propose a fully adaptive framework, BYOAVP, to address the prevalent intra-modal interference in AVS tasks.
  • To mitigate cross-modal semantic gaps and noisy audio representations, we propose the SSAE module, which treats dual-modal features as two branches in self-supervised contrastive learning, enabling high-level visual semantics to guide audio denoising.
  • To suppress visual noise and improve fine-grained discrimination, we introduce the DPC module, which maintains a momentum-adaptive prototype bank to constrain pixel-wise classification, and further enhances pixel-level target localization through cross-modal interaction.
  • Extensive experiments demonstrate that our model achieves new state-of-the-art performance across six sub-tasks on two AVS benchmarks.

References (59)

  • Unsupervised learning of visual features by contrasting cluster assignments
  • Emerging properties in self-supervised vision transformers
  • Color correction meets cross-spectral refinement: a distribution-aware diffusion for underwater image restoration
  • Vggsound: A large-scale audio-visual dataset
  • Hts-at: A hierarchical token-semantic audio transformer for sound classification and detection
  • A simple framework for contrastive learning of visual representations
  • Big self-supervised models are strong semi-supervised learners
  • Exploring simple siamese representation learning
  • Improved baselines with momentum contrastive learning (opens arXiv in a new tab)
  • Unraveling instance associations: A closer look for audio-visual segmentation
  • Cpm: Class-conditional prompting machine for audio-visual segmentation
  • Natural language supervision for general-purpose audio representations
  • Avsegformer: Audio-visual segmentation with transformer
  • Audio set: An ontology and human-labeled dataset for audio events
  • Avs-mamba: Exploring temporal and multi-modal mamba for audio-visual segmentation
  • Advances in neural information processing systems, 33:21271–21284, 2020
  • Improving audio-visual segmentation with bidirectional generation
  • Deep residual learning for image recognition
  • Momentum contrast for unsupervised visual representation learning
  • Discriminative sounding objects localization via self-supervised audiovisual matching
  • Mix and localize: Localizing sound sources in mixtures
  • Discovering sounding objects by audio queries for audio visual segmentation (opens arXiv in a new tab)
  • Revisiting audio-visual segmentation with vision-centric transformer
  • Categorical Reparameterization with Gumbel-Softmax
  • Audio visual segmentation through text embeddings
  • Segment and recognize anything at any granularity
  • Selm: Selective mechanism based audio-visual segmentation
  • Catr: Combinatorial-dependence audio-queried transformer for audio-visual video segmentation
  • Qdformer: towards robust audiovisual segmentation in complex environments with quantization-based semantic decomposition
  • Microsoft coco: Common objects in context
  • Focal loss for dense object detection
  • Audio-visual segmentation by exploring cross-modal mutual semantics
  • Bavs: Bootstrapping audio-visual segmentation by integrating foundation knowledge
  • Robust audio-visual segmentation via audio-guided visual convergent alignment
  • Dynamic derivation and elimination: Audio visual segmentation with enhanced audio semantics
  • Audio-visual segmentation via unlabeled frame exploitation
  • Auralsam2: Enabling sam2 hear through pyramid audio-visual feature prompting (opens arXiv in a new tab)
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • Stepping stones: A progressive training strategy for audio-visual semantic segmentation
  • Multimodal variational auto-encoder based audio-visual segmentation
  • Contrastive conditional latent diffusion for audio-visual segmentation
  • V-net: Fully convolutional neural networks for volumetric medical image segmentation
  • Multiple sound sources localization from coarse to fine
  • SAM 2: Segment Anything in Images and Videos
  • Imagenet-21k pretraining for the masses (opens arXiv in a new tab)
  • Learning to localize sound source in visual scenes
  • Enhancing sound source localization via false negative elimination
  • Sclav: Supervised cross-modal contrastive learning for audio-visual coding
  • Listen with seeing: Cross-modal contrastive learning for audio-visual event localization
  • Unveiling and mitigating bias in audio visual segmentation
  • Contrastive multiview coding
  • Prompting segmentation with sound is generalizable audio-visual source localizer
  • Referred by multi-modality: A unified temporal transformer for video object segmentation
  • Cooperation does matter: Exploring multi-order bilateral relations for audio-visual segmentation
  • Implicit counterfactual learning for audio-visual segmentation
  • Positive sample propagation along the audio-visual event line
  • Audio–visual segmentation
  • International Journal of Computer Vision, pages 1–21, 2024
  • Deformable DETR: Deformable Transformers for End-to-End Object Detection