NLP Lineage

5 February 2024 · Alignment

GRPO

DeepSeekMath: Pushing the Limits of Mathematical Reasoning

Z. Shao, P. Wang, Q. Zhu, et al. (11 authors)

Date
5 February 2024
What the date marks
arXiv submission
Kind
Training method
Organisation
DeepSeek
Access
MIT code, DeepSeek model licence
Threads
In the guided tour
Chapter 12. Thinking longer
Learning phases
2. How LLMs are trained

A milestone: 3 later milestones descend directly from it, and its descendants reach 7 of the 10 threads. How levels are decided

Full summary in progress. Until then, this page shows the milestone's record from the research data.

What it changed

Before it

RL fine-tuning used PPO, which needs a separate value network alongside the policy.

The problem

The value model doubles memory and is the fiddliest part of the pipeline to stabilise.

What it introduced

Group Relative Policy Optimization: sample a group of answers and use their relative scores as the baseline, dropping the critic entirely.

Why it matters

GRPO is what made large-scale RL for reasoning affordable, and it is the algorithm behind DeepSeek-R1.

What modern models inherit

The RL algorithm most open reasoning training now uses.

What came next

DeepSeek-V3's post-training, then R1, then wide adoption across open reasoning models.

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

GRPO has 43 documented ancestors across 9 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 19 turning points among them.

GRPO has 43 documented ancestors across 9 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

GRPO has 47 recorded ancestors, including indirect ones, across 10 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 20 turning points among them.

GRPO has 47 recorded ancestors, including indirect ones, across 10 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

  1. 2024GRPOThis milestone.
  2. 2024DeepSeek LLMGRPO built directly on thisChapter 8. The weights get out
  3. 2023Llama 2 Turning pointDeepSeek LLM was influenced by thisChapter 8. The weights get out
  4. 2023Grouped-query attention Turning pointLlama 2 built directly on thisChapter 9. Making it run anywhere
  5. 2023LLaMA Turning pointLlama 2 built directly on thisChapter 8. The weights get out
  6. 2022Chinchilla Turning pointDeepSeek LLM was influenced by thisChapter 5. Scale becomes a science
  7. 2022InstructGPT Turning pointGRPO was influenced by thisChapter 6. Teaching models what people want
  8. 2021GopherChinchilla built directly on thisChapter 5. Scale becomes a science
  9. 2021FLANInstructGPT was influenced by thisChapter 6. Teaching models what people want
  10. 2021RoPE Turning pointLLaMA built directly on thisChapter 10. Reading more than you remember
  11. 2020RLHF for summarisation Turning pointInstructGPT built directly on thisChapter 6. Teaching models what people want
  12. 2020GPT-3 Turning pointInstructGPT built directly on thisChapter 5. Scale becomes a science
  13. 2020Scaling laws Turning pointDeepSeek LLM built directly on thisChapter 5. Scale becomes a science
  14. 2019Multi-query attentionGrouped-query attention built directly on thisChapter 9. Making it run anywhere
  15. 2019T5 Turning pointFLAN was influenced by thisChapter 4. Pretrain once, use everywhere
  16. 2019C4 Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  17. 2019RLHF for LMsRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  18. 2019Sparse Transformer Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  19. 2019GPT-2 Turning pointScaling laws was influenced by this
    GPT-3 built directly on this
    Chapter 4. Pretrain once, use everywhere
  20. 2019WebTextGPT-2 was influenced by thisChapter 4. Pretrain once, use everywhere
  21. 2019Transformer-XLRoPE was influenced by thisChapter 4. Pretrain once, use everywhere
  22. 2018BERT Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  23. 2018SentencePieceT5 built directly on thisChapter 4. Pretrain once, use everywhere
  24. 2018GPT-1GPT-2 built directly on thisChapter 4. Pretrain once, use everywhere
  25. 2018ELMoBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  26. 2018ULMFiTBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  27. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  28. 2017RLHF originRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  29. 2017Transformer Turning pointScaling laws built directly on thisChapter 3. Attention, then only attention
  30. 2016Layer normTransformer built directly on this
    GPT-2 built directly on this
    Chapter 3. Attention, then only attention
  31. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  32. 2015LM pretraining Turning pointBERT was influenced by this
    GPT-1 was influenced by this
    Chapter 2. Words become vectors
  33. 2015BPE tokenizationGPT-2 built directly on this
    LLaMA built directly on this
    Chapter 2. Words become vectors
  34. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  35. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  36. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  37. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  38. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  39. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  40. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  41. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  42. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  43. 1997LSTM Turning pointSeq2seq built directly on thisChapter 1. Language as probability
  44. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability
  1. 2024GRPOThis milestone.
  2. 2024DeepSeek LLMGRPO built directly on thisChapter 8. The weights get out
  3. 2023Llama 2 Turning pointDeepSeek LLM was influenced by thisChapter 8. The weights get out
  4. 2023Process supervisionGRPO was influenced by this (indirect influence)Chapter 12. Thinking longer
  5. 2023Grouped-query attention Turning pointLlama 2 built directly on thisChapter 9. Making it run anywhere
  6. 2023LLaMA Turning pointLlama 2 built directly on thisChapter 8. The weights get out
  7. 2022Chinchilla Turning pointDeepSeek LLM was influenced by thisChapter 5. Scale becomes a science
  8. 2022STaRProcess supervision was influenced by this (indirect influence)Chapter 12. Thinking longer
  9. 2022InstructGPT Turning pointGRPO was influenced by thisChapter 6. Teaching models what people want
  10. 2022Chain of thought Turning pointProcess supervision built directly on thisChapter 12. Thinking longer
  11. 2021GopherChinchilla built directly on thisChapter 5. Scale becomes a science
  12. 2021FLANInstructGPT was influenced by thisChapter 6. Teaching models what people want
  13. 2021RoPE Turning pointLLaMA built directly on thisChapter 10. Reading more than you remember
  14. 2020RLHF for summarisation Turning pointInstructGPT built directly on thisChapter 6. Teaching models what people want
  15. 2020GPT-3 Turning pointInstructGPT built directly on thisChapter 5. Scale becomes a science
  16. 2020Scaling laws Turning pointDeepSeek LLM built directly on thisChapter 5. Scale becomes a science
  17. 2019Multi-query attentionGrouped-query attention built directly on thisChapter 9. Making it run anywhere
  18. 2019T5 Turning pointFLAN was influenced by thisChapter 4. Pretrain once, use everywhere
  19. 2019C4 Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  20. 2019RLHF for LMsRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  21. 2019Sparse Transformer Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  22. 2019GPT-2 Turning pointScaling laws was influenced by this
    GPT-3 built directly on this
    Chapter 4. Pretrain once, use everywhere
  23. 2019WebTextGPT-2 was influenced by thisChapter 4. Pretrain once, use everywhere
  24. 2019Transformer-XLSparse Transformer was influenced by this (indirect influence)Chapter 4. Pretrain once, use everywhere
  25. 2018BERT Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  26. 2018SentencePieceT5 built directly on thisChapter 4. Pretrain once, use everywhere
  27. 2018GPT-1GPT-2 built directly on thisChapter 4. Pretrain once, use everywhere
  28. 2018ELMoBERT was influenced by this
    GPT-1 was influenced by this (indirect influence)
    Chapter 4. Pretrain once, use everywhere
  29. 2018ULMFiTBERT was influenced by this
    GPT-1 was influenced by this (indirect influence)
    Chapter 4. Pretrain once, use everywhere
  30. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  31. 2017RLHF originRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  32. 2017Transformer Turning pointScaling laws built directly on thisChapter 3. Attention, then only attention
  33. 2017ConvS2STransformer was influenced by this (indirect influence)Chapter 3. Attention, then only attention
  34. 2016Layer normTransformer built directly on this
    GPT-2 built directly on this
    Chapter 3. Attention, then only attention
  35. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  36. 2015LM pretraining Turning pointBERT was influenced by this
    GPT-1 was influenced by this
    Chapter 2. Words become vectors
  37. 2015BPE tokenizationGPT-2 built directly on this
    LLaMA built directly on this
    Chapter 2. Words become vectors
  38. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  39. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  40. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  41. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  42. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  43. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  44. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  45. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  46. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  47. 1997LSTM Turning pointSeq2seq built directly on thisChapter 1. Language as probability
  48. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability

