Elamur Research

Improving Generalization Performance by Switching from Adam to SGD

Paper · 2017 · Nitish Shirish Keskar and Richard Socher

Summary

Choosing how to train a network can change more than the time needed to reduce its errors. It can also change the predictions that the finished network makes on unfamiliar examples. This paper investigates an awkward practical pattern: Adam frequently improves quickly near the beginning of training, yet stochastic gradient descent, typically abbreviated SGD, can deliver stronger results later. Selecting Adam for convenience may therefore sacrifice eventual generalization, while selecting SGD from the start may give up useful early progress. The authors ask whether training can change methods during a run without making the researcher choose another schedule and another learning rate.

Their answer is SWATS, a procedure that initially follows Adam and subsequently hands control to SGD. During the adaptive phase, it examines the gradient and the parameter change that Adam proposes. A geometric calculation converts their relationship into an estimated learning rate for SGD. The procedure averages these estimates, corrects the average for its initialization, and checks whether the current estimate agrees closely with that accumulated value. Agreement triggers the transition. When Adam includes momentum, the receiving procedure also uses momentum, with its coefficient inherited from Adam. The design reuses existing optimizer settings instead of adding independently tuned controls for the handoff.

The experiments investigate image classification and prediction of the next word in a sequence. Across the image experiments, Adam’s promising beginning is followed by weaker generalization than SGD achieves. SWATS usually removes much of this disadvantage. The language experiments supply an essential qualification: Adam is stronger there than the particular SGD procedure evaluated by the authors. Nevertheless, the hybrid reaches a lowest validation perplexity comparable to Adam’s. The evidence therefore favors the viability of changing optimizers, instead of a universal claim that SGD should replace Adam in every application. Across the reported tasks, SWATS generally remains close to the stronger of its component methods.

The change can be disruptive. In the Tiny-ImageNet experiment, the authors report testing accuracy of 80% before the transition and 52% immediately afterward; training subsequently recovers and surpasses Adam’s peak testing accuracy. Separate experiments also show that a late manual transition can leave much of Adam’s generalization disadvantage intact, whereas an early transition can resemble training with SGD throughout. These observations make both timing and destination scale important. SWATS offers a compact empirical solution to those practical questions, but the paper does not prove that its condition identifies an optimal transition or guarantees superior generalization. Explaining how optimizer trajectories select solutions in deep networks remains an unresolved part of the argument.

Interesting ideas

Use a running procedure to configure its replacement. An algorithm already produces information about the problem it is solving. SWATS extracts a prospective SGD rate from calculations performed by Adam, avoiding an entirely separate search for the handoff setting. This principle can help whenever a computational process changes methods: information collected during the first phase may provide a meaningful starting scale for the second.

Give transition timing and transition scale separate jobs. Deciding that a method should change does not determine how its successor should behave. SWATS assigns a geometric calculation to the learning-rate question and an agreement test to the timing question. Separating these responsibilities makes a hybrid easier to inspect and diagnose. The same discipline applies to solver changes, staged estimation, and workflows that move from broad exploration to a more constrained procedure.

Compare a fresh observation with its history. Individual measurements can fluctuate, especially when they depend on sampled training data. SWATS compares a current scalar estimate with an initialization-corrected moving average. This provides a lightweight event detector without selecting an epoch in advance. Elsewhere, the reusable idea is to identify a meaningful internal quantity and evaluate whether its present behavior agrees with accumulated evidence.

Intervene on a suspected mechanism. The authors investigate Adam’s coordinatewise learning rates by restricting them from above or below. The unequal effects of those restrictions make the diagnosis more informative than another unrestricted optimizer comparison. Similar interventions can test hypotheses about rule confidence, feature weights, retrieval thresholds, or numerical scaling, provided the restriction corresponds to the mechanism under investigation.

Reduce search burden through justified reuse. SWATS borrows averaging and momentum settings from Adam instead of introducing independent replacements. This makes the comparison easier to interpret and limits the number of choices a practitioner must explore. Parameter reuse is most defensible when the inherited setting has a compatible role; its adequacy must still be checked against outcomes.

Evaluate hybrids where either component can win. Image classification favors SGD in this study, while the language experiments favor Adam over the tested SGD recipe. Including both situations tests whether changing methods preserves a strong starting point as well as whether it repairs a weak endpoint. This is valuable for any hybrid whose appeal rests on combining complementary strengths.

Inspect the transition, not just the endpoint. A competitive final result can conceal a damaging interruption. The Tiny-ImageNet trajectory makes the handoff itself an object of study: when it happened, how the receiving optimizer was scaled, and whether performance recovered. This perspective applies to training, numerical pipelines, and other systems whose behavior changes substantially during execution.

Deep dive: Improving Generalization Performance by Switching from Adam to SGD

How SWATS combines Adam’s early progress with SGD, chooses when to switch, and tests the resulting generalization across image and language tasks. · about 33 minutes to read

How Mova uses it

Mova combines explicit language rules, learned parameters, mathematical machinery, and bounded execution in Rust. Its CPU parser uses an averaged perceptron, while a separate GPU parser uses a transformer trained from scratch. The optimizer proposal therefore has a plausible experimental home in the differentiable GPU training path, but it does not transfer directly to compiled grammar rules or perceptron updates. The following status marks compare proposals with documented mechanisms; they do not report an implemented SWATS experiment or measured benefits from this paper.

Idea: Let the current optimizer estimate its successor’s scale. Where: SWATS, “Learning rate for SGD after the switch.” Area: numerical optimization. Mova: нове. A bounded experiment in the GPU parser’s training path could derive a prospective SGD rate from the actual Adam update and gradient, if that path uses or can explicitly support Adam. The digest establishes the trainable GPU component, but its current optimizer and SWATS support are unknown. Why Mova: this could test an automatic handoff without requiring a separate destination-rate search, while leaving the rule-based CPU reference independently assessable.

Idea: Represent timing and destination configuration as separate decisions. Where: SWATS, the learning-rate and switchover subsections. Area: operational planning. Mova: частково є (docs/hybrid-system.md; configured actions have explicit inputs, assumptions, and failure behavior). A training controller could retain separate records for the estimated replacement rate and the condition authorizing the transition. The same separation could inform configured worker handoffs, although the paper supplies no worker-specific rule. Why Mova: separate decision records would make it easier to determine whether a failed transition arose from its timing or its receiving configuration.

