Adam Simplified: Bias Correction Debunked
Sam Laing, Antonio Orvieto
TL;DR
The paper questions the necessity of bias correction in Adam by conducting controlled ablations across language and vision tasks. It demonstrates that bias correction acts as an implicit learning-rate schedule, captured by $\rho(t;\beta_1,\beta_2) = \frac{\sqrt{1-\beta_2^{t}}}{1-\beta_1^{t}}$, and its effects depend on the scheduling regime. Under LM-optimal settings with $\beta_1=\beta_2=0.95$ and with appropriate LR schedules, Adam achieves equivalent final performance with or without bias correction; without scheduling, bias correction can hurt. The study recommends removing bias correction from practice and theory in favor of explicit LR scheduling for simplicity and interpretability.
Abstract
The Adam optimizer is a cornerstone of modern deep learning, yet the empirical necessity of each of its individual components is often taken for granted. This paper presents a focused investigation into the role of bias-correction, a feature whose contribution remains poorly understood. Through a series of systematic ablations on vision and language modelling tasks, we demonstrate that the conventional wisdom surrounding bias correction is misleading. In particular, we demonstrate that in the optimal hyper-parameter configuration, the inclusion of bias correction leads to no improvement in final test performance. Moreover, unless appropriate learning rate scheduling is implemented, the inclusion of bias correction can sometimes be detrimental to performance. We further reinterpret bias correction as a form of implicit learning rate scheduling whose behaviour is strongly dependent on the choice of smoothing hyper-parameters $β_1, β_2 \in [0,1)$. Our findings challenge the universal inclusion of this component.
