DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
Pure reinforcement learning teaches a model to reason, with no human traces
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
Reasoning emerges as RL training proceeds

Left: R1-Zero's AIME pass@1 climbs from 15.6% to 77.9% during RL. Right: responses grow longer on their own as the model learns to spend more thought.
Reasoning used to require human demonstrations
Models learned to reason by imitating human-written chains of thought, which are costly and cap the model at human strategies.
Start from the base model and run RL with only rule-based rewards for a correct answer and the right format. Reflection and self-checking emerge unprompted.
Reward the outcome and let the model discover the method.
GRPO: no critic, rewards compared within a group
Sample a group of answers to the same question and score each against its siblings. The group baseline replaces PPO's learned value model, saving memory.
- ri
- Reward for answer i: correctness plus format
- G
- Group size: answers sampled per question
- A^i
- Advantage used in the clipped policy update
From R1-Zero to R1 in several stages

Cold-start chain-of-thought data fixes R1-Zero's poor readability and language mixing. Alternating RL and fine-tuning stages then add general helpfulness while keeping the reasoning.
What the rewards actually check
- 1
Accuracy reward
Math answers must match in a boxed final format; code must pass test cases from a compiler.
- 2
Format reward
The model must put its reasoning between think tags before giving the answer.
- 3
No neural reward model
Avoided for reasoning, because learned rewards invite reward hacking at scale.
Reasoning on par with OpenAI o1
Pass@1 (%) for AIME and MATH-500; percentile against human Codeforces competitors.
Rough edges the paper reports
Language mixing
Tuned for Chinese and English, it can mix languages when prompted in others.
Prompt sensitivity
Few-shot prompting degrades results; zero-shot with a clear output format works best.
Modest software gains
Long evaluation times limited RL on software engineering tasks, so gains over V3 there are small.
Why it matters
- Outcome-only rewards on verifiable tasks are enough for long chains of thought to emerge.
- GRPO drops the critic, making large-scale RL on language models much cheaper.
- Distilling R1's traces into small dense models beats running RL on those small models directly.
458 upvotes on Hugging Face 9 slides, 2 min
22 Jan 2025