NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewards

Mengjie Ren, Jie Lou, Boxi Cao, Xueru Wen, Hongyu Lin, Xianpei Han, Le Sun, XingYu, Yaojie Lu

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:

  1. 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.
  2. 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.

Figure 1: Comparison of how standard RLVR and CIPO exploit failed trajectories. CIPO pro- vides more directional and informative learn- ing signals.
  • 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.
Figure 2: The overall framework of CIPO. First, we generate rollouts for the curated data via the policy model and verify their correctness. Subsequently, we construct replayed samples using a template governed by an adaptive mechanism, which dynamically adjusts the ratio of successful to failed rollouts in the replay. We then generate and verify rollouts for this replayed data. Finally, we perform RL on the rollouts from both the replayed and original samples.

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.
Figure 3: Pass@8 training dynamics on LiveCodeBench v6.

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

BibTeX
@inproceedings{ren2026learning,
  author = {Mengjie Ren and Jie Lou and Boxi Cao and Xueru Wen and Hongyu Lin and Xianpei Han and Le Sun and XingYu and Yaojie Lu},
  title = {{Learning from Failures: Correction-Oriented Policy Optimization with Verifiable Rewards}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=84Y8X1cguD},
}
Figure