arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.08252cs.SDeess.AS
收藏

Melodia:扩散模型中基于注意力探测的无训练音乐编辑

Melodia: Training-Free Music Editing Guided by Attention Probing in Diffusion Models

Yi Yang, Haowen Li, Tianxiang Li, Boyu Cao, Xiaohan Zhang, Liqun Chen, Qi Liu

AI总结:

针对现有音乐编辑方法难以保留源音乐时间结构的问题,本文通过探测AudioLDM 2的注意力图,提出无训练技术Melodia,选择性操作自注意力图并利用注意力存储库,实现了音乐特征的准确修改与结构保留,还提出新评估指标,实验效果优异。

摘要:

文本到音乐生成技术发展迅速,为音乐创作和编辑创造了新机遇。然而,现有音乐编辑方法在改变乐器、流派和情绪等特定属性时,往往无法保留源音乐的时间结构(包括旋律和节奏)。为应对这一挑战,本文对现有音乐编辑方法常用的扩散模型骨干AudioLDM 2的注意力图进行深入探测分析。我们发现关键结论:交叉注意力图包含不同音乐特征的细节,干预这些图常导致无效修改;而自注意力图对源音乐转换为目标音乐时保留时间结构至关重要。基于此,我们提出Melodia——一种无训练技术,在去噪过程中选择性操作特定层的自注意力图,并利用注意力存储库保存源音乐信息,无需源音乐文本描述即可实现音乐特征的准确修改,同时保留原始结构。此外,我们提出两个新指标以更好地评估音乐编辑方法。客观和主观实验表明,我们的方法在不同数据集上的文本一致性和结构完整性方面均取得了优异结果。本研究增强了对音乐生成模型内部机制的理解,并为音乐创作提供了更好的控制。

英文摘要:

Text-to-music generation technology is progressing rapidly, creating new opportunities for musical composition and editing. However, existing music editing methods often fail to preserve the source music's temporal structure, including melody and rhythm, when altering particular attributes like instrument, genre, and mood. To address this challenge, this paper conducts an in-depth probing analysis on attention maps within AudioLDM 2, a diffusion-based model commonly used as the backbone for existing music editing methods. We reveal a key finding: cross-attention maps encompass details regarding distinct musical characteristics, and interventions on these maps frequently result in ineffective modifications. In contrast, self-attention maps are essential for preserving the temporal structure of the source music during its conversion into the target music. Building upon this understanding, we present Melodia, a training-free technique that selectively manipulates self-attention maps in particular layers during the denoising process and leverages an attention repository to store source music information, achieving accurate modification of musical characteristics while preserving the original structure without requiring textual descriptions of the source music. Additionally, we propose two novel metrics to better evaluate music editing methods. Both objective and subjective experiments demonstrate that our approach achieves superior results in terms of textual adherence and structural integrity across various datasets. This research enhances comprehension of internal mechanisms within music generation models and provides improved control for music creation.

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

↑