TL;DR
This paper introduces EditThinker, a novel framework that empowers image editing models to "think while they edit" by iteratively critiquing results and refining instructions. This multi-turn approach significantly boosts instruction-following capabilities, outperforming existing single-turn methods and leading to more accurate and nuanced image edits.
What Problem Does This Paper Address?
Instruction-based image editing, while achieving impressive aesthetic quality thanks to powerful generative models, faces a critical challenge: accurately following user instructions. Current methods, even those enhanced with reinforcement learning, often struggle due to the inherent stochasticity and lack of deliberation in single-turn editing. This leads to issues like missing attributes, incorrect modifications, and a general inability to self-correct intermediate errors. Essentially, existing models act as reactive executors rather than reflective thinkers, limiting their performance on complex editing tasks that require nuanced understanding and iterative refinement.
Methods
EditThinker tackles this by introducing a "Think-while-Edit" paradigm, simulating a human's iterative cognitive loop. This framework consists of a Thinker (implemented as a Multimodal Large Language Model, or MLLM) and an Editor (any existing image editing model). The process unfolds in iterative turns:
- Critique: The Thinker evaluates the current edited image against the original instruction and previous edits.
- Refine: Based on the critique, the Thinker generates a refined instruction.
- Repeat: The Editor uses the refined instruction to generate a new edited image.
This cycle continues until a satisfactory result is achieved. The core innovation is the EditThinker MLLM, which is trained to jointly output a critique score, a reasoning process, and the refined instruction in a single forward pass. This dual-role capability is achieved through a two-stage training process: Supervised Fine-Tuning (SFT) to learn the output format and reasoning style, followed by Reinforcement Learning (RL) to align the Thinker's planning with the Editor's practical capabilities and failure modes.
Datasets
The paper introduces THINKEDIT-140k, a large-scale dataset constructed through an automated pipeline. This dataset captures the multi-turn "Think while Edit" cycle, providing pairs of source images, original instructions, and refined instructions with detailed reasoning traces. The dataset is split for SFT and RL training.
The authors also evaluate their framework on four existing benchmarks:
- ImgEdit-Bench
- GEdit-Bench-EN
- RISE-Bench (focuses on reasoning capabilities)
- Kris-Bench (focuses on reasoning capabilities)
Key Insights and Ideas
- The "Thinker" vs. "Executor" Dichotomy: The paper highlights that current image editing models are primarily "executors." By introducing a "thinker" component, EditThinker shifts the paradigm towards more deliberate and reflective editing.
- Iterative Refinement is Crucial: The multi-turn "Critique-Refine-Repeat" loop is shown to be significantly more effective than single-turn editing, especially for complex instructions.
- MLLMs as Reasoning Engines: The success of EditThinker demonstrates the power of MLLMs not just for generating content, but for reasoning about and guiding generative processes.
- Scalability with Expert Capability: The framework's performance scales directly with the capability of the MLLM used as the "Thinker." Using a more powerful expert model (like GPT-4.1) leads to greater improvements.
- Structured Output for Reasoning: The defined input-output format for the Thinker, explicitly encoding critique, reasoning, and refinement, is key to its effectiveness.
Key Results
EditThinker consistently improves the performance of various existing image editing models across four benchmarks. For instance:
- On ImgEdit-Bench, EditThinker boosts the Overall score of FLUX.1-Kontext [Dev] from 3.44 to 3.98, and Qwen-Image-Edit from 4.36 to 4.37.
- On RISE-Bench, which tests reasoning, FLUX.1-Kontext [Dev] improves from 5.8 to 14.4, and Qwen-Image-Edit from 8.9 to 17.8.
- The framework shows significant gains even when applied to models that have already undergone extensive fine-tuning.
- Qualitative results (Figure 4 and 5) showcase how EditThinker iteratively refines prompts to achieve more accurate and nuanced edits, addressing issues like incorrect textures, missing details, or unnatural compositions.
Limitations and Future Work
- Expert Model Dependency: The performance of EditThinker is directly tied to the reasoning and critical capabilities of the underlying MLLM used as the "Thinker."
- Computational Cost: The iterative nature of the framework inherently increases the computational cost compared to single-turn methods.
- Future Work: The authors suggest exploring more efficient reasoning paradigms and further investigating the interplay between different expert models and editors. They also plan to release their data construction framework, datasets, and models to benefit the community.
Summary updated