arXiv(opens in a new tab)cs.AIAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.20161

DARS: Dual-Level Credit Assignment RL with Structured Reasoning for Instruction-Based Image Editing

Haoxiang Cao, Jiajiong Cao, Xuanpu Zhang, Changqian Yu, Chaoqun Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

© none

Figure

Figure 1. Two visually poor editing outcomes can require opposite cross-module update emphases. Case A: the planner captures the requested edit reasonably well, but the renderer fails to realize it, so this sample should place more corrective update weight on the renderer. Case B: the sampled plan is a less useful intermediate for the instruction, and the renderer faithfully executes it, so this sample should place more corrective update weight on the planner. DARS is designed to distinguish render-dominant from plan-dominant update needs through routing signals; when planner-side emphasis is needed, its structured slots support finer within-planner diagnosis.Teaser showing two low-scoring failure cases in a two-stage image editing pipeline that require opposite cross-module credit-assignment decisions: one should emphasize renderer correction, while the other should emphasize planner correction.

Abstract.

Instruction-based image editing uses a planner-renderer pipeline: a vision-language model (VLM) first converts the instruction into an edit plan, and a diffusion model then executes that plan. Training such systems with only final-image rewards is inefficient because a poor edit does not reveal whether additional optimization should place more emphasis on the planner or the renderer, and even planner-dominant cases remain difficult to localize within a free-form reasoning trace. We present DARS, a reinforcement learning framework for dual-level credit assignment in this two-stage setting. Across modules, multi-plan multi-render rollouts estimate between-plan and within-plan reward variability for soft module routing, while mean rewards across rollouts provide hardness estimates for an adaptive curriculum. Within the planner, a four-field structured reasoning output enables a prefix-gated reward and token-level advantage reweighting, turning outcome-level feedback into localized supervision. Experiments on five benchmarks show that DARS outperforms a Joint RL baseline with the same backbone, data, reward model, and rollout budget, with the largest gains on reasoning-intensive edits.

1. Introduction

Many image editing systems (Yin et al., 2025; Li et al., 2025; Wang et al., 2026b; Li et al., 2026; Qu et al., 2025) adopt a planner-renderer pipeline: a vision-language model (VLM) (Team, 2025; Qwen Team, 2026; Bai et al., 2025) interprets the instruction and produces an edit plan, and a diffusion model (Labs, 2025; Wu et al., 2025a; Ma et al., 2025; Liu et al., 2025b) renders the image conditioned on that plan. This decomposition improves controllability, but also turns joint optimization into a dual-level credit-assignment problem. Across modules, as illustrated in Figure 1, a poor image does not reveal whether the current sample would benefit more from planner-side or renderer-side corrective emphasis. Within the planner, even when planner-side updates are the more useful direction, the same outcome-level feedback still does not reveal which part of the plan should be corrected.

The difficulty comes from the fact that the two modules fail in different ways. The planner is an autoregressive language model (Radford et al., 2018), so its errors are typically semantic or compositional. The renderer is a diffusion-based generator (Ho et al., 2020), so its failures appear as visual artifacts, preservation damage, or incomplete execution. A single post-render score (Wu et al., 2025b; Luo et al., 2025) collapses these qualitatively different errors into the same feedback, making credit assignment ambiguous. Existing RL (Jiao et al., 2025; Qu et al., 2025; Wang et al., 2025; Li et al., 2025) strategies, therefore, either optimize one module at a time, leaving the other bottleneck untouched, or update both modules uniformly from the same reward. In either case, a low-scoring edit still does not indicate whether additional optimization should focus more on planning or on rendering.

This makes credit assignment (Jiang et al., 2025) under-specified at two levels. First, different samples should not contribute equally to planner and renderer updates. Second, even when the planner is the main bottleneck, outcome-level feedback still does not say which part of the plan is wrong: the requested modification, the preservation constraint, the scene-level objective, or the execution hint.

To address this dual-level credit-assignment problem, we present DARS, a joint-RL framework for planner-renderer image editing. We sample multiple plans and multiple renderings per plan, then use the resulting reward statistics in two different ways: between-plan and within-plan variability determine how much extra update weight is routed to the planner or renderer, while mean rewards across rollouts provide a hardness estimate for adaptive curriculum scheduling (Bengio et al., 2009). On the planner side, we replace an opaque free-form trace with a four-field structured reasoning output (Modify, Preserve, Overall, Tips), so the same rendered outcomes can support within-planner credit assignment through slot-level rewards and token-level advantage reweighting (Figure 2).

Figure

Figure 2. Free-form vs. structured planner output. With a free-form planner trace, post-render feedback remains attached to a single opaque text sequence, making within-planner credit assignment difficult. Our four-field structured answer (Modify, Preserve, Overall, Tips) exposes semantically distinct slots, so the same rendered rollouts can be diagnosed field by field and converted into slot-wise planner credit signals.A double-column comparison of free-form planner output and a structured four-field planner answer, showing that structured outputs enable field-wise diagnosis and within-planner credit assignment from the same rendered outcomes.

In summary, our contributions are:

  • We formulate joint RL for planner-renderer image editing as a dual-level credit-assignment problem, spanning cross-module update allocation and within-planner reasoning diagnosis.
  • We propose a rollout variance decomposition that separates across-plan from within-plan variability for cross-module routing, together with a rollout-reward hardness estimate for adaptive curriculum scheduling.
  • We introduce a four-field structured reasoning output for the planner together with a prefix-gated reward and token-level advantage reweighting, enabling localized planner optimization from post-render feedback.

Experiments on five benchmarks show that DARS is especially effective on reasoning-intensive edits (Zhao et al., 2025; Wu et al., 2025c), and ablations indicate that cross-module routing and structured planner supervision contribute complementary gains.

References (77)