SHARPO: Segment-Level Credit Assignment for Agentic Reinforcement Learning
cs.LG, cs.AI
Submitted: 2026-09-30
Updated: 2026-10-04
Comments: 13 pages, 3 tables, 2 figures
License: http://creativecommons.org/licenses/by/4.0/
The gist: Agentic reinforcement learning (RL) trains a large language model (LLM) to act over long, multi-step interactions.
Terminology
Abstract
Agentic reinforcement learning (RL) trains a large language model (LLM) to act over long, multi-step interactions. However, a single localized error can cause task failure, while trajectory-level rewards provide limited guidance for assigning credit to individual decisions. To address this limitation, we introduce Segment-level Hindsight Advantage Reweighting for Policy Optimization (SHARPO), a credit-assignment mechanism that refines Group Relative Policy Optimization (GRPO) at the level of environment-facing segments. Inspired by the existing on-policy self-distillation (OPSD) method, SHARPO computes teacher-student log-probability gaps within each segment and uses the resulting signal to compute a bounded multiplier on the GRPO advantage. This multiplier is shared by all tokens within the segment, allowing credit to vary across different segments. With Qwen2.5-7B-Instruct, SHARPO outperforms existing baselines on the ALFWorld and WebShop benchmarks, including GRPO, SDAR, RLSD, and StepOPSD.
Sources
- Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Self-Distilled RLVR
- Self-Distilled Agentic Reinforcement Learning
- StepOPSD: Step-Aware Online Preference Self-Distillation for Agent Reinforcement Learning
- Qwen2.5 Technical Report
- RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learning
- Proximal Policy Optimization Algorithms
- TREK: Distill to Explore, Reinforce to Refine
- TRIAGE: Role-Typed Credit Assignment for Agentic Reinforcement Learning
- Learning by Distilling Context
- AgentOPSD: Recursive Self-Distillation for Agentic Reinforcement Learning
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks