Dual-Schedule Inversion: Training- and Tuning-Free Inversion for Real Image Editing
Jiancheng Huang, Yi Huang, Jianzhuang Liu, Donghao Zhou, Yifan Liu, Shifeng Chen
TL;DR
This work tackles real-image editing with diffusion models by addressing reconstruction failures of DDIM Inversion. It introduces Dual-Schedule Inversion, which uses a primary and an auxiliary time schedule for both inversion and sampling to guarantee reversibility without fine-tuning, and couples it with an editing task classifier to automatically select among editing strategies. The approach yields superior reconstruction fidelity and editing quality across multiple tasks, achieving performance close to an upper bound and enabling user-friendly, semantically faithful edits. By integrating with existing editing methods (e.g., P2P, MasaCtrl, SDEdit) and automating task selection, the method holds practical promise for robust real-image editing in real-world applications.
Abstract
Text-conditional image editing is a practical AIGC task that has recently emerged with great commercial and academic value. For real image editing, most diffusion model-based methods use DDIM Inversion as the first stage before editing. However, DDIM Inversion often results in reconstruction failure, leading to unsatisfactory performance for downstream editing. To address this problem, we first analyze why the reconstruction via DDIM Inversion fails. We then propose a new inversion and sampling method named Dual-Schedule Inversion. We also design a classifier to adaptively combine Dual-Schedule Inversion with different editing methods for user-friendly image editing. Our work can achieve superior reconstruction and editing performance with the following advantages: 1) It can reconstruct real images perfectly without fine-tuning, and its reversibility is guaranteed mathematically. 2) The edited object/scene conforms to the semantics of the text prompt. 3) The unedited parts of the object/scene retain the original identity.