Idea: Detect an event through agreement with a moving history. Where: SWATS, “Switchover Point.” Area: statistics. Mova: нове. For a training experiment, Mova could maintain the paper’s scalar average and compare the latest estimate with its corrected history. Generalizing that mechanism to other workflows would require identifying a suitable quantity and validating a new criterion; the optimizer threshold cannot simply be reused for unrelated observations. Why Mova: a small statistical monitor fits the preference for inspectable rules while allowing behavior to respond to the run rather than a fixed timetable.

Idea: Test a causal suspicion by bounding its mechanism. Where: SWATS, the Adam-Clip comparison on DenseNet and CIFAR-10. Area: experimental design. Mova: частково є (en/src/english_rules.rs and en rules-audit; world self-play and regression gates). Mova already compares changes against held-out behavior. This paper suggests a more specific diagnostic: restrict one suspected source of failure in isolation, such as a class of learned weights or a confidence range, and compare the resulting errors. Why Mova: a controlled restriction can distinguish an attractive explanation from one that survives intervention.

Idea: Reuse a parameter only when its inherited role is explicit. Where: SWATS, exponential averaging and momentum transfer. Area: configuration design. Mova: нове. A prospective SWATS implementation could record that the second-moment coefficient also controls rate averaging, while the first-moment coefficient supplies destination momentum. The digest does not establish equivalent reuse in current training. Why Mova: documenting the semantic connection would reduce unexplained settings and make a smaller search space reviewable, without treating fewer settings as evidence of better performance.

Idea: Build comparisons that favor different components. Where: Numerical Results, contrast between image classification and language prediction. Area: evaluation. Mova: частково є (docs/school.md controls; tests/README.md; separate CPU and GPU assessment). An optimizer study could retain tasks on which the adaptive baseline is already strong, rather than selecting only cases where SGD appears preferable. For broader hybrids, the same principle requires examples that independently exercise each constituent’s advantage. Why Mova: the comparison would reveal whether a hybrid preserves capabilities as well as repairing weaknesses.

Idea: Preserve a transition trace. Where: Numerical Results, Tiny-ImageNet discussion. Area: diagnostics. Mova: частково є (persistent worker outcomes in docs/hybrid-system.md; estimate-and-actual logging in tools/jobs). A training trace could add the triggering update, the scalar estimate, the corrected average, and subsequent held-out behavior. Existing operational receipts do not establish that these optimizer quantities are currently recorded. Why Mova: an inspectable handoff would distinguish immediate disruption from eventual recovery and connect an observed failure to a concrete decision.

Idea: Treat development loss and held-out competence as different measurements. Where: Introduction and Numerical Results. Area: evaluation. Mova: вже є (docs/training.md; teacher-separated assessment and held-out gates in README.md). The paper reinforces Mova’s existing distinction between fitting training material and demonstrating competence on separate questions. An optimizer comparison should preserve that separation rather than accepting faster loss reduction as a sufficient reason to change training. Why Mova: the distinction protects a transparent system from mistaking easier optimization for more reliable language behavior.

Idea: Transfer a scale through alignment, not length alone. Where: SWATS, comparison of projection-based and norm-ratio estimates. Area: mathematics. Mova: нове. A numerical training component could retain both the squared update length and its inner product with the gradient when estimating a replacement rate. The paper’s unsuccessful length-only alternative warns against assuming that equally long updates have equivalent effects. Why Mova: direction-sensitive measurements could support a compact, explainable numerical adapter rather than an arbitrary matching rule.

Idea: Correct a running statistic for its starting state. Where: SWATS, bias correction in the trigger. Area: statistics. Mova: нове. A new optimizer monitor could distinguish a genuinely low estimate from a low average caused by initialization at zero. The digest does not establish this particular correction in Mova’s statistical monitors. Applying it elsewhere would require matching the averaging recurrence. Why Mova: explicit initialization effects help prevent a numerical bookkeeping artifact from becoming an operational decision.

Idea: Make mathematical preconditions executable. Where: SWATS, assumptions on the Adam step and its gradient inner product. Area: numerical validation. Mova: частково є (groupant invariants in docs/groupants.md; exact mathematical checks in math). The proposed rate depends on a non-zero update and a denominator with the appropriate sign. A Mova experiment could retain those conditions as declared checks and preserve exceptional cases for diagnosis. Why Mova: this matches the existing practice of reporting a gap or failure when an operation’s assumptions are unsupported.

Idea: Separate positivity arguments from momentum behavior. Where: SWATS, discussion of the case without first-moment averaging and the subsequent SGDM transition. Area: mathematical reasoning. Mova: частково є (typed assumptions and evidence in docs/mathematical-modeling.md). Mova could represent the positivity argument with its no-momentum assumption attached, rather than allowing it to justify every momentum update automatically. Why Mova: retaining the scope of a derivation prevents a valid special-case argument from being promoted into an unrestricted guarantee.

Idea: Account for the receiving procedure’s state convention. Where: SWATS, momentum correction after the transition. Area: numerical interfaces. Mova: нове. A prospective handoff must distinguish the learned scalar scale from the learning rate actually supplied to the paper’s momentum recurrence. The factor involving the first-moment coefficient belongs to that convention. Why Mova: numerical adapters need semantic compatibility as well as matching argument types; otherwise an apparently correct rate can acquire a different effect after transfer.

Idea: Establish fixed-time baselines before trusting an automatic trigger. Where: SWATS, manual transition comparison on DenseNet and CIFAR-10. Area: evaluation. Mova: нове. Alongside the automatic method, a bounded training study could include deliberately earlier and later transitions under a declared schedule. Those comparisons would test whether the monitor adds value beyond merely changing optimizers. Why Mova: the experiment would connect the proposed automation to an observable advantage instead of treating automatic behavior as inherently preferable.

Idea: Tune competing procedures at their relevant scales. Where: Numerical Results, optimizer learning-rate selection. Area: experimental design. Mova: частково є (held-out parameter experiments and journals in docs/training.md). The paper’s image and language examples require very different SGD rates. Mova could therefore specify an appropriate search procedure for each numerical baseline rather than imposing a convenient but restrictive common grid. Why Mova: a fair comparison should test a credible alternative, while keeping assessment data outside the tuning loop.

Idea: Record the complete training recipe. Where: Numerical Results, architecture settings, clipping, and decay schedule. Area: reproducibility. Mova: частково є (source identities, configured execution, and training journals in docs/hybrid-system.md and docs/training.md). An optimizer receipt could bind the choice of clipping, decay events, architecture settings, and initial rate to the result. Why Mova: a claimed optimizer benefit may depend on its surrounding recipe, so the explanation should preserve those dependencies.

