atlas

Research map / Image generation / Editing and style transfer

PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code

ICLR 2024 · Image generation › Editing and style transfer · approach: Inversion-based diffusion editing · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Direct Inversion, a 3-line, optimization-free inversion correction that disentangles source and target diffusion branches for diffusion-based image editing, and introduces the PIE-Bench editing benchmark.

Problem

Diffusion-based image editing requires accurate inversion of a real source image into diffusion latents; existing optimization-based inversion methods (e.g., Null-Text Inversion) are slow and push learned embeddings off the model's input distribution, hurting both content preservation and edit fidel

Approach

Disentangle source and target branches: add the source-branch inversion residual (z*_t - z''_t) back to the source latent only, leaving the target branch unaltered, so no optimization is needed and the model's input distribution is preserved.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
disentangle source and target branches by leaving the target branch unaltered (ablation)Null-Text Inversion · PIE-Bench, P2PEdited-region CLIP similarity: 21.86 -> 22.11Helped
add source-branch inversion distance at scale 1 (ablation)Direct Inversion · PIE-Bench, P2PStructure Distance ×10³: 13.44 -> 11.65Helped
increase the added source-distance scale from 0.4 to 0.8 (ablation)Direct Inversion · PIE-Bench, P2PStructure Distance ×10³: 13.55 -> 11.90Helped
add source distance to the target latent (ablation)Direct Inversion · PIE-Bench, target-latent ablationEdited-region CLIP similarity: 22.10 -> 21.88Hurt
add target distance to the target latent (ablation)Direct Inversion · PIE-Bench, target-latent ablationEdited-region CLIP similarity: 22.10 -> 20.27Hurt
use inverse guidance scale 2.5 and forward guidance scale 7.5 (ablation)Direct Inversion · PIE-Bench, guidance-scale ablationEdited-region CLIP similarity: 22.10 -> 22.15Helped
replace DDIM inversion with Direct InversionP2P · PIE-Bench, P2PBackground LPIPS ×10³: 208.80 -> 54.55Helped
replace DDIM inversion with Direct InversionMasaCtrl · PIE-Bench, MasaCtrlStructure Distance ×10³: 28.38 -> 24.70Helped
replace DDIM inversion with Direct InversionP2P-Zero · PIE-Bench, P2P-ZeroEdited-region CLIP similarity: 20.54 -> 21.05Helped
replace DDIM inversion with Direct InversionPnP · PIE-Bench, PnPEdited-region CLIP similarity: 22.55 -> 22.62Helped
use Direct Inversion instead of Null-Text InversionP2P · PIE-Bench, P2PInference time (s): 148.48 -> 28.17Helped

Surprising findings

Limitations

Experimental setup

Datasets: PIE-Bench

Benchmarks: PIE-Bench

Metrics: structure distance PSNR LPIPS MSE SSIM CLIP similarity (whole image) CLIP similarity (edited region) inference time

Baselines: DDIM inversion Null-Text Inversion Negative-Prompt Inversion StyleDiffusion Edit Friendly DDPM EDICT Proximal Guidance InstructPix2Pix InstructDiffusion Blended Latent Diffusion

Builds on: DDIM inversion Null-Text Inversion Prompt-to-Prompt Negative-Prompt Inversion StyleDiffusion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy