AdaBelief is an optimizer that replaces the quantity used in the denominator of Adam, the average of the squared gradient , with the average of the squared difference between the gradient and its moving average, . Zhuang et al. presented it at NeurIPS in 2020. The change from Adam is a single line, and no hyperparameters are added.
The paper splits deep learning optimizers into two families and points out the weakness of each.
- Adaptive methods such as Adam: They converge quickly, but on CNNs and similar models their generalization tends to be worse than that of SGD.
- SGD with momentum: It generalizes well, but is hard to use for unstable training such as GANs, where Adam is the default.
AdaBelief aims to achieve three things at once: "the speed of adaptive methods", "generalization close to SGD", and "stability that does not break down even on GANs".
The name Belief comes from the idea behind the update. The moving average of the gradient is regarded as "a prediction of the next gradient": if the observed gradient is close to the prediction, the optimizer trusts it and takes a large step; if it deviates far from the prediction, the optimizer distrusts it and takes a small step. In weather-forecast terms, it acts boldly on a forecast that is always right and cautiously on a forecast that is hit or miss.

