NLP Lineage

November 1997 · Language modelling

LSTM

Long Short-Term Memory

S. Hochreiter, J. Schmidhuber

Date
November 1997
What the date marks
Journal
Kind
Research paper
Organisation
TU Munich / IDSIA
Access
Not applicable
Threads
In the guided tour
Chapter 1. Language as probability

A turning point: 6 later milestones descend directly from it, and its descendants reach 10 of the 10 threads. How levels are decided

Drafted with Claude from the paper on 15 October 2026; reviewed by Zeeshan Arif. Read from bioinf.jku.at (Neural Computation 9(8), 1997). This is an open copy from the authors' institute. The official version is in Neural Computation, published by MIT Press.

What it changed

It gave recurrent networks a memory that can keep information for more than 1,000 time steps, by protecting a stored value inside a “memory cell” with learned gates.

The problem before it

A recurrent network reads a sequence one step at a time. It keeps a hidden state, which is a list of numbers that carries information from earlier steps. The network learns by sending an error signal backwards through the steps. This error signal is the gradient: it tells each weight how to change.

Hochreiter had shown in 1991 that this backward signal is multiplied again at every step. So over many steps it either grows without limit or shrinks to almost nothing. When it shrinks, the network cannot learn that an input from long ago caused an output now. In the paper’s own tests, the two standard training methods already failed when 10 steps separated a cue and the point where it mattered.

The idea

The mechanism. The paper builds a special unit called a memory cell. At its centre is one value, the cell state. At each step, the cell keeps its old value and adds the new input that the input gate lets in. The old value is carried over through a self-connection with a fixed weight of 1.0. Because this connection never shrinks or grows the value, the backward error signal also passes along it unchanged. The authors call this path the “constant error carrousel” (their spelling).

A path that never changes is not useful by itself. The cell must decide what to store and when to show it. So the paper adds two gates. A gate is a small unit whose output is between 0 and 1, and the cell multiplies a signal by it:

Both gates learn their behaviour from data, with the rest of the network. To keep the error flow constant, the training cuts the backward signal at the cell’s inputs. Inside the cell, the signal is never cut.

The notation. For a cell c, the state s_c changes at each step t by s_c(t) = s_c(t-1) + y_in(t) * g(net_c(t)). Here y_in is the input gate’s output, and g squashes the new input. The cell’s output is y_c(t) = y_out(t) * h(s_c(t)), where y_out is the output gate and h squashes the state. The cost per weight and per step is constant, written O(1).

What it showed

Reported in the paper. It was published in a peer-reviewed journal. All tests use artificial tasks that the authors designed to need long memory.

Limits, and what came later

The authors list these limits:

The original cell has no way to clear its own memory. A “forget gate” was added in later work (Gers, Schmidhuber and Cummins, 2000), and it is part of the LSTM used today.

LSTM became the standard recurrent unit for about 20 years. Seq2seq is built from stacked LSTMs. The GRU is a simpler gated unit in the same family. CoVe and ELMo take their word representations from LSTMs. The sparsely gated mixture-of-experts layer was first placed between stacked LSTM layers. The Transformer later replaced recurrence in most language models.

What to know first

How to read it

The paper is 32 pages, and long parts are dense mathematics.

  1. Read the abstract and section 1 for the problem.
  2. Read section 3.2 (“Constant error flow: naive approach”). It explains why a plain self-connection is not enough. This is the key step.
  3. Read section 4 with Figure 1, the memory cell. This is the idea.
  4. Skim section 5. Read the introduction of each experiment and its results table.
  5. Read section 6 for the authors’ own list of limits and advantages.

Skip the appendix and the long derivation in section 3.1 on a first reading. Expect about 2 hours for the parts above (an estimate).

In brief, from the research data

Before it

Recurrent nets existed but gradients vanished over long sequences, so they forgot.

The problem

Errors propagated backwards through many steps shrink to nothing, capping memory at a few words.

What it introduced

A gated memory cell that can hold a value unchanged across many steps until a gate decides to alter it.

Why it matters

It made recurrent networks actually usable, and powered sequence learning until attention displaced it.

What modern models inherit

Gating as a way to control what information persists, and the long-range dependency problem attention later solved differently.

What came next

Seq2seq, neural translation, and ELMo were all built from LSTMs.

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

LSTM has 1 documented ancestors across 1 chapter, reaching back to Recurrent networks in 1990. Showing all of them.

LSTM has 1 documented ancestors across 1 chapter, reaching back to Recurrent networks in 1990. Showing all of them.

LSTM has 1 recorded ancestors, including indirect ones, across 1 chapter, reaching back to Recurrent networks in 1990. Showing all of them.

LSTM has 1 recorded ancestors, including indirect ones, across 1 chapter, reaching back to Recurrent networks in 1990. Showing all of them.

  1. 1997LSTMThis milestone.
  2. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability
  1. 1997LSTMThis milestone.
  2. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability

After: what it led to

LSTM has 161 documented descendants across 14 chapters, reaching forward to Claude Opus 5.5 in 2026. Showing its direct descendants and the 22 turning points among them.

