ADOPT: Modified Adam Can Converge with Any β₂ with the Optimal Rate

Shohei Taniguchi, Keno Harada, Gouki Minegishi, Yuta Oshima, Seong Cheol Jeong +5 more
11/5/2024
cs.LGstat.ML

Official code: iShohei220/adopt (438 stars, Apache-2.0, last commit 2024-12-12). 1 more implementation below.

Abstract

Adam is one of the most popular optimization algorithms in deep learning. However, it is known that Adam does not converge in theory unless choosing a hyperparameter, i.e., $β_2$, in a problem-dependent manner. There have been many attempts to fix the non-convergence (e.g., AMSGrad), but they require an impractical assumption that the gradient noise is uniformly bounded. In this paper, we propose a new adaptive gradient method named ADOPT, which achieves the optimal convergence rate of $\mathcal{O} ( 1 / \sqrt{T} )$ with any choice of $β_2$ without depending on the bounded noise assumption. ADOPT addresses the non-convergence issue of Adam by removing the current gradient from the second moment estimate and changing the order of the momentum update and the normalization by the second moment estimate. We also conduct intensive numerical experiments, and verify that our ADOPT achieves superior results compared to Adam and its variants across a wide range of tasks, including image classification, generative modeling, natural language processing, and deep reinforcement learning. The implementation is available at https://github.com/iShohei220/adopt.

View on arXivView PDF

Code Implementations(2)

iShohei220/adoptOfficial100%
Apache-2.0

Official Implementation of "ADOPT: Modified Adam Can Converge with Any β2 with the Optimal Rate"

43822Python, Jupyter NotebookOct 31, 20241 years agoApache-2.0
NoteDance/AdoptCommunity66%
TensorFlowApache-2.0

TensorFlow implementation for "ADOPT: Modified Adam Can Converge with Any β2 with the Optimal Rate"

10PythonApr 8, 20251 years agoApache-2.0
deep-learningdeep-reinforcement-learningkerasmachine-learningoptimizer+2 more

Similar Papers

Cite this paper

@article{taniguchi2024adopt,
  title  = {ADOPT: Modified Adam Can Converge with Any β₂ with the Optimal Rate},
  author = {Shohei Taniguchi and Keno Harada and Gouki Minegishi and Yuta Oshima and Seong Cheol Jeong and Go Nagahara and Tomoshi Iiyama and Masahiro Suzuki and Yusuke Iwasawa and Yutaka Matsuo},
  year   = {2024},
  eprint = {2411.02853},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.02853},
  url    = {http://arxiv.org/abs/2411.02853v3},
  journal = {NEURIPS 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/2411.02853.svg)](https://codeofpaper.com/paper/2411.02853)

Discussion