HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Negative-prompt Inversion: Fast Image Inversion for Editing with Text-guided Diffusion Models

Daiki Miyake; Akihiro Iohara; Yu Saito; Toshiyuki Tanaka

Negative-prompt Inversion: Fast Image Inversion for Editing with Text-guided Diffusion Models

Abstract

In image editing employing diffusion models, it is crucial to preserve the reconstruction fidelity to the original image while changing its style. Although existing methods ensure reconstruction fidelity through optimization, a drawback of these is the significant amount of time required for optimization. In this paper, we propose negative-prompt inversion, a method capable of achieving equivalent reconstruction solely through forward propagation without optimization, thereby enabling ultrafast editing processes. We experimentally demonstrate that the reconstruction fidelity of our method is comparable to that of existing methods, allowing for inversion at a resolution of 512 pixels and with 50 sampling steps within approximately 5 seconds, which is more than 30 times faster than null-text inversion. Reduction of the computation time by the proposed method further allows us to use a larger number of sampling steps in diffusion models to improve the reconstruction fidelity with a moderate increase in computation time.

Benchmarks

BenchmarkMethodologyMetrics
text-based-image-editing-on-pie-benchNegative-Prompt Inversion+Prompt-to-Prompt
Background LPIPS: 69.01
Background PSNR: 26.21
CLIPSIM: 24.61
Structure Distance: 16.17

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
Negative-prompt Inversion: Fast Image Inversion for Editing with Text-guided Diffusion Models | Papers | HyperAI