TL;DR
While response-level uncertainty metrics like semantic entropy are widely used to stabilize reinforcement learning in LLM post-training, they suffer from two critical flaws: they ignore the geometric severity of errors and decouple uncertainty from actual reward signals. This paper introduces Geometric-aware Calibrated Policy Optimization (GCPO), a novel framework that uses embedding-space geometry and reward variance to selectively suppress noisy gradients while preserving rich learning signals. GCPO consistently improves optimization stability and performance across multiple question-answering and mathematical reasoning benchmarks.
What Problem Does This Paper Address?
Post-training via Reinforcement Learning from Human Feedback (RLHF) or AI Feedback (RLAIF) has become essential for eliciting reasoning and alignment in Large Language Models (LLMs). Modern scalable approaches, such as Group Relative Policy Optimization (GRPO), sample a group of responses for a single query and optimize the model using relative rewards without needing a separate critic model.
However, GRPO treats all queries uniformly, failing to account for the fact that different prompts induce vastly different levels of uncertainty and gradient quality. To fix this, recent methods use semantic entropy as a heuristic proxy to down-weight or filter out highly uncertain queries.
The authors identify two fundamental gaps where current entropy-based approaches fail:
- The Anisotropic Gap: Entropy only measures the probability distribution across different answer categories, completely ignoring how far apart those answers are semantically. It treats a minor "near-miss" typo and a completely nonsensical, far-fetched error as equally severe.
- The Calibration Gap: Entropy is completely decoupled from rewards. High uncertainty doesn't always mean useless noise; it often highlights challenging, ambiguous prompts where the model can learn the most from reward-differentiated paths. Uniformly suppressing high-entropy queries starves the model of these crucial corrective learning signals.
Methods
To bridge these gaps, the authors propose Geometric-aware Calibrated Policy Optimization (GCPO). Instead of treating uncertainty as simple distributional dispersion, GCPO models it as a tool to characterize and calibrate gradient variance.
GCPO introduces three core components to modulate GRPO updates:
- Cosine Dispersion (CD): Measures fine-grained, pairwise semantic disagreement directly in the embedding space by calculating the cosine distance between response embeddings.
- Barycentric Transport (BoT): Inspired by optimal transport theory, BoT groups responses into semantic clusters and calculates the cost of transporting these cluster centroids toward a consensus representation (barycenter). This makes it highly robust to simple paraphrasing while remaining sensitive to genuine semantic shifts.
- Reward Dispersion (RD): Quantifies the variance of rewards within a rollout group to measure its informativeness. If a prompt generates responses with highly differentiated rewards, RD amplifies the update strength because the group contains a strong preference signal.
Datasets
The framework was evaluated across a diverse set of benchmarks:
- Open-ended QA: NarrativeQA (requiring synthesis from long movie/book narratives) and Qasper (QA over dense scientific articles). These datasets naturally induce high response-level semantic diversity.
- Fact-driven QA: HotpotQA, which tests multi-hop reasoning with more constrained answer spaces.
- Mathematical Reasoning: MATH500, AIME24, and OlympiadBench to evaluate structured, multi-step reasoning tasks with deterministic final answers.
Key Insights and Ideas
- Reasoning errors are highly anisotropic: A minor mistake in a long math derivation yields a gradient direction that is still largely aligned with the correct solution. A fundamentally flawed reasoning path points in a completely conflicting direction. Geometry-aware metrics capture this nuance; entropy does not.
- Uncertainty can signal learning opportunities: High-entropy inputs frequently correspond to partially solved problems where reward signals successfully differentiate competing reasoning paths. Filtering them out creates a biased training distribution that degrades policy improvement.
- Semantic-Gradient Smoothness: The paper mathematically demonstrates that under a local Lipschitz smoothness assumption, embedding-space distances serve as a reliable, tight upper bound for actual sample-level gradient variance.
Key Results
GCPO consistently outperformed raw GRPO and standard semantic entropy baselines across the board:
- QA Benchmarks: On NarrativeQA, GCPO with Barycentric Transport (BoT) achieved an F1 score of 73.82, significantly outperforming raw GRPO (67.02) and standard semantic entropy (72.24). On Qasper and HotpotQA, uncertainty-regulated methods yielded up to a 20% relative performance boost over raw GRPO.
- Mathematical Reasoning: On MATH500, GRPO paired with Cosine Dispersion (CD) reached an accuracy of 74.67%, compared to 68.53% for standard semantic entropy.
- Training Stability: Across all tasks, GCPO substantially reduced the standard deviation of performance across training runs, proving that geometry-aware calibration successfully suppresses spurious variance without killing informative gradient diversity.
Limitations and Future Work
- The "Single-Token" Math Vulnerability: On ultra-hard mathematical benchmarks like AIME24 and OlympiadBench, the performance gains of GCPO were less pronounced. In these tasks, a single critical token error can invalidate an entire derivation without significantly altering the global semantic embedding of the response, making response-level geometry less aligned with gradient variance.
- Unbiasedness Trade-off: By dynamically reweighting queries based on reliability and informativeness, GCPO introduces a structured bias into the gradient estimator. A formal theoretical analysis of convergence under this adaptive weighting remains an open direction for future work.
Summary updated