Idea: Distinguish a best checkpoint from the final checkpoint. Where: Numerical Results, language comparison using lowest validation perplexity. Area: evaluation. Mova: нове. A future training report could explicitly identify whether it compares the best validation observation or the state at the end of training. The digest does not establish this distinction for the prospective optimizer experiment. Why Mova: recovery and late deterioration can produce different rankings under different checkpoint rules, and the report should make that choice visible.

Idea: Measure implementation overhead separately from arithmetic simplicity. Where: Abstract, monitoring-cost claim; Numerical Results, computational setup. Area: performance measurement. Mova: частково є (measured runs in tools/twin; scoped timing reports in tools/dictindex). A Rust implementation could measure the added training cost instead of inferring runtime solely from the short scalar formulas. Why Mova: existing prospective-cost and measured-cost machinery offers a natural place to test whether an apparently lightweight monitor remains inexpensive in its actual execution path.

Idea: Study a gradual handoff as a separate hypothesis. Where: Discussion and Conclusion, proposed mixture of adaptive and SGD directions. Area: numerical optimization. Mova: нове. If a hard transition damages GPU training temporarily, Mova could compare a separately specified gradual transition under the same evaluation conditions. The paper proposes this direction but does not establish its performance. Why Mova: it directly addresses an observed weakness while keeping the replacement procedure distinct from the evaluated SWATS rule.

Idea: Keep repeated switching outside the established result. Where: Discussion and Conclusion, preliminary return to Adam. Area: experimental scope. Mova: частково є (staged proposals and admission boundaries in tools/enrich/README.md). An experimental controller could preserve a return-switch proposal as an unverified variant rather than silently adding it to the accepted optimizer. Why Mova: this follows Mova’s separation between a promising observation, a reviewable proposal, and a change supported by comparative evidence.

Idea: Distinguish convergence evidence from generalization evidence. Where: Introduction, discussion of AMSGrad; Discussion and Conclusion. Area: mathematical evaluation. Mova: частково є (typed evidence distinctions in docs/hybrid-system.md and docs/groupants.md). A mathematical certificate about optimization behavior and a held-out language score answer different questions. Mova could retain both without allowing either to stand in for the other. Why Mova: this is especially relevant when a logical module combines formal checks with statistical predictions.

Idea: Attach assumptions to explanations of solution selection. Where: Discussion and Conclusion, least-squares illustration. Area: mathematics. Mova: частково є (source-bound groupants and declared conformance domains). The paper’s simple example links an optimizer’s path to a particular solution, while leaving the deep-network extension unresolved. Mova could represent that argument with the objective, initialization, and applicable setting attached. Why Mova: a source-bound explanation is more useful when it preserves where its conclusion is justified.

Idea: Reassess historical training traces before promoting a new optimizer. Where: Numerical Results, learning-rate evolution and transition trajectories. Area: data analysis. Mova: частково є (experiment journals in docs/training.md; retained outcomes in the operational layer). A new study could inspect whether rate estimates stabilize similarly across runs and whether apparent successes depend on unusually favorable transitions. The paper does not provide a statistical acceptance rule for that analysis. Why Mova: preserving intermediate observations allows later diagnosis without confusing a saved transcript with newly learned knowledge.

These proposals concern training and experimental discipline. None requires replacing Mova’s explicit syntax rules, its compiled knowledge, or its source-bound dictionary admission. The direct optimizer hypothesis belongs to a suitable numerical training component; the broader methodological ideas can inform how logical and operational components are evaluated.

The problem and its context

An optimizer also influences the solution reached

Training is presented as minimization of a loss function over a vector of parameters. The loss evaluates the current predictions against training examples. An optimizer repeatedly changes those parameters using information about the loss, seeking a configuration that performs better.

The central difficulty is that success on the training objective does not uniquely determine success outside the training data. Two procedures may reduce the loss effectively while following different routes through parameter space. Those routes can end at solutions with different generalization behavior.

The paper places SGD at the center of this question because it combines a simple update with substantial empirical and theoretical support. The authors cite earlier analyses concerning stability, avoidance of saddle points, and an interpretation connected to Bayesian inference. They also point to successful image and language results obtained with SGD.

Those observations establish SGD as a serious baseline, not an optimizer that always wins. Its update applies a common scalar learning rate to the gradient coordinates. That simplicity can be helpful, but it can also create difficulties when numerical scales differ greatly across directions.

Momentum modifies the basic procedure by retaining gradient information across updates. Instead of responding only to the newest gradient, the optimizer carries an accumulated direction forward. The paper uses the name SGDM for this variant and considers both momentum and non-momentum baselines.

Why adaptive scaling became attractive

A common learning rate can be inconvenient when a problem is poorly scaled. A step size that is useful along one direction may be unsuitable elsewhere. Finding a satisfactory global setting may therefore require substantial tuning.

Adaptive procedures respond by assigning different effective learning rates to different parameter coordinates. These scales evolve with gradient history. The authors discuss Adagrad and RMSProp before introducing Adam, making clear which problem each mechanism addresses.

Adagrad accumulates squared gradients. Coordinates with substantial accumulated gradient magnitude receive a smaller effective multiplier. Because the accumulator grows rather than forgetting old contributions, the resulting scale can become increasingly restrictive.

RMSProp uses an exponential average of squared gradients instead of an unrestricted cumulative total. Its scale reflects recent history more strongly. Adam adds an average of gradients themselves and compensates for the effect of starting its averages at zero.

The paper describes Adam as practically attractive because it often gives useful results with relatively little tuning and advances quickly early in training. The authors do not dismiss these advantages when presenting its generalization difficulties. They make them the reason to investigate a hybrid.

The concern about generalization

The authors repeatedly draw on earlier work by Wilson and colleagues. Their account of that work includes constructed quadratic problems where adaptive methods select solutions with much worse generalization than SGD. The suggested explanation involves unequal coordinate scaling.

This is a stronger concern than choosing an unfortunate overall rate. Multiplying every coordinate by the same scalar changes the step’s size. Scaling coordinates differently can also change its direction. As a result, an adaptive procedure may favor a different solution even after considerable tuning of its global rate.

The paper’s deep-network motivation follows a recognizable empirical pattern. Adam can lead initially in training and held-out performance, but its improvement later stalls. SGD may progress more slowly at first and subsequently finish stronger.

A hybrid becomes plausible if the beginning and the end of training reward different update behavior. The challenge is to retain the useful adaptive phase without allowing its later trajectory to determine an inferior endpoint. Neither the earlier theory nor the observed pattern alone tells the authors exactly when to intervene.

