Table of Contents
Fetching ...

Multi-turn Consistent Image Editing

Zijun Zhou, Yingying Deng, Xiangyu He, Weiming Dong, Fan Tang

TL;DR

The paper tackles the difficulty of achieving coherent, progressive edits in multi-turn image editing by combining flow matching-based inversion with a dual-objective Linear Quadratic Regulator (LQR) for stable sampling. It introduces adaptive attention guidance that uses intermediate transformer activations to generate a targeted editing mask, preserving content while enabling precise local edits. The proposed framework, including a high-order solver and dual-reference guidance, demonstrates improved edit success rates and visual fidelity across multiple turns, validated on an extended PIE-Bench dataset with CLIP-T, CLIP-I, and FID metrics, and particularly achieving best FID by the fourth turn. This work enables more reliable, iterative image editing with controlled distribution drift, offering practical benefits for interactive design, photo editing, and content creation workflows.

Abstract

Many real-world applications, such as interactive photo retouching, artistic content creation, and product design, require flexible and iterative image editing. However, existing image editing methods primarily focus on achieving the desired modifications in a single step, which often struggles with ambiguous user intent, complex transformations, or the need for progressive refinements. As a result, these methods frequently produce inconsistent outcomes or fail to meet user expectations. To address these challenges, we propose a multi-turn image editing framework that enables users to iteratively refine their edits, progressively achieving more satisfactory results. Our approach leverages flow matching for accurate image inversion and a dual-objective Linear Quadratic Regulators (LQR) for stable sampling, effectively mitigating error accumulation. Additionally, by analyzing the layer-wise roles of transformers, we introduce a adaptive attention highlighting method that enhances editability while preserving multi-turn coherence. Extensive experiments demonstrate that our framework significantly improves edit success rates and visual fidelity compared to existing methods.

Multi-turn Consistent Image Editing

TL;DR

The paper tackles the difficulty of achieving coherent, progressive edits in multi-turn image editing by combining flow matching-based inversion with a dual-objective Linear Quadratic Regulator (LQR) for stable sampling. It introduces adaptive attention guidance that uses intermediate transformer activations to generate a targeted editing mask, preserving content while enabling precise local edits. The proposed framework, including a high-order solver and dual-reference guidance, demonstrates improved edit success rates and visual fidelity across multiple turns, validated on an extended PIE-Bench dataset with CLIP-T, CLIP-I, and FID metrics, and particularly achieving best FID by the fourth turn. This work enables more reliable, iterative image editing with controlled distribution drift, offering practical benefits for interactive design, photo editing, and content creation workflows.

Abstract

Many real-world applications, such as interactive photo retouching, artistic content creation, and product design, require flexible and iterative image editing. However, existing image editing methods primarily focus on achieving the desired modifications in a single step, which often struggles with ambiguous user intent, complex transformations, or the need for progressive refinements. As a result, these methods frequently produce inconsistent outcomes or fail to meet user expectations. To address these challenges, we propose a multi-turn image editing framework that enables users to iteratively refine their edits, progressively achieving more satisfactory results. Our approach leverages flow matching for accurate image inversion and a dual-objective Linear Quadratic Regulators (LQR) for stable sampling, effectively mitigating error accumulation. Additionally, by analyzing the layer-wise roles of transformers, we introduce a adaptive attention highlighting method that enhances editability while preserving multi-turn coherence. Extensive experiments demonstrate that our framework significantly improves edit success rates and visual fidelity compared to existing methods.
Paper Structure (30 sections, 1 theorem, 24 equations, 13 figures, 4 tables)

This paper contains 30 sections, 1 theorem, 24 equations, 13 figures, 4 tables.

Key Result

Proposition 1

Given $Z_0 = \mathbf{X}_0$ and the composite target $\hat{X}=\frac{\sum_{i=1}^n \lambda_i X_i}{\sum_{i=1}^n \lambda_i}$, the optimal control solution for the LQR problem eq:multi-lqr, denoted by $c^*\left(\cdot, t\right)$, aligns with the conditional vector field $u_t\left(\cdot|X_1,...,X_n\right)$,

Figures (13)

  • Figure 1: Multi-turn Reconstruction Results. This figure compares image reconstructions using our method and baseline methods across 1, 2, 4, and 8 reconstruction iterations. Our method effectively preserves color, background, structure, and semantic consistency across multiple reconstruction rounds, outperforming the baseline methods.
  • Figure 2: We visualize the differences in single-step and multi-round accumulative errors during inversion ($\leftarrow$) and editing ($\searrow$) across different ReFlow-based editing methods. (a) Vanilla ReFlow struggles with structure preservation during inversion due to the truncation error of the Euler method. (b) While a second-order ODE solver reduces truncation error in a single step, the accumulated error over multiple editing rounds remains significant. (c) Incorporating the source image as guidance (dotted $\swarrow$) via LQR improves performance in a single step but becomes less effective as accumulated errors increase with more steps. (d) Our approach addresses this issue by integrating both techniques, leveraging a dual-objective LQR coupled with a high-order solver to enhance stability and accuracy.
  • Figure 3: Multi-turn editing pipeline. In each editing iteration, a high-accuracy rectified flow inversion maps the image back to the Gaussian noise space, followed by sampling to generate the edited images. To better constrain the distribution of edits across multiple turns, the original image and previous editing results serve as guidance during subsequent sampling. Additionally, a highlighted region in the attention mask further preserves the content structure of the edited outputs.
  • Figure 4: Self-attention map visualizations from selected FLUX double blocks (19 total) illustrate layer-specific roles in the editing process (e.g., global, local, details). Top row: attention maps corresponding to the "monkey" text token. Bottom row: maps for the "moon" token. The attention map highlighted by a red box denotes correctly activated maps.
  • Figure 5: Qualitative comparison of multi-turn editing results against baseline methods. Note that our method effectively preserves the original image structure while achieving high-quality edits.
  • ...and 8 more figures

Theorems & Definitions (2)

  • Proposition 1
  • proof