LSTM has 161 documented descendants across 14 chapters, reaching forward to Claude Opus 5.5 in 2026. Showing all of them.

LSTM has 170 recorded descendants, including indirect ones, across 14 chapters, reaching forward to Claude Opus 5.5 in 2026. Showing its direct descendants and the 23 turning points among them.

LSTM has 170 recorded descendants, including indirect ones, across 14 chapters, reaching forward to Claude Opus 5.5 in 2026. Showing all of them.

  1. 1997LSTMThis milestone.
  2. 2010RNN LMwas influenced by LSTMChapter 1. Language as probability
  3. 2014GRU / encoder-decoderbuilt directly on LSTMChapter 2. Words become vectors
  4. 2014Attention Turning pointbuilt directly on GRU / encoder-decoder
    built directly on Seq2seq
    Chapter 3. Attention, then only attention
  5. 2014Seq2seq Turning pointbuilt directly on LSTMChapter 2. Words become vectors
  6. 2015Luong attentionbuilt directly on AttentionChapter 3. Attention, then only attention
  7. 2016GNMTbuilt directly on Seq2seqChapter 2. Words become vectors
  8. 2017Sparse MoE Turning pointbuilt directly on LSTMChapter 3. Attention, then only attention
  9. 2017ConvS2Sbuilt directly on AttentionChapter 3. Attention, then only attention
  10. 2017Transformer Turning pointbuilt directly on Seq2seqChapter 3. Attention, then only attention
  11. 2017CoVebuilt directly on LSTMChapter 3. Attention, then only attention
  12. 2018ELMobuilt directly on LSTMChapter 4. Pretrain once, use everywhere
  13. 2018GPT-1built directly on TransformerChapter 4. Pretrain once, use everywhere
  14. 2018BERT Turning pointwas influenced by ELMoChapter 4. Pretrain once, use everywhere
  15. 2019Transformer-XLbuilt directly on TransformerChapter 4. Pretrain once, use everywhere
  16. 2019GPT-2 Turning pointbuilt directly on TransformerChapter 4. Pretrain once, use everywhere
  17. 2019WebTextwas influenced by GPT-1Chapter 4. Pretrain once, use everywhere
  18. 2019Sparse Transformer Turning pointbuilt directly on TransformerChapter 4. Pretrain once, use everywhere
  19. 2019RoBERTabuilt directly on BERTChapter 4. Pretrain once, use everywhere
  20. 2019Sentence-BERTbuilt directly on BERTChapter 10. Reading more than you remember
  21. 2019Megatron-LMbuilt directly on Transformer
    was influenced by BERT
    Chapter 4. Pretrain once, use everywhere
  22. 2019RLHF for LMsbuilt directly on GPT-2Chapter 6. Teaching models what people want
  23. 2019T5 Turning pointbuilt directly on Transformer
    was influenced by BERT
    Chapter 4. Pretrain once, use everywhere
  24. 2019Multi-query attentionbuilt directly on TransformerChapter 9. Making it run anywhere
  25. 2020Scaling laws Turning pointbuilt directly on TransformerChapter 5. Scale becomes a science
  26. 2020Longformerbuilt directly on TransformerChapter 10. Reading more than you remember
  27. 2020Dense retrievalbuilt directly on BERTChapter 10. Reading more than you remember
  28. 2020RAGbuilt directly on Dense retrievalChapter 10. Reading more than you remember
  29. 2020GPT-3 Turning pointwas influenced by Scaling laws
    built directly on GPT-2
    built directly on Sparse Transformer
    Chapter 5. Scale becomes a science
  30. 2020GShard Turning pointbuilt directly on Sparse MoEChapter 5. Scale becomes a science
  31. 2020BigBirdbuilt directly on TransformerChapter 10. Reading more than you remember
  32. 2020RLHF for summarisation Turning pointbuilt directly on RLHF for LMsChapter 6. Teaching models what people want
  33. 2020Vision Transformerbuilt directly on Transformer
    was influenced by BERT
    Chapter 11. Seeing and hearing
  34. 2020The Pilewas influenced by GPT-3Chapter 5. Scale becomes a science
  35. 2021Switch Transformerbuilt directly on Sparse MoEChapter 5. Scale becomes a science
  36. 2021CLIPbuilt directly on GPT-2
    built directly on Vision Transformer
    Chapter 11. Seeing and hearing
  37. 2021RoPE Turning pointbuilt directly on TransformerChapter 10. Reading more than you remember
  38. 2021LoRAbuilt directly on TransformerChapter 9. Making it run anywhere
  39. 2021Copilotwas influenced by Codex / HumanEvalChapter 7. The assistant goes public
  40. 2021Codex / HumanEvalbuilt directly on GPT-3Chapter 13. Models that act
  41. 2021ALiBibuilt directly on TransformerChapter 10. Reading more than you remember
  42. 2021FLANwas influenced by T5Chapter 6. Teaching models what people want
  43. 2021T0built directly on T5Chapter 6. Teaching models what people want
  44. 2021HHH assistantwas influenced by RLHF for summarisationChapter 6. Teaching models what people want
  45. 2021RETROwas influenced by Dense retrievalChapter 10. Reading more than you remember
  46. 2021WebGPTbuilt directly on GPT-3Chapter 13. Models that act
  47. 2022MT-NLGwas influenced by Scaling laws
    built directly on Megatron-LM
    Chapter 5. Scale becomes a science
  48. 2022Chain of thought Turning pointwas influenced by GPT-3Chapter 12. Thinking longer
  49. 2022InstructGPT Turning pointbuilt directly on GPT-3
    was influenced by FLAN
    Chapter 6. Teaching models what people want
  50. 2022Self-consistencybuilt directly on Chain of thoughtChapter 12. Thinking longer
  51. 2022STaRwas influenced by Chain of thoughtChapter 12. Thinking longer
  52. 2022Chinchilla Turning pointbuilt directly on Scaling lawsChapter 5. Scale becomes a science
  53. 2022PaLMwas influenced by GShardChapter 5. Scale becomes a science
  54. 2022HH-RLHFbuilt directly on RLHF for summarisationChapter 6. Teaching models what people want
  55. 2022Flamingobuilt directly on Vision TransformerChapter 11. Seeing and hearing
  56. 2022OPT-175Bwas influenced by Megatron-LMChapter 8. The weights get out
  57. 2022Zero-shot CoTwas influenced by GPT-3Chapter 12. Thinking longer
  58. 2022FlashAttentionbuilt directly on TransformerChapter 9. Making it run anywhere
  59. 2022Emergent abilitiesbuilt directly on Scaling laws
    was influenced by PaLM
    Chapter 5. Scale becomes a science
  60. 2022BLOOMbuilt directly on ALiBiChapter 8. The weights get out
  61. 2022LLM.int8()was influenced by OPT-175BChapter 9. Making it run anywhere
  62. 2022Whisperbuilt directly on TransformerChapter 11. Seeing and hearing
  63. 2022ReActbuilt directly on Chain of thought
    was influenced by WebGPT
    Chapter 13. Models that act
  64. 2022Flan-T5 / Flan-PaLMbuilt directly on T5
    built directly on PaLM
    Chapter 6. Teaching models what people want
  65. 2022GPTQwas influenced by LLM.int8()Chapter 9. Making it run anywhere
  66. 2022Speculative decodingwas influenced by TransformerChapter 9. Making it run anywhere
  67. 2022GPT-3.5 Turning pointbuilt directly on GPT-3Chapter 7. The assistant goes public
  68. 2022ChatGPTbuilt directly on InstructGPT
    built directly on GPT-3.5
    Chapter 7. The assistant goes public
  69. 2022Constitutional AIwas influenced by Chain of thoughtChapter 6. Teaching models what people want
  70. 2022Self-Instructbuilt directly on GPT-3
    was influenced by FLAN
    Chapter 6. Teaching models what people want
  71. 2023Toolformerbuilt directly on GPT-3Chapter 13. Models that act
  72. 2023LLaMA Turning pointbuilt directly on RoPEChapter 8. The weights get out
  73. 2023llama.cppwas influenced by LLaMAChapter 9. Making it run anywhere
  74. 2023Alpacabuilt directly on LLaMAChapter 8. The weights get out
  75. 2023Claudebuilt directly on Constitutional AI
    was influenced by HH-RLHF
    Chapter 7. The assistant goes public
  76. 2023GPT-4 Turning pointbuilt directly on Scaling lawsChapter 7. The assistant goes public
  77. 2023Reflexionbuilt directly on ReActChapter 13. Models that act
  78. 2023AutoGPTwas influenced by GPT-4Chapter 13. Models that act
  79. 2023Pythiawas influenced by Scaling lawsChapter 8. The weights get out
  80. 2023LLaVAbuilt directly on GPT-4
    built directly on LLaMA
    built directly on CLIP
    Chapter 11. Seeing and hearing
  81. 2023Emergence miragesucceeded Emergent abilitiesChapter 5. Scale becomes a science
  82. 2023100K contextbuilt directly on ClaudeChapter 10. Reading more than you remember
  83. 2023Tree of thoughtsbuilt directly on Chain of thoughtChapter 12. Thinking longer
  84. 2023Grouped-query attention Turning pointbuilt directly on Multi-query attentionChapter 9. Making it run anywhere
  85. 2023QLoRAbuilt directly on LoRAChapter 9. Making it run anywhere
  86. 2023DPObuilt directly on RLHF for summarisation
    built directly on InstructGPT
    Chapter 6. Teaching models what people want
  87. 2023Process supervisionbuilt directly on Chain of thoughtChapter 12. Thinking longer
  88. 2023phi-1was influenced by GPT-3.5Chapter 8. The weights get out
  89. 2023Position interpolationbuilt directly on RoPEChapter 10. Reading more than you remember
  90. 2023Lost in the middlewas influenced by RAGChapter 10. Reading more than you remember
  91. 2023Llama 2 Turning pointbuilt directly on LLaMA
    built directly on Grouped-query attention
    Chapter 8. The weights get out
  92. 2023vLLMwas influenced by Multi-query attentionChapter 9. Making it run anywhere
  93. 2023GPT-4Vbuilt directly on GPT-4Chapter 11. Seeing and hearing
  94. 2023Mistral 7Bwas influenced by Sparse Transformer
    was influenced by Longformer
    was influenced by FlashAttention
    Chapter 8. The weights get out
  95. 2023SWE-benchwas influenced by GPT-4Chapter 13. Models that act
  96. 2023Mambawas influenced by FlashAttentionChapter 9. Making it run anywhere
  97. 2023Gemini 1.0was influenced by GShardChapter 11. Seeing and hearing
  98. 2023Mixtral 8x7Bwas influenced by Sparse MoEChapter 8. The weights get out
  99. 2024DeepSeek LLMbuilt directly on Scaling lawsChapter 8. The weights get out
  100. 2024DeepSeekMoEwas influenced by Sparse MoEChapter 8. The weights get out
  101. 2024Dolmawas influenced by The PileChapter 8. The weights get out
  102. 2024OLMowas influenced by PythiaChapter 8. The weights get out
  103. 2024GRPObuilt directly on DeepSeek LLMChapter 12. Thinking longer
  104. 2024Gemini 1.5was influenced by GShardChapter 10. Reading more than you remember
  105. 2024Gemmabuilt directly on Gemini 1.0Chapter 8. The weights get out
  106. 2024Claude 3was influenced by GPT-4Chapter 14. Where the threads meet now
  107. 2024Chatbot Arenawas influenced by ChatGPTChapter 14. Where the threads meet now
  108. 2024Devinwas influenced by GPT-4Chapter 13. Models that act
  109. 2024Llama 3built directly on Grouped-query attention
    was influenced by Chinchilla
    Chapter 8. The weights get out
  110. 2024Phi-3built directly on phi-1Chapter 8. The weights get out
  111. 2024DeepSeek-V2 / MLAbuilt directly on DeepSeekMoEChapter 9. Making it run anywhere
  112. 2024SWE-agentbuilt directly on SWE-benchChapter 13. Models that act
  113. 2024GPT-4obuilt directly on GPT-4Chapter 11. Seeing and hearing
  114. 2024Claude 3.5 Sonnetbuilt directly on Claude 3Chapter 14. Where the threads meet now
  115. 2024FineWebwas influenced by The PileChapter 8. The weights get out
  116. 2024FlashAttention-3built directly on FlashAttentionChapter 9. Making it run anywhere
  117. 2024Qwen2built directly on RoPEChapter 8. The weights get out
  118. 2024Llama 3.1 405Bwas influenced by Chinchilla
    built directly on Grouped-query attention
    was influenced by Position interpolation
    Chapter 8. The weights get out
  119. 2024Test-time computewas influenced by Process supervision
    built directly on Self-consistency
    Chapter 12. Thinking longer
  120. 2024o1 Turning pointwas influenced by Chain of thoughtChapter 12. Thinking longer
  121. 2024Computer usewas influenced by GPT-4VChapter 13. Models that act
  122. 2024Gemini 2.0built directly on Gemini 1.5Chapter 14. Where the threads meet now
  123. 2024o3 announcedbuilt directly on o1Chapter 12. Thinking longer
  124. 2024DeepSeek-V3built directly on DeepSeekMoEChapter 8. The weights get out
  125. 2025DeepSeek-R1built directly on DeepSeek-V3Chapter 12. Thinking longer
  126. 2025Deep researchwas influenced by o3 releasedChapter 13. Models that act
  127. 2025Claude 3.7was influenced by o1
    built directly on Claude 3.5 Sonnet
    Chapter 12. Thinking longer
  128. 2025Claude Codewas influenced by Computer useChapter 13. Models that act
  129. 2025GPT-4.5was influenced by Scaling lawsChapter 14. Where the threads meet now
  130. 2025Gemini 2.5was influenced by Gemini 1.5Chapter 12. Thinking longer
  131. 2025Llama 4was influenced by Switch TransformerChapter 8. The weights get out
  132. 2025o3 releasedbuilt directly on o1Chapter 12. Thinking longer
  133. 2025Qwen3built directly on Qwen2
    was influenced by DeepSeek-R1
    Chapter 8. The weights get out
  134. 2025Claude 4succeeded Claude 3
    was influenced by SWE-bench
    Chapter 13. Models that act
  135. 2025Kimi K2was influenced by DeepSeekMoEChapter 8. The weights get out
  136. 2025IMO goldbuilt directly on Gemini 2.5Chapter 12. Thinking longer
  137. 2025gpt-ossbuilt directly on o3 releasedChapter 8. The weights get out
  138. 2025GPT-5succeeded GPT-4oChapter 14. Where the threads meet now
  139. 2025DeepSeek-V3.2was influenced by Sparse Transformer
    was influenced by DeepSeek-V2 / MLA
    built directly on DeepSeek-V3
    Chapter 10. Reading more than you remember
  140. 2025Claude Sonnet 4.5built directly on Claude 4Chapter 13. Models that act
  141. 2025IMO-ProofBenchwas influenced by IMO goldChapter 12. Thinking longer
  142. 2025GPT-5.1built directly on GPT-5Chapter 14. Where the threads meet now
  143. 2025Gemini 3was influenced by Gemini 1.5Chapter 14. Where the threads meet now
  144. 2025Claude Opus 4.5was influenced by SWE-benchChapter 13. Models that act
  145. 2025GPT-5.2built directly on GPT-5.1Chapter 14. Where the threads meet now
  146. 2026Claude Opus 4.6built directly on Claude Opus 4.5Chapter 14. Where the threads meet now
  147. 2026GPT-5.3-Codexbuilt directly on GPT-5.2Chapter 13. Models that act
  148. 2026Gemini 3 Deep Thinkbuilt directly on Gemini 3Chapter 12. Thinking longer
  149. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  150. 2026Gemini 3.1built directly on Gemini 3Chapter 14. Where the threads meet now
  151. 2026GPT-5.4built directly on GPT-5.3-CodexChapter 14. Where the threads meet now
  152. 2026Muse Sparksucceeded Llama 4Chapter 8. The weights get out
  153. 2026Claude Opus 4.7built directly on Claude Opus 4.6Chapter 14. Where the threads meet now
  154. 2026GPT-5.5built directly on GPT-5.4Chapter 14. Where the threads meet now
  155. 2026DeepSeek-V4was influenced by DeepSeek-V3Chapter 8. The weights get out
  156. 2026Claude Opus 4.8built directly on Claude Opus 4.7Chapter 14. Where the threads meet now
  157. 2026Claude Sonnet 5succeeded Claude Opus 4.8Chapter 14. Where the threads meet now
  158. 2026GPT-5.6 Solbuilt directly on GPT-5.5Chapter 14. Where the threads meet now
  159. 2026Kimi K3built directly on Kimi K2Chapter 8. The weights get out
  160. 2026Claude Opus 5succeeded Claude Opus 4.8Chapter 14. Where the threads meet now
  161. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out
  162. 2026Claude Opus 5.5built directly on Claude Opus 5Chapter 14. Where the threads meet now
  1. 1997LSTMThis milestone.
  2. 2010RNN LMwas influenced by LSTMChapter 1. Language as probability
  3. 2014GRU / encoder-decoderbuilt directly on LSTMChapter 2. Words become vectors
  4. 2014Attention Turning pointbuilt directly on GRU / encoder-decoder
    built directly on Seq2seq
    Chapter 3. Attention, then only attention
  5. 2014Seq2seq Turning pointbuilt directly on LSTMChapter 2. Words become vectors
  6. 2015Luong attentionbuilt directly on AttentionChapter 3. Attention, then only attention
  7. 2016GNMTbuilt directly on Seq2seqChapter 2. Words become vectors
  8. 2017Sparse MoE Turning pointbuilt directly on LSTMChapter 3. Attention, then only attention
  9. 2017ConvS2Sbuilt directly on AttentionChapter 3. Attention, then only attention
  10. 2017Transformer Turning pointbuilt directly on Seq2seqChapter 3. Attention, then only attention
  11. 2017CoVebuilt directly on LSTMChapter 3. Attention, then only attention
  12. 2018ELMobuilt directly on LSTMChapter 4. Pretrain once, use everywhere
  13. 2018GPT-1was influenced by ELMo (indirect influence)Chapter 4. Pretrain once, use everywhere
  14. 2018BERT Turning pointwas influenced by ELMoChapter 4. Pretrain once, use everywhere
  15. 2019Transformer-XLbuilt directly on TransformerChapter 4. Pretrain once, use everywhere
  16. 2019GPT-2 Turning pointbuilt directly on Transformer
    built directly on GPT-1
    Chapter 4. Pretrain once, use everywhere
  17. 2019WebTextwas influenced by GPT-1Chapter 4. Pretrain once, use everywhere
  18. 2019Sparse Transformer Turning pointbuilt directly on TransformerChapter 4. Pretrain once, use everywhere
  19. 2019RoBERTabuilt directly on BERTChapter 4. Pretrain once, use everywhere
  20. 2019Sentence-BERTbuilt directly on BERTChapter 10. Reading more than you remember
  21. 2019Megatron-LMbuilt directly on Transformer
    was influenced by BERT
    Chapter 4. Pretrain once, use everywhere
  22. 2019RLHF for LMsbuilt directly on GPT-2Chapter 6. Teaching models what people want
  23. 2019T5 Turning pointbuilt directly on Transformer
    was influenced by BERT
    Chapter 4. Pretrain once, use everywhere
  24. 2019C4 Turning pointwas influenced by WebText (indirect influence)Chapter 4. Pretrain once, use everywhere
  25. 2019Multi-query attentionbuilt directly on TransformerChapter 9. Making it run anywhere
  26. 2020Scaling laws Turning pointbuilt directly on TransformerChapter 5. Scale becomes a science
  27. 2020Longformerbuilt directly on TransformerChapter 10. Reading more than you remember
  28. 2020Dense retrievalbuilt directly on BERTChapter 10. Reading more than you remember
  29. 2020RAGbuilt directly on Dense retrievalChapter 10. Reading more than you remember
  30. 2020GPT-3 Turning pointwas influenced by Scaling laws
    built directly on GPT-2
    built directly on Sparse Transformer
    Chapter 5. Scale becomes a science
  31. 2020GShard Turning pointbuilt directly on Sparse MoEChapter 5. Scale becomes a science
  32. 2020BigBirdbuilt directly on TransformerChapter 10. Reading more than you remember
  33. 2020RLHF for summarisation Turning pointbuilt directly on RLHF for LMsChapter 6. Teaching models what people want
  34. 2020Vision Transformerbuilt directly on Transformer
    was influenced by BERT
    Chapter 11. Seeing and hearing
  35. 2020The Pilewas influenced by GPT-3
    was influenced by C4
    Chapter 5. Scale becomes a science
  36. 2021Switch Transformerbuilt directly on Sparse MoEChapter 5. Scale becomes a science
  37. 2021CLIPbuilt directly on GPT-2
    built directly on Vision Transformer
    Chapter 11. Seeing and hearing
  38. 2021RoPE Turning pointbuilt directly on TransformerChapter 10. Reading more than you remember
  39. 2021LoRAbuilt directly on TransformerChapter 9. Making it run anywhere
  40. 2021Copilotwas influenced by Codex / HumanEvalChapter 7. The assistant goes public
  41. 2021Codex / HumanEvalbuilt directly on GPT-3Chapter 13. Models that act
  42. 2021ALiBibuilt directly on TransformerChapter 10. Reading more than you remember
  43. 2021FLANwas influenced by T5Chapter 6. Teaching models what people want
  44. 2021T0built directly on T5Chapter 6. Teaching models what people want
  45. 2021HHH assistantwas influenced by RLHF for summarisationChapter 6. Teaching models what people want
  46. 2021RETROwas influenced by Dense retrievalChapter 10. Reading more than you remember
  47. 2021WebGPTbuilt directly on GPT-3Chapter 13. Models that act
  48. 2022MT-NLGwas influenced by Scaling laws
    built directly on Megatron-LM
    Chapter 5. Scale becomes a science
  49. 2022Chain of thought Turning pointwas influenced by GPT-3Chapter 12. Thinking longer
  50. 2022InstructGPT Turning pointbuilt directly on GPT-3
    was influenced by FLAN
    Chapter 6. Teaching models what people want
  51. 2022Self-consistencybuilt directly on Chain of thoughtChapter 12. Thinking longer
  52. 2022STaRwas influenced by Chain of thoughtChapter 12. Thinking longer
  53. 2022Chinchilla Turning pointbuilt directly on Scaling lawsChapter 5. Scale becomes a science
  54. 2022PaLMwas influenced by GShardChapter 5. Scale becomes a science
  55. 2022HH-RLHFbuilt directly on RLHF for summarisationChapter 6. Teaching models what people want
  56. 2022Flamingobuilt directly on Vision TransformerChapter 11. Seeing and hearing
  57. 2022OPT-175Bwas influenced by Megatron-LMChapter 8. The weights get out
  58. 2022Zero-shot CoTwas influenced by GPT-3Chapter 12. Thinking longer
  59. 2022FlashAttentionbuilt directly on TransformerChapter 9. Making it run anywhere
  60. 2022Emergent abilitiesbuilt directly on Scaling laws
    was influenced by PaLM
    Chapter 5. Scale becomes a science
  61. 2022BLOOMbuilt directly on ALiBiChapter 8. The weights get out
  62. 2022LLM.int8()was influenced by OPT-175BChapter 9. Making it run anywhere
  63. 2022Whisperbuilt directly on TransformerChapter 11. Seeing and hearing
  64. 2022ReActbuilt directly on Chain of thought
    was influenced by WebGPT
    Chapter 13. Models that act
  65. 2022Flan-T5 / Flan-PaLMbuilt directly on T5
    built directly on PaLM
    Chapter 6. Teaching models what people want
  66. 2022GPTQwas influenced by LLM.int8()Chapter 9. Making it run anywhere
  67. 2022Speculative decodingwas influenced by TransformerChapter 9. Making it run anywhere
  68. 2022GPT-3.5 Turning pointbuilt directly on GPT-3Chapter 7. The assistant goes public
  69. 2022ChatGPTbuilt directly on InstructGPT
    built directly on GPT-3.5
    Chapter 7. The assistant goes public
  70. 2022Constitutional AIwas influenced by Chain of thoughtChapter 6. Teaching models what people want
  71. 2022Self-Instructbuilt directly on GPT-3
    was influenced by FLAN
    Chapter 6. Teaching models what people want
  72. 2023Toolformerbuilt directly on GPT-3Chapter 13. Models that act
  73. 2023LLaMA Turning pointbuilt directly on RoPEChapter 8. The weights get out
  74. 2023llama.cppwas influenced by LLaMAChapter 9. Making it run anywhere
  75. 2023Alpacabuilt directly on LLaMAChapter 8. The weights get out
  76. 2023Claudebuilt directly on Constitutional AI
    was influenced by HH-RLHF
    Chapter 7. The assistant goes public
  77. 2023GPT-4 Turning pointbuilt directly on Scaling lawsChapter 7. The assistant goes public
  78. 2023Reflexionbuilt directly on ReActChapter 13. Models that act
  79. 2023AutoGPTwas influenced by GPT-4Chapter 13. Models that act
  80. 2023Pythiawas influenced by Scaling lawsChapter 8. The weights get out
  81. 2023LLaVAbuilt directly on GPT-4
    built directly on LLaMA
    built directly on CLIP
    Chapter 11. Seeing and hearing
  82. 2023Emergence miragesucceeded Emergent abilitiesChapter 5. Scale becomes a science
  83. 2023100K contextbuilt directly on ClaudeChapter 10. Reading more than you remember
  84. 2023Tree of thoughtsbuilt directly on Chain of thoughtChapter 12. Thinking longer
  85. 2023Grouped-query attention Turning pointbuilt directly on Multi-query attentionChapter 9. Making it run anywhere
  86. 2023QLoRAbuilt directly on LoRAChapter 9. Making it run anywhere
  87. 2023Falconbuilt directly on RefinedWebChapter 8. The weights get out
  88. 2023DPObuilt directly on RLHF for summarisation
    built directly on InstructGPT
    Chapter 6. Teaching models what people want
  89. 2023Process supervisionbuilt directly on Chain of thoughtChapter 12. Thinking longer
  90. 2023RefinedWebwas influenced by C4Chapter 8. The weights get out
  91. 2023Function callingwas influenced by Toolformer (indirect influence)Chapter 13. Models that act
  92. 2023phi-1was influenced by GPT-3.5
    was influenced by Self-Instruct (indirect influence)
    Chapter 8. The weights get out
  93. 2023Position interpolationbuilt directly on RoPEChapter 10. Reading more than you remember
  94. 2023Lost in the middlewas influenced by RAGChapter 10. Reading more than you remember
  95. 2023Llama 2 Turning pointbuilt directly on LLaMA
    built directly on Grouped-query attention
    Chapter 8. The weights get out
  96. 2023vLLMwas influenced by Multi-query attentionChapter 9. Making it run anywhere
  97. 2023GPT-4Vbuilt directly on GPT-4
    was influenced by CLIP (indirect influence)
    Chapter 11. Seeing and hearing
  98. 2023Mistral 7Bwas influenced by Sparse Transformer
    was influenced by Longformer
    was influenced by FlashAttention
    Chapter 8. The weights get out
  99. 2023SWE-benchwas influenced by GPT-4Chapter 13. Models that act
  100. 2023Mambawas influenced by FlashAttentionChapter 9. Making it run anywhere
  101. 2023Gemini 1.0was influenced by GShardChapter 11. Seeing and hearing
  102. 2023Mixtral 8x7Bwas influenced by Sparse MoEChapter 8. The weights get out
  103. 2024DeepSeek LLMbuilt directly on Scaling lawsChapter 8. The weights get out
  104. 2024DeepSeekMoEwas influenced by Sparse MoEChapter 8. The weights get out
  105. 2024Dolmawas influenced by C4Chapter 8. The weights get out
  106. 2024OLMowas influenced by PythiaChapter 8. The weights get out
  107. 2024GRPObuilt directly on DeepSeek LLMChapter 12. Thinking longer
  108. 2024Gemini 1.5was influenced by GShardChapter 10. Reading more than you remember
  109. 2024Gemmabuilt directly on Gemini 1.0Chapter 8. The weights get out
  110. 2024Claude 3was influenced by GPT-4Chapter 14. Where the threads meet now
  111. 2024Chatbot Arenawas influenced by ChatGPTChapter 14. Where the threads meet now
  112. 2024Devinwas influenced by GPT-4Chapter 13. Models that act
  113. 2024Llama 3built directly on Grouped-query attention
    was influenced by Chinchilla
    Chapter 8. The weights get out
  114. 2024Phi-3built directly on phi-1Chapter 8. The weights get out
  115. 2024DeepSeek-V2 / MLAbuilt directly on DeepSeekMoEChapter 9. Making it run anywhere
  116. 2024SWE-agentbuilt directly on SWE-benchChapter 13. Models that act
  117. 2024GPT-4owas influenced by Whisper (indirect influence)Chapter 11. Seeing and hearing
  118. 2024Claude 3.5 Sonnetbuilt directly on Claude 3Chapter 14. Where the threads meet now
  119. 2024FineWebbuilt directly on RefinedWeb
    was influenced by The Pile
    Chapter 8. The weights get out
  120. 2024FlashAttention-3built directly on FlashAttentionChapter 9. Making it run anywhere
  121. 2024Qwen2built directly on RoPEChapter 8. The weights get out
  122. 2024Llama 3.1 405Bwas influenced by Chinchilla
    built directly on Grouped-query attention
    was influenced by Position interpolation
    Chapter 8. The weights get out
  123. 2024Test-time computewas influenced by Process supervision
    was influenced by Tree of thoughts (indirect influence)
    was influenced by STaR (indirect influence)
    Chapter 12. Thinking longer
  124. 2024o1 Turning pointwas influenced by Chain of thoughtChapter 12. Thinking longer
  125. 2024Computer usewas influenced by GPT-4VChapter 13. Models that act
  126. 2024MCPwas influenced by Toolformer (indirect influence)Chapter 13. Models that act
  127. 2024Gemini 2.0built directly on Gemini 1.5Chapter 14. Where the threads meet now
  128. 2024o3 announcedbuilt directly on o1Chapter 12. Thinking longer
  129. 2024DeepSeek-V3built directly on DeepSeekMoEChapter 8. The weights get out
  130. 2025DeepSeek-R1built directly on DeepSeek-V3Chapter 12. Thinking longer
  131. 2025Deep researchwas influenced by WebGPT (indirect influence)Chapter 13. Models that act
  132. 2025Claude 3.7was influenced by o1
    built directly on Claude 3.5 Sonnet
    Chapter 12. Thinking longer
  133. 2025Claude Codewas influenced by Computer use
    was influenced by SWE-agent (indirect influence)
    was influenced by MCP
    Chapter 13. Models that act
  134. 2025GPT-4.5was influenced by Scaling lawsChapter 14. Where the threads meet now
  135. 2025Gemini 2.5was influenced by Gemini 1.5Chapter 12. Thinking longer
  136. 2025Llama 4was influenced by Switch Transformer
    was influenced by Mixtral 8x7B (indirect influence)
    Chapter 8. The weights get out
  137. 2025o3 releasedbuilt directly on o1
    was influenced by Function calling
    Chapter 12. Thinking longer
  138. 2025Qwen3built directly on Qwen2
    was influenced by DeepSeek-R1
    Chapter 8. The weights get out
  139. 2025Claude 4succeeded Claude 3
    was influenced by SWE-bench
    Chapter 13. Models that act
  140. 2025Kimi K2was influenced by DeepSeekMoEChapter 8. The weights get out
  141. 2025IMO goldbuilt directly on Gemini 2.5Chapter 12. Thinking longer
  142. 2025gpt-osswas influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  143. 2025GPT-5succeeded GPT-4oChapter 14. Where the threads meet now
  144. 2025GLM-4.5was influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  145. 2025DeepSeek-V3.2was influenced by Sparse Transformer
    was influenced by DeepSeek-V2 / MLA
    built directly on DeepSeek-V3
    Chapter 10. Reading more than you remember
  146. 2025Claude Sonnet 4.5built directly on Claude 4Chapter 13. Models that act
  147. 2025IMO-ProofBenchwas influenced by IMO goldChapter 12. Thinking longer
  148. 2025GPT-5.1built directly on GPT-5Chapter 14. Where the threads meet now
  149. 2025Gemini 3was influenced by Gemini 1.5Chapter 14. Where the threads meet now
  150. 2025Claude Opus 4.5was influenced by SWE-benchChapter 13. Models that act
  151. 2025GPT-5.2built directly on GPT-5.1Chapter 14. Where the threads meet now
  152. 2026GPT-5.3-Codexwas influenced by Computer use (indirect influence)Chapter 13. Models that act
  153. 2026Claude Opus 4.6built directly on Claude Opus 4.5Chapter 14. Where the threads meet now
  154. 2026Gemini 3 Deep Thinkbuilt directly on Gemini 3Chapter 12. Thinking longer
  155. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  156. 2026Gemini 3.1built directly on Gemini 3Chapter 14. Where the threads meet now
  157. 2026GPT-5.4built directly on GPT-5.3-CodexChapter 14. Where the threads meet now
  158. 2026Project Glasswingwas influenced by Computer use (indirect influence)Chapter 14. Where the threads meet now
  159. 2026Muse Sparksucceeded Llama 4Chapter 8. The weights get out
  160. 2026Claude Opus 4.7built directly on Claude Opus 4.6Chapter 14. Where the threads meet now
  161. 2026GPT-5.5built directly on GPT-5.4Chapter 14. Where the threads meet now
  162. 2026DeepSeek-V4was influenced by DeepSeek-V3Chapter 8. The weights get out
  163. 2026Claude Opus 4.8built directly on Claude Opus 4.7Chapter 14. Where the threads meet now
  164. 2026Claude Sonnet 5succeeded Claude Opus 4.8Chapter 14. Where the threads meet now
  165. 2026Fable 5 / Mythos 5was influenced by Project GlasswingChapter 14. Where the threads meet now
  166. 2026GLM-5.2built directly on GLM-4.5Chapter 8. The weights get out
  167. 2026GPT-5.6 Solbuilt directly on GPT-5.5Chapter 14. Where the threads meet now
  168. 2026Kimi K3built directly on Kimi K2Chapter 8. The weights get out
  169. 2026Claude Opus 5succeeded Claude Opus 4.8Chapter 14. Where the threads meet now
  170. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out
  171. 2026Claude Opus 5.5built directly on Claude Opus 5Chapter 14. Where the threads meet now

Direct links and their sources

Where it came from

Influenced by

What it led to

Built on directly by

Influenced

Terms