文本引导的扩散模型通过将源音频适配特定文本提示,彻底改变了音频生成。然而,现有的零样本音频编辑方法(如 DDIM inversion)会在扩散步骤中累积误差,降低了有效性。此外,现有编辑方法在执行复杂的非刚性音乐编辑时,难以同时保持内容完整性和高保真度。为应对这些挑战,我们提出了 MEDIC,一种基于创新的解耦反转控制(DIC)技术的零样本音乐编辑系统,该技术包含 Harmonize Attention Control 和 Disentangled Inversion。Disentangled Inversion 将扩散过程解耦为三个分支,以纠正由 DDIM inversion 导致的源分支路径偏差。Harmonized Attention Control 利用中间的 Harmonic Branch 统一互自注意力控制和交叉注意力控制,以逐步生成目标音乐中所需的和声与旋律信息。我们还引入了 ZoME-Bench,这是一个包含 1,100 个样本、涵盖十个不同编辑类别的综合音乐编辑基准。ZoME-Bench 同时支持零样本和基于指令的音乐编辑任务。我们的方法在编辑保真度和内容保留方面优于最先进的反转技术。代码和基准将公开发布。
英文摘要:
Text-guided diffusion models revolutionize audio generation by adapting source audio to specific text prompts. However, existing zero-shot audio editing methods such as DDIM inversion accumulate errors across diffusion steps, reducing the effectiveness. Moreover, existing editing methods struggle with conducting complex non-rigid music edits while maintaining content integrity and high fidelity. To address these challenges, we propose MEDIC, a novel zero-shot music editing system based on innovative Disentangled Inversion Control (DIC) technique, which comprises Harmonized Attention Control and Disentangled Inversion. Disentangled Inversion disentangles the diffusion process into triple branches to rectify the deviated path of the source branch caused by DDIM inversion. Harmonized Attention Control unifies the mutual self-attention control and the cross-attention control with an intermediate Harmonic Branch to progressively generate the desired harmonic and melodic information in the target music. We also introduce ZoME-Bench, a comprehensive music editing benchmark with 1,100 samples covering ten distinct editing categories. ZoME-Bench facilitates both zero-shot and instruction-based music editing tasks. Our method outperforms state-of-the-art inversion techniques in editing fidelity and content preservation. The code and benchmark will be released. Audio samples are available at https://medic-edit.github.io/.