NLP Lineage

22 January 2025 · Language modelling

DeepSeek-R1

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

DeepSeek-AI

Date
22 January 2025
What the date marks
arXiv submission
Kind
Model
Organisation
DeepSeek
Access
MIT open weights
Other dates
Nature 645:633-638, 2025-09-17
Threads
In the guided tour
Chapter 12. Thinking longer
Learning phases
2. How LLMs are trained

A milestone: 1 later milestone descends directly from it, and its descendants reach 2 of the 10 threads. How levels are decided

The key result has been peer reviewed.

Drafted with Claude from the paper on 15 October 2026; reviewed by Zeeshan Arif. Read from arxiv.org (arXiv version 2 (January 2026); the paper was published in Nature (volume 645, September 2025)).

What it changed

It showed in the open that reinforcement learning with simple right-or-wrong rewards, and no human-written reasoning examples, can teach a language model to reason at length, to the level of OpenAI’s o1 on maths and coding tests.

The problem before it

Chain-of-thought prompting and fine-tuning on worked solutions had improved reasoning. But the authors name two problems. Human-written reasoning examples are costly to collect at scale, and a model trained to copy them is limited by them: it cannot find better, non-human ways to reason.

o1 had shown that a model trained to think for longer before answering does much better on hard problems, and work on test-time compute supported spending more computation at inference. But OpenAI did not publish how o1 was trained.

The idea

The mechanism. The paper trains two models from DeepSeek-V3’s base model.

DeepSeek-R1-Zero uses reinforcement learning only, with no supervised fine-tuning first. The authors’ bet was that human-defined reasoning patterns would limit what the model explores.

During training, R1-Zero’s answers grew from hundreds to thousands of tokens without being asked to. It started to check its work, reflect and try other approaches. At one point it wrote “Wait, wait. Wait. That’s an aha moment I can flag here.” and started again, which the authors call an “aha moment”.

DeepSeek-R1 fixes R1-Zero’s problems, which were hard-to-read reasoning and mixing English and Chinese. It is trained in several stages:

  1. Fine-tune on thousands of “cold-start” examples of readable, conversational reasoning.
  2. Reinforcement learning as for R1-Zero, plus a reward for staying in one language.
  3. Generate many answers, keep the good ones (rejection sampling), and fine-tune again on these plus non-reasoning data such as writing.
  4. A second round of reinforcement learning, adding reward models for helpfulness and safety.

Finally, about 800,000 examples generated by R1 were used to fine-tune smaller open models (Qwen and Llama, from 1.5 to 70 billion parameters), with no reinforcement learning.

The notation. GRPO samples a group of outputs o_1, ..., o_G for a question and gives each the advantage A_i = (r_i - mean(r)) / std(r), its reward compared with the group. It then maximises a clipped objective, as in PPO, minus β times the KL divergence from a reference model. The rule reward for R1-Zero is Reward = Reward_acc + Reward_format.

What it showed

Reported in the paper. We read version 2 of the arXiv paper. A version was published in Nature, a peer-reviewed journal, in September 2025. The comparisons were run by DeepSeek.

Limits, and what came later

The limits come from the paper:

Later work built on it. Qwen3 cited the open reasoning trend in designing its thinking mode.

What to know first

How to read it

The paper is 86 pages, but the main text is only 11. The rest is supplementary material.

  1. Read section 1.
  2. Read section 2 with Figure 1 and Table 2 (the “aha moment”). This is the core result.
  3. Read section 3 with Figure 2 for the multi-stage pipeline, then Table 3.
  4. Read section 6 for the authors’ own limits.
  5. In the supplement, read section B.5 on reward hacking and section F on distillation.

Expect about 1.5 hours for the parts above (an estimate).

In brief, from the research data

Before it

o1 had shown RL-trained reasoning worked, with no published method.

The problem

Nobody outside OpenAI knew whether it needed vast supervised reasoning data or some undisclosed trick.

What it introduced

Reasoning emerged from reinforcement learning alone, with no supervised cold start, using GRPO on a V3 base. Weights released under MIT.

Why it matters

It replicated the reasoning paradigm openly and cheaply, and became the first frontier LLM result peer-reviewed in Nature.

What modern models inherit

Reasoning as something you can train yourself, with a published recipe.

What came next

Open reasoning models across Qwen, Kimi and GLM, and distilled reasoning into small models.

To understand it

Learn

  • GRPO
  • Reasoning from pure reinforcement learning
  • Distilling reasoning into small models

Helpful first

o1 and DeepSeekMath's GRPO.

Before and after

The milestones it descends from, and the milestones that descend from it. Work developed alongside it is not counted. Weak links are left out unless you include them.

