DCI: Dual-Conditional Inversion for Boosting Diffusion-Based Image Editing

Zi-Xiang Li, Haoyu Wang, Wei Wang, Chuang-Chuang Tan, Yun-Chao Wei +1 more
6/1/2025
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion models have achieved remarkable success in image generation and editing tasks. Inversion within these models aims to recover the latent noise representation for a real or generated image, enabling reconstruction, editing, and other downstream tasks.

Show full abstract

However, to date, most inversion approaches suffer from an intrinsic trade-off between reconstruction accuracy and editing flexibility. This limitation arises from the difficulty of maintaining both semantic alignment and structural consistency during the inversion process. In this work, we introduce Dual-Conditional Inversion (DCI), a novel framework that jointly conditions on the source prompt and reference image to guide the inversion process. Specifically, DCI formulates the inversion process as a dual-condition fixed-point optimization problem, minimizing both the latent noise gap and the reconstruction error under the joint guidance. This design anchors the inversion trajectory in both semantic and visual space, leading to more accurate and editable latent representations. Our novel setup brings new understanding to the inversion process. Extensive experiments demonstrate that DCI achieves state-of-the-art performance across multiple editing tasks, significantly improving both reconstruction quality and editing precision. Furthermore, we also demonstrate that our method achieves strong results in reconstruction tasks, implying a degree of robustness and generalizability approaching the ultimate goal of the inversion process.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025dci,
  title  = {DCI: Dual-Conditional Inversion for Boosting Diffusion-Based Image Editing},
  author = {Zi-Xiang Li and Haoyu Wang and Wei Wang and Chuang-Chuang Tan and Yun-Chao Wei and Yao Zhao},
  year   = {2025},
  eprint = {2506.02560},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.02560},
  url    = {https://doi.org/10.48550/arXiv.2506.02560},
  journal = {Neural Information Processing Systems}
}

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/2506.02560.svg)](https://codeofpaper.com/paper/2506.02560)

Discussion