On the Implicit Bias of Adam

M. D. Cattaneo, Jason M. Klusowski, Boris Shigida
9/1/2023
38 citations

Official code: borshigida/implicit-bias-of-adam (1 star, Python, last commit 2024-07-29).

Abstract

In previous literature, backward error analysis was used to find ordinary differential equations (ODEs) approximating the gradient descent trajectory. It was found that finite step sizes implicitly regularize solutions because terms appearing in the ODEs penalize the two-norm of the loss gradients.

Show full abstract

We prove that the existence of similar implicit regularization in RMSProp and Adam depends on their hyperparameters and the training stage, but with a different"norm"involved: the corresponding ODE terms either penalize the (perturbed) one-norm of the loss gradients or, conversely, impede its reduction (the latter case being typical). We also conduct numerical experiments and discuss how the proven facts can influence generalization.

View on arXivView PDF

Code Implementations(1)

10PythonMay 28, 20242 years ago

Similar Papers

Cite this paper

@article{cattaneo2023implicit,
  title  = {On the Implicit Bias of Adam},
  author = {M. D. Cattaneo and Jason M. Klusowski and Boris Shigida},
  year   = {2023},
  eprint = {2309.00079},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.00079},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.00079.svg)](https://codeofpaper.com/paper/2309.00079)

Discussion