Before: where it came from

DeepSeek-R1 has 65 documented ancestors across 12 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 25 turning points among them.

DeepSeek-R1 has 65 documented ancestors across 12 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

DeepSeek-R1 has 71 recorded ancestors, including indirect ones, across 12 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 25 turning points among them.

DeepSeek-R1 has 71 recorded ancestors, including indirect ones, across 12 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

  1. 2025DeepSeek-R1This milestone.
  2. 2024DeepSeek-V3DeepSeek-R1 built directly on thisChapter 8. The weights get out
  3. 2024o1 Turning pointDeepSeek-R1 was influenced by thisChapter 12. Thinking longer
  4. 2024Test-time computeDeepSeek-R1 was influenced by thisChapter 12. Thinking longer
  5. 2024Llama 3.1 405BDeepSeek-V3 was influenced by thisChapter 8. The weights get out
  6. 2024GPT-4oDeepSeek-V3 was influenced by thisChapter 11. Seeing and hearing
  7. 2024DeepSeek-V2 / MLADeepSeek-V3 built directly on thisChapter 9. Making it run anywhere
  8. 2024Llama 3Llama 3.1 405B built directly on thisChapter 8. The weights get out
  9. 2024GRPODeepSeek-R1 built directly on thisChapter 12. Thinking longer
  10. 2024DeepSeekMoEDeepSeek-V3 built directly on thisChapter 8. The weights get out
  11. 2024DeepSeek LLMGRPO built directly on thisChapter 8. The weights get out
  12. 2023GPT-4VGPT-4o built directly on thisChapter 11. Seeing and hearing
  13. 2023Llama 2 Turning pointDeepSeek LLM was influenced by thisChapter 8. The weights get out
  14. 2023Position interpolationLlama 3.1 405B was influenced by thisChapter 10. Reading more than you remember
  15. 2023Process supervisionTest-time compute was influenced by thisChapter 12. Thinking longer
  16. 2023DPOLlama 3.1 405B built directly on thisChapter 6. Teaching models what people want
  17. 2023Grouped-query attention Turning pointDeepSeek-V2 / MLA was influenced by this
    Llama 3.1 405B built directly on this
    Chapter 9. Making it run anywhere
  18. 2023GPT-4 Turning pointGPT-4o built directly on thisChapter 7. The assistant goes public
  19. 2023LLaMA Turning pointLlama 2 built directly on this
    Position interpolation built directly on this
    Chapter 8. The weights get out
  20. 2022GPT-3.5 Turning pointGPT-4 succeeded thisChapter 7. The assistant goes public
  21. 2022Chinchilla Turning pointDeepSeek LLM was influenced by this
    Llama 3.1 405B was influenced by this
    Chapter 5. Scale becomes a science
  22. 2022Self-consistencyTest-time compute built directly on thisChapter 12. Thinking longer
  23. 2022InstructGPT Turning pointGRPO was influenced by thisChapter 6. Teaching models what people want
  24. 2022Chain of thought Turning pointDeepSeek-R1 was influenced by thisChapter 12. Thinking longer
  25. 2021GopherChinchilla built directly on thisChapter 5. Scale becomes a science
  26. 2021FLANInstructGPT was influenced by thisChapter 6. Teaching models what people want
  27. 2021RoPE Turning pointDeepSeek-V2 / MLA built directly on thisChapter 10. Reading more than you remember
  28. 2021Switch TransformerDeepSeekMoE was influenced by thisChapter 5. Scale becomes a science
  29. 2020RLHF for summarisation Turning pointInstructGPT built directly on thisChapter 6. Teaching models what people want
  30. 2020GShard Turning pointDeepSeekMoE built directly on thisChapter 5. Scale becomes a science
  31. 2020GPT-3 Turning pointChain of thought was influenced by thisChapter 5. Scale becomes a science
  32. 2020Scaling laws Turning pointGPT-3 was influenced by this
    DeepSeek LLM built directly on this
    Chapter 5. Scale becomes a science
  33. 2019Multi-query attentionDeepSeek-V2 / MLA was influenced by thisChapter 9. Making it run anywhere
  34. 2019T5 Turning pointSwitch Transformer built directly on this
    FLAN was influenced by this
    Chapter 4. Pretrain once, use everywhere
  35. 2019C4 Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  36. 2019RLHF for LMsRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  37. 2019Sparse Transformer Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  38. 2019GPT-2 Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  39. 2019WebTextGPT-2 was influenced by thisChapter 4. Pretrain once, use everywhere
  40. 2019Transformer-XLRoPE was influenced by thisChapter 4. Pretrain once, use everywhere
  41. 2018BERT Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  42. 2018SentencePieceT5 built directly on thisChapter 4. Pretrain once, use everywhere
  43. 2018GPT-1GPT-2 built directly on thisChapter 4. Pretrain once, use everywhere
  44. 2018ELMoBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  45. 2018ULMFiTBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  46. 2017Mixed precisionDeepSeek-V3 was influenced by thisChapter 9. Making it run anywhere
  47. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  48. 2017RLHF originRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  49. 2017Transformer Turning pointGPT-2 built directly on this
    Sparse Transformer built directly on this
    Scaling laws built directly on this
    Chapter 3. Attention, then only attention
  50. 2017Sparse MoE Turning pointDeepSeekMoE was influenced by thisChapter 3. Attention, then only attention
  51. 2016Layer normGPT-2 built directly on thisChapter 3. Attention, then only attention
  52. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  53. 2015LM pretraining Turning pointGPT-1 was influenced by thisChapter 2. Words become vectors
  54. 2015BPE tokenizationGPT-2 built directly on thisChapter 2. Words become vectors
  55. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  56. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  57. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  58. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  59. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  60. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  61. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  62. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  63. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  64. 1997LSTM Turning pointSparse MoE built directly on thisChapter 1. Language as probability
  65. 1991Mixture of expertsSparse MoE built directly on thisChapter 1. Language as probability
  66. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability
  1. 2025DeepSeek-R1This milestone.
  2. 2024DeepSeek-V3DeepSeek-R1 built directly on thisChapter 8. The weights get out
  3. 2024o1 Turning pointDeepSeek-R1 was influenced by thisChapter 12. Thinking longer
  4. 2024Test-time computeDeepSeek-R1 was influenced by thisChapter 12. Thinking longer
  5. 2024Llama 3.1 405BDeepSeek-V3 was influenced by thisChapter 8. The weights get out
  6. 2024GPT-4oDeepSeek-V3 was influenced by thisChapter 11. Seeing and hearing
  7. 2024DeepSeek-V2 / MLADeepSeek-V3 built directly on thisChapter 9. Making it run anywhere
  8. 2024Llama 3Llama 3.1 405B built directly on thisChapter 8. The weights get out
  9. 2024GRPODeepSeek-R1 built directly on thisChapter 12. Thinking longer
  10. 2024DeepSeekMoEDeepSeek-V3 built directly on thisChapter 8. The weights get out
  11. 2024DeepSeek LLMGRPO built directly on thisChapter 8. The weights get out
  12. 2023GPT-4VGPT-4o built directly on thisChapter 11. Seeing and hearing
  13. 2023Llama 2 Turning pointDeepSeek LLM was influenced by thisChapter 8. The weights get out
  14. 2023Position interpolationLlama 3.1 405B was influenced by thisChapter 10. Reading more than you remember
  15. 2023Process supervisionGRPO was influenced by this (indirect influence)
    Test-time compute was influenced by this
    o1 was influenced by this (indirect influence)
    Chapter 12. Thinking longer
  16. 2023DPOLlama 3.1 405B built directly on thisChapter 6. Teaching models what people want
  17. 2023Grouped-query attention Turning pointDeepSeek-V2 / MLA was influenced by this
    Llama 3.1 405B built directly on this
    Chapter 9. Making it run anywhere
  18. 2023Tree of thoughtsTest-time compute was influenced by this (indirect influence)Chapter 12. Thinking longer
  19. 2023GPT-4 Turning pointGPT-4o built directly on thisChapter 7. The assistant goes public
  20. 2023LLaMA Turning pointLlama 2 built directly on this
    Position interpolation built directly on this
    Chapter 8. The weights get out
  21. 2022GPT-3.5 Turning pointGPT-4 succeeded thisChapter 7. The assistant goes public
  22. 2022WhisperGPT-4o was influenced by this (indirect influence)Chapter 11. Seeing and hearing
  23. 2022Chinchilla Turning pointDeepSeek LLM was influenced by this
    Llama 3.1 405B was influenced by this
    Chapter 5. Scale becomes a science
  24. 2022STaRTest-time compute was influenced by this (indirect influence)
    o1 was influenced by this (indirect influence)
    Chapter 12. Thinking longer
  25. 2022Self-consistencyTest-time compute built directly on thisChapter 12. Thinking longer
  26. 2022InstructGPT Turning pointGRPO was influenced by thisChapter 6. Teaching models what people want
  27. 2022Chain of thought Turning pointDeepSeek-R1 was influenced by thisChapter 12. Thinking longer
  28. 2021GopherChinchilla built directly on thisChapter 5. Scale becomes a science
  29. 2021FLANInstructGPT was influenced by thisChapter 6. Teaching models what people want
  30. 2021RoPE Turning pointDeepSeek-V2 / MLA built directly on thisChapter 10. Reading more than you remember
  31. 2021CLIPGPT-4V was influenced by this (indirect influence)Chapter 11. Seeing and hearing
  32. 2021Switch TransformerDeepSeekMoE was influenced by thisChapter 5. Scale becomes a science
  33. 2020Vision TransformerCLIP built directly on thisChapter 11. Seeing and hearing
  34. 2020RLHF for summarisation Turning pointInstructGPT built directly on thisChapter 6. Teaching models what people want
  35. 2020GShard Turning pointDeepSeekMoE built directly on thisChapter 5. Scale becomes a science
  36. 2020GPT-3 Turning pointChain of thought was influenced by thisChapter 5. Scale becomes a science
  37. 2020Scaling laws Turning pointGPT-3 was influenced by this
    DeepSeek LLM built directly on this
    Chapter 5. Scale becomes a science
  38. 2019Multi-query attentionDeepSeek-V2 / MLA was influenced by thisChapter 9. Making it run anywhere
  39. 2019T5 Turning pointSwitch Transformer built directly on this
    FLAN was influenced by this
    Chapter 4. Pretrain once, use everywhere
  40. 2019C4 Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  41. 2019RLHF for LMsRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  42. 2019Sparse Transformer Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  43. 2019GPT-2 Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  44. 2019WebTextGPT-2 was influenced by thisChapter 4. Pretrain once, use everywhere
  45. 2019Transformer-XLSparse Transformer was influenced by this (indirect influence)
    RoPE was influenced by this
    Chapter 4. Pretrain once, use everywhere
  46. 2018BERT Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  47. 2018SentencePieceT5 built directly on thisChapter 4. Pretrain once, use everywhere
  48. 2018GPT-1GPT-2 built directly on thisChapter 4. Pretrain once, use everywhere
  49. 2018ELMoGPT-1 was influenced by this (indirect influence)Chapter 4. Pretrain once, use everywhere
  50. 2018ULMFiTGPT-1 was influenced by this (indirect influence)Chapter 4. Pretrain once, use everywhere
  51. 2017Mixed precisionDeepSeek-V3 was influenced by thisChapter 9. Making it run anywhere
  52. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  53. 2017RLHF origino1 was influenced by this (indirect influence)Chapter 6. Teaching models what people want
  54. 2017Transformer Turning pointGPT-2 built directly on this
    Sparse Transformer built directly on this
    Scaling laws built directly on this
    Chapter 3. Attention, then only attention
  55. 2017ConvS2STransformer was influenced by this (indirect influence)Chapter 3. Attention, then only attention
  56. 2017Sparse MoE Turning pointDeepSeekMoE was influenced by thisChapter 3. Attention, then only attention
  57. 2016Layer normGPT-2 built directly on thisChapter 3. Attention, then only attention
  58. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  59. 2015LM pretraining Turning pointGPT-1 was influenced by thisChapter 2. Words become vectors
  60. 2015BPE tokenizationGPT-2 built directly on thisChapter 2. Words become vectors
  61. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  62. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  63. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  64. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  65. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  66. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  67. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  68. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  69. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  70. 1997LSTM Turning pointSparse MoE built directly on thisChapter 1. Language as probability
  71. 1991Mixture of expertsSparse MoE built directly on thisChapter 1. Language as probability
  72. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability

After: what it led to

DeepSeek-R1 has 3 documented descendants across 1 chapter, reaching forward to Qwen3.8 in 2026. Showing its direct descendants.

DeepSeek-R1 has 3 documented descendants across 1 chapter, reaching forward to Qwen3.8 in 2026. Showing all of them.

DeepSeek-R1 has 6 recorded descendants, including indirect ones, across 1 chapter, reaching forward to Qwen3.8 in 2026. Showing its direct descendants.

DeepSeek-R1 has 6 recorded descendants, including indirect ones, across 1 chapter, reaching forward to Qwen3.8 in 2026. Showing all of them.

  1. 2025DeepSeek-R1This milestone.
  2. 2025Qwen3was influenced by DeepSeek-R1Chapter 8. The weights get out
  3. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  4. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out
  1. 2025DeepSeek-R1This milestone.
  2. 2025Qwen3was influenced by DeepSeek-R1Chapter 8. The weights get out
  3. 2025gpt-osswas influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  4. 2025GLM-4.5was influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  5. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  6. 2026GLM-5.2built directly on GLM-4.5Chapter 8. The weights get out
  7. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out

Direct links and their sources

Where it came from

Built directly on

Influenced by

What it led to

Influenced

Terms