Agentic AI
New AI training method boosts language model reasoning by learning from both successes and failures
Researchers introduce Group Contrastive Policy Optimization, a hybrid learning approach that keeps large language models improving even when they generate wrong answers across the board.
A team of computer scientists has unveiled Group Contrastive Policy Optimization (GCPO), a novel training technique designed to overcome a critical limitation in how large language models learn to reason. The method builds on reinforcement learning with verifiable rewards—a framework where models improve by receiving feedback on whether their outputs are correct—but introduces a key innovation to handle scenarios where existing approaches break down entirely.
The core challenge#
Current group-based reinforcement learning methods struggle when a model's exploration fails catastrophically. If every attempted response receives a zero reward (meaning none of them are correct), the standard training signal vanishes, and the model has nothing to learn from. This bottleneck prevents models from pushing past their current reasoning capabilities.
How GCPO works differently#
GCPO preserves the standard optimization process when at least some rollout attempts succeed, keeping the reliable learning signal intact. However, when exploration completely fails across the board, the method activates an auxiliary contrastive objective that operates on a different principle.
Rather than treating failure as a dead end, GCPO pairs the model's incorrect responses with a reference trajectory from a "golden answer"—an expert demonstration of correct reasoning. This reference doesn't participate in the main training loop as a regular sample would; instead, it serves as a reliable positive anchor point. The model's failures act as hard negatives (difficult examples to discriminate against). The golden trajectory's old-policy token probabilities are computed via teacher forcing and used exclusively to bound the update step, not as a standard importance-sampling correction.
The mathematical insight#
A first-order theoretical analysis reveals that this approach increases the length-normalized likelihood margin between correct reasoning and observed failures. In other words, it pushes the model to assign higher probability to the right reasoning patterns relative to the mistakes it made, while accounting for sequence length.
Evidence from experiments#
Testing across two model scales and 10 core mathematical reasoning benchmarks showed that GCPO outperforms both supervised baselines and competing reinforcement learning approaches. The gains appeared both in training speed and in final performance on reasoning tasks, suggesting the technique genuinely accelerates learning rather than merely producing marginally different results.

