Abstract
Diffusion Models (DMs) have emerged as the premier framework for high-fidelity image generation, yet their training remains computationally prohibitive. This paper investigates a unique "consistency phenomenon" in DMs: the observation that different model architectures and initializations tend to produce nearly identical images when starting from the same initial noise. By analyzing this phenomenon, we reveal that DMs possess an exceptionally smooth loss landscape compared to other generative models like GANs. Leveraging these insights, we introduce two novel optimization strategies—Curriculum Learning based Timestep Schedule (CLTS) and Momentum Decay with Learning Rate Compensation (MDLRC)—which accelerate training by up to 2.6x while simultaneously improving final image quality.
Introduction
While Diffusion Models (DMs) power industry-leading tools like Stable Diffusion and Midjourney, they are notoriously "compute-hungry." Training a high-resolution DM from scratch often requires 4 to 8 times more GPU hours than previous architectures like Generative Adversarial Networks (GANs). While fine-tuning techniques like LoRA have mitigated costs for specific tasks, the fundamental bottleneck of training from scratch persists. This research explores the mathematical properties of the DM learning process to identify opportunities for significant acceleration.
The Consistency Phenomenon
The core discovery of this work is the "consistency phenomenon." When two distinct DMs—differing in weights, layers, or even architecture—are provided with the same block of random noise, they generate strikingly similar images. This stability is unique to DMs; in GANs, different initializations lead to vastly different outputs from the same latent seed.
This phenomenon suggests that DMs follow a very smooth, well-defined mapping from noise to data. Using Hessian spectrum analysis, we confirmed that DMs have a much smoother loss landscape than GANs. This smoothness explains why standard high-momentum settings, originally optimized for the more volatile landscapes of GANs, can actually be counterproductive for DMs, leading to overshooting and oscillation.
Proposed Optimization Strategies
1. Curriculum Learning based Timestep Schedule (CLTS)
In DMs, the model learns to reverse noise across a range of timesteps. We observed that learning is significantly easier at high noise levels (where global structure is established) than at intermediate levels (where fine details are refined). CLTS treats this as a curriculum, gradually shifting training focus from "easy" high-noise timesteps to the more critical intermediate timesteps. This reduces redundant computation on already-learned global structures.
2. Momentum Decay with Learning Rate Compensation (MDLRC)
Given the extreme smoothness of the DM loss landscape, high momentum often causes the optimizer to oscillate. MDLRC gradually reduces the momentum coefficient as training progresses. To maintain stability in the model's moving average, we simultaneously adjust the learning rate, ensuring the optimizer remains efficient without overshooting the local minima.
Experimental Results
We evaluated our methods on standard benchmarks including CIFAR-10, ImageNet-128, and ImageNet-512 (using U-ViT architectures). The results demonstrate significant efficiency gains:
- Acceleration: We achieved a 2.6x speedup on ImageNet-128 and a 2x speedup on CIFAR-10 compared to standard training baselines.
- Image Quality: Despite faster convergence, the models achieved superior FID scores. On ImageNet-128, our method reached an FID of 7.24 at 1M iterations, significantly outperforming the standard Guided Diffusion baseline, which remained at 17.18 at the same point.
- Robustness: The consistency phenomenon was found to be tied to $\epsilon$-prediction (predicting noise). When models were trained to predict the original image ($x_0$) directly, consistency vanished and training stability decreased, reinforcing the importance of the noise-prediction objective.
Conclusion
By identifying and exploiting the consistency phenomenon and the resulting smooth loss landscape of DMs, we have developed optimization strategies that substantially reduce training time without sacrificing quality. These findings suggest that the inherent stability of DMs allows for more aggressive and tailored optimization schedules than previously thought, paving the way for more accessible large-scale generative modeling.
Summary updated