Understanding Diffusion Objectives as the ELBO with Simple Data Augmentation

Diederik P Kingma, Ruiqi Gao

In the world of generative AI, diffusion models have become the undisputed champions of image synthesis. However, a curious rift has long existed between theory and practice. While the foundational mathematics for these models was rooted in the Evidence Lower Bound (ELBO)—a standard tool for maximum likelihood estimation—the versions that actually produce the most visually stunning images (such as Stable Diffusion or EDM) rely on seemingly heuristic "noise-prediction" objectives.

In their paper, "Understanding Diffusion Objectives as the ELBO with Simple Data Augmentation," researchers Diederik P. Kingma and Ruiqi Gao from Google DeepMind close this theoretical gap. They reveal that these high-performing heuristic objectives are not just clever hacks; they are mathematically equivalent to the ELBO, provided a specific condition is met: adding a bit of noise to the training data first.

The Problem: Principled Math vs. Perceptual Quality

In generative modeling, the primary goal is usually to maximize the likelihood of the data. The ELBO provides a mathematically principled way to achieve this when the exact likelihood is intractable.

However, researchers noticed early on that optimizing strictly for the ELBO often led to models with mediocre image quality. To achieve the crisp, high-fidelity samples we expect today, practitioners shifted to "weighted" objectives (like the $\epsilon$-prediction loss in DDPM). While these heuristic losses worked significantly better perceptually, they lacked a clear probabilistic interpretation. The field was left asking: Why do these heuristic losses outperform the "principled" ones, and what exactly are they optimizing?

A Unified Methodological Framework

The authors introduce a unified framework to analyze these disparate objectives, leading to several core breakthroughs:

  1. The Weighted Loss ($L_w$): The paper demonstrates that nearly every diffusion objective in the literature (including EDM and v-prediction) can be rewritten as a single weighted integral of ELBOs across different noise levels ($\lambda$).
  2. The Monotonicity Discovery: The critical breakthrough occurs when they prove that if this weighting function $w(\lambda)$ is monotonic (specifically, decreasing as noise increases), the objective is exactly equivalent to maximizing the ELBO on data that has been pre-perturbed with Gaussian noise.
  3. Adaptive Noise Scheduling: Estimating these losses requires sampling noise levels. The authors propose an online adaptive schedule that updates dynamically during training. This minimizes the variance of the loss estimator, making the training process faster and more stable.
  4. Introducing VDM++: By combining these theoretical insights—utilizing monotonic weightings and adaptive schedules—the authors created VDM++, a highly refined version of Variational Diffusion Models.

Key Insights: Noise as Data Augmentation

This paper provides a robust theoretical justification for why "noisy" objectives yield better results. By adding noise (effectively a form of data augmentation), the model is forced to ignore high-frequency "garbage" details and focus on the global structure and high-level content that human perception prioritizes.

The authors use Fourier analysis to show that additive noise destroys high-frequency information much faster than low-frequency information. This mathematically explains why these objectives push the model to learn the "big picture" first. They also draw a fascinating parallel to "low-bit" training: training on 5-bit data instead of 8-bit often improves perceptual quality by removing subtle, imperceptible details the model might otherwise overfit on. Specific monotonic weightings emulate this exact effect.

Key Results and State-of-the-Art Performance

The authors evaluated VDM++ on the highly competitive ImageNet benchmark across multiple resolutions (64x64, 128x128, 256x256, and 512x512), comparing it against state-of-the-art models like ADM, DiT, and Simple Diffusion.

High-fidelity samples generated by VDM++ on ImageNet.

The results for VDM++ set new benchmarks for ImageNet generation:

  • State-of-the-Art FID: On ImageNet 256x256 (without classifier-free guidance), VDM++ achieved a remarkable FID of 2.40, outperforming previous leaders like Simple Diffusion (2.77) and RIN (3.42).
  • High-Resolution Success: At the challenging 512x512 resolution, VDM++ reached an FID of 2.65 with guidance, surpassing the previous best diffusion-based approaches.
  • Training Efficiency: The proposed adaptive noise schedule significantly sped up optimization by reducing the variance of the gradients, proving that theoretical rigor can also yield practical computational benefits.

Limitations and Future Work

While the paper provides a powerful unified theory, some practical hurdles remain. The theory narrows down what to look for (monotonic weightings), but the specific choice of weighting function and noise schedule still requires hyperparameter tuning for different datasets and resolutions. Furthermore, training high-resolution models on ImageNet still demands massive computational resources (e.g., 128 TPU-v4 chips for 7 days for the 128x128 model).

Looking forward, the authors suggest that this "ELBO + Augmentation" perspective could be applied to other generative architectures, such as autoregressive models. By proving that the best diffusion models are ultimately performing principled likelihood estimation on augmented data, this paper brings much-needed clarity to the "black box" of diffusion objectives.

Summary updated

BibTeX
@inproceedings{kingma2023understanding,
  author = {Diederik P Kingma and Ruiqi Gao},
  title = {{Understanding Diffusion Objectives as the ELBO with Simple Data Augmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=NnMEadcdyD},
}
Figure