arXiv 2603.07148

Agentic Planning with Reasoning for Image Styling via Offline RL

Subhojyoti Mukherjee Stefano Petrangeli Branislav Kveton Trung Bui Franck Dernoncourt Arko Mukherjee
Adobe Research, San Jose, CA, USA

A compact open-source planner turns a vague styling goal into a sequence of interpretable tool calls, each with explicit reasoning, and outperforms GPT-4o and Gemini 2.5 zero-shot planners on the majority of tasks.

1.5K+ downloads
0trajectories
0complexity tiers
0composable actions
0settings vs Gemini 2.5

Abstract

Direct prompt-based editing often fails on complex transformations because vague and subjective prompts often require nuanced understanding of what should be changed in the image. Our core intuition is that leveraging compositional image editing tools rather than direct prompting profits from structured agent-level planning with explicit reasoning, leading to better results. This structured planning framework enables efficient offline RL post-training on quality-scored trajectories to improve performance. We present a tool-based agentic RL post-training framework that addresses this through structured planning with chain-of-thought reasoning. Our key contributions include: (1) A tool-based agentic planning methodology that combines a compositional library of orthogonal primitive transformations, structured context representation, and explicit per-step reasoning to decompose complex styling into interpretable tool sequences. (2) A synthetic data generation pipeline producing three large-scale datasets (each ~10K trajectories) with reasoning chains, plans, and quality scores—necessary because no existing datasets provide explicit tool-based styling supervision. Our datasets are publicly available on Hugging Face. (3) An empirical study of offline RL training methods for vision-language tool-use planning, adapting Reward-Weighted (RW) and Standardized Reward-Weighted (SW) methods—previously validated only in text-only settings—to this domain for the first time, consistently improving over the Edit-Only baseline in visual quality and instruction following. (4) Comprehensive evaluation across 4B and 8B parameter Qwen3-VL models showing that our methods outperform other baselines in the majority of the compositional tasks, backed up by human evaluations on both the synthetic data and final results.

Our work demonstrates that structured planning with reward-aware training enables models to produce higher-quality images that better follow user instructions compared to direct editing approaches. Comprehensive evaluation on Qwen3-VL 4B/8B shows our compact open-source planners outperform GPT-4o and Gemini 2.5 zero-shot baseline planners on the majority of tasks, confirmed by human evaluation.

Interactive Explorer

Pick a scene and a method. Every example is a real planner output from the paper; the prompt is the instruction the planner received.

Original
Original image
SW (ours)
Edited image
Prompt
Show the full 10-way comparison strip Full comparison strip

Method

01

Tool-based planning

A library of orthogonal primitives (time of day, artistic medium, mood lighting, ...) composes complex edits as 2–5 step plans.

02

Reasoning per step

Structured context encodes the image's current state, and the planner explains each tool choice before calling it.

03

Reward-weighted offline RL

RW weights trajectories by quality score. SW adds z-score normalization for stability across reward distributions.

Click a stage of the data-generation pipeline.

Four-stage data generation pipeline

Reasoning Beats Direct Editing

Original, direct-edit baseline, the dataset's ground-truth target, and our SW planner.

The Dataset

Three tiers of image-styling trajectories, each with image analysis, tool plans, reasoning chains, edited images, and multi-dimensional reward scores. All images are generated with HiDream-I1-Dev. MIT license.

Simple
10K

1–2 step atomic edits, 10 actions, 31 locations.

Regular
10K

3–5 step compositional edits with constraints, 20 actions, 10 interior-design themes.

Complex
10K

Multi-dimension edits with integrated constraints, 30 actions, 83 diverse themes.

Before and after, straight from the data

Browse the dataset on Hugging Face

Results

Overall image score (0–100) from three LLM judges. Pick a dataset, planner configuration, and judge.

B baseline, E Edit-Only, S Standard, R RL, RW / SW our reward-weighted methods, D DPO. GPT-4o and Gemini 2.5 are zero-shot reference planners. Triple-judge agreement subsets where feasible; see the paper.

Human evaluation

Regular win rates
Regular: first-place win rates.
Complex win rates
Complex: first-place win rates.
Complex v2 win rates
Complex (second split): first-place win rates.

BibTeX

@article{mukherjee2026agentic,
  title   = {Agentic Planning with Reasoning for Image Styling via Offline RL},
  author  = {Mukherjee, Subhojyoti and Petrangeli, Stefano and Kveton, Branislav and Bui, Trung and Dernoncourt, Franck and Mukherjee, Arko},
  journal = {arXiv preprint arXiv:2603.07148},
  year    = {2026}
}