Improving Tuning-Free Real Image Editing with Proximal Guidance

Ligong Han, Song Wen, Qi Chen, Zhixing Zhang, Kunpeng Song +11 more
6/8/2023
cs.CV

No official code found. Best implementation: phymhan/prompt-to-prompt (80 stars, Apache-2.0, last commit 2023-12-23).

Abstract

DDIM inversion has revealed the remarkable potential of real image editing within diffusion-based methods. However, the accuracy of DDIM reconstruction degrades as larger classifier-free guidance (CFG) scales being used for enhanced editing. Null-text inversion (NTI) optimizes null embeddings to align the reconstruction and inversion trajectories with larger CFG scales, enabling real image editing with cross-attention control. Negative-prompt inversion (NPI) further offers a training-free closed-form solution of NTI. However, it may introduce artifacts and is still constrained by DDIM reconstruction quality. To overcome these limitations, we propose proximal guidance and incorporate it to NPI with cross-attention control. We enhance NPI with a regularization term and reconstruction guidance, which reduces artifacts while capitalizing on its training-free nature. Additionally, we extend the concepts to incorporate mutual self-attention control, enabling geometry and layout alterations in the editing process. Our method provides an efficient and straightforward approach, effectively addressing real image editing tasks with minimal computational overhead.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
802Python, Jupyter NotebookJun 6, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{han2023improving,
  title  = {Improving Tuning-Free Real Image Editing with Proximal Guidance},
  author = {Ligong Han and Song Wen and Qi Chen and Zhixing Zhang and Kunpeng Song and Mengwei Ren and Ruijiang Gao and Anastasis Stathopoulos and Xiaoxiao He and Yuxiao Chen and Di Liu and Qilong Zhangli and Jindong Jiang and Zhaoyang Xia and Akash Srivastava and Dimitris Metaxas},
  year   = {2023},
  eprint = {2306.05414},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05414v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.05414.svg)](https://codeofpaper.com/paper/2306.05414)

Discussion