Lightning-Fast Image Inversion and Editing for Text-to-Image Diffusion Models
Dvir Samuel, Barak Meiri, Haggai Maron, Yoad Tewel, Nir Darshan, Shai, Avidan, Gal Chechik, Rami Ben-Ari

TL;DR
This paper introduces a fast, guided Newton-Raphson based method for image inversion in diffusion models, enabling real-time image editing and interpolation with high accuracy and efficiency.
Contribution
It formulates diffusion inversion as a root-finding problem and develops a guided Newton-Raphson method that achieves rapid, high-quality reconstructions and edits in diffusion models.
Findings
Inverts images within 0.4 seconds on an A100 GPU.
Achieves high-quality image reconstructions and edits.
Improves image interpolation and rare object generation.
Abstract
Diffusion inversion is the problem of taking an image and a text prompt that describes it and finding a noise latent that would generate the exact same image. Most current deterministic inversion techniques operate by approximately solving an implicit equation and may converge slowly or yield poor reconstructed images. We formulate the problem by finding the roots of an implicit equation and devlop a method to solve it efficiently. Our solution is based on Newton-Raphson (NR), a well-known technique in numerical analysis. We show that a vanilla application of NR is computationally infeasible while naively transforming it to a computationally tractable alternative tends to converge to out-of-distribution solutions, resulting in poor reconstruction and editing. We therefore derive an efficient guided formulation that fastly converges and provides high-quality reconstructions and editing.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsAdvanced Mathematical Modeling in Engineering · Model Reduction and Neural Networks
MethodsDiffusion