What was already known about hybrids and alternatives

The authors explicitly acknowledge prior optimizer switching. Earlier work in machine translation used an adaptive beginning followed by SGD, with the transition time and receiving rate chosen through tuning. Another image-training approach combined RMSProp and SGD directions using tuned contributions.

SWATS therefore does not introduce the general possibility of changing optimizers. Its distinctive practical target is to remove the independent handoff choices by deriving them during training.

The paper also discusses attempts to improve Adam directly. ND-Adam preserves direction through a nested optimization procedure, but the authors describe an additional tuning parameter and a loss of some early speed. This motivates preserving ordinary Adam at the beginning instead of changing its update from the outset.

AMSGrad enters through the convergence issue examined in On the Convergence of Adam and Beyond. The SWATS authors report that its generalization remained similar to Adam’s in cases where SGD was stronger. A convergence guarantee and strong held-out prediction are therefore treated as distinct achievements.

The surrounding research includes strong SGD-based training recipes, such as SGDR and work on recurrent language prediction. These references support investigating SGD as a useful destination. They do not determine whether the particular SWATS trigger will work.

The method, step by step

The method begins as Adam with an additional monitor. The monitor does not initially change the parameter update. It measures the relationship between the current gradient and Adam’s proposed movement, converts that relationship into a scalar, and tracks the scalar through time.

The SWATS training transition

The steps in order.

The SWATS training transitionStep 1: Calculate a stochastic gradient1. Calculate a stochastic gradientStep 2: Construct Adam’s proposed parameter change2. Construct Adam’s proposed parameter changeStep 3: Estimate a prospective SGD rate3. Estimate a prospective SGD rateStep 4: Smooth the eligible rate estimate4. Smooth the eligible rate estimateStep 5: Correct the average for initialization5. Correct the average for initializationStep 6: Test current and historical agreement6. Test current and historical agreementStep 7: Continue with SGD or momentum SGD7. Continue with SGD or momentum SGD

State the objective and the basic update

The optimization problem is written as:

minimize f(w), w ∈ ℝⁿ

The vector w contains the parameters, and f is the loss being minimized. The notation ℝⁿ means that w has n real-valued coordinates. In the network applications investigated here, the objective is non-convex.

An SGD iteration takes the following form:

wₖ = wₖ₋₁ − αₖ₋₁∇̂f(wₖ₋₁)

The index k identifies an update. The vector before the change is wₖ₋₁, and the resulting vector is wₖ. The stochastic gradient ∇̂f estimates the loss derivative using sampled training information. The scalar αₖ₋₁ determines the update scale.

The momentum recurrence is:

vₖ = βvₖ₋₁ + ∇̂f(wₖ₋₁)

Here v is accumulated gradient state, and β specifies how much of the previous state remains. The paper starts v at zero and takes β within [0,1). This state is then used in the parameter update:

wₖ = wₖ₋₁ − αₖ₋₁vₖ

The learning rate still has a single value across coordinates. Momentum changes the direction by including previous gradients, rather than adding coordinate-specific learning rates.

Build the adaptive update

For Adagrad, the paper describes an accumulated squared-gradient state:

vₖ₋₁ = ∑ⱼ₌₁ᵏ⁻¹ ∇̂f(wⱼ)²

The summation runs over earlier indexed gradients. Squaring is performed separately for each coordinate. This use of v differs from the momentum state above: here it records gradient magnitudes rather than a direction.

The corresponding parameter update is:

wₖ = wₖ₋₁ − αₖ₋₁∇̂f(wₖ₋₁)/(√vₖ₋₁ + ε)

The square root and division are coordinatewise. The scalar ε stabilizes the denominator. Each coordinate consequently receives a multiplier determined by its accumulated squared gradients.

RMSProp changes the accumulator:

vₖ₋₁ = βvₖ₋₂ + (1 − β)∇̂f(wₖ₋₁)²

The coefficient β retains earlier information, while the factor involving its complement weights the newest squared gradient. This replaces an ever-growing total with a moving average.

Adam maintains a first-moment estimate:

mₖ₋₁ = β₁mₖ₋₂ + (1 − β₁)∇̂f(wₖ₋₁)

The vector m averages gradients, with β₁ controlling persistence. Its second-moment estimate is:

vₖ₋₁ = β₂vₖ₋₂ + (1 − β₂)∇̂f(wₖ₋₁)²

The coefficient β₂ controls the squared-gradient history independently. Both averages begin at zero, making their earliest values dependent on initialization.

The paper expresses the Adam update as:

wₖ = wₖ₋₁ − αₖ₋₁[√(1 − β₂ᵏ)/(1 − β₁ᵏ)][mₖ₋₁/(√vₖ₋₁ + ε)]

The factors containing powers of β₁ and β₂ supply bias correction. The vector m supplies the averaged gradient direction, while v produces coordinate-specific scaling. The scalar α remains a global control over the adaptive update.

SWATS preserves this adaptive behavior before its condition succeeds. Its additional computation observes the update that Adam would make; it does not replace Adam with a newly normalized direction during that phase.

Use clipping to investigate the motivating mechanism

The authors first study Adam-Clip, a diagnostic restriction on Adam’s effective coordinatewise rates:

wₖ = wₖ₋₁ − clip([√(1 − β₂ᵏ)/(1 − β₁ᵏ)][αₖ₋₁/(√vₖ₋₁ + ε)], pα_sgd, qα_sgd)mₖ₋₁

The function clip limits each coordinate of its first argument to the interval specified by the following arguments. The value α_sgd is a tuned SGD rate for the same task. The scalars p and q specify the bounds, with p smaller than q.

These bound symbols are unrelated to the update vector introduced below. Adam-Clip(0, 1) imposes an upper bound, whereas Adam-Clip(1, ∞) imposes a lower bound. The authors identify Adam-Clip(1,1) with the SGD endpoint of this construction.

This is an investigative tool instead of the automatic method. It assumes that a useful SGD rate has already been found. Its purpose is to determine whether limiting large rates or preventing small ones changes the generalization problem.

Express the proposed movement as a vector

For the handoff calculation, the authors write gₖ for the stochastic gradient and pₖ for Adam’s proposed parameter change. Ordinary Adam would apply:

wₖ₊₁ = wₖ + pₖ

The sign is already contained in pₖ. It is a complete displacement vector, not a positive length.

The derivation assumes:

