# Adam

Date: 22 December 2014 · Era: IV · Deep learning · Category: theory · Significance: 3/5
People: Diederik Kingma, Jimmy Ba
Organisations: University of Amsterdam, University of Toronto

Canonical: https://shapeofintelligence.com/timeline/2014-adam/ · Dataset and text CC BY 4.0

> Kingma and Ba's optimiser adapts the learning rate for every parameter from running averages of the gradient and its square; it becomes the default way to train almost everything.

## What had to happen

8 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/) *direct*
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/) *direct*

Gradient descent takes steps of a fixed size in the direction the gradient points, and in a network with millions of parameters that size is wrong for most of them: some need large steps, some tiny, and the right size changes as training goes on. Adam, posted on 22 December 2014 by Diederik Kingma and Jimmy Ba, keeps for every parameter a running average of its gradient and of its squared gradient, and divides one by the square root of the other. Parameters with consistently large gradients get smaller steps; parameters with rare, noisy gradients get larger ones. Momentum is built in.

It combined two earlier ideas, AdaGrad and RMSProp, with a bias correction that made it behave well from the first step, and it worked on almost everything with its default settings. That was the point: a practitioner could use it without tuning, and the paper's authors have said the name stands for adaptive moment estimation and not for anyone in particular.

Adam and its weight-decay variant AdamW trained nearly every transformer of the 2020s. The paper has been cited more than 200,000 times, which makes it the most cited paper in machine learning and among the most cited in any science.

## What it led to

A leaf, for now. Nothing in the archive has built on it yet.

## Sources

- [Adam: A Method for Stochastic Optimization (arXiv:1412.6980)](https://arxiv.org/abs/1412.6980) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2014-adam/

Before: [2014 · Sequence to sequence learning](https://shapeofintelligence.com/md/timeline/2014-seq2seq/) · After: [2015 · Batch normalisation](https://shapeofintelligence.com/md/timeline/2015-batchnorm/)
