Abstract
We present an approach for recommending a music track for a given video, and vice versa, based on both their temporal alignment and their correspondence at an artistic level. We propose a self-supervised approach that learns this correspondence directly from data, without any need of human annotations. In order to capture the high-level concepts that are required to solve the task, we propose modeling the long-term temporal context of both the video and the music signals, using Transformer networks for each modality. Experiments show that this approach strongly outperforms alternatives that do not exploit the temporal context. The combination of our contributions improve retrieval accuracy up to 10× over prior state of the art. This strong improvement allows us to introduce a wide range of analyses and applications. For instance, we can condition music retrieval based on visually defined attributes.
Introduction
Choosing the right music for a video is a cornerstone of creative storytelling, yet it remains a manual, time-consuming task. While previous AI approaches have attempted to automate this, they typically focused on "physical correspondence"—matching discrete events like a person clapping to a sharp sound.
However, artistic matching is about the "vibe": mood, genre, and rhythm. These qualities are hard to define with simple labels and often depend on how a scene builds over time. Previous models often looked at short, isolated snippets or averaged features across a video, missing the narrative arc. Researchers from Columbia University and Adobe Research have introduced MVPt (Music Video Pretraining over time), a self-supervised framework that matches music to video based on high-level "artistic" correspondence.
Methods: Modeling Temporal Context
The core of the approach is MVPt, which treats both video and music as sequences of segments rather than static snapshots.
- Feature Extraction: The model uses "best-in-class" pre-trained features. For video, it uses CLIP (which excels at semantic understanding); for music, it uses DeepSim (embeddings designed for music tagging).
- Temporal Modeling: Instead of simple averaging, the authors use Transformer networks for both modalities. This allows the model to "attend" to different parts of the sequence, capturing how the visual mood or musical tempo evolves over several seconds or minutes.
- Self-Supervised Learning: The model is trained using an InfoNCE contrastive loss. It learns by looking at thousands of existing music videos and trying to distinguish between a "true" pair (music and video that actually go together) and "negative" pairs (randomly matched audio and video).
- Attribute Conditioning: A novel post-training technique allows users to "steer" the retrieval. By adding or subtracting feature vectors (e.g., adding the vector for "guitar images" to a "pop music" query), the model can retrieve music that matches the original style but incorporates the new instrument.
Key Insights
- Context is King: The most significant finding is that modeling temporal context is the "secret sauce." Moving from a simple MLP (Multi-Layer Perceptron) to a Transformer-based architecture was the primary driver of the 10x performance boost.
- Semantic over Motion: Surprisingly, using CLIP (trained on static images and text) outperformed features trained specifically on video motion (like X3D). This suggests that for artistic matching, the objects and scenes in a frame are more predictive of music choice than the raw movement.
- Emergent Attention: Without being told what to look for, the model's attention mechanism naturally learned to focus on people singing or playing instruments. It "discovered" that these are the most informative moments for matching audio to video.
- Zero-Shot "Audio Algebra": The model can perform cross-modal arithmetic. You can take a rap song and "add" a visual representation of a piano to find a piano-heavy remix, even though the model was never explicitly trained on instrument labels.
Results and Evaluation
The study utilized two primary datasets: YT8M-MusicVideo (100k curated music videos) and MovieClips (20k segments from cinematic films).
- Quantitative Leap: On the YT8M dataset, the model improved the Median Rank of retrieved tracks from ~300 (baseline) down to 12.
- Human Preference: In "blind" tests, human evaluators preferred MVPt’s music recommendations over the baseline 71.4% of the time.
- Robustness: The model proved remarkably stable against low-level visual changes. Altering a video's brightness or hue had almost no impact on the music it recommended, confirming it relies on high-level artistic concepts.
Ethical Considerations and Limitations
The authors acknowledge several challenges regarding "artistic" AI:
- Dataset Bias: The model inherits societal biases from human-created content, potentially associating genres with specific demographics based on historical trends.
- Language and Culture: The model is skewed toward English-language music. Furthermore, artistic correspondence is culturally dependent; a global model might inadvertently lead to "cultural erasure" if not carefully managed.
Future work will focus on building "bias-aware" models that respect cultural diversity while providing high-quality creative suggestions.
Summary updated