pₖ ≠ 0 and pₖᵀgₖ < 0

The superscript T turns the product into an inner product. Its negative sign indicates that Adam’s displacement has a component against the gradient. These assumptions also prevent the proposed rate from having a zero or inappropriate denominator.

Without first-moment averaging, Adam’s update can be represented as:

pₖ = −Hₖgₖ

The matrix Hₖ is diagonal and positive definite. Its entries are positive coordinatewise multipliers. For this case, the paper’s scaling is:

diag(Hₖ) = [√(1 − β₂ᵏ⁺¹)/(1 − β₁ᵏ⁺¹)][αₖ/(√vₖ + ε)]

The operator diag extracts the diagonal as a vector. The remaining symbols retain their Adam meanings. Setting β₁ to zero removes first-moment averaging, allowing this positive-scaling argument to establish the required negative alignment.

Find a scalar rate through projection

A candidate SGD displacement has the direction of the negative gradient. SWATS seeks a scale γₖ whose projection onto Adam’s displacement reproduces that displacement:

projection onto span(pₖ) of (−γₖgₖ) = pₖ

The notation span(pₖ) means the line generated by pₖ. This equation specifies which vector is projected onto which direction. The construction scales the negative gradient and then examines its component along Adam’s update.

Expanding that projection gives:

pₖ = −γₖ[(gₖᵀpₖ)/(pₖᵀpₖ)]pₖ

The numerator inside brackets measures alignment. The denominator is Adam’s squared update length. Solving for the scalar produces:

γₖ = (pₖᵀpₖ)/(−pₖᵀgₖ)

The rate therefore depends on both magnitude and direction. Under the stated assumptions, its numerator and denominator are positive.

The geometric direction of the construction matters. Projecting Adam’s displacement onto the negative-gradient direction would yield a vector no longer than Adam’s displacement. The authors report that such a choice underestimated the required SGD rate.

They also tested a length-based alternative:

γₖ = ‖pₖ‖/‖gₖ‖

The double bars represent Euclidean length. This rule ignores the angle between the gradient and adaptive displacement. The authors found it unsuccessful and attributed its weakness to inadequate treatment of coordinate importance.

The selected estimate is consequently more than a step-length match. It asks for a scaled-gradient movement whose component along Adam’s direction has a specified size. That relationship is useful empirically, but it is not a proof that the resulting scalar is the best possible SGD rate.

For the case without momentum, the paper also connects the estimate to a reciprocal Rayleigh quotient involving the inverse scaling matrix. This supplies a mathematical interpretation. The practical computation still requires only vector inner products.

Average the estimate

Because each gradient is stochastic, the instantaneous rate can fluctuate. SWATS keeps a scalar exponential average:

λₖ = β₂λₖ₋₁ + (1 − β₂)γₖ

The state λ begins at zero. The averaging coefficient is Adam’s β₂, reused rather than separately selected. The current estimate γₖ contributes through the complementary weight.

This reuse has a practical purpose: introducing a new smoothing coefficient would add another tuning decision. The authors also describe performance as relatively insensitive to fine adjustments of the coefficient.

The average’s zero initialization initially lowers its value. The trigger therefore uses a corrected version instead of the raw state.

Trigger the change

The proposed condition is:

|λₖ/(1 − β₂ᵏ) − γₖ| < ε

Absolute value measures the discrepancy between the corrected average and the current estimate. The paper applies this test for k greater than 1. The symbol ε denotes the tolerance used in the stated criterion.

The expression should be read literally as an agreement check. It does not directly inspect validation performance. It also does not require every recent estimate to lie inside a stable interval.

Once the condition is met, the receiving scale is:

Λ = λₖ/(1 − β₂ᵏ)

The capital Λ is the corrected average at the transition. It is inferred from the run rather than selected through a separate SGD search.

When first-moment averaging is active, the receiving procedure uses momentum. Its learning rate is:

α_SGDM = (1 − β₁)Λ

The symbol α_SGDM is the rate associated with the paper’s momentum recurrence. Its momentum coefficient is β₁. The multiplicative correction accounts for the scaling convention of the accumulated gradient state.

The proposed procedure makes a hard change. Adam supplies updates before the event; SGD or SGDM supplies them afterwards. Subsequent learning-rate reductions remain part of the training schedule, so the inferred handoff scale does not eliminate later rate changes.

Experiments and results

Image classification setups

The image experiments begin with CIFAR classification. CIFAR-10 contains 10 classes, while CIFAR-100 contains 100. Each dataset supplies 50,000 training images and 10,000 testing images. The stated inputs are RGB images with dimensions 32 × 32.

The tested architectures include DenseNet and PyramidNet. The authors also evaluate SENet and ResNet-32, connecting the latter family to Deep Residual Learning for Image Recognition. This range makes the comparison broader than the motivating DenseNet example.

A further experiment uses ResNet-18 with Tiny-ImageNet. The paper describes 200 classes, 500 training images per class, and 50 images per class in each validation and testing set. Its stated image dimensions are 224 × 224.

The authors treat Tiny-ImageNet as a practical proxy for behavior on the larger ImageNet task. Their evaluation nevertheless remains a Tiny-ImageNet experiment. It cannot establish a result on the full dataset simply because that proxy motivated the choice.

The main comparisons examine held-out classification behavior during training. Adam, SGD, and SWATS receive tuned initial learning rates. The plots are used to compare early progress, eventual generalization, and behavior around the transition.

The motivating numerical comparison

For DenseNet on CIFAR-10, the diagnostic discussion reports roughly 7% testing error for Adam and approximately 5% for SGD. These approximate values establish the size of the motivating discrepancy.

DenseNet on CIFAR-10, approximate testing error in the diagnostic experiment

SGD attains the stronger held-out result despite Adam’s faster beginning.

DenseNet on CIFAR-10, approximate testing error in the diagnostic experimentAdam: 7Adam7SGD (this paper): 5SGD (this paper)5
The numbers
System or settingtesting error %
Adam7
SGD (this paper)5

The star identifies the strongest setting in this comparison. This chart concerns the diagnostic baseline experiment, not an exact numerical endpoint for SWATS.

The authors report that further adjustments to Adam’s initial rate and decay schedule did not improve the illustrated outcome. Their observation therefore survives the schedule variations they tried. It does not establish that every possible Adam recipe would produce the same endpoint.

Word-level prediction setups

The language experiments investigate language prediction by asking a network to predict a subsequent word from preceding words. The datasets are PTB, meaning Penn Treebank, and WikiText-2. The dataset discussion refers to Pointer Sentinel Mixture Models.

