Amos: An Adam-style Optimizer with Adaptive Weight Decay towards Model-Oriented Scale

Ran Tian, Ankur P. Parikh
10/21/2022
cs.LG

Official code: google-research/jestimator (82 stars, Python, Apache-2.0, JAX, last commit 2024-05-15).

Abstract

We present Amos, a stochastic gradient-based optimizer designed for training deep neural networks. It can be viewed as an Adam optimizer with theoretically supported, adaptive learning-rate decay and weight decay.

Show full abstract

A key insight behind Amos is that it leverages model-specific information to determine the initial learning-rate and decaying schedules. When used for pre-training BERT variants and T5, Amos consistently converges faster than the state-of-the-art settings of AdamW, achieving better validation loss within <=70% training steps and time, while requiring <=51% memory for slot variables. Our code is open-sourced at: https://github.com/google-research/jestimator

View on arXivView PDF

Code Implementations(1)

JAXApache-2.0

Amos optimizer with JEstimator lib.

825Python, Jupyter NotebookOct 12, 20222 years agoApache-2.0
deep-learningflaxjaxlanguage-modelmachine-learning+5 more

Similar Papers

Cite this paper

@article{tian2022amos,
  title  = {Amos: An Adam-style Optimizer with Adaptive Weight Decay towards Model-Oriented Scale},
  author = {Ran Tian and Ankur P. Parikh},
  year   = {2022},
  eprint = {2210.11693},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11693}
}

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/2210.11693.svg)](https://codeofpaper.com/paper/2210.11693)

Discussion