RePlan: Reasoning-guided Region Planning for Complex Instruction-based Image Editing

Tianyuan Qu, Lei Ke, Xiaohang Zhan, Longxiang Tang, Yuqi Liu +4 more
12/18/2025
cs.CV

No official code found. Best implementation: JIA-Lab-research/RePlan (65 stars, Apache-2.0, last commit 2026-03-19).

Abstract

Instruction-based image editing enables natural-language control over visual modifications, yet existing models falter under Instruction-Visual Complexity (IV-Complexity), where intricate instructions meet cluttered or ambiguous scenes. We introduce RePlan (Region-aligned Planning), a plan-then-execute framework that couples a vision-language planner with a diffusion editor. The planner decomposes instructions via step-by-step reasoning and explicitly grounds them to target regions; the editor then applies changes using a training-free attention-region injection mechanism, enabling precise, parallel multi-region edits without iterative inpainting. To strengthen planning, we apply GRPO-based reinforcement learning using 1K instruction-only examples, yielding substantial gains in reasoning fidelity and format reliability. We further present IV-Edit, a benchmark focused on fine-grained grounding and knowledge-intensive edits. Across IV-Complex settings, RePlan consistently outperforms strong baselines trained on far larger datasets, improving regional precision and overall fidelity. Our project page: https://replan-iv-edit.github.io

View on arXivView PDF

Code Implementations(1)

Apache-2.0

RePlan: Reasoning-Guided Region Planning for Complex Instruction-Based Image Editing

653Jinja, ShellDec 16, 20257 months agoApache-2.0
benchmarkcontroleditinggrpoimage-editing+2 more

Similar Papers

Cite this paper

@article{qu2025replan,
  title  = {RePlan: Reasoning-guided Region Planning for Complex Instruction-based Image Editing},
  author = {Tianyuan Qu and Lei Ke and Xiaohang Zhan and Longxiang Tang and Yuqi Liu and Bohao Peng and Bei Yu and Dong Yu and Jiaya Jia},
  year   = {2025},
  eprint = {2512.16864},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.16864v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.16864.svg)](https://codeofpaper.com/paper/2512.16864)

Discussion