Zero-Shot Unsupervised and Text-Based Audio Editing Using DDPM Inversion

Hila Manor, Tomer Michaeli · DOI

Abstract

Researchers from Technion have introduced two novel "zero-shot" techniques—ZETA and ZEUS—that allow for high-fidelity editing of audio signals using pre-trained diffusion models without any additional training. By leveraging "edit-friendly" DDPM inversion, these methods enable both precise text-guided transformations and unsupervised semantic discovery while preserving the original recording's structural integrity.

Introduction

While image editing has been revolutionized by generative AI, audio editing remains a significant challenge. Most current tools are either specialized for single tasks or require computationally expensive optimization for every new edit. The core difficulty lies in the "fidelity-edit tradeoff": modifying audio to match a new description often results in losing the nuances, rhythm, and key of the original recording. This research proposes a zero-shot framework to perform deep semantic edits on real-world audio while maintaining high perceptual quality without the need for fine-tuning.

Methodology: ZETA and ZEUS

The framework is built upon DDPM Inversion. Unlike standard inversion methods that struggle to reconstruct signals perfectly during editing, the authors utilize an "edit-friendly" version. This approach extracts noise vectors that more strongly encode the global structure of the source audio, providing a stable foundation for modifications.

The proposed editing pipeline: DDPM inversion extracts noise vectors, followed by either text-based editing (ZETA) or unsupervised semantic editing (ZEUS) via Principal Components (PC).

Two distinct editing paths are proposed:

  1. ZETA (ZEro-shot Text-based Audio): A text-guided approach where an original clip (e.g., "a jazz song") is inverted and then re-generated using a target prompt (e.g., "a rock song"). By initiating the generation at specific timesteps ($T_{start}$), the system controls the balance between original structure and new semantic content.
  2. ZEUS (ZEro-shot UnSupervized): This novel method bypasses text prompts by analyzing the "uncertainty" of the pre-trained model. By calculating the Principal Components (PCs) of the denoiser's posterior covariance, ZEUS identifies directions of semantic variation. Moving along these vectors allows for changes—such as adding vibrato or altering a melody—that are difficult to articulate with text.

Experimental Results

The methods were evaluated using datasets including MusicDelta, AudioSet, and a new benchmark, MedleyMDPrompts, which contains 696 target editing prompts for rigorous testing.

Overview of audio editing tasks performed by ZEUS (unsupervised) and ZETA (text-based), including singer removal, melody changes, genre shifts, and instrument swaps.

Key Findings

  • Quantitative Performance: ZETA and ZEUS consistently outperformed baselines like SDEdit and DDIM inversion in balancing text adherence (CLAP scores) and source fidelity (LPAPS).
  • User Preference: In a large-scale study on Amazon Mechanical Turk, users preferred the proposed methods over DDIM inversion 70% of the time and over the MusicGen model 60% of the time.
  • Unsupervised Improvisation: ZEUS demonstrated a unique ability to "improvise" melodic variations that stay perfectly in key and rhythm with the original track, a task where text-to-audio models often struggle.

Discussion and Limitations

The "secret sauce" of ZEUS lies in the Jacobian of the denoiser; its top eigenvectors point toward the most significant semantic variations possible for a given sound. However, the quality of edits is ultimately capped by the pre-trained base model (e.g., AudioLDM2). If the base model lacks understanding of a specific instrument, the edit will fail. Additionally, while ZEUS identifies meaningful directions, identifying which "PC" corresponds to which musical effect currently requires manual exploration.

Future work aims to automatically label these unsupervised directions and address potential copyright concerns arising from the ability to modify existing recordings with such high fidelity.

Summary updated

BibTeX
@inproceedings{manor2024zero,
  author = {Hila Manor and Tomer Michaeli},
  title = {{Zero-Shot Unsupervised and Text-Based Audio Editing Using DDPM Inversion}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=mCzyRdDak5},
}
Figure