Diffusion probabilistic models (DPMs) are a key component in modern generative models. DPM-solvers have achieved reduced latency and enhanced quality significantly, but have posed challenges to find the exact inverse (i.e., finding the initial noise from the given image). Here we investigate the exact inversions for DPM-solvers and propose algorithms to perform them when samples are generated by the first-order as well as higher-order DPM-solvers. For each explicit denoising step in DPM-solvers, we formulated the inversions using implicit methods such as gradient descent or forward step method to ensure the robustness to large classifier-free guidance unlike the prior approach using fixed-point iteration. Experimental results demonstrated that our proposed exact inversion methods significantly reduced the error of both image and noise reconstructions, greatly enhanced the ability to distinguish invisible watermarks and well prevented unintended background changes consistently during image editing. Project page: \url{https://smhongok.github.io/inv-dpm.html}.
DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models
Dept. of Comp. Sci. & Tech., Institute for AI, BNRist Center, THBI Lab(计算机科学与技术系,人工智能研究院,BNRist中心,THBI实验室);Tsinghua-Bosch Joint ML Center, Tsinghua University, Beijing, 100084 China(清华大学-博世联合机器学习中心,清华大学,北京,100084中国);Gaoling School of Artificial Intelligence, Renmin University of China(北京人工智能学院,中国人民大学);Beijing Key Laboratory of Big Data Management and Analysis Methods, Beijing, China(北京大数据管理与分析方法重点实验室,北京,中国)
Accelerating Diffusion Sampling with Optimized Time Steps
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Electronic Science and Technology of China(电子科技大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)
Stable and Near-Reversible Diffusion ODE Solvers for Image Editing
Department of Computing, Imperial College London, London, United Kingdom(帝国理工学院伦敦分校计算机系,伦敦,英国);Department of Mathematics, Imperial College London, London, United Kingdom(帝国理工学院伦敦分校数学系,伦敦,英国)
Peking University(北京大学);The Hong Kong University of Science and Technology(香港科技大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))