What Changed? Detecting and Evaluating Instruction-Guided Image Edits with Multimodal Large Language Models

Lorenzo Baraldi, Davide Bucciarelli, Federico Betti, Marcella Cornia, Nicu Sebe, Rita Cucchiara

TL;DR

This paper introduces DICE, a novel framework for evaluating instruction-guided image editing models. DICE uses a two-stage approach with Multimodal Large Language Models (MLLMs) to first detect localized image differences and then assess their coherence with the user's editing prompt, offering a more human-aligned and interpretable evaluation than existing methods.

What Problem Does This Paper Address?

The rise of generative AI has led to powerful image editing models that can modify images based on textual instructions. However, evaluating the quality of these edits is challenging. Existing metrics often struggle to align with human judgment and lack explainability. Specifically, it's difficult to determine if an edit is truly coherent with the prompt or if it introduces unintended changes, especially at a granular, object level. This paper aims to bridge this gap by providing a more accurate, interpretable, and human-aligned evaluation method for instruction-guided image editing.

Methods

DICE employs a two-stage pipeline, both powered by autoregressive Multimodal Large Language Models (MLLMs):

  1. Difference Detector: This component takes an original and an edited image and identifies localized semantic differences. It predicts the type of modification (addition, removal, edit), the region of interest (RoI) for each change, and the specific objects involved. This stage is trained independently of the editing prompt to avoid bias.
  2. Coherence Estimator: This component assesses whether each detected difference is coherent with the given textual instruction. It takes the original image, edited image, detected difference (RoI and description), and the prompt as input, outputting a binary decision (coherent/not coherent) and a textual rationale.

The MLLMs are trained using a strategy that combines self-supervision, distillation from inpainting networks, and full supervision. The training involves two main stages: learning to compare similar images (using object detection datasets like LVIS) and learning to detect inpainted areas (using synthetically generated edited images).

Datasets

  • LVIS dataset: Used for training the difference detector by identifying similar image pairs and their object-level annotations.
  • I2EBench dataset: Used for evaluating the coherence estimator and for constructing the DICE-D dataset for evaluation.
  • DICE-D dataset: A newly constructed dataset for evaluating the detection and coherence pipeline, comprising 800 edited images from I2EBench, focusing on object-based modifications.
  • EmuEdit dataset: 116 samples from this dataset were manually annotated for training the coherence estimator.

Key Insights and Ideas

  • MLLMs are powerful for both detection and coherence: The paper demonstrates that MLLMs can be effectively fine-tuned for both identifying what changed and whether that change aligns with the user's intent.
  • Separating detection from prompt bias is crucial: Training the difference detector independently of the prompt ensures it identifies actual visual changes, not just what the prompt expects to change.
  • Confidence matters in difference detection: Incorporating confidence scores from the difference detector significantly improves the coherence estimation performance, suggesting that uncertainty in detecting a change is informative.
  • DICE enhances existing metrics: Integrating DICE's insights into CLIP-based evaluation metrics (CLIP-I for background preservation and CLIP-T for prompt adherence) significantly improves their correlation with human judgment.
  • Focusing on object-level edits is key: The paper argues that precise, localized object-level modifications are a significant challenge and thus a critical area for specialized evaluation.

Key Results

  • State-of-the-art performance: DICE, using Idefics3-8B as its MLLM backbone, achieves the best performance in difference detection across various metrics (e.g., 22.3 AP in class-agnostic detection, 15.5 AP in class-aware detection).
  • Improved coherence estimation: DICE achieves high coherence accuracy (85.4%) and demonstrates strong performance in evaluating coherence over detected areas.
  • Human alignment: Model rankings generated by DICE show a strong correlation with human evaluations from a user study, particularly for top-performing models like InstructDiffusion and MagicBrush.
  • Enhanced CLIP scores: Integrating DICE into CLIP-I and CLIP-T metrics leads to significantly higher correlation with human judgments for both background preservation (Pearson's score of 54.5 for CLIP-I with coherent differences masked) and prompt adherence (Pearson's score of 24.6 for CLIP-T with non-coherent differences masked).

Limitations and Future Work

  • Focus on object-level edits: The current framework primarily focuses on object-level modifications. Future work could extend this to more complex, global edits.
  • MLLM variability: The performance of DICE is dependent on the chosen MLLM. While Idefics3-8B performed best, exploring other MLLMs or developing more robust MLLM-agnostic evaluation strategies could be beneficial.
  • Dataset limitations: While DICE-D is a new benchmark, further expansion with more diverse editing styles and prompts could improve generalization.
  • Interpretability: While DICE provides rationales, further research into deeper explainability of the MLLM's decision-making process could be valuable.

Summary updated

BibTeX
@inproceedings{baraldi2025what,
  author = {Lorenzo Baraldi and Davide Bucciarelli and Federico Betti and Marcella Cornia and Lorenzo Baraldi and Nicu Sebe and Rita Cucchiara},
  title = {{What Changed? Detecting and Evaluating Instruction-Guided Image Edits with Multimodal Large Language Models}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure