⋈DARS

RESEARCH PROJECT · 2026

University of Illinois Urbana-ChampaignNational University of SingaporeZhejiang UniversityUniversity of Rochester

Dependency-Aware Reward Shaping
for Agentic Reinforcement Learning

Ziyi Chen1,*·Yan Zhang2,*·Jianhui Wei3,*·Daoan Zhang4·Zuozhu Liu3

¹ UIUC   ·   ² NUS   ·   ³ Zhejiang University   ·   ⁴ University of Rochester

* Equal contribution

Reward progress. Respect dependencies.
Learn from repairs.

01 / STRUCTURE

Track what depends on what

Represent task requirements as predicates and prerequisite relations, preserving independent branches.

02 / PROGRESS

Distinguish progress from repetition

Persistent states track verification, invalidation, and repair. Repeating established progress earns no new credit.

03 / CREDIT

Turn graph changes into rewards

Dependency-weighted potential assigns positive, negative, or zero step credit for the learner.

THE TRAINING LOOP. Annotate trajectories, replay graph states, and convert progress into step-level rewards. The GiGPO integration retains its episode-level signal. Click figures to enlarge.

01 — THE IDEA

A failed episode can still contain useful work.

Terminal rewards tell an agent whether it succeeded, but offer little guidance about which steps mattered. Work built on an unresolved mistake should receive less credit, while independent progress can remain valid.

DEPENDENCY-AWARE CREDIT

Judge a step by how it changes valid task progress—not simply by where it appears in a trajectory.

DARS represents progress as a dependency graph. An annotator identifies which predicates a step verifies, invalidates, or repairs. A fixed graph potential converts those events into signed rewards.

02 — THE METHOD

Structured annotations. Deterministic credit.

01

Represent requirements

Build a graph of predicates and prerequisites. Establishing a parent does not automatically verify a child.

02

Replay persistent states

Track verification (V), invalidation (B), and repair (P). Repair lifts a break; re-verification establishes the predicate again.

03

Measure net progress

Discount verified descendants of broken prerequisites, sum their contributions, and reward the change in potential.

r̃t = ρ · clip(ΦG(t) − ΦG(t−1), −κ, κ)

The graph potential averages dependency-weighted verified predicates. The annotation interface supports GiGPO, ARPO/AEPO, and tool-free reasoning integrations. Clipping and learner-specific transformations mean the deployed signal has no general policy-invariance guarantee.

03 — EXPLORE THE MECHANISM

Follow the WebShop example, step by step.

“Buy an 8 oz unscented body lotion under $10.” Explore the same seven steps shown in the figure: product type supports size and scent, while price is an independent requirement.

FROM OUTCOMES TO DEPENDENCIES. The paper’s WebShop illustration shows how an incorrect product choice affects dependent requirements while an independent price constraint retains its credit.
REQUIREMENT GRAPHλ = 1 · κ = 1 · ρ = 1
c10.00Body lotionUnestablishedc20.00Size = 8 ozUnestablishedc30.00UnscentedUnestablishedc40.00Price ≤ $10UnestablishedGOALIndependent branch
VerifiedAttenuatedBrokenUnestablished
HOW GRAPH POTENTIAL IS COMPUTED
ΦG(t) = ¼ ∑i=14 Si(t) wi(t)

Average the four predicates’ contributions. Unestablished or broken predicates contribute 0; verified predicates contribute their dependency weight.

Here, w = 1 with no broken prerequisite, and w = e−1 ≈ 0.37 when c₁ is broken. Price is independent.

Φ = (0 + 0 + 0 + 0) / 4 = 0.00
Contributions in order: c₁ · c₂ · c₃ · c₄
GRAPH POTENTIAL0.00 → 0.00
STEP REWARD0.00

1 · Search results

The search returns lotion A ($12.49) and lotion B ($8.99). No predicate is established yet, so the graph potential and reward remain zero.

Same illustration and parameters as the figure: λ = 1, κ = 1, ρ = 1. Each displayed reward is the potential change from the preceding trajectory step, regardless of click order. Values are rounded to two decimals. This example preserves local evidence for size and scent when the product-type prerequisite breaks.

04 — MAIN RESULTS

Across interactive tasks and mathematical reasoning.

+10.0ALFWorld success points · 1.5B
5task families evaluated
1.5–8Bpolicy model sizes

Explore the paper’s results by task. Comparisons use different protocols; the notes below each table describe the relevant training and evaluation settings.

ALFWorld · unseen-game success (%) · Qwen2.5-Instruct
Method1.5B7B
GiGPO (same budget)86.9 ± 0.898.1 ± 0.1
DARS96.9 ± 0.098.6 ± 0.2
Gain (points)+10.0+0.5

Both methods use 500 training steps and the same harness. Mean ± SE over decoding draws. These are single training runs; decoding variation does not measure training-seed variation.

Values are transcribed from the main-result tables in the paper. Higher is better.

05 — WHAT THE ABLATIONS SHOW

Credit placement and graph structure both matter.

Step-level credit preserves useful information

With the same annotations, restoring step credit raises tool-free averages from 56.90 to 58.23 at 1.7B and from 79.13 to 79.50 at 4B. The 4B difference is not statistically resolved.

Independence belongs in the graph

Replacing WebShop’s requirement graph with a trajectory-ordered chain lowers success by 14.2 points and task score by 18.4 in the topology ablation.

Attenuation is better than blanket suppression

In a separate ALFWorld sweep, moderate attenuation reaches 94.3% success, versus 90.2% with none and 84.2% with hard masking.

A smaller annotator can be sufficient

A distilled Qwen3-8B annotator reaches 92.2% peak ALFWorld success versus 89.1% for its API teacher, within decoding noise.

Ablations use their own experimental settings and should not be read as additional rows of the headline comparison.

06 — CODE

Explore the implementation.

The public repository includes the training infrastructure, reward adapter, recipes, and evaluation documentation.

RELEASE STATUS

The current repository requires an additional DARS source package for graph replay and domain-specific annotations. The README documents the available components and setup requirements.

View repository ↗

07 — CITE

Build on DARS.

If this work supports your research, please consider citing it.

@misc{chen2026dependencyawarerewardshapingagentic,
  title={Dependency-Aware Reward Shaping for Agentic Reinforcement Learning},
  author={Ziyi Chen and Yan Zhang and Jianhui Wei and Daoan Zhang and Zuozhu Liu},
  year={2026},
  eprint={2610.01207},
  archivePrefix={arXiv},
  primaryClass={cs.AI},
  url={https://arxiv.org/abs/2610.01207},
}