Abstract
Reinforcement Learning with Verifiable Rewards (RLVR) has become the gold standard for enhancing reasoning capabilities in Large Language Models (LLMs), particularly for math and code. However, this process harbors a critical pathology: Recursive Space Contraction (RSC). As models train, they collapse into single, overconfident paths, permanently "pruning" other valid solutions. Anchored Policy Optimization (APO) addresses this by replacing rigid distribution matching with a flexible "Safe Manifold" approach, allowing models to sharpen their accuracy without losing the diversity of thought necessary for robust exploration.
The Problem: Recursive Space Contraction
During RLVR, a model acts much like a gardener pruning a tree. Positive rewards sharpen the model's focus on a single correct path, while negative rewards for errors "squeeze" the probability mass away. Ideally, that displaced mass should redistribute to other valid alternatives.
In reality, due to the mechanics of the Softmax function, the mass often flows right back to the already-dominant (and potentially flawed) path. This "rich-get-richer" dynamic leads to Recursive Space Contraction—an irreversible collapse where valid alternative reasoning paths are permanently forgotten.
The Flaw in Standard KL-Regularization
The conventional remedy for exploration collapse is Kullback-Leibler (KL) regularization, which forces the training model to stay close to its original "reference" distribution. The authors argue this imposes a rigid Shape Matching constraint. By forcing the model to mimic the entire shape of the original distribution—including its noise—KL regularization creates a gradient conflict. The model is torn between sharpening its predictions to get the right answer and remaining diffuse to match the reference.
Methodology: Anchored Policy Optimization (APO)
To resolve this gradient conflict, the authors introduce APO, shifting the paradigm from global Shape Matching to Support Coverage. APO operates on three core principles:
- The Safe Manifold: Instead of attempting to match the entire reference distribution, APO identifies a "Safe Manifold" consisting of the Top-K most likely tokens from the reference model. As long as the model stays within this safe zone, it is free to aggressively sharpen its predictions.
- Ratio Rectification (Push-Pull Dynamics): APO modifies standard PPO/GRPO objectives with a dual-force mechanism. When the model makes an error, a "Push" force aggressively suppresses that specific path. Simultaneously, a restorative "Pull" force re-inflates the probability of all other tokens within the Safe Manifold.
- Gradient Alignment: Unlike KL penalties that act as an external tug-of-war, APO’s restorative force is mathematically integrated into the policy ratio. This ensures stable updates that remain strictly within the optimization's trust region.
Key Insights & Mechanisms
- The "Poverty of the Path": Analysis reveals that a base model's single most likely path (Top-1) captures only about 84% of correct reasoning steps. Expanding to the Top-8 tokens covers over 97%. This proves that greedy pruning mathematically guarantees the loss of valid reasoning.
- Elastic Recovery: APO enables "Elastic Recovery." If a sharpened path hits a dead end (an error), the Pull force allows the model to backtrack and re-explore previously suppressed valid alternatives.
- Computational Efficiency: Standard KL regularization calculates gradients over the entire vocabulary (often 128k+ tokens). Because APO only computes over the Top-K Safe Manifold (e.g., K=8), it is significantly more computationally efficient.
Empirical Results
The researchers evaluated APO across rigorous mathematical benchmarks (AIME 24 & 25, AMC 23, Math500, Minerva Math) using models like Qwen2.5-7B, Qwen2.5-Math-7B, and Llama-3.2-3B-Instruct.
- Breaking the Trade-off: APO achieved a Pareto improvement, simultaneously increasing accuracy (Pass@1) and diversity (Pass@K).
- Performance Gains: On Qwen2.5-Math-7B, APO outperformed KL-based baselines by up to 6% in Pass@1 efficiency while recovering 1.5%–3.3% of the diversity typically lost during standard RL.
- Enhanced Stability: Theoretical and empirical analyses demonstrated that APO avoids "Trust Region Breaches"—where penalty terms push the model too far, too fast—preventing training collapse.
Limitations and Future Directions
While APO presents a significant leap forward, the authors note a few limitations:
- Anchor Quality: APO relies heavily on the reference model's Safe Manifold. If the base model is exceptionally weak and correct reasoning isn't in its Top-K, APO cannot pull the model toward it.
- Static K: The current implementation uses a fixed K (e.g., Top-8). Developing an adaptive K that scales based on model confidence represents a promising future direction.
- Beyond Verifiable Rewards: Extending APO from objective tasks (like math and code) to subjective tasks (like creative writing or open-ended chat) remains an open challenge for future research.
Summary updated