NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Score-Based Generative Modeling with Critically-Damped Langevin Diffusion

Tim Dockhorn, Arash Vahdat, Karsten KreisICLR 2021

Abstract

Score-based generative models (SGMs) have demonstrated remarkable synthesis quality. SGMs rely on a diffusion process that gradually perturbs the data towards a tractable distribution, while the generative model learns to denoise. The complexity of this denoising task is, apart from the data distribution itself, uniquely determined by the diffusion process. We argue that current SGMs employ overly simplistic diffusions, leading to unnecessarily complex denoising processes, which limit generative modeling performance. Based on connections to statistical mechanics, we propose a novel critically-damped Langevin diffusion (CLD) and show that CLD-based SGMs achieve superior performance. CLD can be interpreted as running a joint diffusion in an extended space, where the auxiliary variables can be considered "velocities" that are coupled to the data variables as in Hamiltonian dynamics. We derive a novel score matching objective for CLD and show that the model only needs to learn the score function of the conditional distribution of the velocity given data, an easier task than learning scores of the data directly. We also derive a new sampling scheme for efficient synthesis from CLD-based diffusion models. We find that CLD outperforms previous SGMs in synthesis quality for similar network architectures and sampling compute budgets.

Introduction

Generative modeling has seen a massive shift toward diffusion-based methods, which excel at creating high-quality, diverse samples. Traditional Score-Based Generative Models (SGMs) rely on a diffusion process that gradually perturbs data into a simple distribution (like Gaussian noise). The generative model then learns to "reverse" this process by estimating the score function—the gradient of the log-density.

However, the "standard" way of doing diffusion—adding white noise directly to data—might be making the learning task harder than it needs to be. By injecting noise directly into the data (e.g., pixels), the resulting score functions can become highly complex, irregular, or even unbounded near the original data distribution. This makes the denoising task unnecessarily difficult for neural networks, leading to longer training times and the need for more complex architectures or sampling tricks.

Methods: Critically-Damped Langevin Diffusion

The core innovation is Critically-Damped Langevin Diffusion (CLD). Instead of diffusing the data $\mathbf{x}$ directly, the authors augment the state space with an auxiliary "velocity" variable $\mathbf{v}$.

  1. Joint Diffusion: They run a joint diffusion process in the $(\mathbf{x}, \mathbf{v})$ space. Crucially, noise is only injected into the velocity component, while the data component changes smoothly based on that velocity.
  2. Critical Damping: From physics, a damped harmonic oscillator returns to equilibrium fastest when it is "critically damped"—neither oscillating too much nor being too sluggish. The authors set their diffusion parameters to match this optimal balance.
  3. Hybrid Score Matching (HSM): To train the model, they derive a new objective that only requires learning the score of the conditional distribution $p(\mathbf{v}_t|\mathbf{x}_t)$. This avoids the "unbounded score" problem at the start of diffusion ($t=0$).
  4. Symmetric Splitting CLD Sampler (SSCS): They provide a specialized numerical solver for the reverse SDE. Unlike standard solvers like Euler-Maruyama, SSCS leverages the analytically tractable parts of the CLD process, making it much more accurate for a given compute budget.
Conceptual overview of CLD: The joint distribution is diffused smoothly, and denoising only requires modeling the conditional velocity score.

Analysis and Results

The authors evaluated their method on standard benchmarks including CIFAR-10 and CelebA-HQ-256, as well as toy datasets for detailed analysis of score complexity.

Easier Learning Target and Smoother Networks

By learning the conditional score $\nabla_{\mathbf{v}_t} \log p(\mathbf{v}_t|\mathbf{x}_t)$ instead of the marginal data score, the network faces a much simpler task. As shown in the quantitative analysis below, the CLD score target (measured by $\xi(t)$) is significantly closer to a simple Normal distribution than standard VPSDE targets. Furthermore, networks trained with CLD are "smoother." The authors measured the Frobenius norm of the networks' Jacobians ($\mathcal{J}_F(t)$) and found them to be much smaller than those of standard diffusion models, suggesting better generalization and stability.

Top: The difference between the learned score and a Normal distribution score is much smaller for CLD. Bottom: The Jacobian norm of the neural network is lower, indicating a smoother learned function.

Key Performance Metrics

  • State-of-the-Art Quality: On CIFAR-10, CLD-SGM achieved an FID score of 2.23, outperforming almost all previous diffusion models of similar capacity (~100M parameters).
  • Sampling Efficiency: CLD is remarkably efficient at low sampling budgets. For instance, with only 150 function evaluations, it achieves an FID of ~3.07, whereas standard models like VPSDE perform significantly worse in this regime.
  • High-Resolution Success: The model successfully generated high-quality, diverse 256x256 images on CelebA-HQ, proving the framework scales well to complex, high-dimensional data.

Conclusion

CLD-SGM introduces a physics-inspired approach to diffusion modeling that simplifies the learning task and improves synthesis quality. By leveraging Hamiltonian dynamics and critical damping, the model creates smoother trajectories that are easier for neural networks to model. Future work may focus on tighter likelihood estimation and developing adaptive-step versions of the specialized SSCS integrator to further boost sampling speed.

Summary updated

BibTeX
@inproceedings{dockhorn2021score,
  author = {Tim Dockhorn and Arash Vahdat and Karsten Kreis},
  title = {{Score-Based Generative Modeling with Critically-Damped Langevin Diffusion}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=-iFaFnsiDJ},
}
Figure