Diagnosing and Improving Diffusion Models by Estimating the Optimal Loss Value
Yixian Xu, Shengjie Luo, Liwei Wang, Di He, Chang Liu
Abstract
Diffusion models have achieved remarkable success in generative modeling. Despite more stable training, the loss of diffusion models is not indicative of absolute data-fitting quality, since its optimal value is typically not zero but unknown, leading to the confusion between large optimal loss and insufficient model capacity. In this work, we advocate the need to estimate the optimal loss value for diagnosing and improving diffusion models. We first derive the optimal loss in closed form under a unified formulation of diffusion models, and develop effective estimators for it, including a stochastic variant scalable to large datasets with proper control of variance and bias. With this tool, we unlock the inherent metric for diagnosing training quality of mainstream diffusion model variants, and develop a more performant training schedule based on the optimal loss. Moreover, using models with 120M to 1.5B parameters, we find that the power law is better demonstrated after subtracting the optimal loss from the actual training loss, suggesting a more principled setting for investigating the scaling law for diffusion models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d70a633b-105e-488d-8ea1-594372189b69Cited by top-tier papers1
Ask how each one uses itBuilds on30
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 citations
Related papers
- Towards Precise Scaling Laws for Video Diffusion TransformersYuanyang Yin, Yaqi Zhao, Mingwu Zheng, Ke Lin et al.CVPR 2025
- Rényi Diffusion ModelsYirong Shen, Lu GAN, Cong LingICML 2026 · 4 citations
- Simple Denoising Diffusion Language ModelsHuaisheng Zhu, Zhengyu Chen, Shijie Zhou, Zhihui Xie et al.ICML 2026 · 1 citation
- Scaling Laws for Diffusion TransformersZhengyang Liang, Hao He, Ceyuan Yang, Bo DaiICLR 2026 · 33 citations
- Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic ModelsFan Bao, Chongxuan Li, Jiacheng Sun, Jun Zhu et al.ICML 2022 · 89 citations