AWD-LSTM uses recurrent layers with learned word embeddings. AWD-QRNN replaces the more expensive LSTM layer with a convolution-based QRNN layer. These provide different sequence-processing architectures for the optimizer comparison.

The authors motivate this task through the difficulty of dependencies extending across a sequence. They also describe it as relevant to other sequence tasks, citing Neural Machine Translation by Jointly Learning to Align and Translate. Translation itself is not a benchmark evaluated in the SWATS experiments.

The training recipe includes DropConnect on recurrent hidden connections. Other named regularizers include weight decay, shared embedding and output weights, and penalties involving activation behavior across time.

Gradient clipping differs by optimizer. SGD uses a norm limit of 0.25, whereas Adam and SWATS do not use that clipping. The authors report that the opposite choices harmed performance: unclipped SGD deteriorated, and clipping was detrimental to the other procedures.

The language outcome is expressed through validation perplexity. The comparison specifically concerns the lowest validation perplexity reached. Exact endpoint values are not stated in the numerical narrative, so the supported result is the authors’ qualitative ordering and comparison.

Learning-rate selection and shared schedules

Adam and SWATS use initial rates selected from 0.0005, 0.0007, 0.001, and 0.002, with further candidates of 0.003, 0.004, and 0.005. Both retain β₁ = 0.9 and β₂ = 0.999.

As a result, the evaluated SWATS runs transition to momentum SGD with coefficient 0.9. The experiments do not provide an equally broad evaluation of the momentum-free case used to simplify part of the derivation.

For SGD, the authors first search logarithmically between 10⁻³ and 10², then refine the rate. They consider both the presence and absence of momentum. Where momentum is used, its coefficient remains 0.9.

The selected rates illustrate the need for task-sensitive search. DenseNet on CIFAR-10 performs best with an SGD rate of 0.7 in the stated tuning procedure. The LSTM experiment on PTB requires an SGD rate of 50.

Batch size and dropout follow recommendations associated with the base architectures. The same principle applies to the stated norm-decay settings. These choices keep the optimizer study embedded in established architecture-specific training recipes.

The main runs last 300 epochs. Rates are reduced by 10 at epochs 150, 225, and 262. The authors describe this schedule as effective across the different experimental settings.

Implementation uses PyTorch, and the reported computational effort involves 16 NVIDIA Tesla K80 GPUs over roughly 3 weeks. This describes the overall study. It is not a measured runtime comparison between the scalar monitor and ordinary Adam.

Image findings and the disruptive transition

Across the image datasets and architectures, the paper reports the same broad difficulty for Adam: useful early movement does not translate into SGD-level generalization at the end. SWATS closes much of that discrepancy in the reported comparisons.

Most CIFAR transitions occur during the first 20 epochs. Tiny-ImageNet transitions at epoch 49. The detector therefore produces different timings rather than enforcing one common epoch.

The Tiny-ImageNet change is particularly informative because it is visibly harmful before becoming useful. Testing accuracy moves from 80% to 52% immediately after the optimizer changes. Recovery follows, and the resulting peak exceeds Adam’s peak.

That trajectory supports the possibility of a successful hybrid despite an unstable handoff. It also shows why a final result alone would give an incomplete account. A procedure may require additional training to recover from the very intervention intended to help it.

The learning-rate traces provide supporting evidence for the scale estimate. The authors describe noisy instantaneous estimates whose mean behavior settles near the scale found through separate SGD tuning. No exact convergence rate or formal statistical guarantee is established.

Language findings and the overall conclusion

The language results favor Adam over the evaluated SGD procedure, both in generalization and in the epochs required to reach strong performance. This directly limits any attempt to turn the image findings into a universal ranking.

SWATS transitions later in these tasks and attains a lowest validation perplexity comparable to Adam’s. Temporary deterioration can occur here as well. Preserving the strong adaptive result is the important outcome.

The authors relate SGD’s weaker performance to Regularizing and Optimizing LSTM Language Models, where iterate averaging was important for the strongest results. Their baseline therefore should not be treated as exhausting every possible SGD training recipe.

The assembled evidence supports a practical claim: a lightweight automatic transition can remain competitive across tasks favoring different optimizers. It does not establish that SWATS is invariably strongest, that switching is always necessary, or that every benchmark improves by a known numerical margin.

What the ablations show

Lower bounds help more than upper bounds in the diagnostic

The clipping experiment provides the clearest intervention on a suspected mechanism. DenseNet is trained on CIFAR-10 for 200 epochs, with the rate reduced by 10 after 150 epochs. This diagnostic uses a different duration from the main benchmark study.

An upper restriction, Adam-Clip(0, 1), produces no meaningful final improvement. A lower restriction, Adam-Clip(1, ∞), recovers part of the generalization discrepancy. The authors interpret this as evidence that some effective coordinatewise rates become too small.

The paper associates approximately 6% with the lower-bounded result, but the sentence calls that quantity accuracy despite discussing error around it. That inconsistency prevents an unqualified metric label. The surrounding argument clearly supports partial improvement, which is the reliable conclusion.

This comparison does not establish that every coordinate needs a larger rate. Nor does it show that lower bounding alone fully reproduces SGD. It identifies an asymmetry worth explaining and helps motivate leaving adaptive scaling behind.

Manual transitions establish that timing matters

The manual-switch experiment uses transition epochs of 10, 40, and 80. Afterwards, SGD uses learning rate 0.1 and momentum 0.9.

The earliest transition resembles SGD’s learning behavior. It allows the strong late result but preserves less of the distinctive adaptive beginning. That illustrates the cost of changing too soon.

The transition at 80 epochs gives an inferior held-out outcome. The text associates approximately 6.5% with that result, again using an accuracy label inconsistently with the surrounding error discussion. The supported observation is that delaying the handoff can preserve a substantial disadvantage.

The intermediate transition is included in the comparison, but no separate exact endpoint is stated in the narrative. Its presence supplies another timing condition without supporting an invented numerical ranking.

Together, these runs justify treating timing as a real design problem. They do not demonstrate that SWATS finds the best moment among every possible transition point.

Estimator comparisons support the chosen geometry

The authors report that projecting Adam’s displacement onto the negative gradient produces rates that are too conservative. Matching only vector lengths is also unsuccessful.

These comparisons explain why the chosen scalar includes an inner product. Gradient alignment contains information that update length alone omits. Conversely, the direction of projection determines whether the construction unnecessarily restricts the resulting displacement.

