Papers › SGDR: Stochastic Gradient Descent with Warm Restarts

SGDR: Stochastic Gradient Descent with Warm Restarts

13 Aug 2016arXiv:1608.03983archive 2025-07-28

Ilya Loshchilov, Frank Hutter

Restart techniques are common in gradient-free optimization to deal with multimodal functions. Partial warm restarts are also gaining popularity in gradient-based optimization to improve the rate of convergence in accelerated gradient schemes to deal with ill-conditioned functions. In this paper, we propose a simple warm restart technique for stochastic gradient descent to improve its anytime performance when training deep neural networks. We empirically study its performance on the CIFAR-10 and CIFAR-100 datasets, where we demonstrate new state-of-the-art results at 3.14% and 16.21%, respectively. We also demonstrate its advantages on a dataset of EEG recordings and on a downsampled version of the ImageNet dataset. Our source code is available at https://github.com/loshchil/SGDR

PaperPDFCodeCode 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="1608.03983")

Code

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

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

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

loshchil/SGDR officialmentioned in papermentioned on GitHub report
Jmak12/Iris1 mentioned on GitHubpytorch report
SevenZhan/Pytorch mentioned on GitHubpytorch report
abhuse/cyclic-cosine-decay mentioned on GitHubpytorch report
buptlwz/mabp mentioned on GitHubpytorchMIT report
jae1213/CyclicalLR_SGDR mentioned on GitHubpytorch report
jolibrain/caffe mentioned on GitHub report
longjj/Caffe-SGDR mentioned on GitHub report
rwightman/pytorch-image-models mentioned on GitHubpytorch report
vinuni-vishc/transformer-gait-analysis mentioned on GitHubpytorch report
yumatsuoka/check_cosine_annealing_lr mentioned on GitHubtorch report
MindCode-4/code-9 mindsporeApache-2.0 report
pwc-1/Paper-9 mindspore 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

17 samples harvested; 10 ran; 0 honoured the contract we drafted; 7 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.

1ran · our draft was wrong
9ran
7unverified

Licence: 7 of the 17 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 10 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.

CosineAnnealingLR_with_Restart Gjiangtao/A-Deep-Supervised-Edge-Optimization-Algorithm-for-Salt-Body-Segmentation/config/res34_loss_naive_nodice_hp_scse_ds_border/loss/cyclic_lr.py community (archive-listed) ran no licence file found · pointer only · 4f7499d2bb391700 · report
CosineAnnealingWithRestartsLR gurucharanmk/PyTorch_CosineAnnealingWithRestartsLR/CosineAnnealingWithRestartsLR.py community (archive-listed) ran MIT (permissive) · f4a8879aa783ad15 · report
CosineLR SevenZhan/Pytorch/schedulers.py community (archive-listed) ran no licence file found · pointer only · fe5e79b70f387bec · report
CyclicCosAnnealingLR Harshvardhan1/cyclic-learning-schedulers-pytorch/cyclicLR.py community (archive-listed) ran · metamorphic tier: well formed no licence file found · pointer only · 8a9fabc6ccb89932 · report
CyclicCosAnnealingLR bluesky314/Cyclical_LR_Scheduler_With_Decay_Pytorch/cyclicLR.py community (archive-listed) ran no licence file found · pointer only · 43331e0456fed368 · report
CyclicCosineDecayLR abhuse/cyclic-cosine-decay/scheduler.py community (archive-listed) ran MIT (permissive) · 926fab0aa32bd97a · report
LearningRateScheduler MrtnMndt/Rethinking_CNN_Layerwise_Feature_Amounts/lib/Training/learning_rate_scheduling.py community (archive-listed) ran BSD-3-Clause (permissive) · e2d73df88181d0fb · report
PolyLR Jmak12/Iris1/optimizers/lr_scheduler.py community (archive-listed) ran no licence file found · pointer only · 899d6ddaba2af2a7 · report
SGDRLR jae1213/CyclicalLR_SGDR/LRscheduler.py community (archive-listed) ran no licence file found · pointer only · 6e9ad0df07eed6da · report
window_reverse buptlwz/mabp/gres_model/modeling/backbone/swin.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 61bf152e6a42a184 · report
CustomLR jae1213/CyclicalLR_SGDR/LRscheduler.py community (archive-listed) unverified no licence file found · pointer only · 803f499019d43ed0 · report
computeIoU buptlwz/mabp/gres_model/evaluation/refer_evaluation.py community (archive-listed) unverified MIT (permissive) · 745bf09fefeb50c3 · report
nested_tensor_from_tensor_list buptlwz/mabp/gres_model/utils/misc.py community (archive-listed) unverified MIT (permissive) · 58cc9ff3bf75e753 · report
prepare_data buptlwz/mabp/gres_model/data_prepare.py community (archive-listed) unverified MIT (permissive) · 755b208f128fbce6 · report
refer_bce_loss buptlwz/mabp/gres_model/modeling/criterion-so.py community (archive-listed) unverified MIT (permissive) · 67dae4afd1febb5e · report
refer_ce_loss buptlwz/mabp/gres_model/modeling/criterion-so.py community (archive-listed) unverified MIT (permissive) · 7b44eda6b63c9a3a · report
window_partition buptlwz/mabp/gres_model/modeling/criterion-so.py community (archive-listed) unverified MIT (permissive) · 2f4f1157ededdc6b · report

Tasks

EEGElectroencephalogram (EEG)Stochastic Optimization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: Cosine Annealing

Cosine Annealing

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