cs.GRFeb 12, 2026

IMAGAgent: Orchestrating Multi-Turn Image Editing via Constraint-Aware Planning and Reflection

Authors: Fei Shen, Chengyu Xie, Lihong Wang, Zhanyi Zhang, Xin Jiang, Xiaoyu Du, Jinhui Tang, Tat-Seng Chua

Organizations: National University of Singapore · Nanjing University of Science and Technology · Nanjing Forestry University

Abstract

Existing multi-turn image editing paradigms are often confined to isolated single-step execution. Due to a lack of context-awareness and closed-loop feedback mechanisms, they are prone to error accumulation and semantic drift during multi-turn interactions, ultimately resulting in severe structural distortion of the generated images. To address this, we propose IMAGAgent, a multi-turn image editing agent framework based on a ``plan--execute--reflect'' closed-loop mechanism that achieves deep synergy among instruction parsing, tool scheduling, and adaptive correction within a unified pipeline. Specifically, we first present a constraint-aware planning module that leverages a vision-language model (VLM) to precisely decompose complex natural language instructions into a series of executable sub-tasks, governed by target singularity, semantic atomicity, and visual perceptibility. Then, the tool-chain orchestration module dynamically constructs execution paths based on the current image, the current sub-task, and the historical context, enabling adaptive scheduling and collaborative operation among heterogeneous operation models covering image retrieval, segmentation, detection, and editing. Finally, we devise a multi-expert collaborative reflection mechanism in which a central large language model (LLM) synthesizes evaluations from multiple vision-language models into holistic feedback, triggering fine-grained self-correction and recording feedback outcomes to optimize future decisions. Extensive experiments on our constructed MTEditBench and the MagicBrush dataset demonstrate that IMAGAgent achieves performance significantly superior to existing methods in terms of instruction consistency, editing precision, and overall quality. The code is available at https://github.com/hackermmzz/IMAGAgent.

Figures & tables

Explore similar work

CardsList
  1. ImageEdit-R1: Boosting Multi-Agent Image Editing via Reinforcement Learning

    Mar 9, 2026Yiran Zhao, Yaoqi Ye, Xiang Liu +2Image EditingRL for Image Editing

  2. GMO-E2^2DIT: Grounded Multi-Operation Editing for E-Commerce Images

    Jul 1, 2026Zipeng Guo, Xiaoan Liu, Lichen Ma +9Image Editing EvaluationText-Guided Image Editing

  3. Edit-R2: Context-Aware Reinforcement Learning for Multi-Turn Image Editing

    Jun 4, 2026Yuxiao Ye, Haoran He, Fangyuan Kong +4Reinforcement LearningImage Editing Evaluation