Improved Noise Schedule for Diffusion Training

Tiankai Hang, Shuyang Gu · DOI

Abstract

Training diffusion models is computationally intensive, requiring millions of iterations to learn denoising across various scales. This paper identifies the noise schedule—the function determining noise levels at each training step—as a critical but underexplored factor in training efficiency. By reframing noise schedule design as a probability distribution problem, the authors propose a Laplace-based schedule that concentrates training on the "mid-range" noise levels where signal and noise are balanced ($\log \text{SNR} = 0$). This simple, plug-and-play modification yields significant improvements, including a 26.6% reduction in FID on ImageNet-256 and a 2x speedup in convergence.

Introduction

Diffusion models have become the state-of-the-art for generative tasks but remain "compute-hungry." While previous research has focused on architectural optimizations or loss weighting, this work investigates the impact of the noise schedule. Standard schedules, like the Cosine schedule, may not optimally distribute the model's learning capacity across the SNR spectrum. The authors argue that by strategically choosing which noise levels the model sees most frequently, one can drastically improve training outcomes without changing the underlying architecture or loss function.

Methodology: The Laplace Noise Schedule

The authors propose a unified framework where the noise schedule is treated as a probability distribution $p(\lambda)$ over the log Signal-to-Noise Ratio ($\lambda = \log \text{SNR}$). They demonstrate that changing the noise schedule is mathematically equivalent to importance sampling of different noise levels.

Comparison of various noise schedule distributions $p(\lambda)$ over log SNR ($\lambda$).

As shown in Figure 1, the proposed Laplace schedule allows for "peaking" the training frequency around a specific noise level. Specifically, the authors find that focusing on the transition point where $\log \text{SNR} = 0$ is most beneficial. Implementation involves mapping a uniform timestep $t$ to the desired noise level $\lambda$ using the inverse cumulative distribution function (CDF) of the Laplace distribution.

Experimental Evaluation

The approach was validated on ImageNet (256x256 and 512x512), CelebA, and the large-scale CC12M dataset. The Laplace schedule consistently outperformed standard baselines and other efficiency techniques like Min-SNR and Flow Matching.

FID-10k performance over training iterations comparing the Laplace schedule against baselines at different CFG scales.

On ImageNet-256, the Laplace schedule achieved an FID of 7.96, a 26.6% improvement over the Cosine baseline's 10.85. Furthermore, as illustrated in Figure 2, models using the Laplace schedule reached better image quality in 200k iterations than the baseline achieved in 500k iterations, effectively doubling training efficiency.

Key Insights and Discussion

A central finding is that the "mid-range" noise levels are critical for learning; allocating more FLOPs to these levels via sampling is more effective than simply increasing their loss weight. The Laplace schedule proved robust across different prediction targets ($\epsilon, x_0, v$).

However, the method introduces a new hyperparameter: the scale $b$ of the Laplace distribution, which requires tuning based on image resolution (e.g., $b=0.5$ for 256px vs. $b=0.75$ for 512px). Future work may explore optimal compute allocation during the inference phase and the scaling behavior of this method on extremely large models.

Conclusion

By optimizing the distribution of noise levels during training, the Laplace schedule provides a simple yet powerful tool to enhance the efficiency and quality of diffusion models. This research highlights the importance of the noise schedule as a primary lever in generative model training.

Summary updated

BibTeX
@misc{hang2024improved,
  author = {Tiankai Hang and Shuyang Gu},
  title = {{Improved Noise Schedule for Diffusion Training}},
  year = {2024},
  eprint = {2407.03297},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.03297},
}
Figure