Abstract
Generating music that temporally aligns with video events is challenging for existing text-to-music models, which lack fine-grained temporal control. We introduce V2M-Zero, a zero-pair video-to-music generation approach that outputs time-aligned music for video. Our method is motivated by a key observation: temporal synchronization requires matching when and how much change occurs, not what changes. While musical and visual events differ semantically, they exhibit shared temporal structure that can be captured independently within each modality. We capture this structure through event curves computed from intra-modal similarity using pretrained music and video encoders. By measuring temporal change within each modality independently, these curves provide comparable representations across modalities. This enables a simple training strategy: fine-tune a text-to-music model on music-event curves, then substitute video-event curves at inference without cross-modal training or paired data. Across OES-Pub, MovieGenBench-Music, and AIST++, V2M-Zero achieves substantial gains over paired-data baselines: 5-21% higher audio quality, 13-15% better semantic alignment, 21-52% improved temporal synchronization, and 28% higher beat alignment on dance videos.
Introduction
Generating background music for video requires a delicate balance between matching the semantic mood and the temporal dynamics. While current Text-to-Music (T2M) models excel at capturing mood through text prompts, they are often "temporally blind," failing to synchronize with specific visual events like scene cuts or rhythmic motions.
Existing Video-to-Music (V2M) models typically rely on massive datasets of paired video and music. However, these datasets are often noisy, legally restricted, or lead to models that overfit to specific styles. V2M-Zero addresses this by asking: can we achieve tight temporal synchronization without ever showing the model a video during training?
Methodology
The core philosophy of V2M-Zero is that synchronization depends on when change occurs, rather than what is changing. A drum beat can align with a camera cut just as effectively as it aligns with a physical motion.
The Event Curve
The framework represents temporal structure using 1D Event Curves. These curves are generated by calculating the cosine similarity between consecutive frames or segments in a feature sequence. The resulting dissimilarity signal creates a curve where peaks represent major changes. To bridge the modality gap, these curves are standardized through normalization, resampling, and smoothing with a Hann window.
Training and "The Swap"
The training process involves fine-tuning a pretrained T2M model (a Diffusion Transformer using Rectified Flow) to condition on music-event curves extracted from the audio itself. At inference time, the model performs "The Swap": it is fed a video-event curve instead of a music-event curve. Because the curves are standardized to a domain-agnostic format, the model treats visual cues as musical cues, generating audio that hits the visual "beats."
Results and Evaluation
V2M-Zero was evaluated on three diverse benchmarks: OES-Pub (movie clips), MovieGenBench-Music, and AIST++ (dance videos). Despite being trained on 25k hours of licensed instrumental music without any video data, it significantly outperformed baselines trained on paired data:
- Audio Quality: Achieved 5–21% higher fidelity as measured by Fréchet Audio Distance (FAD).
- Temporal Synchronization: Improved synchronization by 21–52% on general video and 28% higher beat alignment on dance videos.
- Semantic Alignment: Showed 13–15% better semantic match to video content than paired baselines.
- Human Preference: In subjective tests, users preferred V2M-Zero’s results in over 70% of cases for scene-cut videos.
Conclusion
V2M-Zero demonstrates that temporal alignment through within-modality features is highly effective for video-to-music generation. By decoupling "how" (semantics) from "when" (timing), the model avoids the pitfalls of noisy paired datasets. Future work will explore artistic stylization—understanding how music can intentionally lead or lag visual events for emotional effect—and further refining alignment for low-resource domains.
Summary updated