The evidence is qualitative rather than a full numerical ablation table. It supports the selected design, but it does not quantify the independent contribution of each geometric feature across every task.

The authors also tried more complicated triggers involving gradient norms. They found the simpler unnormalized condition effective. Detailed sensitivity results are not given, so the comparison establishes practical adequacy rather than superiority over all alternative detectors.

Several ingredients are motivated rather than separately ablated

The study does not isolate every element of SWATS in a comprehensive controlled design. Bias correction, coefficient reuse, and momentum correction have clear roles, but separate benchmark effects are not stated for each.

Correcting the average removes the predictable influence of initialization. That mathematical role is distinct from measuring how much a final error changes when correction is omitted.

Similarly, the authors describe relative insensitivity to fine changes in the averaging coefficient. The account does not supply a full sensitivity curve or uncertainty estimates for that claim.

The language clipping choices are informative but also complicate causal isolation. Each optimizer receives the clipping behavior that the authors found suitable. The resulting comparison concerns complete training procedures, rather than optimizer equations under otherwise identical treatment.

The strongest ablation-level conclusion is therefore cumulative. The clipping study motivates concern about adaptive rates, manual timing tests motivate an automatic event, and alternative estimators motivate the geometric calculation. The full benchmarks then assess the assembled hybrid.

Limitations

Boundaries the authors explicitly acknowledge

The paper’s stated emphasis is empirical investigation. It does not supply a general proof that the proposed handoff improves deep-network generalization. The authors call for further theory and experiments connecting optimizer trajectories with the solutions reached.

Their interpretation is that an adaptive beginning may still permit movement towards a more favorable solution after changing to SGD. That is a hypothesis consistent with the results, not an established explanation of every run.

The hard transition is an acknowledged weakness. A substantial temporary loss can follow the change. The proposed remedy of gradually mixing adaptive and SGD directions remains future work within this paper.

Repeated switching is also left open. Preliminary CIFAR-10 experiments suggest a slight benefit from returning to Adam near the end of a 300 epoch run. The paper does not develop an automatic repeated-switch policy or provide detailed results sufficient to evaluate that extension.

The authors propose analogous applications to RMSProp and Adagrad. Their main empirical evidence nevertheless concerns an Adam-based starting phase. Broader applicability should be treated as a research proposal instead of an evaluated conclusion.

Boundaries visible in the experimental design

A careful reader should distinguish reducing handoff tuning from eliminating tuning altogether. SWATS still has its initial rate selected experimentally. Architecture-specific settings and a shared decay schedule also remain part of the recipe.

The results therefore depend on a declared training budget and rate schedule. They do not establish the same ordering under every stopping rule or shorter budget. This matters when a transition temporarily worsens performance and needs time to recover.

The language comparison is against a particular SGD procedure. The authors themselves note the importance of iterate averaging in earlier recurrent work. Their findings cannot establish a universal ceiling on SGD for word prediction.

The experimental account does not state repeated-run variability or uncertainty intervals. Broad qualitative patterns can still be informative, but small apparent differences cannot be assessed for consistency from those reports alone.

The numerical narrative also lacks many exact benchmark endpoints. Figure captions identify comparisons, and the metadata table is described, but complete numerical entries are not stated in the text. Exact margins beyond the reported values would exceed the available evidence.

The trigger observes agreement, not generalization

The switching expression compares a current scalar with its corrected average. It does not read a held-out score or establish that validation progress has stalled.

Nor does one successful comparison certify persistent stability. A current estimate can agree with an average without proving that all recent estimates are tightly concentrated. The practical association between that event and a useful transition comes from the experiments.

The estimate also depends on mathematical preconditions. A non-zero displacement and the required gradient alignment make the rate meaningful. The paper’s positivity argument is straightforward without first-moment averaging; historical gradient information makes the momentum case less immediate.

These observations do not invalidate the method. They specify what its compact numerical rule actually measures. A detector can be useful without being a complete description of training phases.

The simple theoretical example has restricted scope

The discussion illustrates optimizer-dependent solution selection through least squares:

minimize ‖Xw − y‖₂²

The matrix X represents the inputs, y contains targets, and w is the parameter vector. The squared Euclidean norm measures residual error. The example begins with w₀ = 0.

The authors use it to explain why a trajectory can impose a preference among solutions. They describe SGD as recovering a minimum-norm solution, while adaptive scaling need not retain the same restriction.

For the written multiplication Xw, the relevant parameter-space gradient directions lie in the span of Xᵀ. The paper describes its subspace argument using column-space language. The important conceptual claim is that uniform-gradient updates preserve a restriction that coordinate-dependent scaling can alter.

This illustration does not prove the corresponding result for the deep networks tested. A hybrid also begins its SGD phase after an adaptive trajectory, rather than at the zero initialization of the example. The authors recognize the need for additional analysis.

Simplicity is not a complete performance measurement

SWATS requires only modest additional arithmetic using quantities Adam already computes. That supports the authors’ description of low monitoring overhead.

A dedicated runtime benchmark is not reported, however. Arithmetic simplicity does not on its own establish the exact cost in an implementation with its own execution and synchronization behavior.

The same distinction applies to interpretability. The formula explains why a transition condition succeeds. It does not explain the linguistic or visual content learned, or identify a generalization basin through direct measurement.

The paper’s contribution is strongest when these boundaries remain explicit: it offers a practical numerical rule, mechanism-focused diagnostics, and encouraging comparisons, while leaving the deeper causal explanation open.

What came after

Multitask Parsing Across Semantic Representations appeared in 2018 and cites this work. The citation establishes a connection to subsequent research on parsing across semantic representations. It does not, on its own, establish that the parsing study implemented SWATS, borrowed its projection estimate, or used its automatic trigger.

No specific account of that citing study’s use of optimizer switching is available in the later-work record. It would therefore be unwarranted to describe a successful parsing application, assign it an optimization result, or claim that SWATS improved its generalization. The supported historical statement is the citation relationship.

The original paper itself identifies several possible continuations. A gradual change could address the abrupt deterioration observed after a hard handoff. Repeated transitions could test whether different parts of training benefit from returning to adaptive behavior. Other combinations could join the switching strategy with altered second-moment behavior, norm correction, or cosine scheduling.

Those proposals are distinct from documented later achievements. Their value is that they expose what the initial experiments leave unresolved: how to manage a transition smoothly, whether optimizer choice should remain revisable, and how the path taken through training affects unseen-data performance. SWATS provides an experimentally grounded starting point for those questions without settling them.

