Abstract
There is a natural correlation between the visual and auditive elements of a video. In this work we leverage this connection to learn general and effective models for both audio and video analysis from self-supervised temporal synchronization. We demonstrate that a calibrated curriculum learning scheme, a careful choice of negative examples, and the use of a contrastive loss are critical ingredients to obtain powerful multi-sensory representations from models optimized to discern temporal synchronization of audio-video pairs. Without further finetuning, the resulting audio features achieve performance superior or comparable to the state-of-the-art on established audio classification benchmarks (DCASE2014 and ESC-50). At the same time, our visual subnet provides a very effective initialization to improve the accuracy of video-based action recognition models: compared to learning from scratch, our self-supervised pretraining yields a remarkable gain of +19.9% in action recognition accuracy on UCF101 and a boost of +17.7% on HMDB51.
Introduction
Deep learning thrives on massive datasets, but for video, human annotation is prohibitively expensive and time-consuming. While image-based models are highly transferable, video models often struggle to capture the complex interplay of spatial appearance and temporal motion. Previous self-supervised methods attempted to bridge this gap by matching audio to a single video frame (semantic correspondence). However, these methods often ignore the temporal dimension—the model might learn that a "piano sound" goes with a "piano image," but it doesn't necessarily learn the rhythm of the keys being pressed. This paper introduces Audio-Visual Temporal Synchronization (AVTS), a task that forces models to distinguish between perfectly aligned pairs and those that are temporally shifted.
Methodology
The proposed framework utilizes a two-stream architecture designed to process multi-modal inputs simultaneously.
Architecture
- Video Subnetwork: Employs a Mixed Convolution (MCx) architecture. It uses 3D convolutions in early layers to capture motion and 2D convolutions in later layers for computational efficiency.
- Audio Subnetwork: A VGG-like CNN operating on FFT filterbank features (spectrograms).
Curriculum Learning and Hard Negatives
The core of the approach is training the model to recognize "out-of-sync" pairs. Negative samples are categorized into:
- Easy Negatives: Audio and video from entirely different clips (e.g., a dog barking paired with a car racing).
- Hard Negatives: Audio and video from the same clip, but shifted in time by at least 0.5 seconds.
The researchers found that training on hard negatives immediately prevents convergence. Instead, they employ Curriculum Learning, starting with easy negatives and gradually introducing a 25% mix of hard negatives. This allows the model to master semantic matching before tackling fine-grained temporal synchronization. A Contrastive Loss is used to optimize the distance-based relationships required for synchronization.
Evaluation and Results
The models were pretrained on large-scale datasets including Kinetics-400 (300k videos) and AudioSet (1.8M clips).
Video Action Recognition
On standard benchmarks UCF101 and HMDB51, AVTS pretraining on Kinetics provided a massive boost compared to training from scratch: +19.9% on UCF101 and +17.7% on HMDB51. This demonstrates that the model successfully captures motion features relevant to human actions.
Audio Classification
On the ESC-50 dataset, AVTS audio features achieved 82.3% accuracy, outperforming previous self-supervised methods like SoundNet (74.2%) and $L^3$-Net (79.3%), and even approaching human performance (81.3%).
Discussion
The success of AVTS highlights that synchronization is a more rewarding task than simple correspondence. By learning "sync," the model is forced to understand the underlying physics and timing of events. Furthermore, the model exhibits cross-modal localization; by back-propagating audio activations, the authors show the model naturally attends to the visual source of a noise, such as a person's face or a musical instrument.
While a gap remains between self-supervised and fully supervised models (e.g., 90.5% vs 85.8% on UCF101), the ability of AVTS to "soak up" performance gains from unlabeled web-scale data like AudioSet suggests a promising path for future video representation learning.
Summary updated