AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / Foundations

    Adam (2014)

    Adam: A Method for Stochastic Optimization

    The optimizer that trains most neural networks, with defaults that work without tuning.

    Why it matters

    Before Adam, each model needed its learning rate and schedule tuned by hand. Adam's defaults (learning rate 0.001, β₁ 0.9, β₂ 0.999) worked well across very different problems, and it became the default choice. Its convergence proof later turned out to be flawed, and the variant AdamW, with decoupled weight decay, is what trains most large language models today.

    First page of “Adam: A Method for Stochastic Optimization”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2014
    Authors
    Diederik P. Kingma, Jimmy Ba
    Venue
    ICLR 2015
    Data
    MNIST, IMDB Large Movie Review, CIFAR-10

    The idea

    Keep two running averages for every weight: of its gradients (momentum) and of its squared gradients (how large they usually are). Step in the direction of the first, divided by the square root of the second, so each weight gets its own step size. A correction keeps the averages from being too small in the first steps.

    The result

    With little hyperparameter tuning, it trained logistic regression on MNIST and IMDB, a multilayer network on MNIST and a convolutional network on CIFAR-10 as fast as or faster than SGD with momentum, AdaGrad and RMSProp.

    The data

    MNIST

    1998

    70,000 handwritten digits, 28×28 grayscale, 10 classes. (16 years earlier)

    IMDB Large Movie Review

    2011

    50,000 movie reviews from IMDb, labeled positive or negative. (3 years earlier)

    “"The Student Nurses" is an excellent film that deals with four women bonded by friendship and career. For the first time, one is able to see…”

    CIFAR-10

    2009

    60,000 tiny 32×32 color images in 10 classes. (5 years earlier)

    Builds on

    • AdaGrad (2010): Gives every weight its own learning rate, shrinking with the gradients it has already seen, so rare but informative features still learn quickly.

    Led to

    • DCGAN (2015): A short list of architecture rules that made convolutional GANs train reliably, and showed what their latent space had learned.
    • AdamW (2017): Shows that L2 regularization and weight decay differ in Adam, and that decaying weights directly makes Adam generalize nearly as well as SGD.