HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Inversion-Free Image Editing with Natural Language

Sihan Xu; Yidong Huang; Jiayi Pan; Ziqiao Ma; Joyce Chai

Inversion-Free Image Editing with Natural Language

Abstract

Despite recent advances in inversion-based editing, text-guided image manipulation remains challenging for diffusion models. The primary bottlenecks include 1) the time-consuming nature of the inversion process; 2) the struggle to balance consistency with accuracy; 3) the lack of compatibility with efficient consistency sampling methods used in consistency models. To address the above issues, we start by asking ourselves if the inversion process can be eliminated for editing. We show that when the initial sample is known, a special variance schedule reduces the denoising step to the same form as the multi-step consistency sampling. We name this Denoising Diffusion Consistent Model (DDCM), and note that it implies a virtual inversion strategy without explicit inversion in sampling. We further unify the attention control mechanisms in a tuning-free framework for text-guided editing. Combining them, we present inversion-free editing (InfEdit), which allows for consistent and faithful editing for both rigid and non-rigid semantic changes, catering to intricate modifications without compromising on the image's integrity and explicit inversion. Through extensive experiments, InfEdit shows strong performance in various editing tasks and also maintains a seamless workflow (less than 3 seconds on one single A40), demonstrating the potential for real-time applications. Project Page: https://sled-group.github.io/InfEdit/

Code Repositories

sled-group/InfEdit
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
text-based-image-editing-on-pie-benchVirtual Inversion+Prompt-to-Prompt+LCM
Background LPIPS: 55.85
Background PSNR: 26.64
CLIPSIM: 24.57
Structure Distance: 15.61
text-based-image-editing-on-pie-benchVirtual Inversion+Prompt-to-Prompt
Background LPIPS: 47.98
Background PSNR: 27.52
CLIPSIM: 24.89
Structure Distance: 14.22
text-based-image-editing-on-pie-benchVirtual Inversion+Unified Attention Control+LCM
Background LPIPS: 47.58
Background PSNR: 28.51
CLIPSIM: 25.03
Structure Distance: 13.78

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp