AdaGrad
Definition
AdaGrad is an adaptive gradient method that automatically adjusts the learning rate for individual parameters based on earlier gradients.
In the common diagonal variant, AdaGrad accumulates squared gradients per parameter. Larger summed gradients reduce its effective step size.
Simply explained
Each parameter gets its own tempo control: what has often been changed is adjusted more cautiously; rare signals can get larger steps.
Why it matters in practice
Relevant for adaptive optimization, especially for sparsely populated features; suitability depends on the training problem.
Example from business
Possible example: In a model with many rare text features, AdaGrad can update rare but informative features with relatively larger effective learning steps.
Limits and pitfalls
- The learning rate can shrink too much due to the continuous accumulation of squared gradients; still choose global learning rate incorrectly; consider AdaGrad as the best choice for deep networks; perform optimizer comparisons without identical training conditions.
Origin & history
In 2011, John Duchi, Elad Hazan and Yoram Singer published in JMLR a family of adaptive subgradient methods that uses information from previous gradients to dynamically adjust optimization.
Use in mid-sized companies
- Possible applications: relevant for in-house ML training, especially for sparse features, online learning or models with very different frequently updated parameters. For pure API use of finished AI models, AdaGrad is hardly operationally relevant.
Frequently asked questions
Why is AdaGrad called adaptive?
Because effective step sizes are derived from previous gradients. What is a weakness? The accumulated gradients can make the effective learning rate very small in the long term.
Sources
- Hazan & Singer (2011), Adaptive Subgradient Methods · Duchi, Hazan & Singer (2011), Adaptive Subgradient Methods
- Adagrad · PyTorch, Adagrad
Sources checked on 09.10.2026. Use cases are possible scenarios, not claimed customer cases.
Editorially reviewed on: