FDEInterviews logo
Nature (2025)

DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning

DeepSeek showed that reinforcement learning on checkable problems, with no human reasoning examples, teaches a model to think at length and reach o1-level math. Small distilled versions followed.

Breakdown by FDE Interviews · 13 min read · Updated

About the original · 2025
AUTHORS
DeepSeek-AI (Guo, Yang, Zhang, Song, Wang, et al.)
FROM
DeepSeek-AI
PUBLISHED
Jan 2025 · Nature (2025)
CITED BY
5,898Semantic Scholar · Oct 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 20% of this breakdown.

01

The paper in one minute

Chain-of-thought prompting showed that models reason better when they write out steps. OpenAI's o1 showed that training a model to produce long internal reasoning helps much more, but not how it was done. The usual assumption was that you need many human-written examples of good reasoning.

DeepSeek-AI tested the opposite. For DeepSeek-R1-Zero, they took their DeepSeek-V3 base model and ran large-scale reinforcement learning with no supervised fine-tuning at all. The only instruction was a template: think inside <think> tags, then answer. The only rewards were rule-based: is the final answer correct (a math answer matches, code passes tests), and is the format right. The algorithm, GRPO, samples a group of answers per question and rewards each one relative to the group's average, which avoids training a separate value model.

Over about 10,400 training steps, R1-Zero's accuracy on AIME 2024 math problems rose from 15.6% to 77.9%, and to 86.7% when voting over 16 samples. Its answers grew longer on their own, from hundreds to thousands of tokens, and it started checking its work, trying alternatives and writing "wait" mid-solution. No one showed it how.

R1-Zero was hard to read and mixed English and Chinese, and it was weak outside reasoning. So DeepSeek-R1 added stages: a small "cold start" fine-tune on thousands of readable reasoning examples, reasoning RL with a reward for staying in one language, a large supervised fine-tune on 800,000 rejection-sampled examples covering reasoning and general tasks, and a final RL stage for helpfulness and harmlessness. The result matched OpenAI o1-1217 on math (79.8% AIME 2024, 97.3% MATH-500) and was close on code. Fine-tuning small open models on R1's outputs produced distilled models that beat GPT-4o on math, down to 1.5B parameters.

THE IDEA, VISUALLY
REASONING FROM REWARDS, NOT DEMONSTRATIONS R1-Zero DeepSeek-V3 base mixture-of-experts GRPO, rule-based rewards correct answer + <think> format AIME 2024: 15.6% → 77.9% (86.7% with 16-sample voting) thinking got longer on its own; 'wait' appeared mid-reasoning R1 cold-start SFT thousands of readable examples reasoning RL + language-consistency reward rejection sampling + SFT reasoning and general data RL, all scenarios rules + reward models Post-training: ~147K H800 GPU hours, ~$294K (base model not included) WHAT THE EXTRA STAGES TRADED R1-Zero Dev1 Dev2 Dev3 R1 24.7 87.6 77.9 79.8 75.8 71.5 AlpacaEval 2 (LC win %) AIME 2024 GPQA Diamond Readability and chat gained a lot; some reasoning scores slipped (Table 3).
R1-Zero learned to reason from rewards for correct answers alone. R1's extra stages made it readable and good at chat, at the cost of a few reasoning points on some benchmarks.
Research notes: the problem, approach and results
15.6% → 77.9%

AIME 2024 pass@1 for R1-Zero over pure RL training, with no supervised reasoning data

~$294K

post-training cost for R1-Zero and R1 at $2 per H800 hour, excluding the base model

28.9%

AIME pass@1 for a 1.5B model distilled from R1, against 9.3% for GPT-4o

THE PROBLEM

Reasoning models like OpenAI's o1 had shown that long chains of thought help, but how to train them was not public, and the obvious route, human-written reasoning traces, is costly and caps the model at human style.

THE IDEA

Skip supervised examples: run large-scale RL (GRPO) on a base model with rewards only for correct, checkable answers and a think-then-answer format. Then add small fine-tuning stages for readability and general use.

THE RESULT

R1-Zero's AIME 2024 score rose from 15.6% to 77.9% through RL alone. R1 matched OpenAI o1-1217 on math (79.8% AIME, 97.3% MATH-500), and 800k R1 samples made small distilled models strong.

02

Why it matters to an FDE

R1 opened reasoning models to everyone: open weights, a published recipe, and distilled versions small enough to self-host. For customer work it raises three practical questions.

When to use a reasoning model. They help on problems with a definite answer that needs several steps: math, code, logic, multi-constraint planning. They cost more tokens and time, and the paper notes R1 still "overthinks" simple questions. Route easy requests to a normal model.

How to prompt them. The paper found few-shot prompting consistently hurt R1; describe the problem and the output format directly instead. That reverses a habit many teams carried over from earlier models.

What it says about customization. The reward signal is the whole method: correct-or-not checks, not human judgments. If a customer's task has a reliable checker (tests, totals, schema validity, a policy rule), reinforcement learning against it is a real option, and the authors warn that model-based rewards were "hacked" during training. Where no checker exists, they fell back to human-annotated supervised data.

Distillation is the cheap path. For most customers, the practical route is a distilled model, or fine-tuning a small model on a strong reasoning model's outputs for their domain. In the paper, distilling R1 into a 32B model beat running large-scale RL on that same 32B model.

Know the gaps. At release R1 was weak on structured output and could not use tools during reasoning. Check both before putting it in an agent.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 49 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦5 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    How R1-Zero and R1 were trained, what emerged, and the misreadings to avoid

    Free account
  2. 04How it works

    GRPO, the reward design, the training configuration, and the reward models used later

    Premium
  3. 05The numbers that matter

    Every stage's results, the distillation table, and the cost breakdown

    Premium
  4. 06Try it yourself

    Train a toy policy with GRPO on correctness rewards and watch it think longer, and overthink

    Premium
  5. 07Where it breaks

    The limitations DeepSeek lists, and the cautions for anyone applying the method

    Premium
  6. 08Using it on a deployment

    Choosing, prompting and customizing reasoning models for a customer

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →