Reproduce “MuVi: Video-to-Music Generation with Semantic Alignment and Rhythmic Synchronization” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ruiqi Li, Siqi Zheng, Xize Cheng, Ziang Zhang, Shengpeng Ji, Zhou Zhao

Researchers from Zhejiang University and Alibaba Group developed MuVi, a video-to-music generation framework that ensures semantic alignment and rhythmic synchronization. It leverages a visual encoder, an adaptors with enhanced contrastive pre-training for rhythm, and a flow-matching-based music generator, outperforming baselines in beat and semantic synchronization metrics while maintaining competitive audio quality and diversity.

Key insights

  • Efficient visual representation modeling via learnable aggregation (e.g., Softmax aggregation) in the visual adaptor enables the model to focus on critical, rapidly changing local visual features, which is essential for precise synchronization.
  • Augmenting contrastive pre-training with challenging negative samples, such as temporally shifted or partially replaced music segments, effectively compels the model to learn robust rhythmic alignment.
  • Combining a powerful pre-trained flow-matching music generator with channel-wise fusion of visual conditions allows for balancing high-quality, diverse music generation with accurate point-to-point temporal alignment to video.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.