Active Contrastive Set Mining for Robust Audio-Visual Instance Discrimination

Hanyu Xuan, Yihong Xu, Shuo Chen, Zhiliang Wu, Jian Yang, Yan Yan, Xavier Alameda-PinedaIJCAI 2022

Self-supervised learning in the audio-visual domain often relies on Audio-Visual Instance Discrimination (AVID). The core idea is simple: a model learns that an audio-visual pair from the same video should be close in representation space, while pairs from different videos should be pushed apart. However, this approach faces a significant hurdle: "faulty negatives."

The Problem: Faulty Negatives in Random Sampling

Standard AVID assumes that any two clips from different videos are semantically unrelated. This assumption frequently fails. For instance, if an "anchor" video features someone playing a guitar, the randomly sampled "contrastive set" might accidentally include another video of a different person playing a guitar or a ukulele.

Random sampling often includes semantically similar "faulty negatives" in the contrastive set, confusing the model.

When the model is forced to treat these semantically similar clips as negatives, it struggles to learn meaningful features. Instead of learning the general concept of "guitar playing," it wastes capacity trying to distinguish between nearly identical instances. As the size of the contrastive set increases to improve performance, the probability of encountering these collisions also rises, leading to a performance plateau.

Active Contrastive Set Mining (ACSM)

To address this, researchers proposed Active Contrastive Set Mining (ACSM). Rather than relying on random sampling, ACSM introduces an intelligent selection process to ensure negatives are truly diverse.

1. Semantic-Sensitive Libraries

ACSM organizes data into $C$ independent libraries. A learnable classifier assigns each unlabeled clip to a library based on its emerging semantic features. This effectively clusters similar concepts—like "piano music" or "engine noises"—into distinct buckets.

2. Active Mining and Ambiguity

When selecting negatives for a specific anchor, ACSM pulls samples from different libraries. For a "guitar" anchor, it might select negatives from the "speech" or "traffic" libraries, avoiding other "guitar" clips.

Furthermore, the system identifies "hard" samples—those whose pseudo-labels frequently flip between libraries. These semantically ambiguous samples are assigned higher weights in the loss function, forcing the model to refine its discriminative capabilities where they are most challenged.

Key Results and Impact

The ACSM module was integrated into state-of-the-art frameworks like xID and MmMoCo, yielding significant improvements across multiple benchmarks:

  • Action Recognition: On the UCF-101 dataset, the method achieved 88.4% accuracy, a 2.8% improvement over previous benchmarks.
  • Sound Recognition: On ESC-50, it reached 89.3% accuracy, outperforming prior methods by 2.9%.
  • Scalability: Unlike standard methods that degrade when the contrastive set size exceeds 4096, ACSM remains robust and continues to improve as more negatives are added, up to $K=8192$.

Conclusion

Active Contrastive Set Mining demonstrates that randomness is a bottleneck for scaling self-supervised audio-visual learning. By explicitly managing semantic categories and actively mining informative negatives, ACSM allows models to move beyond simple instance discrimination toward a more robust, semantically-aware understanding of the world.

Reference: Xuan, H., et al. (2022). Active Contrastive Set Mining for Robust Audio-Visual Instance Discrimination. IJCAI-22.

Summary updated

BibTeX
@inproceedings{xuan2022active,
  author = {Hanyu Xuan and Yihong Xu and Shuo Chen and Zhiliang Wu and Jian Yang and Yan Yan and Xavier Alameda-Pineda},
  title = {{Active Contrastive Set Mining for Robust Audio-Visual Instance Discrimination}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/506},
}
Figure