Demystifying Long CoT Reasoning in LLMs arxiv.org/pdf/2502.03373...

arxiv.org/pdf/2502.03373
Reasoning models like R1 / O1 / O3 have gained massive attention, but their training dynamics remain a mystery. We're taking a first deep dive into understanding long CoT reasoning in LLMs!
11 Major Takeaways👇(long threads)
Verifiable reward signals based on ground-truth answers are essential for stabilizing long CoT RL for reasoning tasks. As an attempt to counter this, we explore using WebInstruct from our previous work which is more available despite more noise, like reasoning-related QA pairs extracted from web corpora. Adding noisy but diverse verifiable data leads to better performance in more general reasoning beyond math.

Introducing 🦣MAmmoTH2 (tiger-ai-lab.github.io/MAmmoTH2/), a family of open-source models that unlocks unprecedented performance gains in reasoning tasks by leveraging two key insights:
1️⃣ Scaling is still all you need, even in the instruction tuning phase! 📈
2️⃣ High-quality, diverse instructions naturally exist on the web and can be efficiently harvested without costly human annotation. 💸
Our 3-step pipeline mines 10M instruction-response pairs from web data:
1️⃣ Recall relevant docs from Common Crawl using fastText 🔍
2️⃣ Extract instruction-response pairs from docs using open-source LLMs 🪄
3️⃣ Refine the extracted pairs using open-source LLMs to fix formatting & add missing rationales ✨
By fine-tuning base LLMs on this dataset, MAmmoTH2 models achieve huge gains on reasoning benchmarks without seeing in-domain data, e.g.:
- MAmmoTH2-7B: Mistral-7B MATH 11% → 34% 🧮
- MAmmoTH2-8B: Llama-3-8B TheoremQA 20% → 30% 🎓
Further fine-tuning MAmmoTH2 on open-source instruction data, including OpenHermes 2.5, Code Feedback, and Math-Aug (our newly constructed), leads to MAmmoTH2-Plus.
🌟 MAmmoTH2-8×7B-Plus (Mixtral MoE base) matches 110B Qwen's reasoning performance with only 13B params while achieving impressive chat abilities, scoring 33.8 on AlpacaEval 2.0 and 32.6 on ArenaHard. 🏆
🌟MAmmoTH2-8B-Plus and Llama-3-8B-Instruct, both derived from Llama-3-base and tuned on 10M-sized datasets, provide an apples-to-apples comparison. Despite Llama-3-8B-Instruct using human-annotated data and MAmmoTH2-8B-Plus not, our model surpasses Llama-3-8B-Instruct by 6 points in reasoning tasks, showcasing the power of our annotation-free approach. 💡
Our work demonstrates a new paradigm for building powerful instruction-tuned models by efficiently harvesting large-scale, high-quality data from the web without costly human annotation or GPT-4 distillation. 💸🧠
An online demo (for reasoning and general chat; Yes, our model is not just intended for reasoning!) is available at: huggingface.co/spaces/TIGER-L…
Kudos to the co-lead: @WenhuChen and the team: Tuney Zheng @GeZhang86038849!
Commonly used pre-training data contain content that shares similar properties (e.g., branching and error validation) to long CoT. The base model might already acquire such skills during pre-training. We use MiniHash to search over OpenWebMath and Perplexity to search over the internet. We found many examples containing such patterns. Here is one example (discourse.mc-stan.org/t/interpretati…)
However, incentivizing these behaviors from the base model may require strict conditions, such as a strong base model.
We greatly thank and appreciate the replication study efforts by @junxian_he However, we found such a seemingly emergent aha moment might need to be further carefully recognized. Sometimes such behaviors already exist in the base model’s output and RL does not substantially enhance them even though the accuracy is boosted.
We think the reasons are likely caused by:
- The base model, being relatively small (7B parameters), may lack the capacity to quickly develop such complex abilities when incentivized.
- The model might have been overexposed to MATH-like short instruction data during (continual) pre-training and annealing, leading to overfitting and hindering the development of long CoT behaviors.

🚀 Starting from Qwen2.5-Math-7B (base model), we perform RL on it directly. No SFT, no reward model, just 8K MATH examples for verification, the resultant model achieves (pass@1) 33.3% on AIME, 62.5% on AMC, and 77.2% on MATH, outperforming Qwen2.5-math-7B-instruct and being comparable to PRIME and rStar-MATH that use >50x more data and more complicated components.
🚀 Increased CoT length and self-reflection emerge
We share the details and our findings in the blog:
hkust-nlp.notion.site/simplerl-reason
Training code and implementation details here: github.com/hkust-nlp/simp…
[Discussion 1]:
We believe that the model size is the primary factor limiting the emergence of the behavior as also highlighted by @hwchung27 in his recent talk

I made this talk last year when I was thinking about a paradigm shift. This delayed posting is timely as we just released o1, which I believe is a new paradigm.
It's a good time to zoom out for high level thinking.
(1/11)
However, scaling up with model size for long CoT with open-source RL Infrastructure still faces challenges. We observe that open-source RL frameworks (e.g., OpenRLHF) often coordinate multiple systems optimized for different training and inference workloads, leading to multiple copies of model parameters being stored in memory. Additionally, algorithms like PPO alternate between these workloads synchronously and sequentially, further limiting efficiency.
We also explored REINFORCE++ as a faster alternative to PPO for scaling up data. However, we found it to be more unstable than PPO, leading to lower training accuracies in the long CoT setting. As this instability may be due to an untuned setup, we refrain from making general claims about the algorithm. We present this as an observation that may be useful to the community.
While our findings demonstrate that combining rule-based verifiers with prompt set filtering is highly effective, designing such rules and curating prompt sets across different domains remains labor-intensive.
However, as highlighted in The Bitter Lesson, manually encoding human intuition tends to be an inefficient long-term strategy. This raises an intriguing question: how can verification signals be scaled effectively? Is there an equivalent of pre-training in the context of designing RL environments? We look forward to future research on silver supervision signals and the potential for self-supervised approaches in RL verification.
Reasoning is a latent capability in base models that has only recently been unlocked. Our analysis suggests that one possible source of this emergent thinking is human dialogue on Internet discussion forums. This raises a broader question: what other abilities exist, waiting to be elicited from the vast reservoir of human knowledge and experience embedded in pre-training data? We look forward to more detailed analyses tracing model behaviors back to their data origins.















