DeepInv: A Novel Self-supervised Learning Approach for Fast and Accurate Diffusion Inversion
Ziyue Zhang, Luxi Lin, Xiaolin Hu, Chao Chang, HuaiXi Wang, Yiyi Zhou, Rongrong Ji
TL;DR
DeepInv tackles the lack of supervision in diffusion inversion by learning a trainable, stepwise inversion solver in a self-supervised framework. It builds pseudo labels via a fixed-point, denoising-consistent objective and fuses them with forward-denoising signals in a multi-scale, iterative training regime. A dual-branch solver architecture leverages pretrained priors and image-conditioned refinement, enabling high-fidelity inversions with orders-of-magnitude speedups over prior methods and improving downstream editing when integrated into existing pipelines. The approach demonstrates substantial gains on COCO and PIE-Bench datasets and provides a practical, open-source path toward fast, controllable diffusion-based image editing.
Abstract
Diffusion inversion is a task of recovering the noise of an image in a diffusion model, which is vital for controllable diffusion image editing. At present, diffusion inversion still remains a challenging task due to the lack of viable supervision signals. Thus, most existing methods resort to approximation-based solutions, which however are often at the cost of performance or efficiency. To remedy these shortcomings, we propose a novel self-supervised diffusion inversion approach in this paper, termed Deep Inversion (DeepInv). Instead of requiring ground-truth noise annotations, we introduce a self-supervised objective as well as a data augmentation strategy to generate high-quality pseudo noises from real images without manual intervention. Based on these two innovative designs, DeepInv is also equipped with an iterative and multi-scale training regime to train a parameterized inversion solver, thereby achieving the fast and accurate image-to-noise mapping. To the best of our knowledge, this is the first attempt of presenting a trainable solver to predict inversion noise step by step. The extensive experiments show that our DeepInv can achieve much better performance and inference speed than the compared methods, e.g., +40.435% SSIM than EasyInv and +9887.5% speed than ReNoise on COCO dataset. Moreover, our careful designs of trainable solvers can also provide insights to the community. Codes and model parameters will be released in https://github.com/potato-kitty/DeepInv.
