Unlocking Exploration in RLVR: Uncertainty-aware Advantage Shaping for Deeper Reasoning
Can Xie, Ruotong Pan, Xiangyu Wu, Yunfei Zhang, Jiayi Fu, Tingting Gao, Guorui Zhou
TL;DR
This work tackles entropy collapse in Reinforcement Learning with Verifiable Rewards (RLVR) caused by coarse, uniform credit assignment across tokens. It introduces UnCertainty-aware Advantage Shaping (UCAS), a model-free method that leverages internal uncertainty signals at both the trajectory (response) and token levels to reshape the learning signal. UCAS uses a two-stage process: Stage 1 modulates trajectory-level advantage with response-level self-confidence, and Stage 2 applies a token-level certainty penalty derived from raw logits, yielding a final advantage $\,\hat{A}^{\text{UCAS}}_{i,t}$. Across five mathematical reasoning benchmarks and two model scales (1.5B and 7B), UCAS delivers substantial gains, promotes reasoning diversity, and mitigates entropy collapse, demonstrating robust improvements over strong RLVR baselines and enabling deeper, more exploratory reasoning without costly reward models.
Abstract
Reinforcement Learning with Verifiable Rewards (RLVR) has shown significant promise for enhancing the reasoning capabilities of large language models (LLMs). However, prevailing algorithms like GRPO broadcast a uniform advantage signal across all tokens in a sequence. This coarse-grained approach overlooks the pivotal role of uncertain, high-stakes decisions during reasoning, leading to inefficient exploration and the well-documented problem of entropy collapse. To address this, we introduce UnCertainty-aware Advantage Shaping (UCAS), a model-free method that refines credit assignment by leveraging the model's internal uncertainty signals. UCAS operates in two stages: it first modulates the response-level advantage using the model's overall self-confidence, and then applies a token-level penalty based on raw logit certainty. This dual mechanism encourages exploration of high-uncertainty paths that yield correct answers while penalizing overconfident yet erroneous reasoning, effectively balancing the exploration-exploitation trade-off. Extensive experiments on five mathematical reasoning benchmarks show that UCAS significantly outperforms strong RLVR baselines across multiple model scales, including 1.5B and 7B. Our analysis confirms that UCAS not only achieves higher rewards but also promotes greater reasoning diversity and successfully mitigates entropy collapse.
