The Implicit Bias of Adam on Separable Data
Chenyang Zhang, Difan Zou, Yuan Cao
TL;DR
This work analyzes the implicit bias of Adam in linear binary classification with linearly separable data. It proves that when the stability constant $\epsilon$ is neglected, Adam converges to a linear classifier that maximizes the $\ell_\infty$-margin, with polynomial-time convergence for a broad class of decaying learning rates, distinguishing it from gradient-descent dynamics that maximize the $\ell_2$-margin. Theoretical results are complemented by experiments showing distinct margin trajectories for Adam versus GD/GDM and corroborating the polynomial-rate behavior for sublinear learning-rate schedules. The findings deepen the theoretical understanding of adaptive optimizers and suggest directions for extending these insights to homogeneous networks and stochastic settings.
Abstract
Adam has become one of the most favored optimizers in deep learning problems. Despite its success in practice, numerous mysteries persist regarding its theoretical understanding. In this paper, we study the implicit bias of Adam in linear logistic regression. Specifically, we show that when the training data are linearly separable, Adam converges towards a linear classifier that achieves the maximum $\ell_\infty$-margin. Notably, for a general class of diminishing learning rates, this convergence occurs within polynomial time. Our result shed light on the difference between Adam and (stochastic) gradient descent from a theoretical perspective.
