Audio-Visual Contrastive Learning with Temporal Self-Supervision

Simon Jenni, Alexander Black, John P. Collomosse

Introduction

Self-supervised learning (SSL) has revolutionized representation learning by eliminating the need for expensive human annotations. While early SSL methods focused on static images, video data presents unique opportunities and challenges due to its dynamic nature and inherent multi-modality. This paper, presented at AAAI-23, addresses two core problems: capturing temporal dynamics (speed, direction, sequence) and leveraging the natural synchronization between video and audio. The authors propose a unified framework that combines multi-modal contrastive learning with temporal reasoning tasks to learn rich, synchronized representations.

Methodology

The proposed framework utilizes a dual-branch architecture—one for video and one for audio—optimized through a composite loss function that integrates contrastive learning with temporal pretext tasks.

Overview of the dual-branch architecture and the joint contrastive and temporal learning objectives.

Refined Contrastive Learning ($L_{CRL}$)

The model employs a refined contrastive loss to align features within and across modalities:

  • Nearest Neighbor Positives: To improve generalization, the model maintains a memory bank of features and uses nearest neighbors as additional positive samples, rather than relying solely on augmentations of the same clip.
  • Sample-Dependent Negatives: Negatives are carefully selected from the memory bank to avoid ambiguous samples that could degrade performance.
  • Selective Modality Terms: Empirical findings led the authors to exclude audio-audio contrastive terms, focusing instead on video-video and cross-modal (video-audio) alignment.

Temporal Self-Supervision ($L_{TEMP}$)

To instill an understanding of time, the model must solve several "pretext" puzzles:

  • Speed and Direction Recognition: The model predicts the playback speed (1x to 8x) and direction (forward/backward). Notably, manipulating the raw 1D audio waveform was found to be more effective than using 2D spectrograms for this task.
  • Temporal Ordering: The model determines the relationship between two clips—whether they are correctly ordered, overlapping, or misordered—across both intra-modal and cross-modal contexts.

Experimental Results

The framework was evaluated on large-scale datasets including Kinetics-400/600 for pre-training, and UCF101, HMDB51, and ESC50 for downstream tasks.

The Power of Multi-Modal Fusion

A key finding is the significant performance boost achieved by fusing audio and video features. As shown in Figure 5, the joint model (A+V) consistently outperforms single-modality models across various data augmentations in the AugVGG video fingerprinting benchmark, proving that the model learns complementary information in each branch.

Performance comparison (Recall@k) of Audio (A), Video (V), and fused Audio-Visual (A+V) models across different augmented datasets.

State-of-the-Art Performance

The method achieved state-of-the-art results across multiple benchmarks:

  • Action Recognition: Reached 91.8% accuracy on UCF101, outperforming previous methods like BraVe and GDT.
  • Audio Classification: Achieved 87.9% accuracy on ESC50, setting a new benchmark for self-supervised audio representations.
  • Robustness: In video fingerprinting (AugVGG), the joint model achieved a Recall@1 of 53.9%, a 14% improvement over video-only models.

Conclusion

This research demonstrates that unifying temporal reasoning with cross-modal contrastive learning creates a powerful synergy for self-supervised video understanding. While the study highlights the effectiveness of raw audio for temporal tasks and the benefits of excluding noisy audio-audio contrastive terms, future work may explore more advanced architectures like Video Transformers to further boost performance.

Summary updated

BibTeX
@inproceedings{jenni2023audio,
  author = {Simon Jenni and Alexander Black and John P. Collomosse},
  title = {{Audio-Visual Contrastive Learning with Temporal Self-Supervision}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i7.25967},
}
Figure