Noise Estimation for Generative Diffusion Models

Robin San-Roman, Eliya Nachmani, Lior WolfarXiv 2021

Abstract

Generative diffusion models, while capable of producing high-quality samples, are limited by slow inference speeds requiring hundreds of iterations. This paper presents a novel framework that introduces a secondary neural network, $P_\theta$, to estimate the actual noise level in a sample during the denoising process. By enabling dynamic, on-the-fly adjustments to the noise schedule, this approach achieves high-fidelity image and speech synthesis in as few as 3 to 10 steps, significantly outperforming static schedules and computationally expensive grid-search methods.

Introduction

Diffusion models, such as Denoising Diffusion Probabilistic Models (DDPM), generate data by iteratively reversing a noise-injection process. Despite their success in rivaling Generative Adversarial Networks (GANs) in sample quality, their primary drawback is the high computational cost of inference. Standard generation requires a predefined "noise schedule"—a sequence of parameters ($\beta_t$) that dictates noise removal at each step.

When reducing the number of steps to accelerate inference, these fixed schedules often fail to maintain quality. Current solutions typically involve "grid searches" to find optimal static schedules for specific step counts, which are both expensive to compute and non-adaptive to individual samples. This research addresses these limitations by introducing a method that is both fast and sample-adaptive.

Methodology

The core of the proposed approach is a "Noise Estimation" framework that replaces fixed paths with dynamic monitoring.

The Estimator ($P_\theta$)

A secondary network, $P_\theta$, is introduced to monitor the denoising process. This network takes the current noisy state ($y_n$) as input and predicts the current noise level ($\bar{\alpha}$). For vision tasks, a VGG11 backbone is utilized, while a modified ConvTASNet is used for audio synthesis.

The proposed noise estimation framework. The estimator $P_\theta$ predicts the noise level $\hat{\alpha}$ from the current state $y_n$, allowing for dynamic schedule adjustment.

Dynamic Adjustment and Loss

During inference, $P_\theta$ estimates the noise at specific intervals. This estimate is used to recalculate the remaining noise schedule (e.g., Linear or Fibonacci) on-the-fly, ensuring the diffusion model ($\epsilon_\theta$) receives accurate conditioning. To optimize performance, the authors designed a specialized regression loss for $P_\theta$ that penalizes errors more heavily in the low-noise regime (the final generation steps), which was found to be critical for maintaining sharpness and contrast. Notably, this method is a "plug-and-play" solution that does not require retraining the original diffusion model.

Key Results

The framework was evaluated across vision (CelebA, LSUN) and audio (LJ Speech) datasets. The results demonstrate that adaptivity consistently outperforms static optimization.

Quantitative Performance

On the CelebA dataset, the proposed method achieved a massive improvement in Frechet Inception Distance (FID). With only 10 iterations, the noise estimation approach improved the FID score by 266.03 compared to the standard DDIM baseline.

FID score comparison on the CelebA (64x64) dataset. The proposed method significantly outperforms the DDIM baseline at low iteration counts.

Efficiency and Quality

The model produces convincing images in as few as 5-6 steps, representing a significant speedup over traditional 1000-step processes. In the audio domain, the method outperformed grid-searched schedules in Perceptual Evaluation of Speech Quality (PESQ) and Short-Time Objective Intelligibility (STOI) metrics, utilizing a Fibonacci-based schedule to effectively distribute denoising steps for high-frequency signals.

Conclusion and Future Work

By prioritizing accuracy in the final stages of generation and allowing for per-sample corrections, the noise estimation framework enables high-quality, few-step diffusion. While the current implementation introduces a slight computational overhead (e.g., increasing CelebA generation from 0.41s to 0.59s for 10 iterations), future work may focus on more efficient backbones and investigating the cross-dataset generalization of the $P_\theta$ estimator.

Summary updated

BibTeX
@misc{sanroman2021noise,
  author = {Robin San-Roman and Eliya Nachmani and Lior Wolf},
  title = {{Noise Estimation for Generative Diffusion Models}},
  year = {2021},
  eprint = {2104.02600},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.02600},
}
Figure