Diffusion Models for Audio Restoration

Jean-Marie Lemercier, Julius Richter, Simon Welker, Eloi Moliner, Vesa Välimäki, Timo Gerkmann

TL;DR

This paper provides a comprehensive review of how diffusion models are revolutionizing audio restoration tasks like speech enhancement and music de-noising. By treating restoration as a conditional generation problem, these models combine the flexibility of deep learning with the mathematical interpretability of classical signal processing, offering a path toward natural-sounding audio that predictive "black-box" models often struggle to achieve.

What Problem Does This Paper Address?

Audio restoration—recovering clean signals from corrupted recordings—has traditionally relied on handcrafted statistical rules. While robust, these methods often fail to handle complex, non-stationary noise found in the real world. In the last decade, predictive Deep Neural Networks (DNNs) took over, but they come with their own baggage: they are often deterministic "black boxes" that struggle to represent uncertainty and can produce muffled or artificial-sounding results.

The authors explore how diffusion models bridge this gap. Unlike predictive models that map input directly to output, diffusion models learn the underlying distribution of clean audio. This allows them to act as powerful "priors" that can be guided by corrupted observations to generate high-fidelity, plausible reconstructions.

Methods

The paper breaks down the diffusion formalism into a series of manageable concepts:

  • The Diffusion Process: Audio is gradually corrupted by Gaussian noise (forward process) until it becomes pure noise. A "score model" is then trained to reverse this process, iteratively removing noise to recover the data.
  • Score-Based Modeling: Instead of predicting the clean audio directly, the model learns the score function—the gradient of the log-probability density. This acts as a vector field pointing toward high-density regions of "clean audio."
  • Restoration as an Inverse Problem: The authors frame restoration using Bayes' rule: $$\nabla_{\mathbf{x}} \log p(\mathbf{x}|\mathbf{y}) = \nabla_{\mathbf{x}} \log p(\mathbf{x}) + \nabla_{\mathbf{x}} \log p(\mathbf{y}|\mathbf{x})$$ Here, the diffusion model provides the prior ($\log p(\mathbf{x})$), while a measurement model handles the likelihood ($\log p(\mathbf{y}|\mathbf{x})$) of the corruption.
Fig. 1: A continuous-time diffusion model [8] transforms (left) a Gaussian distribution to (right) an intractable data distribution through a stochastic process {xτ}τ∈[0,T] with marginal distributions {pτ(xτ)}τ∈[0,T]. During training, the forward diffusion is simulated by adding Gaussian noise and rescaling the data, and a score model sθ with parameters θ learns the score function ∇xτ log pτ(xτ). During the generative reverse process, the process time τ is discretized to steps {τ0, . . . , τN} and followed in reverse from τN = T to τ0 = 0. (Bottom) The next state xτn−1 is obtained based on the previous state xτn using an estimate given by the score model. The score model is conditioned by the noise scale at the current time step, σ(τn), and optional conditioning c to guide the generation such as, e.g., a text description.

The authors categorize conditioning techniques into three families:

  1. Input Conditioning: Providing the corrupted signal as an additional input to the score model.
  2. Task-Adapted Diffusion: Modifying the noise schedule to interpolate directly between the clean signal and the corrupted observation (e.g., the BBED or OUVE processes shown in Figure 4).
  3. External Conditioning: Using a pre-trained unconditional model and injecting task-specific information only during inference, which is ideal for "zero-shot" restoration.

Datasets

As a review paper, it does not introduce a new dataset but synthesizes findings from various benchmarks in the field, including:

  • Speech: Common datasets for speech enhancement and dereverberation (e.g., VoiceBank-DEMAND).
  • Music: Datasets used for bandwidth extension and inpainting (e.g., MAESTRO or MUSDB18).

Key Insights and Ideas

  • Model-Based Deep Learning: Diffusion models aren't just black boxes; they are "model-based" because we can inject domain knowledge into the noise schedules, the choice of transform domain (Waveform, STFT, or CQT), and the measurement likelihood.
  • The Geometry of Restoration: Posterior sampling can be viewed as the intersection of two manifolds: the "clean data" manifold and the "consistent solutions" manifold. The score model pulls the trajectory toward the former, while the likelihood score pulls it toward the latter.
Geometrical interpretation of posterior sampling: the prior score guides the trajectory toward the data manifold, while the likelihood score ensures consistency with the observation.
  • Two-Stage Hybrid Models: The paper highlights "StoRM" (Stochastic Regeneration Model), which uses a predictive model to get a "coarse" estimate, followed by a diffusion model to refine the details and remove residual artifacts.

Key Results

  • Sound Quality: Diffusion models consistently produce more "natural" and "crisp" audio compared to MSE-based predictive models, which tend to over-smooth the signal.
  • Blind Restoration: Techniques like BABE (Blind Audio Bandwidth Extension) demonstrate that diffusion models can solve inverse problems even when the corruption parameters (like filter cutoff frequencies) are unknown, by jointly optimizing the signal and the degradation model.
  • Efficiency Gains: While diffusion is notoriously slow, the paper notes that recent distillation techniques have reduced the required steps from hundreds to as few as one to three steps, making real-time applications feasible.

Limitations and Future Work

  • Inference Speed: Despite improvements, the iterative nature of diffusion remains a hurdle for ultra-low-latency applications like hearing aids.
  • Hallucinations: At very low Signal-to-Noise Ratios (SNR), these models can "hallucinate" speech-like sounds in pure noise regions. The authors suggest multi-modal conditioning (e.g., using video of lip movements) as a potential fix.
  • Causality: Most current models are non-causal (they need to "see" the future of the signal). Adapting these architectures for strictly causal, real-time processing is an active area of research.

Summary updated

BibTeX
@article{lemercier2024diffusion,
  author = {Jean-Marie Lemercier and Julius Richter and Simon Welker and Eloi Moliner and Vesa Välimäki and Timo Gerkmann},
  title = {{Diffusion Models for Audio Restoration}},
  journal = {IEEE Signal Process. Mag.},
  year = {2024},
  doi = {10.1109/msp.2024.3445871},
}
Figure