arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.09090cs.SDcs.AIeess.AS
收藏

Diff-V2M:用于视频转音乐生成的、具有显式节奏建模的分层条件扩散模型

Diff-V2M: A Hierarchical Conditional Diffusion Model with Explicit Rhythmic Modeling for Video-to-Music Generation

Shulei Ji, Zihao Wang, Jiaxing Yu, Xiangyuan Yang, Shuyu Li, Songruoyao Wu, Kejun Zhang

AI总结:

针对视频转音乐生成中缺乏显式节奏建模和视觉特征整合难的问题,提出Diff-V2M分层条件扩散框架,通过节奏预测器、分层交叉注意力及时间步感知融合策略,在域内外数据集上实现更优的视听对齐和音乐生成性能。

摘要:

视频转音乐(V2M)生成旨在创建与视觉内容对齐的音乐。然而,现有方法存在两个主要挑战:(1)缺乏显式节奏建模阻碍了视听时间对齐;(2)有效整合各种视觉特征以调节音乐生成仍非易事。为解决这些问题,我们提出Diff-V2M,一种基于分层条件扩散模型的通用V2M框架,包含两个核心组件:视觉特征提取和条件音乐生成。对于节奏建模,我们首先评估几种节奏表示形式,包括低分辨率梅尔频谱图、tempograms和起始检测函数(ODF),并设计一个节奏预测器直接从视频中推断它们。为确保上下文和情感连贯性,我们还提取语义和情感特征。所有特征通过分层交叉注意力机制整合到生成器中,其中情感特征通过第一层塑造情感基调,而语义和节奏特征则在第二层交叉注意力层中融合。为增强特征整合,我们引入时间步感知融合策略,包括特征明智线性调制(FiLM)和加权融合,使模型能够在整个扩散过程中自适应平衡语义和节奏线索。大量实验表明,低分辨率ODF是建模音乐节奏的更有效信号,并证明Diff-V2M在域内和域外数据集上均优于现有模型,在客观指标和主观比较方面达到最先进性能。演示和代码可在https://Tayjsl97.github.io/Diff-V2M-Demo/获取。

英文摘要:

Video-to-music (V2M) generation aims to create music that aligns with visual content. However, two main challenges persist in existing methods: (1) the lack of explicit rhythm modeling hinders audiovisual temporal alignments; (2) effectively integrating various visual features to condition music generation remains non-trivial. To address these issues, we propose Diff-V2M, a general V2M framework based on a hierarchical conditional diffusion model, comprising two core components: visual feature extraction and conditional music generation. For rhythm modeling, we begin by evaluating several rhythmic representations, including low-resolution mel-spectrograms, tempograms, and onset detection functions (ODF), and devise a rhythmic predictor to infer them directly from videos. To ensure contextual and affective coherence, we also extract semantic and emotional features. All features are incorporated into the generator via a hierarchical cross-attention mechanism, where emotional features shape the affective tone via the first layer, while semantic and rhythmic features are fused in the second cross-attention layer. To enhance feature integration, we introduce timestep-aware fusion strategies, including feature-wise linear modulation (FiLM) and weighted fusion, allowing the model to adaptively balance semantic and rhythmic cues throughout the diffusion process. Extensive experiments identify low-resolution ODF as a more effective signal for modeling musical rhythm and demonstrate that Diff-V2M outperforms existing models on both in-domain and out-of-domain datasets, achieving state-of-the-art performance in terms of objective metrics and subjective comparisons. Demo and code are available at https://Tayjsl97.github.io/Diff-V2M-Demo/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