Conditioning Matters: Stabilizing Inversion and Attention in Diffusion Image Editing

Zheyuan Zhan, Hongchen Li, Can Wang, Yinfei Ma, Mingzhen Huang +4 more
6/12/2026
cs.CVcs.AI

Official code: zju-pi/SimEdit (1 star, Python, last commit 2026-07-16).

Abstract

Inversion-based image editing offers flexible and training-free control but still struggles with inversion accuracy and the trade-off between editing fidelity and background preservation. While recent methods improve inversion formulations or attention interactions, the role of textual conditioning in shaping diffusion dynamics and editing behavior remains underexplored.

Show full abstract

We show both empirically and theoretically that the precision of textual conditioning influences inversion stability by modulating the geometry of the diffusion velocity field, while also affecting the consistency of cross-branch attention during editing. These effects directly impact background preservation and semantic fidelity. Building on this analysis, we propose SimEdit, a conditioning-aware framework with two complementary components: (a) conditioning refinement, which constructs conditioning signals with improved semantic precision and structural alignment to facilitate stable inversion and consistent attention manipulation, and (b) token-wise cross-branch attention control, which separates edit-relevant and structure-preserving components and modulates them asymmetrically during attention manipulation. Extensive experiments on PIE-Bench demonstrate that SimEdit consistently improves both inversion reconstruction quality and editing performance over previous attention-manipulation approaches. Our code is available at https://github.com/zju-pi/SimEdit.

View on arXivView PDF

Code Implementations(1)

zju-pi/SimEditOfficial100%

[ECML-2026 ORAL] Official implementation for "Conditioning Matters: Stabilizing Inversion and Attention in Diffusion Image Editing".

10Python, Jupyter NotebookFeb 21, 20264 months agoNOASSERTION

Similar Papers

Cite this paper

@article{zhan2026conditioning,
  title  = {Conditioning Matters: Stabilizing Inversion and Attention in Diffusion Image Editing},
  author = {Zheyuan Zhan and Hongchen Li and Can Wang and Yinfei Ma and Mingzhen Huang and Ruoshi Bai and Jiawei Chen and Siwei Lyu and Defang Chen},
  year   = {2026},
  eprint = {2606.14125},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.14125v1}
}

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

Discussion