---
title: "SGDR: Stochastic Gradient Descent with Warm Restarts (2016)"
description: "Understand SGDR’s cosine learning rate schedule, warm restarts, snapshot ensembles, experimental results, and practical limits."
canonical: "https://research.elamur.ai/free/en/papers/loshchilov-2016-sgdr-stochastic-gradient-descent-warm/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/loshchilov-2016-sgdr-stochastic-gradient-descent-warm/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / SGDR: Stochastic Gradient Descent with Warm Restarts

# SGDR: Stochastic Gradient Descent with Warm Restarts

Paper · 2016 · Ilya Loshchilov and Frank Hutter

**Authors:** [Ilya Loshchilov](https://md.research.elamur.ai/free/en/authors/ilya-loshchilov/) and [Frank Hutter](https://md.research.elamur.ai/free/en/authors/frank-hutter/) · **Year:** 2016 · **Venue:** arXiv:1608.03983 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**1,547** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2518108298) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1608.03983)
- [arXiv 1608.03983](https://arxiv.org/abs/1608.03983)
- [OpenAlex](https://openalex.org/W2518108298)

## Deep dive: SGDR: Stochastic Gradient Descent with Warm Restarts

Understand SGDR’s cosine learning rate schedule, warm restarts, snapshot ensembles, experimental results, and practical limits. · about 35 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Training a neural network involves more than choosing how it is built. The learning rate—the quantity that controls the size of each adjustment to its parameters—can determine how quickly useful predictions emerge and how good they eventually become. A training schedule designed around a fixed stopping point may spend much of its budget making slow progress, then improve sharply after a scheduled reduction in the learning rate. That is inconvenient when computation is expensive, the available budget is uncertain, or a researcher wants to compare several alternatives before committing to a long run. SGDR addresses this scheduling problem: how can training produce a useful result early while continuing to improve if more computation becomes available?

The authors propose repeatedly lowering the learning rate along a cosine curve, then raising it to begin another cycle. The parameters already learned remain in place. A restart therefore changes the scale of subsequent updates without returning the network to its initial state. Cycles can have a fixed length, or they can grow after each restart. Short early cycles create early opportunities to finish a period of careful refinement; longer later cycles give training more time before the next return to a small learning rate. The main objective is better anytime performance: a good recommendation should be available at different possible stopping times, rather than only near the end of a predetermined budget.

The principal experiments train wide residual networks on CIFAR-10 and CIFAR-100. Compared with the reference schedule of occasional abrupt learning-rate reductions, SGDR reaches competitive classification errors with substantially fewer epochs. The authors describe improvements of 2–4 times in reaching errors around 4% on CIFAR-10 and around 20% on CIFAR-100. They also find that a single cosine decay, without a restart during the training budget, is competitive at the final stopping point. That distinction matters: the experiments support both a useful decay schedule and a useful way of arranging repeated opportunities for early results. They do not establish that restarting is necessary for every improvement.

A further benefit appears when predictions from saved training states are combined. Following the snapshot-ensemble approach discussed in the paper, the authors save networks near the ends of different SGDR cycles and average their output probabilities. For WRN-28-10, snapshots from a single run improve CIFAR-10 test error from 4.03% to 3.51% and CIFAR-100 test error from 19.57% to 17.75%. Combining snapshots across independent runs eventually produces the headline errors of 3.14% and 16.21%, respectively. These are ensemble results, rather than the performance of an individual network. The additional checkpoints share training work, although keeping and evaluating an ensemble still has practical costs.

Experiments on movement classification from EEG recordings and on a downsampled ImageNet dataset extend the evidence beyond the main CIFAR setting. They again favor SGDR’s performance across different training budgets, and the ImageNet experiments suggest that sweeping through learning rates may reduce sensitivity to an imperfect initial choice. The authors remain cautious about the mechanism: they do not claim to demonstrate escape from different local optima or any other effect specifically attributable to multimodality. Their central contribution is an inexpensive scheduling change, supported by empirical comparisons, that makes useful training outcomes available sooner and supplies checkpoints whose predictions can complement one another.

### Ideas worth borrowing

Early useful stopping points. A training process can be designed around the quality of intermediate recommendations as well as its final result. SGDR’s short initial cycles reach small learning rates early, creating checkpoints that are ready for use before a long training budget has elapsed. This principle applies whenever an experiment may be interrupted, expanded, or compared with competing configurations while it is still running. The reusable idea is to make intermediate completion a deliberate property of the process, instead of an accidental consequence of the final schedule.

Keep learned parameters when changing behavior. SGDR separates a restart of the learning-rate schedule from a restart of the network’s parameters. The next cycle begins from what training has already learned, but uses larger updates again. This is a useful distinction for iterative procedures more generally: changing how a search proceeds need not discard the current solution. It makes the restart cheap and preserves progress, while still allowing the procedure to move differently from a continuation at a very small learning rate.

Separate the working state from the recommended state. Immediately after a restart, the current network may perform worse than the checkpoint at the preceding cycle’s end. SGDR therefore recommends the completed-cycle checkpoint while the next cycle continues. This distinction is useful in any long-running optimization process that deliberately passes through temporarily worse states. An experiment can keep exploring while maintaining a stable result for evaluation or deployment. The recommendation rule also makes clear which state a performance curve represents.

Match refinement periods to an uncertain budget. Increasing cycle lengths lets the same run serve several possible stopping horizons. Early cycles provide quick refinement; later cycles allocate more time to continued improvement. This approach is especially relevant when a researcher does not know in advance whether a configuration deserves a short trial or a longer investment. Its value depends on the task, but the scheduling principle is broadly reusable: organize work so that early decisions remain useful when the budget grows.

Save checkpoints at meaningful phases. The snapshot experiments show that the timing of a checkpoint matters more than simply collecting several nearby states. End-of-cycle snapshots improve ensemble predictions, whereas snapshots from adjacent final epochs do not improve the corresponding baseline. For other iterative systems, this suggests looking for checkpoints that differ in how they were reached, while remaining individually competent. More stored states do not automatically mean more useful diversity.

Measure progress against actual work. The supplementary analysis examines an implementation detail that changes how many training examples an epoch contains. This is an important experimental habit. A schedule expressed in epochs can silently change its computational meaning when augmentation, sampling, or data handling changes. Comparisons are easier to interpret when the unit of progress is documented alongside the learning-rate schedule. The same principle applies to systems measured in steps, batches, passes, or other convenient but implementation-dependent units.

Treat a strong outcome as several claims. SGDR’s final accuracy, early accuracy, training-loss behavior, and ensemble gains answer different questions. The paper becomes more informative when those outcomes are kept separate. This is a useful habit for evaluating any training intervention: identify whether it improves optimization speed, generalization, the choice of stopping time, or the value of combining outputs. A single headline result can otherwise hide the part of the method that actually provides the benefit.

### How Mova uses it

For Mova, a small transparent language system implemented in Rust, SGDR is best understood as a possible training component. The paper does not describe Mova, and there is no established implementation connection to report. The concrete opportunity concerns any part of Mova whose parameters are adjusted with stochastic gradient descent. If such a component exists, its learning-rate schedule could follow SGDR without changing the meaning of its inputs, outputs, or learned parameters.

A transparent implementation would make the scheduler’s state explicit. It would record the learning-rate bounds, the length of the current cycle, progress within that cycle, and the rule for increasing later cycle lengths. Those quantities are enough to explain why a particular update used a particular learning rate. In Rust, they could belong to a small scheduler component with a clearly defined relationship to the training loop. This is a proposed design, rather than a claim about code that has already been built.

The distinction between current and recommended parameters is especially relevant to a system that aims to expose how it works. Mova could retain an end-of-cycle checkpoint as its recommended state while continuing training through a restart. An observer would then be able to distinguish the parameters receiving updates from the parameters used for the current recommendation. That distinction would explain why continued training might temporarily worsen the working state without immediately changing the recommended output.

SGDR also offers a restrained way to investigate training under limited budgets. A small system may benefit from experiments that yield an interpretable result early and can continue when the configuration looks promising. Growing cycles would make that possible without requiring a completely new schedule whenever the available budget changes. Whether this helps Mova would need to be measured on its own task. The image-classification results do not establish a benefit for a language system.

Snapshot ensembles are a separate possibility. If Mova has a probabilistic learned component, it could preserve checkpoints from completed cycles and investigate whether averaging their predictions helps. That proposal carries a tradeoff: the snapshots share training work, but using several of them requires storage and additional prediction work. For a small system, the extra complexity might outweigh the improvement. The paper supplies a reason to test the idea, not a reason to make ensembling a default.

The strongest connection to Mova’s transparency goals is methodological. A scheduler can be described with a small amount of visible state, and its recommendations can be traced to identifiable checkpoints. The learning-rate trajectory, restart events, and selected checkpoint could all be inspectable. This would allow a reader to understand the training procedure without treating a better score as a sufficient explanation of how it was obtained.

The limits of this connection are equally important. SGDR does not provide a language-processing architecture, a linguistic representation, or an explanation of what learned parameters mean. It does not make a trained system interpretable by itself. Its possible role in Mova is narrower: organizing gradient-based training so that progress, stopping decisions, and checkpoint selection can be made explicit. Any claim of improved language performance would require evidence beyond this paper.

### The problem and its context

#### Training speed includes the schedule

The paper begins from a computational problem. Deep neural networks can perform well on classification tasks, but obtaining those results requires substantial training. The authors describe training on large datasets as a major bottleneck, sometimes occupying high-performance GPUs for several days. In that setting, a change that reaches a useful result sooner can have practical value even if it leaves the network architecture untouched.

The optimization problem is to choose parameter values that make an objective function small. The objective typically reflects prediction errors over the training data, together with any regularization used during training. Computing a gradient over all available examples at every update would be costly. Stochastic gradient descent instead uses a relatively small batch to estimate a direction of improvement.

This makes the learning rate central. A gradient supplies a direction and a scale derived from the current batch, but the learning rate determines how strongly the parameters respond. Keeping it large can support rapid movement while making precise refinement difficult. Reducing it can help training settle, but may also slow further progress. A schedule encodes assumptions about when each kind of behavior will be useful.

The reference approach uses a constant learning rate for a period, then divides it by a fixed factor at selected epochs. Such a schedule is simple, but its timing is tied to a planned training horizon. If the network becomes useful only after a late reduction, an early interruption can leave a poor result. Extending a run can also require reconsidering when the reductions should occur.

SGDR targets this dependence on a single planned endpoint. The authors want a procedure that repeatedly reaches a carefully refined state and can continue afterwards. The relevant outcome is therefore a curve of recommendation quality over training time, rather than only a score at the last epoch.

#### Why ordinary momentum SGD remained the reference

The authors place their work alongside methods that adapt updates using information about the shape of the objective. A full second-order method would use the Hessian, which describes how gradients change across parameter directions. For a large parameter vector, storing and computing the required inverse is often impractical.

Limited-memory quasi-Newton methods address some of that burden, but the paper describes several obstacles in deep-network training: noisy gradients, poor conditioning, and saddle points associated with the structure of the parameter space. Poor conditioning means that useful update scales can differ substantially across directions. A saddle point presents a different difficulty: the objective can curve upward in some directions and downward in others.

The discussion connects these issues to earlier research, including [Dauphin and colleagues’ saddle-point study](https://md.research.elamur.ai/free/en/papers/dauphin-2014-identifying-attacking-saddle-point-problem/). It also names [ADADELTA](https://md.research.elamur.ai/free/en/papers/zeiler-2012-adadelta-adaptive-learning-rate-method/) and [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/) as approaches that adapt learning rates through reduced approximations instead of a full inverse Hessian.

Yet the authors observe that leading residual-network results used SGD with momentum. The residual-network line includes [Deep Residual Learning](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/) and [stochastic depth](https://md.research.elamur.ai/free/en/papers/huang-2016-deep-networks-stochastic-depth/). Their point is empirical: sophisticated adaptation was not a prerequisite for strong results in these settings. Improving the schedule of a comparatively simple optimizer was therefore a worthwhile direction.

Momentum combines the current gradient contribution with a velocity carried from previous updates. This gives recent directions an influence over subsequent movement. The paper emphasizes that, within this familiar optimizer, learning-rate scheduling and weight-decay regularization remain major choices. SGDR changes the former while keeping the main optimizer recognizable.

#### What restart research contributed

Restart techniques already existed in several optimization settings. In gradient-free search, the aim can be to explore functions with several local optima. Maintaining many local searches across the whole space becomes difficult as dimensionality grows. Restart mechanisms offer another way to allocate a limited evaluation budget.

The authors describe approaches that sample candidate solutions, favor promising directions, and reshape a sampling distribution. A larger candidate population supports broader search but uses more function evaluations. Starting with a smaller population and increasing it after restarts can balance early usefulness with later exploration. SGDR borrows the scheduling intuition: begin with a modest allocation and enlarge later runs.

Gradient-based restarts have a different history. They can improve convergence even when finding different optima is not the main concern. Earlier conjugate-gradient procedures periodically cleared accumulated history or triggered a restart when gradient relationships indicated that the history had become less useful.

The paper also discusses accelerated gradient methods whose momentum can produce oscillations. In the smooth convex setting reviewed by the authors, appropriately timed restarts can improve convergence. Adaptive rules can use increases in the objective or an unfavorable relationship between momentum and the current gradient as signals.

Those results motivate the idea of restarting, but they do not directly prove SGDR’s effectiveness for deep-network training. Stochastic batches complicate the use of immediate objective or gradient signals. A change between batches may reflect a different sample of data rather than a meaningful deterioration in the optimization trajectory.

The authors note that averaging losses or gradients could reduce that noise. They nevertheless choose a simpler mechanism: restarts occur according to elapsed training, and the learning rate follows a fixed curve within each cycle. This makes the method easy to specify and avoids introducing a noisy adaptive trigger.

#### Nearby approaches and the paper’s distinction

The paper identifies Smith’s cyclical learning rates as closely related in motivation and mathematical form. It distinguishes SGDR by its emphasis on restarts. That acknowledgment places SGDR within an existing interest in varying the learning rate repeatedly, rather than presenting all periodic scheduling as new.

Another related approach restarts stochastic subgradient descent for a particular class of convex problems. As the authors explain, that procedure reduces the learning rate geometrically and resets the current point to an average from an earlier period. SGDR instead raises the learning rate while retaining the current parameters.

These distinctions help define the contribution. A restart can mean resetting accumulated history, returning to an averaged point, beginning a new search, or changing the learning-rate regime. SGDR uses the last of these meanings. Its novelty and evidence concern a particular way of organizing stochastic-gradient training, with an emphasis on useful results throughout the run.

### The method, step by step

#### Begin with the optimization state

Let the network’s parameters form a vector. Each coordinate is a quantity that training can adjust, and the objective maps the complete vector to a scalar measure of training quality. The paper writes this objective as follows:

```
f: ℝⁿ → ℝ
```

Here, f is the function being minimized, ℝ denotes the real numbers, and n is the number of adjustable parameters. The notation ℝⁿ means that the input is a vector with n real-valued coordinates. The output is a single real value.

At each training step, a batch supplies the gradient used for the update. The elementary SGD rule is:

```
xₜ₊₁ = xₜ − ηₜ ∇fₜ(xₜ)
```

The vector xₜ contains the parameters at step t, and xₜ₊₁ contains them after the update. The quantity ηₜ is the learning rate for that step. The expression ∇fₜ(xₜ) is the gradient evaluated at xₜ using the batch associated with t. The subscript on f distinguishes this batch-based information from an exact evaluation over the entire objective.

A gradient indicates how the objective changes locally as parameters move. Subtracting it moves in the direction of local decrease according to the batch estimate. The learning rate controls how far the update proceeds in that direction. SGDR changes ηₜ over training while continuing to use this basic logic.

For comparison, the paper introduces a second-order update:

```
xₜ₊₁ = xₜ − ηₜ Hₜ⁻¹ ∇fₜ(xₜ)
```

The symbols xₜ, xₜ₊₁, ηₜ, and ∇fₜ retain their meanings. Hₜ is the Hessian matrix, and Hₜ⁻¹ is its inverse. This matrix transforms the gradient using curvature information. The equation provides context for the optimization problem; computing this inverse is not part of SGDR.

#### Add momentum

The experiments use momentum to retain information from earlier updates. The velocity update is:

```
vₜ₊₁ = μₜ vₜ − ηₜ ∇fₜ(xₜ)
```

The vector vₜ is the existing velocity, vₜ₊₁ is the new velocity, and μₜ is the momentum coefficient. The learning rate ηₜ scales the current batch gradient. The velocity starts at 0, so its later values reflect the accumulated sequence of updates.

The parameter update then uses that velocity:

```
xₜ₊₁ = xₜ + vₜ₊₁
```

Here, xₜ is the current parameter vector, xₜ₊₁ is the next parameter vector, and vₜ₊₁ is the velocity just calculated. Keeping these equations separate clarifies the role of SGDR: its schedule changes the learning-rate term inside the velocity calculation.

The paper’s motivating residual-network results used Nesterov momentum. In their reproduced baseline, the authors instead use the momentum equations above. That implementation choice matters when interpreting reproduction claims, although the main schedule comparisons share the authors’ experimental setup.

#### Organize training into cycles

SGDR divides training into runs indexed by i. A run lasts Tᵢ epochs. At the end of that interval, the schedule restarts: the learning rate rises again, while the current parameter vector becomes the starting point for the next run.

The word “warm” describes this reuse of learned parameters. There is no fresh random initialization at each boundary. The network continues from its current state, but the next updates occur under a renewed learning-rate schedule.

The size of the upward change determines how strongly the new gradient contributions interact with information carried from earlier training, including momentum. The paper describes the restart as being simulated through this change in learning rate. It should therefore be understood through the specified update rule and schedule, rather than through an assumption that all optimizer state is erased.

Training with cosine cycles and warm restarts The steps in order.

The final step applies when growing cycles are selected. Fixed-length cycles follow the same training procedure but retain their duration. Checkpoints from completed cycles support both the recommendation rule and the later ensemble experiments.

#### Lower the learning rate smoothly

Inside a run, SGDR calculates the learning rate using cosine annealing:

```
ηₜ = ηⁱ_min + ½(ηⁱ_max − ηⁱ_min)(1 + cos(π T_cur / Tᵢ))
```

The quantity ηₜ is the learning rate at batch step t. The superscript i identifies the current run. Its lower and upper learning-rate bounds are ηⁱ_min and ηⁱ_max. Tᵢ is the run’s duration in epochs, and T_cur measures elapsed epochs since its beginning. The symbol π is the usual circle constant, cos is the cosine function, and ½ supplies the scaling used to map the cosine into the desired learning-rate range.

At the beginning of the cycle, T_cur is 0 and the learning rate equals ηⁱ_max. At the end, T_cur equals Tᵢ; the cosine reaches −1, and the rate reaches ηⁱ_min. Between those points, the rate decreases smoothly.

The calculation happens for each batch. Although the cycle duration is measured in epochs, progress within it need not be an integer. The paper gives 0.1 and 0.2 as examples of within-epoch progress. This is a continuously progressing schedule sampled at batch updates, instead of a rate changed only when a complete epoch finishes.

The cosine curve lowers the rate gradually at the beginning, more rapidly through the middle, and gradually again near the end. This supplies a period of increasingly fine updates before the restart. The method’s timing comes from cycle progress, so it does not need to inspect a validation score to decide when the rate should change.

For the displayed CIFAR schedules, the upper bound is 0.05 and the lower bound is 0. Fixed-cycle examples use durations of 50, 100, and 200 epochs. These are alternative settings of the same schedule, not different optimizers.

#### Decide whether later cycles grow

The first cycle length is controlled by T₀. The multiplier T_mult specifies whether later cycles become longer. With T_mult set to 1, the cycles keep a fixed duration. With T_mult set to 2, each new cycle is longer than its predecessor by the stated factor.

The authors study growing schedules beginning with T₀ set to 1 or 10. Their purpose is to produce useful end-of-cycle results early, then allow progressively longer refinement periods. An early short cycle may not produce the best eventual network, but it creates a recommendation before a long fixed cycle would finish.

The distinction between cycle duration and learning rate is important. T₀ measures training time in epochs; it is not an initial learning rate. The upper learning-rate bound determines the scale at the start of a cycle. Keeping these choices separate makes the method easier to reason about.

The authors also consider the possibility of lowering the bounds after each restart. They leave those bounds unchanged in the main study to avoid adding more hyper-parameters. Decaying the bounds is therefore a proposed extension, rather than part of the central configuration being evaluated.

#### Maintain a recommendation through temporary setbacks

Raising the learning rate can worsen predictive performance temporarily. If a run were judged only by its current parameter vector, its reported quality could fall immediately after a restart. SGDR instead distinguishes the training state from the recommended solution.

Before the first restart, the current state is the recommendation. Afterward, the recommendation is the checkpoint from the end of the most recently completed cycle. That checkpoint was reached when the learning rate was at its lower bound.

This is a deterministic rule based on schedule position. It does not search all checkpoints for whichever one has the lowest measured test error. It also does not require a separate validation split merely to choose the recommended state.

That last point has a limited meaning. Hyper-parameters can still be compared using validation data, and the paper explicitly discusses doing so. The rule removes the need for a validation-based checkpoint selector; it does not remove the general problem of choosing a good configuration.

The rule also affects the interpretation of learning curves. The main CIFAR plots display SGDR’s recommended checkpoints. Between cycle endings, the plotted recommendation can remain the same even as the active network continues changing. The curve therefore describes what a user could take from the run under the authors’ policy.

#### Build the training and data pipeline

The main experiments use wide residual networks. The notation WRN-d-k identifies depth d and widening factor k. WRN-28-10 has 28 layers and uses a widening factor of 10 relative to the original residual-network design described by the authors.

For CIFAR, training includes image augmentation through horizontal reflection and random cropping from padded images. The reproduced baseline uses per-pixel mean subtraction. It omits the ZCA whitening used in the earlier reference setup.

The optimizer settings include momentum of 0.9, weight decay of 0.0005, dampening of 0, and minibatches of 128. The baseline and SGDR comparisons are interpreted within this shared pipeline. The official SGDR implementation is named in the paper as a publicly available source-code release.

The supplementary material adds a crucial detail: inherited augmentation code inserts flipped images into the training set. Accordingly, an epoch in that pipeline contains more training examples than the nominal dataset size alone suggests. The authors examine a shorter-epoch setting separately, rather than leaving the computational unit unspecified.

#### Combine cycle-end predictions when desired

Snapshot ensembling is an optional use of the trajectory. The network is saved near the ends of selected cycles, and the saved states are evaluated together. The ensemble combines their softmax probabilities with uniform weights.

The softmax output is a distribution over the available classes. Combining probabilities allows checkpoints to contribute jointly to the final class decision. This requires no new gradient-based training for the additional snapshots, because those states already occur along the SGDR run.

The paper distinguishes M, the number of snapshots retained from a run, from N, the number of independent training runs. Increasing M reuses one trajectory; increasing N requires additional independent training. This separation is essential to understanding both the computational advantage and the headline results.

### Experiments and results

#### CIFAR data and the reference schedule

CIFAR-10 and CIFAR-100 contain color images with dimensions of 32 × 32. Their classification tasks involve 10 and 100 classes, respectively. Each dataset has 50,000 training images and 10,000 test images. The reported outcome is test classification error: the percentage of test examples assigned an incorrect class.

The main architecture is WRN-28-10. Holding that architecture fixed makes the schedule comparison more informative, because the capacity and broad training pipeline remain shared. The paper notes that the WRN-28-10 experiments use the same computational and memory resources.

The earlier reference configuration starts with a learning rate of 0.1. It multiplies that rate by 0.2 at epochs 60, 120, and 160, within a budget of 200 epochs. The authors also test the same sequence of reductions starting from 0.05.

Their reproduction differs from the earlier work in preprocessing and momentum, as described above. Nevertheless, they report reproducing its WRN-28-10 performance on both datasets. The starting rate of 0.05 performs better in their experiments, so it becomes the choice used in subsequent comparisons.

These details prevent an overly broad reading of the results. SGDR is compared with a particular reference schedule under a particular pipeline. The evidence supports an improvement over that reference, rather than a claim that every possible noncyclical schedule must perform worse.

#### Individual-network results and anytime behavior

The fixed-cycle experiments use T₀ values of 50, 100, and 200 with T_mult set to 1. The setting with T₀ equal to 200 is especially revealing. Within the stated training horizon, it is effectively a single cosine decay and achieves the best final result among the discussed settings.

However, this long cycle has the weakest anytime behavior until the final part of training. A configuration can therefore be attractive at the planned endpoint while offering less useful results earlier. The paper’s motivation becomes visible in this contrast.

The growing-cycle settings start at T₀ equal to 1 or 10 and use T_mult equal to 2. They are designed to complete useful cycles early. The authors report that errors around 4% on CIFAR-10 and around 20% on CIFAR-100 become available about 2–4 times sooner than under the reference schedule.

This statement concerns the number of epochs required to reach a competitive error region. It is not a uniform acceleration factor for every point on every curve. It also does not mean that the growing schedule always has the lowest error at the final budget.

The paper’s comparison of training and test behavior provides further context. SGDR reduces the training objective faster than the reference until about epoch 120. After that point, the reference shows increasing test error, which the authors interpret as overfitting. They report only mild overfitting under SGDR in those experiments.

#### Wider networks and the use of saved time

The authors next train WRN-28-20, increasing the width relative to WRN-28-10. This tests whether faster access to useful performance can make a more expensive architecture practical within a comparable overall budget.

The reported improvements are about 0.25% on CIFAR-10 and about 0.5–1.0% on CIFAR-100. WRN-28-20 requires roughly three-four times the computation of WRN-28-10, according to the paper’s account. The improvement therefore cannot be attributed to the schedule alone: the architecture also changes.

Nonetheless, the time allocation is informative. With 50 epochs and a cosine schedule configured with T₀ equal to 50 and T_mult equal to 1, the wider network obtains CIFAR-100 error below 19%. The authors contrast this with the narrower-network comparisons, none of which performs better than 19.5% in that discussion.

They report that the wider network reaches a better error within the time spent on 200 epochs of WRN-28-10 training. The practical lesson is about the use of a budget. A schedule that makes a configuration informative earlier can allow more computation to be spent on capacity or architectural investigation.

#### Snapshot ensembles on CIFAR

The ensemble study uses WRN-28-10 trained with T₀ equal to 10 and T_mult equal to 2. Its baseline test errors are 4.03% on CIFAR-10 and 19.57% on CIFAR-100, reported as medians over 16 runs.

The authors save M equal to 3 checkpoints at epochs 30, 70, and 150. These are selected because they occur at cycle endings, where the schedule approaches its lower learning-rate bound. Combining their probabilities with uniform weights improves both test errors.

WRN-28-10 checkpoint combinations on CIFAR-10 test error Combining cycle-end snapshots improves on an individual checkpoint, with further gains from independent runs.

**The numbers**

| System or setting | test error % |
| --- | --- |
| Individual checkpoint | 4.03 |
| Cycle snapshots, N=1 and M=3 | 3.51 |
| Cycle snapshots, N=3 and M=3 | 3.25 |
| Cycle snapshots, N=16 and M=3 (this paper) | 3.14 |

The improvement from one run is important because it reuses training that was already performed. The paper compares that ensemble with aggregating the epoch-150 checkpoints from N equal to 3 independent runs. In this setting, the authors report comparable performance and describe the snapshot approach as providing a 3-fold training speedup.

This does not make every ensemble cost disappear. The claim concerns obtaining the constituent checkpoints through shared training. Evaluating their predictions still requires using the retained networks.

WRN-28-10 checkpoint combinations on CIFAR-100 test error Snapshot aggregation improves test error, and combining snapshots across runs improves it further.

**The numbers**

| System or setting | test error % |
| --- | --- |
| Individual checkpoint | 19.57 |
| Cycle snapshots, N=1 and M=3 | 17.75 |
| Cycle snapshots, N=3 and M=3 | 16.64 |
| Cycle snapshots, N=16 and M=3 (this paper) | 16.21 |

The strongest reported CIFAR results use N equal to 16. They should therefore be read as results from snapshots collected across independent runs, rather than from a single trajectory.

The paper also observes that checkpoint origin matters. The configuration with N equal to 3 and M equal to 3 outperforms comparisons using M equal to 1 with N equal to 18 or 21. More independent endpoint predictions are not automatically as useful as predictions drawn from several cycle endings.

A control strengthens that interpretation. Saving checkpoints at epochs 148, 149, and 150 does not improve the baseline associated with the epoch-150 snapshot. The useful ensemble effect depends on how the checkpoints differ, not simply on retaining several files.

#### EEG movement classification

The EEG experiments change both the input domain and the classification pipeline. The task uses recordings of brain activity associated with actual movements of the right hand, left hand, and foot. The dataset covers 14 subjects, with roughly 1000 trials for each subject.

The reference is the best classification performance of the original convolutional-network pipeline described by Schirrmeister and colleagues. The authors compare schedules over different training budgets and initial learning rates, including 0.025 and 0.05.

For a 30-epoch baseline, the learning rate is reduced by a factor of 10 at epochs 10, 15, and 20. Longer baseline runs use schedules scaled to their budgets. The comparisons consider budgets extending through 480 epochs.

As expected, allowing more training with an appropriately extended baseline schedule can improve the final outcome. SGDR’s advantage is that it offers a similar eventual quality while providing useful intermediate results without requiring the total epoch budget to be fixed beforehand.

The snapshot experiments again improve predictions. The reference median error is about 9%. The authors report improvements of 1–2% using snapshots from a single run and 2–3% when combining snapshots from both learning-rate settings.

These are the approximate improvements stated in the paper. They should not be converted into exact final errors. The experiment supports the usefulness of the scheduling and checkpoint ideas in another domain, while leaving the quantitative conclusion at the precision actually reported.

#### Downsampled ImageNet

The preliminary ImageNet experiment retains images from all 1000 classes and resizes them to 32 × 32 using box downsampling. The authors emphasize that this differs from reducing the task to a smaller class subset. They keep the original classification problem’s breadth while greatly reducing image resolution.

The architecture is WRN-28-10, with the same baseline augmentation procedure used for CIFAR. The comparison includes the reference schedule and growing SGDR cycles beginning with T₀ equal to 1 or 10, both using T_mult equal to 2.

The initial learning-rate settings are 0.050, 0.025, 0.01, and 0.005. This makes sensitivity to the upper rate part of the experiment, rather than evaluating only one favorable configuration.

With T₀ equal to 10, T_mult equal to 2, and an upper learning rate of 0.01, SGDR achieves top-1 test error of 39.24% and top-5 test error of 17.17%. Top-1 error checks whether the highest-ranked class is wrong. Top-5 error checks whether the correct class is absent from the highest-ranked alternatives.

The authors compare those values with the AlexNet results reported for full-resolution ImageNet in [ImageNet Classification](https://md.research.elamur.ai/free/en/papers/krizhevsky-2012-imagenet-classification-deep-convolutional/).

ImageNet top-1 test error across the paper’s resolution comparison The downsampled SGDR experiment reaches a reported error comparable to the cited full-resolution AlexNet result.

**The numbers**

| System or setting | top-1 test error % |
| --- | --- |
| AlexNet, original ImageNet images | 40.7 |
| WRN-28-10 with SGDR, downsampled images (this paper) | 39.24 |

This is a contextual comparison across architectures and image resolutions, instead of an isolated test of learning-rate scheduling. The cited AlexNet top-5 error is 18.2%, which the authors likewise compare with their downsampled result.

The ImageNet runs cover 40 epochs and are explicitly preliminary. The authors expect that longer training and further tuning could improve the outcomes. Their main observation is better anytime behavior and a possible reduction in sensitivity to an unsuitable initial learning rate.

### What the ablations show

#### A cosine schedule can help without a restart

The fixed-duration experiments provide an important controlled comparison. With T₀ equal to 200 and T_mult equal to 1, the useful training interval contains a single long cosine decay. Its strong final performance shows that a restart is not required for the proposed schedule to compete with the reference.

This narrows the explanation. Some of SGDR’s improvement can come from the shape and timing of learning-rate reduction. It would be inaccurate to assign all gains to the upward jump at a restart.

At the same time, the long cycle performs poorly as an anytime procedure until training approaches its end. Growing cycles address that different objective by reaching small learning rates earlier. The comparisons therefore separate final refinement from the availability of early recommendations.

The experiment does not fully isolate every property of the cosine curve. It does not compare all possible smooth decays under an exhaustive tuning budget. Its direct conclusion is that the tested cosine schedule is a competitive alternative to the chosen stepwise reference.

#### Short early cycles serve the anytime objective

The settings beginning with T₀ equal to 1 or 10 test whether an early completed cycle can provide a useful result without sacrificing the possibility of longer training. The later increase in cycle duration allows progressively more time between restarts.

Their favorable early error curves support the intended budget strategy. A researcher can obtain a recommendation at an early cycle boundary and keep training if the run remains worthwhile.

This is stronger evidence for an operational benefit than for a particular landscape mechanism. The figures show when competitive results become available. They do not show that a restart crossed a barrier between distinct attraction regions or discovered a qualitatively different optimum.

The recommendation policy also contributes to the observed behavior. After a restart, the reported SGDR solution remains the preceding cycle-end checkpoint until a new cycle completes. Anytime performance here belongs to the combination of schedule and recommendation rule.

#### Adjacent checkpoints are an informative control

The ensemble analysis asks whether any collection of saved states is enough. Checkpoints from epochs 148, 149, and 150 do not improve on the epoch-150 baseline. This rules out a simple explanation based only on the act of averaging several nearby outputs.

By contrast, checkpoints from epochs 30, 70, and 150 improve the result. They come from different completed cycles and have experienced different portions of the training trajectory. Their predictions evidently contain complementary information in a way that the adjacent checkpoints do not.

This supports the authors’ interpretation that SGDR produces useful prediction diversity. It does not prove that each checkpoint belongs to a distinct local optimum. Prediction complementarity is the observed property; a geometric explanation would require additional evidence.

The comparison is also valuable for engineering. Storing checkpoints indiscriminately can increase memory and evaluation costs without improving predictions. The paper identifies cycle position as a meaningful selection criterion.

#### Independent runs and within-run snapshots contribute differently

The N and M comparisons distinguish independent training from reuse of a trajectory. Using more independent runs can improve the ensemble, but the source and timing of the constituent predictions remain important.

The reported advantage of N equal to 3 and M equal to 3 over the comparisons with M equal to 1 and N equal to 18 or 21 shows that simply increasing the number of independently trained endpoint networks is not the whole story.

The evidence supports a practical allocation choice: investigate complementary cycle-end snapshots before assuming that every additional ensemble member requires a new full run. It does not identify a universally optimal allocation between N and M.

The strongest headline result still includes independent runs. Snapshot sharing reduces the training required to obtain multiple useful states from each run, but the final ensemble should not be described as the product of one training process.

#### Training loss and test behavior answer different questions

The supplementary curves compare the training objective, test loss, and test classification error. This is more informative than a test-error curve alone because it distinguishes fitting the training data from improving generalization.

The authors report that SGDR improves the training objective more quickly until about epoch 120. The reference then shows increasing test error even as training continues, while SGDR shows milder overfitting.

That observation supports the practical value of the schedule under the chosen regularization and architecture. It does not establish that SGDR always prevents overfitting. Different data, regularization, cycle lengths, or learning-rate bounds could produce another relationship.

The authors also warn that their settings are chosen with validation or test performance in view, rather than solely to maximize the speed of training-error reduction. A fair interpretation should therefore avoid equating lower training loss with the paper’s only objective.

#### The meaning of an epoch is tested

The inherited CIFAR augmentation pipeline adds flipped examples to the training set. This changes the number of examples processed during an epoch and therefore changes the meaning of a schedule expressed in epochs.

The supplementary experiment examines WRN-28-1 with epochs containing 50k examples. It compares learning-rate choices for both the reference and SGDR schedules. The reference search considers 0.01, 0.025, 0.05, and 0.1; SGDR considers 0.025, 0.05, and 0.1.

The displayed comparison reports medians over 5 runs for the best considered settings. The authors find SGDR competitive in anytime performance under this shorter-epoch convention as well.

This analysis addresses a plausible implementation-specific explanation. It does not establish invariance to every change in data presentation, but it shows that the reported advantage is not confined to the original doubled-example epoch.

#### Data ordering probes another source of difficulty

The supplementary ImageNet comparison restricts shuffling to 10 groups, each containing 100 classes. This creates a more difficult ordering regime than unrestricted mixing across the dataset.

The comparison includes initial learning rates of 0.050, 0.015, and 0.005. SGDR again appears advantageous in the authors’ reported curves.

Their interpretation is that annealing scans from the initial rate towards 0, potentially making an imperfect initial choice less damaging. This is a plausible reading of the experiment, instead of a proof that initial-rate selection becomes unimportant.

The analysis broadens the conditions under which the schedule is examined. It also reinforces a practical point: training outcomes depend on the interaction between the optimizer and the sequence of data it receives.

### Limitations

#### Limits the authors explicitly state

The authors are clear that their main goal is improved anytime performance. Although restart research frequently concerns functions with multiple optima, they do not claim to observe an effect specifically linked to multimodality. SGDR’s success should therefore not be explained as demonstrated escape from local minima.

The study leaves several scheduling choices open. Learning-rate bounds remain fixed across cycles in the central experiments. Reducing those bounds after restarts, returning to an earlier preferred checkpoint, and adapting later settings are discussed as possibilities rather than established improvements.

The ImageNet study is preliminary. It uses a downsampled dataset and a training horizon of 40 epochs. The authors explicitly expect longer runs and more tuning of learning rates, regularization, and other choices to improve results. Its findings cannot establish performance on the original-resolution task under the same controlled comparison.

Generality across optimizers also remains open. The paper proposes future investigation of warm restarts with AdaDelta and Adam. The reported SGD results do not on their own establish that the same choices or benefits transfer to those algorithms.

Architectural generality is another stated direction. The authors discuss alternatives to WRNs and suggest that more memory-efficient networks could improve individual and ensemble outcomes. They also mention compression as a way to reduce the cost of retaining and using several networks.

The paper acknowledges limited statistical evidence. Its result-table emphasis is not based on statistical significance tests, because too few runs are available for that purpose. A reported improvement should therefore be read with its experimental scope in mind.

#### What a careful reading adds

The principal schedule comparisons center on wide residual networks and the authors’ training pipeline. The EEG and downsampled ImageNet experiments broaden the evidence, but they do not establish universal behavior across tasks. There is no direct language-processing experiment in the study.

The reference is a particular stepwise schedule, not an exhaustive search over every reasonable alternative. Finding that SGDR improves on it demonstrates a useful method, but does not establish that cosine restarts are optimal or that a carefully tuned competing schedule could not match them.

The initial-rate choice remains consequential. The authors’ comparisons suggest some resilience because the schedule passes through a range of rates. They still evaluate several initial values, and they explicitly discuss tuning. SGDR reduces neither the need for experimental judgment nor the possibility of an unsuitable configuration.

The recommendation policy is useful but should be described precisely. After a restart, the current network can deteriorate while the reported recommendation remains a saved checkpoint. The main anytime curves are therefore not a direct record of the active network’s quality after every update.

Likewise, choosing the most recently completed cycle is a convenient rule, not a guarantee of monotonic improvement across cycle endings. The authors’ suggestion of returning to a previously better checkpoint acknowledges that a later restart may fail to produce the preferred outcome.

#### Training savings and inference costs differ

Snapshot ensembles save training because their constituents are encountered within a run. The additional checkpoints do not require independent optimization from initialization. That is the relevant sense in which the paper discusses obtaining extra ensemble members without extra training.

An ensemble nevertheless retains several parameter states and combines their predictions. The paper’s discussion of compression and memory-efficient alternatives recognizes those costs. A deployment with strict storage or latency requirements may prefer an individual checkpoint despite the ensemble’s lower test error.

The headline CIFAR scores also use snapshots from independent runs. Those results reflect both checkpoint reuse and additional training. They should not be used to imply that the full best-performing ensemble is obtained at the cost of an individual baseline run.

The wider-network results involve another resource tradeoff. SGDR makes a larger architecture attractive within a reported time budget, but the architecture itself requires more computation per epoch. The resulting accuracy gain cannot be assigned entirely to scheduling.

#### Comparisons require matching the question

The AlexNet comparison is informative context, but it changes architecture and image resolution alongside training details. Similar top-1 or top-5 errors do not isolate the contribution of SGDR. The more direct schedule evidence comes from comparisons sharing WRN-28-10 and the same dataset pipeline.

Epoch counts also require care. The supplementary analysis shows that the number of processed examples can differ across implementations using the same word for a training pass. The reported acceleration concerns the defined experimental setting; it should not be transferred mechanically to an unrelated implementation.

Finally, the experiments establish behavior more strongly than mechanism. The paper shows useful curves, complementary predictions, and favorable comparisons. It does not provide a convergence theorem for the deep-network procedure or a complete causal account of why each restart helps. Its strength lies in a simple, reproducible scheduling idea whose benefits and boundaries can be measured.

### What came after

#### A directly described continuation: snapshot ensembles

The clearest follow-up is described within the SGDR paper itself. The authors explain that their earlier report prompted Huang and colleagues to investigate snapshot ensembles. That work retains networks from different cycle endings and combines their predictions, using a shared training trajectory to obtain useful ensemble constituents.

The SGDR paper then brings that idea back into its own experiments. It tests the approach with WRNs, separates snapshots within a run from independent runs, and checks whether adjacent checkpoints offer the same benefit. This is a concrete development of the original idea: a schedule introduced to improve intermediate training outcomes becomes a way to collect complementary predictors.

The relationship is supported by an explicit account of what the later study did. The broader citation record requires a different level of caution. A citation establishes that a later paper refers to SGDR; it does not on its own establish whether that work uses restarts, uses a single cosine decay, compares against the method, or cites it as background.

#### A broad visual-learning citation record

[SimCLR](https://md.research.elamur.ai/free/en/papers/chen-2020-simple-framework-contrastive-learning-visual/) and [BYOL](https://md.research.elamur.ai/free/en/papers/grill-2020-bootstrap-your-own-latent-new/) appear among the later citing works. Their subjects concern visual representation learning, with contrastive learning named in SimCLR’s title and self-supervised learning named in BYOL’s. Their presence connects SGDR’s citation history with research that asks how useful visual representations can be learned.

The available citation information does not identify their exact use of the schedule. It therefore supports a connection at the level of research lineage, while leaving open whether cosine decay, restarts, or another part of SGDR’s discussion was the relevant ingredient.

[DINO](https://md.research.elamur.ai/free/en/papers/caron-2021-emerging-properties-self-supervised-vision/) also cites SGDR and studies properties of self-supervised vision transformers. [MAE](https://md.research.elamur.ai/free/en/papers/he-2021-masked-autoencoders-scalable-vision-learners/) concerns masked autoencoders for visual learning, while [VideoMAE](https://md.research.elamur.ai/free/en/papers/tong-2022-videomae-masked-autoencoders-are-data/) extends that named research direction to video pretraining.

These titles place the citation record beyond the original residual-network classification setting. They do not establish a common restart mechanism across the papers. The useful historical observation is that SGDR remained a reference in later visual-learning research in spite of changes in architecture and learning objective.

[CLIP](https://md.research.elamur.ai/free/en/papers/radford-2021-learning-transferable-visual-models-natural/) adds a connection to visual learning with natural-language supervision. That brings the citation record into [vision and language](https://md.research.elamur.ai/free/en/topics/multimodal/). The record establishes the citation and the work’s stated subject, but supplies no controlled evidence about SGDR’s contribution to its outcomes.

#### Architecture, detection, and training infrastructure

The citing list also includes [NASNet](https://md.research.elamur.ai/free/en/papers/zoph-2017-learning-transferable-architectures-scalable-image/) and [ENAS](https://md.research.elamur.ai/free/en/papers/pham-2018-efficient-neural-architecture-search-parameter/). Their titles concern architecture learning and efficient architecture search. This is a relevant setting for SGDR’s original motivation because architecture experiments depend on how quickly a training procedure produces an informative result.

That relevance is an interpretation of the scheduling problem, rather than evidence that these later papers obtain a particular search improvement from SGDR. Their listed citation does not specify the operational role of the method.

[YOLOv4](https://md.research.elamur.ai/free/en/papers/bochkovskiy-2020-yolov4-optimal-speed-accuracy-object/) connects the citation record with object detection and its concern with speed and accuracy. [fairseq](https://md.research.elamur.ai/free/en/papers/ott-2019-fairseq-fast-extensible-toolkit-sequence/) connects it with a sequence-processing toolkit. Together they show that SGDR was cited in work extending beyond the original benchmark family.

Again, citation breadth should not be confused with a uniform implementation history. A toolkit, an architecture-search method, and an object detector can refer to an optimization paper for different reasons. Their presence cannot establish that they all use the same cycle lengths, checkpoint rule, or restart policy.

#### What this lineage establishes

The later works provide evidence of continued relevance across several research directions. The directly documented technical continuation is snapshot ensembling: cycle-end states become useful constituents of a combined predictor. For the other listed papers, the defensible claim is narrower—their citation connects them to SGDR, while the exact borrowed mechanism is not specified.

This distinction preserves the paper’s central lesson. SGDR introduces separable ideas: smooth decay within a cycle, an upward reset of the learning rate, growing cycle lengths, a recommendation policy, and the collection of useful snapshots. A later work can draw on one of these without adopting all of them.

Understanding that separation is more useful than treating every citation as evidence for warm restarts. The original experiments already show why: a single cosine decay can perform well, repeated cycles can improve early availability, and cycle-end checkpoints can improve ensembles. Those are related contributions, each with its own evidence and its own practical use.

## Cite

Cite as Ilya Loshchilov and Frank Hutter. 2016. SGDR: Stochastic Gradient Descent with Warm Restarts. arXiv:1608.03983.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1608.03983](https://doi.org/10.48550/arxiv.1608.03983) · [arXiv 1608.03983](https://arxiv.org/abs/1608.03983)

```bibtex
@misc{loshchilov2016sgdr,
  title = {{SGDR: Stochastic Gradient Descent with Warm Restarts}},
  author = {Ilya Loshchilov and Frank Hutter},
  year = {2016},
  doi = {10.48550/arxiv.1608.03983},
  eprint = {1608.03983},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1608.03983}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
