TL;DR
Correction-OrIented Policy Optimization (CIPO) is a new extension to Reinforcement Learning with Verifiable Rewards (RLVR) that transforms a model's failed attempts into high-quality training signals. By teaching Large Language Models (LLMs) to explicitly correct their own on-policy errors, CIPO significantly boosts reasoning and debugging performance across 11 math and coding benchmarks, outperforming standard RL methods like GRPO without requiring any human-annotated labels.
What Problem Does This Paper Address?
Reinforcement Learning with Verifiable Rewards (RLVR) has become the gold standard for training models in domains like math and code, where answers can be automatically checked (e.g., via a compiler or math verifier). However, current algorithms like Group Relative Policy Optimization (GRPO) follow a simple "reinforce-suppress" paradigm: successful trajectories are rewarded, and failed ones are uniformly penalized.
This approach has two major flaws:
- Wasteful Signal: A "near-miss" (e.g., a complex math proof with one tiny calculation error at the end) is penalized just as harshly as a completely nonsensical response. This ignores the valuable "partially correct" logic within the failure.
- Ambiguous Guidance: Penalizing a failure tells the model what not to do, but it doesn't provide a clear gradient path toward how to fix it.
The authors argue that failed trajectories are not just garbage to be suppressed, but "informative anchors" that can be used to teach the model self-correction.
Methods
CIPO introduces a dual-stream training objective that moves beyond simple suppression to directional guidance.
- The Correction Stream: In addition to standard rollouts, CIPO constructs "correction pairs." It takes a previous rollout (failed or successful) and prompts the model with:
Original Question + Previous Attempt. The model then generates a new, refined solution. - Adaptive Replay Ratio: To prevent the model from forgetting how to solve problems from scratch, CIPO uses a dynamic controller. It adjusts the mix of successful vs. failed trajectories in the correction stream based on the model's recent performance.
- Risk-Averse Reward Shaping: To ensure stability, the authors introduce a specific penalty for "capability regression"—situations where the model is given a correct previous solution but manages to produce an incorrect one during the refinement step.
- Difficulty-Aware Preference: The system prioritizes replaying prompts that fall into the model's "zone of proximal development"—problems it sometimes gets right and sometimes wrong—avoiding wasted compute on trivial or impossibly hard tasks.
Datasets
The authors evaluated CIPO across 11 diverse benchmarks:
- Mathematical Reasoning: Trained on DeepScaleR (40k pairs) and evaluated on AIME24/25, AMC23, MATH500, Minerva, and OlympiadBench.
- Code Generation: Trained on a curated Python dataset (370k items) and evaluated on LiveCodeBench v6 and LeetCode.
- Correction & Critique: Evaluated on CriticBench and DebugBench to specifically measure the model's ability to identify and fix bugs.
Key Insights and Ideas
- Failures Differentiate Themselves: The core insight is that "near-misses" are naturally easier for the model to correct than fundamental flaws. By sampling refinements around these failures, CIPO extracts a denser, more informative signal that naturally guides the model toward the goal state.
- Intrinsic Reasoning vs. Probability Shifting: CIPO shows stronger gains in pass@K metrics than baselines. This suggests the model isn't just concentrating probability on a few known correct answers, but is actually expanding its underlying capacity to reason through new problems.
- Cross-Domain Generalization: Interestingly, models trained on math correction showed significant improvements in symbolic and algorithmic reasoning tasks they hadn't seen before, suggesting that "learning to correct" is a generalizable meta-skill.
Key Results
CIPO consistently outperformed strong baselines like GRPO and PRIME:
- Math Performance: Using Qwen3-4B, CIPO improved average accuracy by 17.56% over the initial model, beating the GRPO baseline by 4.55%. On the challenging AIME25 dataset, it achieved a pass@32 of 70.00% compared to GRPO's 63.33%.
- Coding Performance: On LiveCodeBench v6, CIPO maintained a steady upward trajectory throughout training, while GRPO tended to saturate or fluctuate.
- Debugging: Seed-Coder-8B trained with CIPO achieved a 7.63% gain on DebugBench, reaching performance levels comparable to Claude-4-sonnet.
Limitations and Future Work
- Compute Overhead: CIPO requires additional rollouts for the correction stream, making it roughly 1.6x more expensive in terms of GPU-hours than standard GRPO. However, the authors show that CIPO still outperforms a "compute-matched" GRPO baseline (where GRPO is given more samples to even the field).
- Prompt Engineering: The study did not extensively ablate the wording of the correction prompts. Future work could explore how different prompting strategies for the "refinement" step affect learning efficiency.
- Model Scale: The experiments focused on 4B and 8B models. While the results are promising, testing CIPO on much larger scales (e.g., 70B+) remains an open area for investigation.
Summary updated