TL;DR
This paper introduces a self-supervised framework for matching music to video (and vice versa) based on high-level "artistic correspondence" like mood, genre, and rhythm. By leveraging Transformers to model long-term temporal context and using a noise-contrastive loss, the authors achieve a staggering 10x improvement in retrieval accuracy over previous state-of-the-art methods.
What Problem Does This Paper Address?
Choosing the right soundtrack for a video is a complex, creative task. While humans can intuitively feel if a song "fits" a scene, automating this is difficult. Most existing computer vision approaches focus on low-level physical synchronization—like matching the sound of a clap to the visual motion of hands meeting. However, artistic pairing is often non-physical; it depends on the "vibe" of a scene or the "feel" of a song.
Previous automated tools were limited by small, manually annotated datasets or models that only looked at short snippets of video. These methods failed to capture the long-term narrative and emotional arcs that define professional video editing. The authors aim to bridge this gap by learning artistic associations directly from large-scale, unlabelled video data.
Methods
The proposed method, called Music Video Pretraining over time (MVPt), treats the relationship between music and video as a cross-modal retrieval problem.
- Feature Extraction: The model uses powerful, pre-trained "base" feature extractors: CLIP for visual frames and DeepSim (disentangled music tagging embeddings) for audio.
- Temporal Modeling: Instead of averaging features, the model feeds sequences of segments into two separate Transformers (one for video, one for music). This allows the model to "attend" to different parts of the timeline, capturing how a visual climax might correspond to a musical one.
- Self-Supervised Learning: The model is trained on thousands of existing music videos. It uses an InfoNCE contrastive loss, which teaches the model to maximize the similarity between a video and its actual soundtrack while minimizing similarity with random, mismatched tracks.
Datasets
The researchers evaluated their approach on two primary datasets:
- YT8M-MusicVideo: A collection of 100,000 videos from the YouTube-8M dataset tagged as "music video," averaging 4 minutes in length.
- MovieClips: A more challenging dataset of 20,000 clips from the MovieClips YouTube channel, where music is often backgrounded by dialogue and sound effects.
Key Insights and Ideas
- Context is King: The most significant finding is that temporal context is the primary driver of performance. As shown in Figure 3, the model's accuracy (Recall@10) increases dramatically as the sequence length grows from a few seconds to over three minutes. Short-term models simply cannot "see" the artistic intent.
- Attribute Arithmetic: Because the model learns a shared embedding space, users can perform "arithmetic" on queries. For example, you can take a query song and "add" the visual representation of a guitar to retrieve a version of that song (or a similar one) that features prominent guitar tracks.
- Beyond Genre: While the model learns to associate genres (e.g., heavy metal with screaming and electric guitars), it also captures more subtle cues like tempo and emotional "weight" that go beyond simple metadata tags.
Key Results
The quantitative results are impressive:
- 10x Accuracy Boost: On the YT8M dataset, the model achieved a track-level Recall@10 of 42.27%, compared to just 4.33% for the baseline.
- Human Preference: In a "blind taste test," human evaluators preferred the music recommended by this model over the baseline roughly 70% of the time.
- Qualitative Success: The model successfully generalizes to "in-the-wild" videos, such as home movies, matching them with music that feels tonally appropriate even though the training data consisted mostly of professional music videos.
Limitations and Future Work
Despite the performance gains, the authors highlight several critical areas for improvement:
- Algorithmic Bias: The model inherits biases present in human-created media. For instance, it may strongly associate certain musical genres with specific races or genders based on the demographics of the artists in the training set.
- Language Imbalance: The model is significantly more robust with English-language music due to the English-centric nature of the YouTube-8M dataset.
- Sociological Complexity: The authors note that "artistic correspondence" is culturally dependent. They suggest that future work requires collaboration with sociologists to ensure these systems don't inadvertently erase cultural traits or promote appropriation through biased recommendations.
Summary updated