Skip to content
The Shape of Intelligence

Reverse-mode automatic differentiation

Seppo Linnainmaa's master's thesis gives the algorithm for computing all the derivatives of a nested function in one backward sweep, the mathematics of backpropagation.

category
theory
significance
3 of 5
people
Seppo Linnainmaa
organisations
University of Helsinki

what had to happen · 0 events back to 1943

A root. Nothing in the archive precedes it.

In 1970 a Finnish master's student, Seppo Linnainmaa, was studying how rounding errors accumulate through a long computation. To track them he needed the derivative of the final result with respect to every intermediate value, and he found that all of them could be obtained by a single pass backwards through the computation, applying the chain rule in reverse. The cost was about the same as running the computation forwards once, however many inputs there were.

He was not thinking about neural networks and the thesis, in Finnish, was not read by anyone who was. But the reverse mode of automatic differentiation is exactly the algorithm that a network needs to learn: propagate the error backwards from the output, and each weight receives the derivative of the loss with respect to itself. Paul Werbos applied the idea to networks in 1974. Rumelhart, Hinton and Williams made it famous in 1986.

Every deep learning framework, from Theano to PyTorch, is at bottom an implementation of Linnainmaa's backward sweep over an arbitrary graph of operations. The word autograd is his idea with a shorter name. He received little credit for decades; Andreas Griewank's 2012 history of the question is titled with it.

what it led to · 98 events downstream, through 2026

Built on it directly:

  1. 1974Werbos applies backpropagation to neural networksW1
  2. 1986BackpropagationII

And, through them, by era:

II · Connection · 2
  1. 1987NETtalk learns to read aloud
  2. 1987The first NIPS conference
W2 · The second winter · 6
  1. 1989ALVINN drives a van with a neural network
  2. 1989The universal approximation theorem
  3. 1989LeNet reads handwritten postcodes
  4. 1990Finding structure in time
  5. 1991The vanishing gradient problem
  6. 1992TD-Gammon reaches world-class backgammon
III · Statistics and data · 9
  1. 1997Long short-term memory
  2. 1998MNIST and LeNet-5
  3. 2003A neural probabilistic language model
  4. 2005Stanley wins the DARPA Grand Challenge
  5. 2006Deep belief networks and the word 'deep'
  6. 2009Deep learning moves to GPUs
  7. 2009ImageNet
  8. 2010Rectified linear units
  9. 2010DeepMind is founded
IV · Deep learning · 18
  1. 2012Google Brain's network discovers cats
  2. 2012Dropout
  3. 2012AlexNet wins ImageNet
  4. 2013Word2vec
  5. 2013Deep Q-networks play Atari
  6. 2014Google buys DeepMind
  7. 2014Generative adversarial networks
  8. 2014Attention
  9. 2014Sequence to sequence learning
  10. 2014Adam
  11. 2015Batch normalisation
  12. 2015TensorFlow is open-sourced
  13. 2015Residual networks
  14. 2015OpenAI is founded
  15. 2016AlphaGo beats Lee Sedol
  16. 2016Google reveals the TPU
  17. 2016WaveNet
  18. 2016Google Translate goes neural
V · Transformers · 18
  1. 2017Attention is all you need
  2. 2017Deep reinforcement learning from human preferences
  3. 2017AlphaGo Zero learns from nothing
  4. 2018GPT: generative pre-training
  5. 2018BERT
  6. 2018AlphaFold enters the protein-folding contest
  7. 2019GPT-2 and the model too dangerous to release
  8. 2019The bitter lesson
  9. 2019The Turing Award goes to deep learning
  10. 2020Scaling laws for neural language models
  11. 2020GPT-3
  12. 2020Learning to summarise from human feedback
  13. 2020An image is worth 16×16 words
  14. 2020AlphaFold 2 solves protein structure prediction
  15. 2021CLIP and DALL·E
  16. 2021On the dangers of stochastic parrots
  17. 2021Anthropic is founded
  18. 2021GitHub Copilot writes code
VI · Everyone · 29
  1. 2022InstructGPT
  2. 2022Chain-of-thought prompting
  3. 2022Chinchilla: the models were undertrained
  4. 2022PaLM
  5. 2022DALL·E 2
  6. 2022Midjourney opens its beta
  7. 2022Stable Diffusion is released
  8. 2022Galactica lasts three days
  9. 2022ChatGPT
  10. 2023Bing's chatbot and 'Sydney'
  11. 2023LLaMA leaks and open weights take off
  12. 2023Claude
  13. 2023GPT-4
  14. 2023'Pause Giant AI Experiments'
  15. 2023Hinton leaves Google to warn about AI
  16. 2023The US executive order on AI
  17. 2023The Bletchley Declaration
  18. 2023OpenAI fires and rehires its chief executive
  19. 2023Gemini
  20. 2024Sora
  21. 2024Claude 3 catches GPT-4
  22. 2024AlphaFold 3
  23. 2024GPT-4o talks
  24. 2024The EU AI Act enters into force
  25. 2024o1 and reasoning models
  26. 2024The Nobel Prizes go to neural networks
  27. 2024Claude learns to use a computer
  28. 2024The Model Context Protocol
  29. 2024DeepSeek-V3 trained for $5.6 million
VII · Agents · 14
  1. 2025DeepSeek-R1
  2. 2025Claude 4 and Claude Code
  3. 2025Nvidia is worth four trillion dollars
  4. 2025Gold at the Mathematical Olympiad
  5. 2025America's AI Action Plan
  6. 2025GPT-5
  7. 2025Gemini 3
  8. 2025MCP is donated to the Agentic AI Foundation
  9. 2026Claude Fable 5 and the Mythos class
  10. 2026GPT-5.6: Sol, Terra and Luna
  11. 2026A model escapes its sandbox
  12. 2026The EU delays its high-risk AI rules
  13. 2026Claude Fable 5.1
  14. 2026GPT-6 Astra

sources · 2

See this era in the exhibition →Back to the timeline