Cross Pseudo-Labeling for Semi-Supervised Audio-Visual Source Localization

Yuxin Guo, Shijie Ma, Yuhao Zhao, Hu Su, Wei Zou

TL;DR

Cross Pseudo-Labeling (XPL) is a new semi-supervised framework for identifying where sounds come from in a video. By having two different neural networks "teach" each other using refined, temporally-smoothed "soft" labels, XPL overcomes the common pitfalls of self-training—like bias accumulation and training instability—to achieve state-of-the-art localization accuracy.

What Problem Does This Paper Address?

Audio-Visual Source Localization (AVSL) is the task of pinpointing which object in a video frame is making a specific sound (e.g., highlighting a barking dog in a busy park). While humans do this effortlessly, machines struggle because high-quality "ground truth" labels (bounding boxes for every sound) are expensive to produce.

Most existing methods rely on self-supervised learning, which uses the natural correspondence between audio and video but often results in "blurry" localizations that capture too much background. Semi-supervised learning (SSL), which uses a small amount of labeled data alongside a mountain of unlabeled data, is a promising alternative. However, standard SSL techniques like pseudo-labeling (where a model treats its own predictions as truth) suffer from three major issues:

  1. Confirmation Bias: If a model makes an initial mistake, it reinforces that error during training.
  2. Noise Sensitivity: "Hard" (0 or 1) labels are overconfident and easily tripped up by noisy data.
  3. Instability: Predictions can oscillate wildly between training steps, preventing the model from converging.

Methods

The authors introduce XPL, a framework designed to make pseudo-labeling robust for AVSL. The architecture is detailed in Figure 1:

Fig. 1: An overview of the proposed XPL (up). Two distinct AVSL models (bottom blue) generate prediction maps for input audio-visual pairs. To ensure stability by an initial, Curriculum Data Selection mechanism (bottom yellow) sorts the samples by reliability and feeds them to the model in batches. Then, Sharpening and PL-EMA module (bottom green) sharpens the prediction map, and performs exponential moving average (EMA) with the previous time step’s pseudo-label to obtain the final pseudo-label. Finally, each model utilizes the pseudo-labels generated by the other for training and thus rectifying bias.

Key innovations include:

  • Cross-Refine Mechanism: Instead of one model teaching itself, XPL uses two distinct models (A and B) with different backbones and data augmentations. Model A generates pseudo-labels to train Model B, and vice versa. This "cross-talk" ensures that errors unique to one model's perspective are corrected by the other.
  • Soft Pseudo-Labels with Sharpening: Rather than using binary "hard" labels, XPL uses an S-shaped sharpening function. This creates "soft" labels that are confident but retain more information, reducing sensitivity to noise.
  • Pseudo-Label EMA (PL-EMA): To prevent the model from "jittering," the authors apply an Exponential Moving Average to the pseudo-labels over time. This ensures that the target for the current training step is consistent with previous steps.
  • Curriculum Data Selection: Not all unlabeled data is created equal. XPL uses a "consensus" metric (Pearson correlation) between the two models. It starts training with samples where both models agree and gradually introduces more difficult, lower-consensus samples as training progresses.

Datasets

The researchers evaluated XPL on two major benchmarks:

  • Flickr-SoundNet: A large-scale dataset of web videos.
  • VGG-SoundSource: A curated dataset focused on diverse audio-visual categories. For both, they used a small subset of 2.5k labeled samples and a massive 144k unlabeled set to simulate a semi-supervised environment.

Key Insights and Ideas

  • Diversity Prevents Delusion: The core "aha moment" is that confirmation bias is a single-model problem. By forcing two models with different "personalities" (backbones) to reach a consensus, the system becomes much harder to fool.
  • Stability is as Important as Accuracy: The inclusion of PL-EMA highlights that in semi-supervised learning, the path to the solution matters. Smoothing the labels prevents the "forgetting" or oscillating behavior that plagues vanilla pseudo-labeling.
  • Consensus as a Proxy for Truth: In the absence of labels, if two differently-trained models agree on a location, it is highly likely to be the correct source. This provides a reliable signal for curriculum learning.

Key Results

XPL sets a new bar for semi-supervised AVSL:

  • Performance Boost: XPL outperformed previous semi-supervised methods (like Attention10k-SSL) by roughly 5% in CIoU (Consensus Intersection over Union) and significantly beat self-supervised baselines by up to 9%.
  • Superior Stability: As shown in Figure 2(d) (found in the ablation section), XPL's performance curve is remarkably smooth compared to the erratic, unstable performance of "Vanilla Hard PL."
  • Generalization: XPL maintained high performance in "cross-dataset" and "open-set" tests (where the model encounters categories it didn't see during training), proving it learns robust features rather than just memorizing the training set.

Qualitatively, the heatmaps produced by XPL are much tighter and more accurately centered on the sounding object compared to other methods, as seen in the visual comparisons:

Fig. 2: Visualization of the proposed XPL. We can observe that XPL can localize sounding objects of various sizes accurately and effectively distinguishing foreground and background elements.

Limitations and Future Work

While highly effective, XPL does have trade-offs:

  • Computational Cost: Training two separate models simultaneously requires more memory and compute power than a single-model approach.
  • Hyperparameter Tuning: The success of the system depends on the EMA rate ($\beta$) and the curriculum threshold ($\delta$), which might require adjustment for different domains.

The authors suggest that this cross-refinement approach could be extended to other multimodal tasks, such as audio-visual segmentation or sound source separation, where labeled data is similarly scarce.

Summary updated

BibTeX
@inproceedings{guo2024cross,
  author = {Yuxin Guo and Shijie Ma and Yuhao Zhao and Hu Su and Wei Zou},
  title = {{Cross Pseudo-Labeling for Semi-Supervised Audio-Visual Source Localization}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=6DqoHNarfn},
}
Figure