Diffusion models have revolutionized generative AI, but they come with a significant "speed tax." Generating a single high-quality image typically requires solving a complex differential equation over thousands of steps, starting from pure white noise. While researchers have developed faster numerical solvers, the fundamental bottleneck remains: starting from scratch (pure noise) is computationally expensive.
In this paper, researchers from KAIST propose Denoising MCMC (DMCMC), a novel framework that accelerates sampling by giving the model a "warm start." Instead of starting from pure noise, DMCMC uses Markov Chain Monte Carlo (MCMC) to find initialization points that are already close to the data manifold, drastically reducing the computation needed to produce a final, clean image.
TL;DR
DMCMC accelerates diffusion models by using MCMC to generate initialization points in a joint space of data and noise levels. Because these points are already "near" the target data manifold, the subsequent denoising process requires significantly fewer steps, achieving state-of-the-art results on CIFAR10 and CelebA-HQ with up to 25x fewer function evaluations.
What Problem Does This Paper Address?
The core challenge in diffusion-based generation is sampling speed. Standard diffusion models start from a sample of pure Gaussian noise and gradually refine it into an image. This "long-distance" journey from noise to data requires many iterations—measured in the Number of Function Evaluations (NFE)—to avoid errors.
Conversely, traditional MCMC methods (like Langevin dynamics) are theoretically capable of sampling directly from a distribution. However, they struggle with high-dimensional, multi-modal data like natural images. They often get "stuck" in a single mode (e.g., only generating one type of face) because high-probability regions are separated by vast "valleys" of low probability that the MCMC chain cannot easily cross.
Methods: The DMCMC Approach
The authors propose a hybrid approach that combines the best of both worlds.
- Product Space Sampling: Instead of just sampling in the data space $x$, they sample in a "product space" of data and noise levels $(x, \sigma)$.
- Denoising Langevin Gibbs (DLG): This specific algorithm alternates between two steps:
- Data Update: A standard Langevin step to move the sample $x$ based on the model's score function.
- Noise Level Update: A "Gibbs" step where a small, separately trained neural network (a noise level classifier) predicts the optimal noise level $\sigma$ for the current sample.
- The Denoising Step: Once the MCMC chain has run for a few steps, it provides an initialization point $(x_n, \sigma_n)$. Because MCMC naturally gravitates toward high-probability regions, $x_n$ is usually much closer to the "clean" image manifold than pure noise is. A standard diffusion solver (like an ODE or SDE integrator) then takes over to perform the final denoising from $\sigma_n$ down to zero.
Key Insights
- Mode Mixing via Noise: The key insight is that while MCMC gets stuck in clean data space, it mixes beautifully at higher noise levels where the distribution is smoother and modes are connected. By sampling in the joint $(x, \sigma)$ space, the chain can "tunnel" between modes by temporarily moving to a higher noise level.
- Reduced Integration Distance: Because the MCMC chain stays near the manifold, the starting noise level $\sigma_n$ for the final denoising is much lower than the maximum noise level $T$ used in standard diffusion. Shorter integration paths mean fewer discretization errors and faster generation.
- Orthogonal Improvement: DMCMC isn't a replacement for better ODE/SDE solvers; it's a better way to initialize them. The authors show that DMCMC accelerates all six different integrators they tested.
- Negligible Overhead: The noise level classifier used in the Gibbs step is a very shallow network. Its computational cost is roughly 100 to 1000 times less than a single evaluation of the main score network, making the acceleration practically "free."
Key Results
The researchers evaluated their method on standard image generation benchmarks (CIFAR10, CelebA-HQ-256, and FFHQ-1024). The results show significant improvements in both speed and quality, measured by Fréchet Inception Distance (FID):
- CIFAR10: Achieved a SOTA FID of 2.49 with only ~16 NFE. For comparison, other fast samplers typically require 20-50 NFE to reach similar quality.
- CelebA-HQ-256: Achieved an FID of 6.99 with ~160 NFE. This beats the previous best record for score-based models (7.16 FID), which required a staggering 4000 NFE.
- High-Resolution Scaling: The method successfully scaled to $1024 \times 1024$ images, showing visible improvements in sample quality over standard methods at fixed computational budgets.
Limitations and Future Work
Currently, DMCMC is demonstrated for unconditional and class-conditional generation. Extending this to guided diffusion (like using CLIP or other external classifiers to guide the generation) is an important next step. Additionally, while the empirical results for Denoising Langevin Gibbs are strong, a more rigorous theoretical analysis of its convergence properties remains an open area for future research.
Summary updated