TL;DR
Directly Denoising Diffusion Models (DDDM) simplify the generative pipeline by learning to map noisy data to clean images in a single step, without the need for complex ODE solvers or teacher-student distillation. By iteratively refining an estimated target during training and inference, DDDM achieves state-of-the-art results on benchmark datasets, producing high-fidelity images in just one or two steps while still benefiting from multi-step sampling.
What Problem Does This Paper Address?
Standard Diffusion Models (DMs) are famous for their high-quality image generation but infamous for their glacial sampling speeds. Generating a single image typically requires hundreds or thousands of sequential denoising steps.
To speed this up, researchers usually take one of two paths:
- Fast Solvers: Using advanced numerical methods to solve the underlying Ordinary Differential Equations (ODEs) in fewer steps. However, these often struggle to maintain quality at extremely low step counts (like 1-step generation).
- Distillation: Training a "student" model to mimic a pre-trained "teacher" model. This works well for 1-step generation but adds massive computational overhead and ties the student's performance to the quality of the teacher.
The authors of this paper ask: Can we create a model that is inherently fast, requires no teacher model, and doesn't need a complex ODE solver?
Methods
The core innovation is the Directly Denoising Diffusion Model (DDDM). Instead of trying to approximate the path of the noise-to-data transition using a solver, DDDM learns to estimate the solution to the probability flow ODE integral directly.
Key components include:
- Iterative Estimation: The model ($F_\theta$) is trained to predict the difference between the noisy state ($x_t$) and the clean state ($x_0$). Crucially, it takes an estimate of the target from the previous iteration as an input. This allows the model to refine its guess over time, effectively "learning" the iterative denoising process.
- Pseudo-LPIPS Loss: Standard losses like $L_1$ or $L_2$ often fail to capture human perceptual nuances, while LPIPS can be sensitive to outliers. The authors propose Pseudo-LPIPS, inspired by the Pseudo-Huber loss: $\text{Pseudo-LPIPS} = \sqrt{\text{LPIPS} + c^2} - c$. This provides a more balanced error emphasis and increased sensitivity to subtle perceptual variances.
- Unified Framework: The same architecture is used for both training and sampling. In sampling, the model starts with random noise and can either produce an image in one "shot" or use its own previous output to refine the image over multiple steps.
Datasets
The authors evaluated DDDM on two standard computer vision benchmarks:
- CIFAR-10: A dataset of 60,000 32x32 color images across 10 classes.
- ImageNet 64x64: A downsampled version of the massive ImageNet dataset, used here for class-conditional generation.
No new datasets were introduced, but the authors provide a rigorous comparison against a wide array of existing GANs, distillation-based models, and fast-sampling diffusion variants.
Key Insights and Ideas
- Bypassing the "Teacher": Unlike Consistency Models or Progressive Distillation, DDDM is trained from scratch. It doesn't need a pre-trained 1000-step model to guide it, which simplifies the training pipeline significantly.
- The Power of Self-Conditioning: By feeding the model its own previous estimate of $x_0$, the authors turn a standard feed-forward pass into a dynamic system. This allows the model to "correct" its own mistakes as it moves through the denoising process.
- Robustness via Pseudo-LPIPS: The ablation studies show that Pseudo-LPIPS is a major driver of performance. It prevents the model from over-focusing on large pixel-wise errors and instead encourages the generation of perceptually convincing textures and details.
Key Results
DDDM demonstrates that "simple" can be "better":
- CIFAR-10 Performance: It achieved a Fréchet Inception Distance (FID) of 2.57 in a single step, and 2.33 in two steps. This outperforms many GANs and complex distillation models. When allowed to run for 1000 steps, the FID dropped to 1.79, matching state-of-the-art iterative models.
- ImageNet 64x64: The model remained highly competitive, achieving a 1-step FID of 4.21 and a 1000-step FID of 2.11.
- Efficiency: Because it doesn't require an ODE solver, the computational cost per step is lower than many competing "fast" diffusion methods.
Limitations and Future Work
- Memory Overhead: During training, DDDM needs to keep track of the estimated $x_0$ for each sample in the dataset. This adds a significant memory requirement (e.g., ~29.5GB for ImageNet 64x64), which might be prohibitive for researchers with limited hardware or for very high-resolution images.
- Evaluation Bias: The authors honestly note that because LPIPS and the Inception network (used for FID) both rely on ImageNet-trained features, there is a potential for "feature leakage" that might slightly inflate scores on ImageNet-based tasks.
- Continuous-Time Extension: The current work focuses on discrete steps. The authors suggest that adapting DDDM to a continuous-time setting could further unlock its potential for even more flexible sampling.
Summary updated