我们发现常见的扩散噪声调度并未强制最后一个时间步具有零信噪比(SNR),并且一些扩散采样器的实现并未从最后一个时间步开始。这类设计存在缺陷,未能反映模型在推理时接收到纯高斯噪声这一事实,从而造成训练与推理之间的不一致。我们表明,这种有缺陷的设计在现有实现中引发了实际问题。在 Stable Diffusion 中,它严重限制了模型只能生成中等亮度的图像,使其无法生成非常亮和非常暗的样本。我们提出几个简单的修复方法:(1)重新缩放噪声调度以强制实现零终端信噪比;(2)使用 v 预测训练模型;(3)修改采样器使其始终从最后一个时间步开始;(4)重新缩放无分类器引导以防止过度曝光。这些简单的更改确保扩散过程在训练和推理之间保持一致,并使模型能够生成更忠实于原始数据分布的样本。
英文摘要:
We discover that common diffusion noise schedules do not enforce the last timestep to have zero signal-to-noise ratio (SNR), and some implementations of diffusion samplers do not start from the last timestep. Such designs are flawed and do not reflect the fact that the model is given pure Gaussian noise at inference, creating a discrepancy between training and inference. We show that the flawed design causes real problems in existing implementations. In Stable Diffusion, it severely limits the model to only generate images with medium brightness and prevents it from generating very bright and dark samples. We propose a few simple fixes: (1) rescale the noise schedule to enforce zero terminal SNR; (2) train the model with v prediction; (3) change the sampler to always start from the last timestep; (4) rescale classifier-free guidance to prevent over-exposure. These simple changes ensure the diffusion process is congruent between training and inference and allow the model to generate samples more faithful to the original data distribution.
AsyncDSB: Schedule-Asynchronous Diffusion Schrödinger Bridge for Image Inpainting
Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));ShenZhen SiFar Co., Ltd.(深圳思远有限公司);Centre for Frontier AI Research(前沿人工智能研究中心);Shengshu AI(圣树人工智能)
Evolving Cache Schedules for Fast Diffusion Policy Inference
School of Telecommunications Engineering, Xidian University(西安电子科技大学通信工程学院);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院)
Channel-wise Noise Scheduled Diffusion for Inverse Rendering in Indoor Scenes
Korea Institute of Science and Technology(KIST)(韩国科学技术研究院);Korea University(高丽大学);University of Science and Technology(科学技术大学);Yonsei-KIST Convergence Research Institute(延世-韩国科学技术研究院融合研究所)
Schedule On the Fly: Diffusion Time Prediction for Faster and Better Image Generation
Westlake University(西湖大学);South China University of Technology(华南理工大学);Peking University(北京大学);Institute of Advanced Technology, Westlake Institute for Advanced Study(西湖高等研究院先进技术研究院)
Energy-Conditioned Noise Schedule and Whitening for Spectral Diffusion
University of Nis, Faculty of Electronic Engineering(尼什大学电子工程学院);University MB, Information Technology department(MB大学信息技术学院);University of Arizona, Electrical & Computer Engineering (ECE) department(亚利桑那大学电气与计算机工程系)
Hierarchical Schedule Optimization for Fast and Robust Diffusion Model Sampling
School of Computer Science and Engineering, Macau University of Science and Technology(澳门科学技术大学计算机科学与工程学院);Beijing Institute of Technology(北京理工大学);Zhejiang University(浙江大学)
Class-frequency Guided Noise Schedule for Diffusion Models
Hefei University of Technology(合肥工业大学);University of Science and Technology of China(中国科学技术大学);The University of Hong Kong(香港大学);The Chinese University of Hong Kong(香港中文大学);Nanyang Technological University(南洋理工大学)
Unifying Heterogeneous Degradations: Uncertainty-Aware Diffusion Bridge Model for All-in-One Image Restoration
School of Intelligent Systems Engineering, Shenzhen Campus of Sun Yat-sen University, Shenzhen, Guangdong 518107, China(中山大学智能系统工程学院深圳校区);Department of Frontier Research, Peng Cheng Laboratory, Shenzhen, Guangdong 518055, China(鹏城实验室前沿研究部);Guangdong Provincial Key Laboratory of Fire Science and Technology, Guangzhou 510006, China(广东省消防科学与技术重点实验室)
Automated Tuning for Diffusion Inverse Problem Solvers without Generative Prior Retraining
Department of Electrical \& Computer Engineering, University of Minnesota, MN, USA;Center for Magnetic Resonance Research, University of Minnesota, MN, USA
Geodesic Diffusion Models for Efficient Medical Image Enhancement
Department of Electrical and Computer Engineering, University of Florida(电气与计算机工程系,佛罗里达大学);Department of Biomedical Engineering, University of Florida(生物医学工程系,佛罗里达大学);Department of Medicine, University of Florida(医学系,佛罗里达大学);Intelligent Clinical Care Center, University of Florida(智能临床护理中心,佛罗里达大学)
Center for Advanced Systems Understanding (CASUS)(先进系统理解中心);Helmholtz-Zentrum Dresden-Rossendorf e. V. (HZDR)(德累斯顿-罗斯托克亥姆霍尔茨研究中心);Department of Computing, Imperial College London(伦敦帝国理工学院计算机系);Bladder Infection and Immunity Group (BIIG), UCL Centre for Kidney and Bladder Health(膀胱感染与免疫组(BIIG),UCL肾与膀胱健康中心);Division of Medicine, University College London(伦敦大学学院医学系);Institute of Computer Science, University of Wrocław(沃斯克大学计算机科学研究所)
Divide and Conquer: Heterogeneous Noise Integration for Diffusion-based Adversarial Purification
School of Electronic, Electrical and Communication Engineering, UCAS(中国科学院大学电子电气与通信工程学院);Tencent Corporate(腾讯公司);Institute of Computing Technology, CAS(中国科学院计算技术研究所);School of Computer Science and Technology, UCAS(中国科学院大学计算机科学与技术学院)