SGR-OPSD: Learning from Subgoal Plans with Graph-Regularized Credit Assignment for Agentic Reinforcement Learning

Shu Liu, Yang Chong, WenShi Chen, Man LanarXiv 2026

Reinforcement Learning (RL) for LLM-based agents is notoriously difficult because of the "sparse reward" problem: an agent might take dozens of actions, but only receive a single binary signal (success or failure) at the very end. While techniques like On-Policy Self-Distillation (OPSD) attempt to provide "dense" feedback by using a teacher model with privileged information, they often lack a structured understanding of task progress.

A new paper, SGR-OPSD, introduces a framework that fixes this by combining explicit subgoal planning with empirical evidence from a "Subgoal Progress Graph."

TL;DR

SGR-OPSD improves agentic reinforcement learning by using LLM-generated subgoal plans as privileged guidance, which is then calibrated by a "Subgoal Progress Graph" derived from actual student interactions. This approach ensures that dense supervision is grounded in real task progress, leading to significant performance gains (up to 7.6 percentage points over GRPO) on complex benchmarks like ALFWorld and WebShop.

What Problem Does This Paper Address?

Training agents to solve multi-step tasks—like "cool the bread and place it on the countertop"—requires evaluating intermediate decisions. Current state-of-the-art methods like Group Relative Policy Optimization (GRPO) rely on outcome rewards, which are too coarse to distinguish which specific turn in a long trajectory was the "winning" move.

Existing dense supervision methods (like OPSD) use a teacher model that sees "privileged" information (e.g., the final answer or a set of general skills) to score student actions. However, these methods suffer from two main issues:

  1. Lack of explicit planning: Privileged info is often just a "hint" rather than a structured, ordered plan.
  2. Preference vs. Progress: The gap between teacher and student probabilities often reflects model biases or "preferences" rather than actual progress toward the goal. A teacher might favor an action that looks good but actually leads to failure in the real environment.

Methods

SGR-OPSD (Subgoal-Guided Graph-Regularized OPSD) bridges these gaps with a two-pronged approach:

  1. Subgoal-Guided Supervision: Before interaction begins, an LLM (DeepSeek-V3.1) generates a fixed, ordered subgoal plan from the task description. This plan serves as the "privileged information" for a teacher model. The "credit" for an action is initially estimated by the log-probability gap between this plan-aware teacher and the plan-unaware student.
  2. Subgoal Progress Graph: To ground this teacher feedback, the system builds a graph from student rollouts. It merges identical states across different trajectories to estimate the empirical value ($Q$ and $V$ values) of actions. This graph provides "execution evidence"—it knows which actions actually lead to success more often.
  3. Joint Credit Calibration: The final "credit weights" are calculated using a constrained, KL-regularized objective. This objective balances the teacher's plan-based suggestions with the graph's empirical evidence. If the graph shows that "Action A" leads to success more often than "Action B," the calibration shifts more credit to Action A, even if the teacher initially preferred Action B.
Figure 1: Overview of SGR-OPSD. (a) Subgoal-guided OPSD produces credit weights, which are jointly cali- brated using subgoal progress graph evidence. (b) The figure shows a real example in which calibration shifts favorable credit from the sink to the dining table.

Datasets

The authors evaluated SGR-OPSD across three diverse interactive environments using Qwen2.5-3B and 7B models:

  • ALFWorld: A synthetic house simulator where agents must perform household tasks (e.g., "clean a soapbar").
  • WebShop: A simulated e-commerce website where agents search for and purchase products based on specific user requirements.
  • Search-QA: A retrieval-based reasoning task (using datasets like NQ and HotpotQA) where agents must use a search engine to answer complex questions.

Key Insights and Ideas

  • Subgoals > Generic Skills: One of the most important findings is that task-specific subgoals are significantly more effective than general "reusable skills." A plan that specifically mentions the "soapbar" and "countertop" provides much tighter guidance than a generic "clean-task" template.
  • The Graph as a Reality Check: Teacher models, even with privileged info, can be wrong. The Subgoal Progress Graph acts as a vital "grounding" mechanism. As shown in Figure 5, the graph's preferences agree with independent "true" return rankings much more often (81.7%) than the raw teacher evidence (50.0%).
  • Late-Stage Advantage: SGR-OPSD shows its greatest strengths in the later stages of training. While other methods might plateau, the structured credit assignment in SGR-OPSD allows the model to continue refining its policy, leading to a sustained performance lead.
Agreement with independent return rankings. The graph preferences (green) are significantly more accurate than raw teacher evidence (blue).

Key Results

SGR-OPSD consistently outperformed GRPO and other strong self-distillation baselines (like AgentOPSD and Skill-SD):

  • ALFWorld: Reached 85.8% success with Qwen2.5-7B, a 7.4 percentage point (pp) improvement over GRPO.
  • WebShop: Achieved 78.2% success, outperforming GRPO by 7.6 pp.
  • Generalization: The method also showed robust performance on "unseen" ALFWorld environments, outperforming the strongest baseline by up to 2.7 pp at the 7B scale.
Figure 3: Validation success of GRPO, AgentOPSD, and SGR-OPSD with Qwen2.5-3B-Instruct on ALF- World and WebShop.

Limitations and Future Work

The authors identify a few areas for improvement:

  • Fixed Plans: Currently, the subgoal plans are generated at the start and remain fixed. If the environment reveals new information (e.g., a required item is missing), the plan doesn't adapt. Dynamic plan updating is a suggested future direction.
  • Graph Coverage: The effectiveness of the Subgoal Progress Graph depends on exploration. If the agent doesn't visit a state multiple times or try different actions from the same state, the graph cannot provide a comparison.
  • State Matching: Merging states in complex, open-ended environments is challenging. The current method relies on specific "node keys" (like observation history), which might be harder to define in more fluid domains.

Summary updated

BibTeX
@misc{liu2026sgr,
  author = {Shu Liu and Yang Chong and WenShi Chen and Man Lan},
  title = {{SGR-OPSD: Learning from Subgoal Plans with Graph-Regularized Credit Assignment for Agentic Reinforcement Learning}},
  year = {2026},
  eprint = {2611.02414},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.02414},
}
Figure