Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regime
Beomhan Baek, Minhak Song, Chulhee Yun
TL;DR
This work reveals that the implicit bias of Adam is not universal but depends critically on batching and data structure. By analyzing incremental Adam (Inc-Adam) and contrasting it with full-batch Adam, the authors show that mini-batch updates can shift the limiting classifier away from the $\ell_\infty$-max-margin toward the $\ell_2$-max-margin on certain structured datasets, a phenomenon not present in the full-batch setting. They introduce AdamProxy as a data-dependent dual-optimization framework to characterize limiting directions via a fixed-point on the probability simplex, and demonstrate with GR, Gaussian, and shifted-diagonal data that limit directions are data-driven and algorithm-dependent. Signum, in contrast, preserves the $\ell_\infty$-max-margin bias under mini-batch regimes when momentum is near $1$, highlighting a robust geometric property that Adam may lose in stochastic training. Overall, the paper uncovers a nuanced picture of implicit bias in Adam-like optimizers, showing the interplay between batching, momentum, and data geometry, and it lays groundwork for a duality-based analysis of limiting predictors in more general settings.
Abstract
Adam [Kingma and Ba, 2015] is the de facto optimizer in deep learning, yet its theoretical understanding remains limited. Prior analyses show that Adam favors solutions aligned with $\ell_\infty$-geometry, but these results are restricted to the full-batch regime. In this work, we study the implicit bias of incremental Adam (using one sample per step) for logistic regression on linearly separable data, and we show that its bias can deviate from the full-batch behavior. To illustrate this, we construct a class of structured datasets where incremental Adam provably converges to the $\ell_2$-max-margin classifier, in contrast to the $\ell_\infty$-max-margin bias of full-batch Adam. For general datasets, we develop a proxy algorithm that captures the limiting behavior of incremental Adam as $β_2 \to 1$ and we characterize its convergence direction via a data-dependent dual fixed-point formulation. Finally, we prove that, unlike Adam, Signum [Bernstein et al., 2018] converges to the $\ell_\infty$-max-margin classifier for any batch size by taking $β$ close enough to 1. Overall, our results highlight that the implicit bias of Adam crucially depends on both the batching scheme and the dataset, while Signum remains invariant.
