AdaGrad (Adaptive Gradient) is an optimizer that keeps, for each parameter, the sum of all squared gradients so far and divides by its square root to set the step size. Parameters that receive gradients often take small steps, and parameters that rarely receive gradients move with large steps. Duchi, Hazan, and Singer published it in JMLR in 2011 (a preliminary version appeared at COLT 2010).
SGD moves all parameters with the same learning rate. But in data such as text classification, with millions of feature dimensions of which only a few are nonzero in any one example (sparse data), the rarest features are often the most decisive. With a single global learning rate, setting it small to suit frequent features leaves the weights of rare features barely trained.
The paper likens this situation to "finding needles in haystacks" and proposes AdaGrad as a way to vary the learning rate per feature so that the learner "takes notice" when a rare feature appears. It applies, automatically and on the learning-rate side, the same idea as the long-standing TF-IDF (a text feature that gives rarer words larger weights).
AdaGrad's idea of "dividing by squared gradients to vary the step size per parameter" was inherited by later methods such as RMSprop and Adam.

