EditRefiner: A Human-Aligned Agentic Framework for Image Editing Refinement

Zitong Xu, Huiyu Duan, Yifei Nie, Mingda Du, Sijing Wu, Xiongkuo Min, Tianyi Zheng, Jian Zhang, Shusong Xu, Jinwei Chen, Bo Li, Guangtao ZhaiarXiv 2026

TL;DR

Text-guided image editing models frequently introduce subtle local artifacts or fail to follow instructions perfectly. EditRefiner solves this by introducing a multi-agent framework that automatically detects, diagnoses, and fixes these flaws using a human-like perception-reasoning-action-evaluation loop, backed by a massive new human-feedback dataset called EditFHF-15K.

What Problem Does This Paper Address?

While text-guided image editing (TIE) models have gotten incredibly good at generating realistic images from text prompts, they frequently stumble on the details. Common issues include unnatural textures, lighting mismatches, or simply ignoring parts of the prompt.

Fixing these flaws is surprisingly difficult. Existing approaches usually regenerate the entire image from scratch (which throws away the good parts along with the bad) or use Vision-Language Models (VLMs) that lack spatial precision. Without precise spatial grounding, VLMs often cause "semantic drift"—inadvertently changing parts of the image that were already perfect. EditRefiner addresses the lack of an autonomous, fine-grained, and human-aligned refinement system.

Methods

The authors introduce EditRefiner, a hierarchical multi-agent framework that treats post-editing correction as a closed loop. Instead of a single model trying to fix everything, the task is split among four specialized agents:

  1. Perception Agent: Mimics human visual sensitivity by generating pixel-level saliency maps and bounding boxes to localize two distinct types of flaws: visual artifacts and instruction-following failures.
  2. Reasoning Agent: Takes the localized cues and performs structured diagnostic inference to explain why the region is flawed. It is trained using a two-stage preference alignment paradigm: Supervised Fine-Tuning (SFT) followed by Group Relative Policy Optimization (GRPO) to align its reasoning with human logic.
  3. Action Agent: Translates the diagnostic text into a localized re-editing instruction and executes it using an underlying editing model, modifying only the flawed regions defined by the perception mask.
  4. Evaluation Agent: Evaluates the refined image across three dimensions (perceptual quality, instruction following, and visual consistency). It acts as a gatekeeper, deciding whether to loop back for another round of editing or stop to prevent image degradation.
Figure 2: Overview of our EditRefiner. The framework operates as a perception-reasoning-action- evaluation loop for human-aligned post-editing correction.

Datasets

To train and evaluate these agents, the authors constructed EditFHF-15K, a large-scale dataset of fine-grained human feedback on edited images:

  • Data Volume: 15,287 edited images generated by 13 state-of-the-art TIE models across 43 diverse editing tasks.
  • Annotations: Includes 60,318 annotated artifact regions and 80,345 editing failure regions. Each region features both semantic bounding boxes and pixel-level saliency maps, paired with human-verified textual explanations.
  • Human Ratings: 45,000 Mean Opinion Scores (MOSs) evaluating perceptual quality, instruction following, and visual consistency.

The framework was also evaluated zero-shot on three public benchmarks: GEdit-Bench, I2I-Bench, and KRIS-Bench.

Figure 1: Overview of our EditFHF-15K. (a) An illustration of our annotation interface, (b) the distribution of flaw types and MOSs, (c) the human-AI collaborative annotation pipeline

Key Insights and Ideas

  • Decomposition Prevents Drift: Breaking the refinement process into a modular "See-Think-Act-Evaluate" loop allows the system to perform highly localized corrections, preserving the rest of the image and avoiding semantic drift.
  • RL for Better Reasoning: Using reinforcement learning (GRPO) to optimize the Reasoning Agent ensures that the model doesn't just output generic captions, but actually aligns with human diagnostic preferences.
  • Explicit Flaw Separation: By explicitly separating "artifacts" (visual quality issues) from "editing failures" (prompt mismatches), the perception and action agents can apply more targeted, context-aware corrections.

Key Results

EditRefiner consistently boosted the performance of top-tier base editing models (including Qwen-Image-Edit, NanoBanana, and Seedream4.0) across all evaluated benchmarks.

As shown in the quantitative results, integrating EditRefiner yielded substantial percentage gains in overall image quality and instruction adherence over the baseline models.

Table 1: Performance of EditRefiner on EditFHF-15K, GEdit-Bench [30], I2I-Bench [47], and KRIS-Bench [58]. PQ: Perceptual Quality, IF: Instruction Following, VC: Visual Consistency, PP: Physical Plausibility. Better performances over baseline are bolded.

Qualitatively, EditRefiner successfully corrects fine-grained errors—such as fixing anatomically distorted hands or precisely adding text overlays—where base models initially failed.

Figure 3: Example results from advanced TIE models and results with our EditRefiner. Additional results are provided in the supplementary material.

Limitations and Future Work

The authors note a clear case of diminishing returns regarding the number of refinement iterations. While the first one or two turns yield significant improvements, performance tends to saturate around 3–4 turns. Pushing the loop too far can lead to error accumulation, increased computational overhead, and "subject drift," where the core identity of the image begins to warp.

Future work will likely explore tighter, more efficient integration between the action agent and base diffusion models to handle highly complex, multi-step instructions without drifting.

Summary updated

BibTeX
@misc{xu2026editrefiner,
  author = {Zitong Xu and Huiyu Duan and Yifei Nie and Mingda Du and Sijing Wu and Xiongkuo Min and Tianyi Zheng and Jian Zhang and Shusong Xu and Jinwei Chen and Bo Li and Guangtao Zhai},
  title = {{EditRefiner: A Human-Aligned Agentic Framework for Image Editing Refinement}},
  year = {2026},
  eprint = {2605.07457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.07457},
}
Figure