Skip to main content
QUICK REVIEW

[Paper Review] AUDIT: Audio Editing by Following Instructions with Latent Diffusion Models

Yuancheng Wang, Zeqian Ju|arXiv (Cornell University)|Apr 3, 2023
Music and Audio ProcessingComputer Science9 citations
TL;DR

AUDIT trains a latent diffusion model conditioned on editing instructions and input audio triplets to perform instruction-guided audio editing, achieving state-of-the-art results across multiple tasks.

ABSTRACT

Audio editing is applicable for various purposes, such as adding background sound effects, replacing a musical instrument, and repairing damaged audio. Recently, some diffusion-based methods achieved zero-shot audio editing by using a diffusion and denoising process conditioned on the text description of the output audio. However, these methods still have some problems: 1) they have not been trained on editing tasks and cannot ensure good editing effects; 2) they can erroneously modify audio segments that do not require editing; 3) they need a complete description of the output audio, which is not always available or necessary in practical scenarios. In this work, we propose AUDIT, an instruction-guided audio editing model based on latent diffusion models. Specifically, AUDIT has three main design features: 1) we construct triplet training data (instruction, input audio, output audio) for different audio editing tasks and train a diffusion model using instruction and input (to be edited) audio as conditions and generating output (edited) audio; 2) it can automatically learn to only modify segments that need to be edited by comparing the difference between the input and output audio; 3) it only needs edit instructions instead of full target audio descriptions as text input. AUDIT achieves state-of-the-art results in both objective and subjective metrics for several audio editing tasks (e.g., adding, dropping, replacement, inpainting, super-resolution). Demo samples are available at https://audit-demo.github.io/.

Motivation & Objective

  • Motivate flexible audio editing by natural language instructions rather than task-specific tools.
  • Propose a supervised diffusion-based framework trained on triplet data (instruction, input audio, output audio).
  • Enable automatic preservation of unedited audio segments by conditioning on the input audio.
  • Reduce reliance on full target audio descriptions by using only editing instructions as text guidance.

Proposed method

  • Use a variational autoencoder (VAE) to map mel-spectrograms to a latent space and back.
  • Encode edit instructions with a frozen pre-trained T5 text encoder.
  • Train a latent diffusion model conditioned on (latent input audio, text instruction) to produce the latent output suitable for reconstruction.
  • Concatenate z_in and z_t at the U-Net conditioning stage to allow the model to see unchanged regions.
  • Train HiFi-GAN as a vocoder to reconstruct waveforms from edited mel-spectrograms.
  • Construct triplet data for five tasks (adding, dropping, replacement, inpainting, super-resolution) from existing audio-caption and audio-label datasets.

Experimental results

Research questions

  • RQ1Can instruction-guided latent diffusion effectively edit audio by following natural language instructions?
  • RQ2Does training on triplet (instruction, input audio, output audio) improve editing quality and regional preservation compared to zero-shot methods?
  • RQ3How well can a model learn to edit only the necessary segments while keeping other parts intact?

Key findings

  • AUDIT achieves state-of-the-art objective metrics (LSD, KL, FD) across five editing tasks.
  • AUDIT achieves superior subjective quality and relevance scores compared to baselines.
  • Using input audio as a condition with channel-wise concatenation helps preserve unedited regions.
  • Text instructions alone suffice as guidance without requiring full target audio descriptions.
  • A text-guided latent diffusion model trained on triplets outperforms zero-shot editing baselines in both addition and removal tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.