Cite

Cite as Nitish Shirish Keskar and Richard Socher. 2017. Improving Generalization Performance by Switching from Adam to SGD. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1712.07628 · arXiv 1712.07628

@misc{keskar2017improving,
  title = {{Improving Generalization Performance by Switching from Adam to SGD}},
  author = {Nitish Shirish Keskar and Richard Socher},
  year = {2017},
  doi = {10.48550/arxiv.1712.07628},
  eprint = {1712.07628},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1712.07628}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/keskar-2017-improving-generalization-performance-switching-adam/

References

32 references, from the paper's own bibliography.

  1. Akiba, T., Suzuki, S., and Fukuda, K. Extremely large minibatch SGD: Training resnet-50 on ImageNet in 15 minutes. arXiv preprint arXiv:1711.04325, 2017. our card
  2. Anonymous. On the convergence of Adam and beyond. International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=ryQu7f-RZ. our card
  3. Bahdanau, D., Cho, K., and Bengio, Y. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. our card
  4. Bradbury, J., Merity, S., Xiong, C., and Socher, R. Quasi-Recurrent Neural Networks. arXiv preprint arXiv:1611.01576, 2016. OpenAlex ↗ · Scholar ↗
  5. Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009. OpenAlex ↗ · Scholar ↗
  6. Duchi, J., Hazan, E., and Singer, Y. Adaptive subgradient methods for online learning and stochastic optimization. The Journal of Machine Learning Research, 12:0 2121–2159, 2011. OpenAlex ↗ · Scholar ↗
  7. Han, D., Kim, J., and Kim, J. Deep pyramidal residual networks. arXiv preprint arXiv:1610.02915, 2016. OpenAlex ↗ · Scholar ↗
  8. Hardt, M., Recht, B., and Singer, Y. Train faster, generalize better: Stability of stochastic gradient descent. arXiv preprint arXiv:1509.01240, 2015. OpenAlex ↗ · Scholar ↗
  9. He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. our card
  10. Hochreiter, S. and Schmidhuber, J. Long short-term memory. Neural computation, 90 (8):0 1735–1780, 1997. OpenAlex ↗ · Scholar ↗
  11. Hu, J., Shen, L., and Sun, G. Squeeze-and-excitation networks. arXiv preprint arXiv:1709.01507, 2017. OpenAlex ↗ · Scholar ↗
  12. Iandola, F., Moskewicz, M., Karayev, S., Girshick, R., Darrell, T., and Keutzer, K. Densenet: Implementing efficient convnet descriptor pyramids. arXiv preprint arXiv:1404.1869, 2014. OpenAlex ↗ · Scholar ↗
  13. Karpathy, A. A Peek at Trends in Machine Learning. https://medium.com/@karpathy/a-peek-at-trends-in-machine-learning-ab8a1085a106, 2017. [Online; accessed 12-Dec-2017]. OpenAlex ↗ · Scholar ↗
  14. Kingma, D. and Ba, J. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR 2015), 2015. our card
  15. Krizhevsky, A. and Hinton, G. Learning multiple layers of features from tiny images. 2009. OpenAlex ↗ · Scholar ↗
  16. Lee, J., Simchowitz, M., Jordan, M. I, and Recht, B. Gradient descent converges to minimizers. University of California, Berkeley, 1050:0 16, 2016. OpenAlex ↗ · Scholar ↗
  17. Loshchilov, I. and Hutter, F. SGDR: Stochastic gradient descent with warm restarts. 2016. our card
  18. Loshchilov, I. and Hutter, F. Fixing Weight Decay Regularization in Adam. ArXiv e-prints, November 2017. OpenAlex ↗ · Scholar ↗
  19. Mandt, S., Hoffman, M. D., and Blei, D. M. Stochastic Gradient Descent as Approximate Bayesian Inference. ArXiv e-prints, April 2017. OpenAlex ↗ · Scholar ↗
  20. Merity, S., Xiong, C., Bradbury, J., and Socher, R. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016. our card
  21. Merity, S., Keskar, N., and Socher, R. Regularizing and Optimizing LSTM Language Models. arXiv preprint arXiv:1708.02182, 2017. our card
  22. Mikolov, T., Kombrink, S., Deoras, A., Burget, L., and Cernocky, J. RNNLM-recurrent neural network language modeling toolkit. In Proc. of the 2011 ASRU Workshop, pp. 196–201, 2011. OpenAlex ↗ · Scholar ↗
  23. Nocedal, J. and Wright, S. Numerical optimization. Springer Science & Business Media, 2006. OpenAlex ↗ · Scholar ↗
  24. Robbins, Herbert and Monro, Sutton. A stochastic approximation method. The annals of mathematical statistics, pp. 400–407, 1951. OpenAlex ↗ · Scholar ↗
  25. Soudry, D., Hoffer, E., and Srebro, N. The implicit bias of gradient descent on separable data. arXiv preprint arXiv:1710.10345, 2017. OpenAlex ↗ · Scholar ↗
  26. Sutskever, I., Martens, J., Dahl, G., and Hinton, G. On the importance of initialization and momentum in deep learning. In International conference on machine learning, pp. 1139–1147, 2013. OpenAlex ↗ · Scholar ↗
  27. Tieleman, T. and Hinton, G. Lecture 6.5-RMSProp: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 4, 2012. OpenAlex ↗ · Scholar ↗
  28. Wan, L., Zeiler, M., Zhang, S., LeCun, Y, and Fergus, R. Regularization of neural networks using dropconnect. In Proceedings of the 30th international conference on machine learning (ICML-13), pp. 1058–1066, 2013. OpenAlex ↗ · Scholar ↗
  29. Wilson, A. C., Roelofs, R., Stern, M., Srebro, N., and Recht, B. The Marginal Value of Adaptive Gradient Methods in Machine Learning. ArXiv e-prints, May 2017. OpenAlex ↗ · Scholar ↗
  30. Wu, Y., Schuster, M., Chen, Z., Le, Q., Norouzi, M., Macherey, W., Krikun, M., Cao, Y., Gao, Q., Macherey, K., et al. Google's neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016. OpenAlex ↗ · Scholar ↗
  31. Zhang, C., Bengio, S., Hardt, M., Recht, B., and Vinyals, O. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. OpenAlex ↗ · Scholar ↗
  32. Zhang, Z., Ma, L., Li, Z., and Wu, C. Normalized direction-preserving Adam. arXiv preprint arXiv:1709.04546, 2017. OpenAlex ↗ · Scholar ↗