After: what it led to

GRPO has 9 documented descendants across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing its direct descendants.

GRPO has 9 documented descendants across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing all of them.

GRPO has 12 recorded descendants, including indirect ones, across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing its direct descendants.

GRPO has 12 recorded descendants, including indirect ones, across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing all of them.

  1. 2024GRPOThis milestone.
  2. 2024DeepSeek-V3built directly on GRPOChapter 8. The weights get out
  3. 2025DeepSeek-R1built directly on GRPOChapter 12. Thinking longer
  4. 2025Qwen3was influenced by DeepSeek-R1Chapter 8. The weights get out
  5. 2025Kimi K2was influenced by GRPOChapter 8. The weights get out
  6. 2025DeepSeek-V3.2built directly on DeepSeek-V3Chapter 10. Reading more than you remember
  7. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  8. 2026DeepSeek-V4was influenced by DeepSeek-V3Chapter 8. The weights get out
  9. 2026Kimi K3built directly on Kimi K2Chapter 8. The weights get out
  10. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out
  1. 2024GRPOThis milestone.
  2. 2024DeepSeek-V3built directly on GRPOChapter 8. The weights get out
  3. 2025DeepSeek-R1built directly on GRPOChapter 12. Thinking longer
  4. 2025Qwen3was influenced by DeepSeek-R1Chapter 8. The weights get out
  5. 2025Kimi K2was influenced by GRPOChapter 8. The weights get out
  6. 2025gpt-osswas influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  7. 2025GLM-4.5was influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  8. 2025DeepSeek-V3.2built directly on DeepSeek-V3Chapter 10. Reading more than you remember
  9. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  10. 2026DeepSeek-V4was influenced by DeepSeek-V3Chapter 8. The weights get out
  11. 2026GLM-5.2built directly on GLM-4.5Chapter 8. The weights get out
  12. 2026Kimi K3built directly on Kimi K2Chapter 8. The weights get out
  13. 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

Built on directly by

Influenced

Terms