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

Demystifying Long Chain-of-Thought Reasoning in LLMs

Edward Y. Chang, Yuxuan Tong, Morry Niu, Graham Neubig, Xiang Yue · DOI · OpenReview

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:

  1. Long CoT SFT: Distilling long reasoning traces from teacher models (e.g., QwQ-32B-Preview) to provide a high-quality initialization.
  2. Action Prompting: A framework forcing models to explicitly "clarify," "decompose," "reflect," and "answer" to construct synthetic data.
  3. Cosine Reward Shaping: A piecewise cosine function that rewards efficiency for correct answers while encouraging deliberation for incorrect ones.
  4. 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."

Figure 1: Training dynamics showing accuracy collapse as CoT length exceeds context limits.

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.

Figure 2: Scaling curves across MATH-500, AIME 2024, TheoremQA, and MMLU-Pro benchmarks.

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

BibTeX
@inproceedings{chang2025demystifying,
  author = {Edward Y. Chang and Yuxuan Tong and Morry Niu and Graham Neubig and Xiang Yue},
  title = {{Demystifying Long Chain-of-Thought Reasoning in LLMs}},
  booktitle = {FM-Wild @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=WCcQCWEAzc},
}
Figure