Introduction
Since the release of OpenAI’s o1, the AI community has sought to replicate its ability to "think longer" to solve complex problems. While scaling inference-time compute is known to improve reasoning, the training mechanics for effective long Chain-of-Thought (CoT) remain opaque. Standard Reinforcement Learning (RL) often fails in this regime; models may "reward hack" by repeating themselves to extend thinking time, eventually hitting context limits and causing performance to collapse. This research provides a systematic recipe for training LLMs to perform stable, long CoT reasoning.
Methodology
The researchers employed a multi-stage training pipeline designed to stabilize long CoT:
- Long CoT SFT: Distilling long reasoning traces from teacher models (e.g., QwQ-32B-Preview) to provide a high-quality initialization.
- Action Prompting: A framework forcing models to explicitly "clarify," "decompose," "reflect," and "answer" to construct synthetic data.
- Cosine Reward Shaping: A piecewise cosine function that rewards efficiency for correct answers while encouraging deliberation for incorrect ones.
- N-gram Repetition Penalty: A penalty for repeated token sequences to prevent stuttering-based reward hacking.
Training Dynamics and the "Sudden Death" Phenomenon
A critical finding is the instability of classic RL. Using simple binary rewards causes models to increase CoT length uncontrollably. Once reasoning exceeds the context window, accuracy drops to near zero almost instantly—a phenomenon termed "sudden death."
The study suggests that core abilities like error correction are latent in base models. RL does not necessarily teach new skills but rather incentivizes the model to recombine latent abilities to solve harder tasks.
Performance Scaling and Generalization
Long CoT models consistently outperform short CoT counterparts across benchmarks as training compute scales. SFT sets the performance floor, while RL sets the ceiling.
On MATH-500, long CoT SFT reached >70% accuracy, whereas short CoT plateaued at 55%. Significant gains were also observed in out-of-distribution (OOD) tasks like AIME 2024 and STEM-focused TheoremQA, where the proposed methods led to a ~20% relative improvement. Interestingly, incorporating noisy web data (WebInstruct) during SFT improved average performance, suggesting that data diversity aids exploration during RL.
Conclusion and Limitations
While long CoT reasoning significantly raises the performance ceiling for LLMs, infrastructure constraints remain a hurdle. Experiments were primarily conducted on 8B parameter models due to memory intensity; larger models may exhibit different reasoning behaviors. Additionally, the reliance on rule-based verifiers for math limits the approach's immediate applicability to open-ended, non-mathematical reasoning, which remains an open challenge for future research.
Summary updated