GTPO and GRPO-S: Token and Sequence-Level Reward Shaping with Policy Entropy
Abstract
Lay Summary
Large language models (LLMs) are often improved through reinforcement learning, but standard methods assign a single score to an entire response, making it hard to tell which specific words or reasoning steps were helpful. In this work, we address this by using the model’s own uncertainty, measured by a quantity called entropy, to automatically identify the most critical decision points and assign more precise, token-level feedback. We propose two algorithms: Group Token Policy Optimization (GTPO), which distributes rewards word by word based on uncertainty, and Sequence-Level GRPO (GRPO-S), a simpler variant that maintains stability over long reasoning chains. Our methods achieve state-of-the-art results on challenging math benchmarks including AIME and MATH 500. This work demonstrates that leveraging model uncertainty for fine-grained feedback is a promising step toward more reliable and sample-efficient reasoning in AI systems.