Abstract
Diffusion models are the backbone of modern generative AI but suffer from slow sampling speeds due to their iterative nature. This paper introduces non-uniform diffusion models, where different parts of a data tensor diffuse at different rates. By employing a multi-scale architecture, this approach achieves a 4.4x speedup in sampling and superior image quality compared to uniform models. We also present a unified framework for conditional tasks, the Conditional Multi-speed Diffusive Estimator (CMDE).
Introduction
Standard diffusion models apply noise uniformly across all pixels, which is computationally inefficient. High-frequency details, such as hair texture, are lost to noise much earlier than low-frequency structures like head shape. "Non-Uniform Diffusion Models" addresses this by allowing different components to diffuse at varying speeds, optimizing the generative process and focusing computational resources where they are most needed.
Methods: Multi-Scale and Conditional Diffusion
The researchers transition from a scalar diffusion coefficient to a matrix-based approach, enabling two primary innovations:
Multi-Scale Diffusion
Using a Haar Wavelet Transform, images are decomposed into frequency scales. High-frequency "details" are diffused faster than low-frequency "approximations." As the forward process progresses, high-frequency components become noise quickly, allowing the model to focus on lower-dimensional structural data for the majority of the sampling timeline.
Conditional Multi-speed Diffusive Estimator (CMDE)
For conditional generation tasks like inpainting and super-resolution, CMDE diffuses both the target image ($x$) and the condition ($y$) at different speeds. This allows for a tunable balance between optimization error (learning difficulty) and approximation error (condition blurring), providing a theoretically grounded method for complex conditional tasks.
Experimental Results
The model was evaluated on ImageNet, CelebA-HQ, and Edges2shoes benchmarks, showing significant improvements across metrics:
- Sampling Speed: The multi-scale model is 4.4x faster than standard models at 128x128 resolution. This efficiency gain is expected to scale with higher resolutions.
- Image Quality: On CelebA-HQ, the model achieved an FID score of 31.8, a significant improvement over the vanilla model's 54.3, despite identical training times.
- Conditional Performance: CMDE consistently matched or outperformed state-of-the-art estimators in capturing the true data distribution for super-resolution and inpainting.
Discussion and Future Work
Non-uniform diffusion bridges the gap between diffusion models and multi-scale normalizing flows. While the current diffusion speeds are hyperparameters, future work may involve automated learning of these rates. The framework's potential extends to more complex conditioning, such as text-to-image generation, offering a more robust and efficient path for the next generation of generative models.
Summary updated