DeepSeek-AI shows a model can learn to reason from correct-answer rewards alone (GRPO), then turns it into R1 and distils it into small models.

Language models answer hard maths and coding questions better when they write out their thinking step by step. Until this paper, the usual way to teach that was to show the model many human-written solutions. DeepSeek-AI asked a different question: can a model learn to reason from rewards alone, with no human-written reasoning to copy? The answer was yes for questions with checkable answers, and the paper then shows how to turn that raw result into a usable assistant and how to pass the skill to small models.
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning, by DeepSeek-AI, arXiv:2501.12948, first posted January 2025 (the text read here is version 2, January 2026). Read it at arxiv.org/abs/2501.12948.
Reward a model only when its final answer is correct, and it learns to think longer, check its work and try other approaches on its own.
The paper builds on DeepSeek-V3-Base, a large pre-trained model. The first version trained only with rewards (R1-Zero). The second added a few extra stages to make the output readable and generally helpful (R1).
Reinforcement learning (RL) means the model tries something, gets a score, and changes itself to earn higher scores. For R1-Zero the score comes from two simple rules, not from a learned judge:
<think> and </think> tags.The paper adds the two rewards with equal weight. It chose not to use a neural reward model for reasoning, because such models can be exploited during long training. This exploiting is called reward hacking: the model finds a shortcut that earns a high score without doing the real task.
Toy example (my own numbers; the paper does not list its point values). Say each rule gives 1 point. Right answer with tags: 2. Right answer without tags: 1. Wrong answer with tags: 1.
The RL method is Group Relative Policy Optimization (GRPO). The policy is the model itself. For each question, GRPO does this:
Ask one question
The older method, PPO, uses a second network, a value model, to estimate how good a state is. The paper's Figure 3 shows that GRPO has no value model and takes its comparison from the group's own scores. This saves memory and computing.
The comparison is called the advantage. For answer with reward :
Here is the group size, and std is the standard deviation, a measure of how spread out the rewards are.
Toy example. A group of 4 answers has rewards 1, 0, 0, 0. The mean is 0.25 and the standard deviation is about 0.433. The correct answer gets . Each wrong answer gets . If the rewards were 1, 1, 0, 0, the advantages would be +1, +1, -1, -1.
The full objective adds two safety parts:
For R1-Zero the paper samples 16 answers per question and trains for 10,400 steps.
With only these rewards, the model's average score on AIME 2024 (a hard maths competition) rose from 15.6% to 77.9% (pass@1, meaning one try per question). With majority voting over 16 answers it reached 86.7%. The average answer also grew steadily longer as training went on.
The paper reports an "aha moment": the model began using the word "wait" much more often while re-checking its own work (Table 2 shows an example).
R1-Zero was hard to read, sometimes mixed English and Chinese in one answer, and was weaker at writing and open questions. R1 uses these stages:

Distillation means training a small "student" model to imitate a large "teacher". The team fine-tuned Qwen and Llama models of 1.5B to 70B parameters on the same 800,000 samples from R1. They used SFT only and no RL for these models.
R1 stage by stage (paper Table 3):
| Benchmark | R1-Zero | Dev-1 | Dev-2 | Dev-3 | R1 |
|---|---|---|---|---|---|
| AIME 2024 (pass@1) | 77.9 | 59.0 | 74.0 | 78.1 | 79.8 |
| Codeforces (percentile) | 80.4 | 84.5 | 90.5 | 92.1 | 96.3 |
R1 against OpenAI o1-1217 (paper Table 8):
| Benchmark | R1 | o1-1217 |
|---|---|---|
| AIME 2024 (pass@1) | 79.8 | 79.2 |
| MATH-500 | 97.3 | 96.4 |
| Codeforces (percentile) | 96.3 | 96.6 |
| GPQA Diamond | 71.5 | 75.7 |
| MMLU | 90.8 | 91.8 |
The distilled 32B model scored 72.6 on AIME 2024. A 32B model trained with large-scale RL only (Qwen2.5-32B-Zero) scored 47.0, and QwQ-32B-Preview scored 50.0 (Table 16). The paper concludes that for small models, distillation beats running the same RL.
The paper's Table 7 puts the R1 work at 147,000 H800 GPU hours, about 2 per hour (10,000 for SFT data, $82,000 for R1). This covers the stages built on DeepSeek-V3-Base. The paper does not give a figure for building the base model.
What these numbers show. Rule-based RL can raise reasoning scores a lot on maths, code and STEM, and the result is close to the o1-1217 model on several tests. What they do not show. They do not show that RL works for every task, and the o1 comparison is on selected benchmarks, with o1 ahead on four of the six above.