SHARPO: Segment-Level Credit Assignment for Agentic Reinforcement Learning

Xinchen Du, Zhengze Zhou, Wenhui Zhu, Han Yu, Sen Na +2 more
9/30/2026
cs.LGcs.AI
rlrlhf-rlvr-dpodistillation

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{du2026sharpo,
  title  = {SHARPO: Segment-Level Credit Assignment for Agentic Reinforcement Learning},
  author = {Xinchen Du and Zhengze Zhou and Wenhui Zhu and Han Yu and Sen Na and Rohit Jain and Alborz Geramifard},
  year   = {2026},
  eprint = {2610.00838},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.00838v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.00838.svg)](https://codeofpaper.com/paper/2610.00838)

Discussion