Papers › On the Variance of the Adaptive Learning Rate and Beyond

On the Variance of the Adaptive Learning Rate and Beyond

8 Aug 2019ICLR 2020 1arXiv:1908.03265archive 2025-07-28

Liyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu, Jianfeng Gao, Jiawei Han

The learning rate warmup heuristic achieves remarkable success in stabilizing training, accelerating convergence and improving generalization for adaptive stochastic optimization algorithms like RMSprop and Adam. Here, we study its mechanism in details. Pursuing the theory behind warmup, we identify a problem of the adaptive learning rate (i.e., it has problematically large variance in the early stage), suggest warmup works as a variance reduction technique, and provide both empirical and theoretical evidence to verify our hypothesis. We further propose RAdam, a new variant of Adam, by introducing a term to rectify the variance of the adaptive learning rate. Extensive experimental results on image classification, language modeling, and neural machine translation verify our intuition and demonstrate the effectiveness and robustness of our proposed method. All implementations are available at: https://github.com/LiyuanLucasLiu/RAdam.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1908.03265")

Code

Syntology Ran 4 of 13 code samples harvested from 3 repositories linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 2 ran; community (archive-listed): 8 samples from 2 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

21 repositories listed; official and paper-mentioned ones first.

LiyuanLucasLiu/RAdam officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
201419/Optimizer-PyTorch mentioned on GitHubpytorchApache-2.0 report
AnirudhMaiya/RAdam mentioned on GitHub report
HamadYA/GhostFaceNets mentioned on GitHubtfMIT report
Tony-Y/pytorch_warmup mentioned on GitHubpytorchMIT report
bond005/yandex-shifts-weather mentioned on GitHubtfApache-2.0 report
chunhuililili/mt_dnn mentioned on GitHubpytorch report
float256/rectified-adam-keras mentioned on GitHubtfGPL-3.0 report
frgfm/Holocron mentioned on GitHubpytorch report
kpe/params-flow mentioned on GitHubtfMIT report
microsoft/MT-DNN mentioned on GitHubpytorchMIT report
miyamankyushu/DCGAN mentioned on GitHubpytorch report
mnikitin/RAdam mentioned on GitHubmxnet report
nachiket273/lookahead_pytorch mentioned on GitHubpytorch report
namisan/mt-dnn mentioned on GitHubpytorch report
shun601/4th-tellus-satellite-challenge mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 4 ran; 2 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
1ran
9unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_mean_and_std LiyuanLucasLiu/RAdam/cifar_imagenet/utils/misc.py official repository ran Apache-2.0 (permissive) · 2c92cec199cf12cd · report
plot_overlap LiyuanLucasLiu/RAdam/cifar_imagenet/utils/logger.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 50afa2863ffd9fde · report
colorize LiyuanLucasLiu/RAdam/cifar_imagenet/utils/visualize.py official repository unverified Apache-2.0 (permissive) · c87e7665fde6cdfc · report
gauss LiyuanLucasLiu/RAdam/cifar_imagenet/utils/visualize.py official repository unverified Apache-2.0 (permissive) · d66f0a3cbb86204c · report
make_image LiyuanLucasLiu/RAdam/cifar_imagenet/utils/visualize.py official repository unverified Apache-2.0 (permissive) · 1394422d51c4b126 · report
scaled_sign 201419/Optimizer-PyTorch/errorfeedbacksgd.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · d979441c66cfc515 · report
unscaled_sign 201419/Optimizer-PyTorch/errorfeedbacksgd.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · f45a2479358fd34b · report
create_one_cycle_lr_scheduler kpe/params-flow/params_flow/utils/learn_scheduler.py community (archive-listed) unverified MIT (permissive) · d97f2e791492ba33 · report
fetch_url kpe/params-flow/params_flow/utils/fetch_unpack.py community (archive-listed) unverified MIT (permissive) · 1c47760cdb987d2d · report
gelu kpe/params-flow/params_flow/activations.py community (archive-listed) unverified MIT (permissive) · e6d5b83d23a4800c · report
gelu_exact kpe/params-flow/params_flow/activations.py community (archive-listed) unverified MIT (permissive) · 3dbb04436d7c7aa9 · report
get_activation kpe/params-flow/params_flow/activations.py community (archive-listed) unverified MIT (permissive) · 528aa6f214e15748 · report
unpack_archive kpe/params-flow/params_flow/utils/fetch_unpack.py community (archive-listed) unverified MIT (permissive) · 335085134ae18f02 · report

Tasks

Image ClassificationLanguage ModelingLanguage ModellingMachine TranslationStochastic OptimizationTranslationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamRAdamRMSProp

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections