Lune

ICCV2023Top-tier venue

Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion Models

Wenkai Dong, Song Xue, Xiaoyue Duan, Shumin Han

Abstract

Recently large-scale language-image models (e.g., text-guided diffusion models) have considerably improved the image generation capabilities to generate photorealistic images in various domains. Based on this success, current image editing methods use texts to achieve intuitive and versatile modification of images. To edit a real image using diffusion models, one must first invert the image to a noisy latent from which an edited image is sampled with a target text prompt. However, most methods lack one of the following: user-friendliness (e.g., additional masks or precise descriptions of the input image are required), generalization to larger domains, or high fidelity to the input image. In this paper, we design an accurate and quick inversion technique, Prompt Tuning Inversion, for text-driven image editing. Specifically, our proposed editing method consists of a reconstruction stage and an editing stage. In the first stage, we encode the information of the input image into a learnable conditional embedding via Prompt Tuning Inversion. In the second stage, we apply classifier-free guidance to sample the edited image, where the conditional embedding is calculated by linearly interpolating between the target embedding and the optimized one obtained in the first stage. This technique ensures a superior trade-off between editability and high fidelity to the input image of our method. For example, we can change the color of a specific object while preserving its original shape and background under the guidance of only a target text prompt. Extensive experiments on ImageNet demonstrate the superior editing performance of our method compared to the state-of-the-art baselines.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

52 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code
  • UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites Learning Transferable Visual Models From Natural Language Supervision
  • UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites Denoising Diffusion Probabilistic Models
  • UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow Models cites Denoising Diffusion Implicit Models
  • Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • I2EBench: A Comprehensive Benchmark for Instruction-based Image Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
  • I2EBench: A Comprehensive Benchmark for Instruction-based Image Editing cites Learning Transferable Visual Models From Natural Language Supervision
  • I2EBench: A Comprehensive Benchmark for Instruction-based Image Editing cites Denoising Diffusion Probabilistic Models
  • I2EBench: A Comprehensive Benchmark for Instruction-based Image Editing cites Denoising Diffusion Implicit Models
  • DiT4Edit: Diffusion Transformer for Image Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
  • DiT4Edit: Diffusion Transformer for Image Editing cites PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code
  • DiT4Edit: Diffusion Transformer for Image Editing cites Denoising Diffusion Implicit Models
  • Video-P2P: Video Editing with Cross-Attention Control cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Video-P2P: Video Editing with Cross-Attention Control cites Learning Transferable Visual Models From Natural Language Supervision
  • Video-P2P: Video Editing with Cross-Attention Control cites Denoising Diffusion Probabilistic Models
  • Video-P2P: Video Editing with Cross-Attention Control cites Denoising Diffusion Implicit Models
  • PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code cites High-Resolution Image Synthesis with Latent Diffusion Models
  • PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code cites Diffusion Models Beat GANs on Image Synthesis
  • PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code cites Video-P2P: Video Editing with Cross-Attention Control
  • PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code cites Learning Transferable Visual Models From Natural Language Supervision
  • PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of Code cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers52

  1. PnP Inversion: Boosting Diffusion-based Editing with 3 Lines of CodeXuan Ju, Ailing Zeng, Yuxuan Bian, Shaoteng Liu et al.ICLR 2024 · 166 citations
  2. Video-P2P: Video Editing with Cross-Attention ControlShaoteng Liu, Yuechen Zhang, Wenbo Li, Zhe Lin et al.CVPR 2024 · 99 citations
  3. DiT4Edit: Diffusion Transformer for Image EditingKunyu Feng, Yue Ma, Bingyuan Wang, Chenyang Qi et al.AAAI 2025 · 92 citations
  4. I2EBench: A Comprehensive Benchmark for Instruction-based Image EditingYiwei Ma, Jiayi Ji, Ke Ye, Weihuang Lin et al.NeurIPS 2024 · 67 citations
  5. UniEdit-Flow: Unleashing Inversion and Editing in the Era of Flow ModelsGuanlong Jiao, Biqing Huang, Kuan-Chieh Wang, Renjie LiaoICLR 2026 · 42 citations

Builds on30

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. SINE: SINgle Image Editing with Text-to-Image Diffusion ModelsZhixing Zhang, Ligong Han, Arnab Ghosh, Dimitris N. Metaxas et al.CVPR 2023
  2. Editable Noise Map Inversion: Encoding Target-image into Noise For High-Fidelity Image ManipulationMingyu Kang, Yong Suk ChoiICML 2025
  3. DiffEdit: Diffusion-based semantic image editing with mask guidanceGuillaume Couairon, Jakob Verbeek, Holger Schwenk, Matthieu CordICLR 2023 · 102 citations
  4. Training-Free Text-Guided Image Editing with Visual Autoregressive ModelYufei Wang, Lanqing Guo, Zhihao Li, Jiaxing Huang et al.ICCV 2025
  5. Zero-shot Image-to-Image TranslationGaurav Parmar, Krishna Kumar Singh, Richard Zhang, Yijun Li et al.SIGGRAPH 2023 · 355 citations
Dusk over the sea between two cliffs drawn in fine vertical lines