Inter-Edit: First Benchmark for Interactive Instruction-Based Image Editing

Delong Liu, Haotian Hou, Zhaohui Hou, Zhiyuan Huang, Shihao Han, Mingjie Zhan, Zhicheng Zhao, Fei SuCVPR 2026

TL;DR

The paper introduces Interactive Instruction-based Image Editing ($I^3E$), a novel image editing task that replaces tedious, pixel-perfect masking with an intuitive combination of concise text instructions and imprecise spatial guidance (like simple scribbles). To support this task, the authors release Inter-Edit, a million-scale training dataset, a human-annotated evaluation benchmark, and three strong baseline models that significantly outperform existing state-of-the-art editing paradigms.

What Problem Does This Paper Address?

Controllable image editing typically falls into three flawed paradigms:

  1. Instruction-driven (text-only): Highly intuitive, but natural language is notoriously bad at specifying exact spatial locations (e.g., "add a book under the second apple from the left").
  2. Drag-based manipulation: Great for warping or changing an object's pose, but completely incapable of executing semantic changes like adding or removing objects.
  3. Mask-based inpainting: Offers explicit spatial control but forces users to painstakingly draw pixel-perfect masks. Furthermore, rigid masks often result in harsh, unnatural boundaries and fail to propagate global environmental changes like lighting and shadows outside the masked area.

The authors bridge this gap by introducing the $I^3E$ task. The goal is to let users provide a rough scribble and a brief command (e.g., "Put a bird here"), requiring the model to intelligently interpret the ambiguous spatial intent and seamlessly harmonize the edit with the background.

Figure 1. In practice, precise spatial editing is a common requirement. However, current instruction-based editing models, even the most advanced proprietary ones, struggle to achieve accurate localization. Mask-based approaches can provide spatial control but heavily rely on users to design high-quality masks that precisely align with their intent. In contrast, our proposed task enables natural and seamless editing with only simple scribble guidance, and we also establish a comprehensive benchmark and baseline methods for systematic evaluation.

Methods

To enable models to learn from imprecise user inputs, the authors developed a multi-stage automated data generation pipeline and three baseline architectures.

Automated Data Generation Pipeline

Instead of training models on clean, machine-segmented masks, the authors simulate realistic human interaction through a three-stage pipeline:

  • Stage 1 (Diverse Generation): A Large Language Model (LLM) generates diverse prompts to synthesize a wide variety of source images via a Text-to-Image (T2I) model.
  • Stage 2 (Iterative Grounding): A Multimodal LLM (MLLM) proposes edits, an editing model executes them, and the resulting image pair is fed back into the MLLM to infer a precise bounding box and generate both fine-grained and concise text prompts.
  • Stage 3 (Naturalistic Masking & Filtering): Segment Anything 2 (SAM-2) generates raw masks based on the bounding boxes. Crucially, these masks undergo morphological post-processing (dilation, Gaussian blur) to transform them into smooth, ambiguous shapes that mimic human scribbles. A final MLLM step filters out low-quality edits using a Chain-of-Thought strategy.

Baseline Architectures

The paper introduces three ways to inject the $I^3E$ spatial condition into Diffusion Transformers (MMDiT):

  1. Reference Net Injection (RNI): Uses a ControlNet-like auxiliary branch to feed the spatial condition map into the editing model, enforcing strict regional adherence.
  2. Conditional Image Augmentation (CIA): Overlays the mask edges as a "red box" directly onto the source image, maximizing the base model's pre-trained capabilities via efficient Low-Rank Adaptation (LoRA) tuning.
  3. Control-Image Joint Training (CJT): Simultaneously feeds the original image and the mask image as separate conditional inputs into the model.
The three proposed baseline architectures for integrating spatial guidance and text instructions.

Position-Aware Evaluation Metrics

To properly evaluate $I^3E$, the authors introduce the Boundary Discontinuity Score (BDS). BDS uses a Sobel filter to measure the absolute difference in gradient magnitudes between transition bands just inside and outside the mask boundary, quantifying how naturally the edited region blends into the background.

Datasets

The authors introduce two major data contributions:

  • Inter-Edit Training Set: A fully automated, million-scale dataset containing 1,099,964 high-quality image-edit pairs across four edit types (Local, Add, Remove, Texture) and seven aspect ratios.
  • Inter-Edit Test Set: A high-quality benchmark consisting of 6,250 editing pairs manually annotated by 10 diverse human annotators. It features challenging subsets, including artistic styles, low-resolution images, low-aesthetic images, and spatially ambiguous scenarios.

Key Insights and Ideas

  • Perfect Masks Hurt Generative Editing: Standard segmentation datasets train models to expect pixel-perfect boundaries. When given a rough human scribble, these models create severe boundary artifacts. Training on intentionally blurred and dilated masks forces the model to handle blending and global context propagation (like shadows).
  • Full-Image Generation Beats Inpainting: Unlike mask-based inpainting models that freeze pixels outside the mask, the proposed baselines perform full-image generation while being conditioned on the unedited regions. This allows the network to naturally cast shadows or reflections outside the user's rough scribble area.

Key Results

Quantitative evaluations on the Inter-Edit benchmark demonstrate that the proposed methods dominate across both automated and human metrics:

  • Boundary Naturalness (BDS): Traditional mask-based methods suffer from severe boundary discontinuities (e.g., PowerPaint scored a poor 49.518). In contrast, the proposed full-image generation baselines achieved drastically smoother transitions (CJT scored 5.435, and CIA scored 5.534).
  • Regional Fidelity ($S_{in}$): RNI and CJT achieved the highest in-region semantic fidelity (0.976), significantly outperforming state-of-the-art instruction models like Flux Kontext (0.958) and mask models like Flux-Fill (0.941).
  • Human Preference: In human evaluations, CJT scored the highest (6.720), followed closely by RNI (6.672), leaving existing proprietary and open-source models far behind.

Limitations and Future Work

While the baselines achieve state-of-the-art performance, they exhibit minor trade-offs:

  • RNI adheres strictly to the provided mask boundaries but occasionally generates mismatched shadows outside the designated area.
  • CJT creates highly natural blends but can sometimes inadvertently alter unedited objects that partially overlap with the transition boundary.

The authors suggest several promising future directions, including adding negative scribble areas to explicitly suppress changes in specific regions and introducing controllable hyperparameters to dynamically adjust how strictly the model adheres to the user's mask.

Summary updated

BibTeX
@inproceedings{liu2026inter,
  author = {Delong Liu and Haotian Hou and Zhaohui Hou and Zhiyuan Huang and Shihao Han and Mingjie Zhan and Zhicheng Zhao and Fei Su},
  title = {{Inter-Edit: First Benchmark for Interactive Instruction-Based Image Editing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=FxVcEsgukf},
}
Figure