AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / Foundations

    AdaGrad (2010)

    Adaptive Subgradient Methods for Online Learning and Stochastic Optimization

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

    Why it matters

    AdaGrad came with regret guarantees as good as the best fixed preconditioner chosen in hindsight, and made learning rates much less fiddly to set. Its steps only shrink, which stalls long training runs, so RMSProp and Adam replaced the sum with a moving average; Shampoo later revived the full-matrix version in a form that fits neural networks.

    First page of “Adaptive Subgradient Methods for Online Learning and Stochastic Optimization”

    The first page, as published. Read the full paper on jmlr.org.

    Year
    2010
    Authors
    John Duchi, Elad Hazan, Yoram Singer
    Venue
    JMLR 2011 (COLT 2010)
    Data
    ImageNet (ILSVRC), MNIST

    The idea

    Keep, for every weight, the sum of its squared gradients so far, and divide its step by the square root of that sum. Weights that get large or frequent gradients take small steps; weights that are rarely touched, like the weights of rare features, keep taking large ones. The full version uses the whole matrix of gradient outer products as a preconditioner; the diagonal version, which only needs one number per weight, is the one people use.

    The result

    The adaptive versions beat their non-adaptive counterparts on every task tried: on 15,000 ImageNet image-ranking tasks, average precision rose from 0.504 to 0.602 while using 73% of the input features, and on kernelized MNIST test error fell from 10.8% to 6.6%. It also had lower error on Reuters news classification and census income prediction.

    The data

    ImageNet (ILSVRC)

    2009

    1.28 million photos across 1,000 classes, the dataset behind the deep learning boom. (1 year earlier)

    MNIST

    1998

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

    Also tested on: Reuters RCV1 news classification and the UCI census income data.

    Led to

    • Adam (2014): The optimizer that trains most neural networks, with defaults that work without tuning.
    • Shampoo (2018): Preconditions each weight matrix with two small matrices, one for its rows and one for its columns, instead of treating its weights as independent numbers.