# On the importance of initialization and momentum in deep learning

Careful initialization and momentum let plain SGD train deep networks

Ilya Sutskever, James Martens, George Dahl, Geoffrey Hinton · International Conference on Machine Learning · 2013-5-26

- **Problem** Plain first-order training of deep and recurrent networks from random starts was widely judged to fail. Second-order Hessian-free methods were thought necessary to train them.
- **Method** The authors keep plain SGD and change two things: a carefully designed random initialization and a momentum coefficient that rises over training.
- **Results** NAG reached 0.074 squared error on Curves, compared to 0.48 for plain SGD.

## Why first-order training looked stuck

Deep and recurrent networks are powerful models, but training them had resisted first-order methods for a long time. Hinton et al. (2006) introduced greedy layerwise pre-training, which spawned a family of methods that train layers with an auxiliary objective before fine-tuning with SGD. Martens (2010) showed that Hessian-free Optimization, a truncated-Newton method, can train DNNs from certain random initializations without pre-training.

For recurrent networks, Martens & Sutskever (2011) used the HF method to train RNNs on problems with very long-range dependencies. These problems were considered impossibly difficult for first-order methods because of the vanishing gradient problem. Sutskever et al. (2011) and Mikolov et al. (2012) then applied HF to character-level language modeling.

Recent results challenged the belief that simpler first-order methods cannot learn deep models from random initializations. Glorot & Bengio (2010), Mohamed et al. (2012), and Krizhevsky et al. (2012) trained networks with depths up to 8 from well-chosen random initializations. Chapelle & Erhan (2011) used the Glorot & Bengio initialization with SGD to train the 11-layer autoencoder of Hinton & Salakhutdinov (2006).

Those results still fall short of the Hessian-free numbers reported by Martens (2010) on the same tasks. The authors argue that the remaining gap comes less from the first-order method itself than from poor initializations and poorly tuned momentum.

The paper's first contribution is a more thorough study of how hard deep and temporal networks are to train. Plain SGD still shows a definite gap to HF on some deep and temporal problems. Careful use of classical momentum or Nesterov's accelerated gradient can eliminate this gap or nearly eliminate it, depending on the problem. Momentum's role was never found to be this important in deep learning, even though it had been studied extensively before, such as by Orr (1996).

Deep learning spends less of its time in that final phase than in the initial transient phase, where momentum helps most.

The authors blame two pitfalls: inappropriate focus on purely local convergence rates, and poorly designed standard random initializations. Suboptimal meta-parameter schedules, especially for the momentum constant, also hid the effectiveness of first-order momentum methods. The paper also links classical momentum to Nesterov's accelerated gradient, which can be viewed as a modification that increases stability.

HF also acts like a kind of momentum, through special conjugate gradient initializations computed from the update at the previous time-step.

## The key idea: initialization plus momentum

The authors keep plain stochastic gradient descent and change two things around it. The first is a well-designed random initialization for deep and recurrent nets, and the second is a momentum term whose coefficient rises over training. They expected the pair to work because poorly initialized nets can't be trained with momentum. A well-initialized net with carefully tuned momentum can cope with the curvature that stalls SGD, so they didn't need second-order methods.

Classical momentum keeps a velocity vector that accumulates gradient corrections, and the coefficient µ decays the old velocity at each step. Directions of low curvature change their rate of reduction slowly, so they keep persisting across iterations and get amplified. Nesterov's accelerated gradient is a close relative that differs only in where the gradient is taken.

NAG evaluates the gradient after a partial step along the old velocity, computing θt + µvt before the correction is applied. This lets NAG correct a poor step sooner than CM, because the gradient at θt + µvt points back towards θt more strongly. In a two-dimensional oblong quadratic, CM oscillated along the high-curvature direction while NAG avoided these oscillations almost entirely.

The authors argue that the classical theory describes only the final phase of training, which is an estimation problem. In deep learning, the transient phase, where directions of reduction persist across many successive gradient estimates, matters far more. Momentum should therefore pay off where the transient phase dominates, which the authors take to be the case for deeper networks.

They also observed that the first phase dominates overall computation time for deeper networks, as long as the second phase is cut off in time. Lowering µ too early was detrimental to the final errors in their experiments, even when progress appeared to stall. They suggest that large µ lets momentum make progress along low-curvature directions, which moves the optimizer to better regions of parameter space.

## How NAG differs from classical momentum

Classical momentum and NAG both keep a velocity and add it to the parameters, but they evaluate the gradient at different points. CM takes the gradient at the current point θt, so its velocity update uses the learning rate ε and the coefficient µ applied to that gradient. NAG first moves to θt + µvt and takes the gradient there, which gives v(t+1) = µvt − ε∇f(θt + µvt).

That partial step resembles the next position but leaves out the correction, so the gradient already reflects the carried-over velocity.

If the carried-over step µvt is a poor move, the gradient at θt + µvt points back toward θt more strongly. This gives NAG a larger and more timely correction to the velocity than CM receives from its gradient. The authors run both methods on a two-dimensional oblong quadratic with the same µ and ε, and CM oscillates along the high-curvature vertical direction.

NAG avoids most of these oscillations, which makes it more tolerant of large values of µ than CM.

To quantify the gap, the authors study the positive definite quadratic q(x) = x^T A x / 2 + b^T x. Because A is symmetric, writing A = U^T D U and setting y = Ux turns the problem into a sum of one-dimensional problems p(y). CM and NAG are first-order methods, so they are invariant to this change by orthonormal transformations. Along each eigendirection, NAG acts like CM with an effective momentum of µ(1 − λε), where λ is the curvature of that direction.

CM and NAG become equivalent when ε is small, so they differ only when the learning rate is reasonably large. For high-curvature directions, NAG uses a smaller effective momentum, which prevents oscillations or divergence. Because of this, the authors can use a larger µ with NAG than is possible with CM for the same ε. The equivalence result covers only the quadratic objective, so the deep network results rest on the experiments.

## Deep autoencoder setup and the momentum schedule

The deep autoencoder problems come from Hinton & Salakhutdinov (2006), and each network reconstructs its own input through a low-dimensional bottleneck layer. Because the study targets optimization, the authors report only training errors, since test error depends on regularization they don't vary.

The networks use standard sigmoid units and the sparse initialization (SI) of Martens (2010), described in section 3.1. Each trial runs 750,000 parameter updates on minibatches of size 200, and no regularization is used. The momentum coefficient follows Equation 5, where µt is the minimum of 1 minus 2 to the power of minus 1 minus log2 of floor(t/250)+1, and µmax.

The authors choose µmax from {0.999, 0.995, 0.99, 0.9, 0}, so the schedule rises in steps every 250 updates toward that cap.

The schedule draws on Nesterov (1983), who advocates µt equal to 1 minus 3/(t+5) after some manipulation. The 1 minus 3/(t+5) schedule suits functions that are not strongly convex, and Equation 5 blends these two proposals. For each µmax, the authors keep the learning rate that gave the best training error, chosen from {0.05, 0.01, 0.005, 0.001, 0.0005, 0.0001}.

Table 1 reports the squared errors for NAG and CM across these µmax values on Curves, Mnist and Faces. The authors also reduce µ to 0.9 during the final 1000 parameter updates without changing the learning rate, which Table 2 shows lowers the errors. They argue that this phase shift lets finer convergence take place, since the aggressive nature of CM or NAG would otherwise prevent it.

## Autoencoder training results

Table 1 sets training squared error for plain SGD, NAG and CM across values of µmax on the three autoencoder problems. On Curves, plain SGD reached 0.48, while NAG with µmax of 0.999 reached 0.074. The authors' own HF run without L2 regularization scored 0.058 on Curves, slightly below that NAG result. On Mnist, the best NAG run reached 0.73 at µmax of 0.99, compared to 0.69 for HF†.

On Faces, NAG reached 7.7 at µmax of 0.999, close to the 7.5 for HF†. Previously published HF results used L2 regularization, so the authors don't compare those numbers directly with these runs.

The authors then lowered µ to 0.9 over the final 1000 parameter updates, without changing the learning rate. This drop improved all three problems, with Curves falling from 0.096 to 0.074 and Mnist from 1.20 to 0.73. Faces went from 10.83 to 7.7 in the same change. The authors read this as a phase shift, where fast accelerated progress comes first and careful convergence needs a smaller momentum.

Larger values of µmax tended to give better performance, and NAG usually beat CM, especially at 0.995 and 0.999. The authors explain that NAG applies smaller effective momentum on high-curvature directions, so it can use a larger µ than CM.

Initialization scale also mattered for the sparse initialization, which the authors rescaled by a multiplier. At a multiplier of 1 the error was 0.074, at 2 it was 0.083, and at 4 it rose to 0.35. Multipliers of 0.25 and 0.5 both left the error at 16.

## Initializing recurrent networks

RNNs with standard neurons were believed almost impossible to train on long-range tasks with first-order methods. The authors borrow the echo-state network idea, where recurrent weights are fixed random draws rather than learned. The spectral radius of the hidden-to-hidden matrix sets the dynamics, and a value below 1 makes the state forget inputs quickly.

A radius much larger than 1 gives oscillatory, chaotic dynamics and severe exploding gradients, so the authors chose a radius of about 1.1. The radius of 1.1 worked on all tasks, which is why the authors treated it as a fixed choice.

The input-to-hidden scale is the more sensitive knob, and the authors found it had to be set carefully at the start. On tasks with many random irrelevant distractor inputs, a scale set too high let irrelevant signals overwrite useful hidden state. A scale set too low, by contrast, made learning significantly slower. A Gaussian draw with standard deviation 0.001 gave a good balance on those tasks.

Tasks without many irrelevant inputs worked better with a larger input-to-hidden scale of 0.1. Centering both inputs and outputs by mean subtraction was needed to solve all the training problems reliably.

Each task used a randomly initialized RNN with 100 standard tanh hidden units, as in Martens & Sutskever (2011). Each trial ran 50,000 parameter updates on minibatches of 100 sequences. The momentum constant µ was 0.9 for the first 1000 parameter updates, and then µ0 took the values 0, 0.9, 0.98 or 0.995. Results are averages over 4 random seeds and are reported as zero-one losses, which is standard for these problems.

With a large µ0, NAG outperformed CM at the same µ0, and the authors attribute this to NAG tolerating larger momentum values. Even plain SGD gave nontrivial results when the learning rate was set low enough. Martens & Sutskever (2011) reached lower error rates with a less carefully chosen initialization. Martens & Sutskever (2011) solved the multiplication problem without centering, while this work needed centering for it.

The authors expect that their initialization combined with that method could do better. Their approach also tolerates smaller minibatches and is simpler than the HF variant with update damping.

## Where HF fits as a momentum method

Truncated Newton methods like HF minimize a local quadratic model with conjugate gradient, and HF warm-starts each call from the previous solution. That warm start can be well converged along some eigendirections of the new quadratic, even though it may be poorly converged along others. The authors argue that this carries information across updates in a way that resembles momentum.

Momentum persists information across an arbitrary number of iterations, while CG's information is lost once it terminates.

If CG terminates after one step, HF becomes equivalent to NAG, except that its learning rate comes from a curvature-based formula instead of a fixed constant. The most effective HF implementations employ a decay constant (Martens & Sutskever, 2012) that acts analogously to the momentum constant µ. So the number of CG iterations acts as a dial between NAG and an exact second-order method.

The authors built a variant of HF that makes it behave even more like NAG. That variant performed well, as shown in Table 1. They took a quadratic from a middle stage of a typical HF run on the curves dataset. They compared the convergence rate of CG, initialized from zero, with NAG, also initialized from zero. The closeness of NAG and HF suggests that the solutions may leave the trust region before any extra speed kicks in.

Alternatively, the faithfulness of the approximation may drop just enough as CG iterates to offset the speed gain.

CG's worst-case behavior on specially designed quadratics matches NAG's asymptotic rate, so HF's advantage depends on the quadratics that arise in practice. The main theoretical benefit of HF over NAG is therefore CG's strong optimality on quadratics with clustered eigenvalues. The authors conclude that momentum-accelerated SGD accelerates low-curvature directions much like an approximate Newton method such as HF.

## Limitations of the study and where its comparisons stop

The study measures only training error, because the authors focus on optimization rather than generalization. Test error depends on overfitting, which in turn depends on the regularization used, and the authors treat regularization as outside their scope. The autoencoder runs used no regularization, so the authors didn't measure test behaviour under regularization.

The authors note that the previously published HF numbers used L2 regularization, so the two sets of results can't be compared directly.

On the RNN tasks, the authors state that Martens & Sutskever (2011) achieved moderately better and more robust results. The RNN experiments averaged the zero-one loss over only 4 different random seeds. The authors didn't test the RNN tasks without centering, so they can't say how the two initializations compare on that setting. The transient-phase explanation for the low-momentum fine-tuning gain is the authors' interpretation, and they didn't test it in a separate experiment.

The speculative explanation rests on the observation that reducing µ to 0.9 during the final 1000 parameter updates helped.

## Paper info

- **Authors**: Ilya Sutskever, James Martens, George Dahl, Geoffrey Hinton
- **Venue**: International Conference on Machine Learning · Published
- **First published**: 2013-5-26
- **Added**: 2026-11-12
- **Original paper terms**: [Check in the original ↗](https://proceedings.mlr.press/v28/sutskever13.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v28/sutskever13.html) · [PDF ↗](https://proceedings.mlr.press/v28/sutskever13.pdf)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Ilya Sutskever, James Martens, George Dahl, Geoffrey Hinton (2013). On the importance of initialization and momentum in deep learning. International Conference on Machine Learning. https://proceedings.mlr.press/v28/sutskever13.html

**BibTeX**

```
@article{sutskever2013importance,
  title = {{On the importance of initialization and momentum in deep learning}},
  author = {Ilya Sutskever and James Martens and George Dahl and Geoffrey Hinton},
  year = {2013},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v28/sutskever13.html}
}
```

## Other paper commentary

- [Understanding deep learning requires rethinking generalization](https://refivu.com/en/papers/cb138997-32a3-4005-82f2-6597e2492ff8-understanding-deep-learning-requires-rethinking.md)
- [Federated Optimization in Heterogeneous Networks](https://refivu.com/en/papers/2cd45774-4d0c-4ae9-9650-6a1593f93832-federated-optimization-in-heterogeneous-networks.md)
- [CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features](https://refivu.com/en/papers/5b819733-3817-45f5-9d87-61545a63f83b-cutmix-regularization-strategy-to-train-strong-classifiers.md)
- [Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning](https://refivu.com/en/papers/6721e929-d93e-4c00-ac0e-6ba7eeaa97a2-dropout-as-a-bayesian-approximation-representing-model.md)
- [ADADELTA: An Adaptive Learning Rate Method](https://refivu.com/en/papers/e2abf038-96af-4e19-bbda-5c8262404473-adadelta-an-adaptive-learning-rate-method.md)
- [An overview of gradient descent optimization algorithms](https://refivu.com/en/papers/96d69873-e1ce-41dd-9333-645272090396-an-overview-of-gradient-descent-optimization-algorithms.md)
- [OverFeat: Integrated Recognition, Localization and Detection using Convolutional Networks](https://refivu.com/en/papers/a615b23b-cb60-4fff-95a7-0a3b82dc2d4e-overfeat-integrated-recognition-localization-and-detection.md)
- [Accelerating the Super-Resolution Convolutional Neural Network](https://refivu.com/en/papers/36219c92-ee60-4179-a5b4-065fdb8a7ff4-accelerating-the-super-resolution-convolutional-neural.md)
- [DeepSDF: Learning Continuous Signed Distance Functions for Shape Representation](https://refivu.com/en/papers/b9c76a95-d60f-4b38-98c6-45cfaa2bcd30-deepsdf-learning-continuous-signed-distance-functions-for.md)
- [A Closer Look at Spatiotemporal Convolutions for Action Recognition](https://refivu.com/en/papers/2986e935-85a4-4ed6-b429-74af2338096c-a-closer-look-at-spatiotemporal-convolutions-for-action.md)
- [Random Erasing Data Augmentation](https://refivu.com/en/papers/4dd86d04-2086-4796-aa90-74b9d083d0ee-random-erasing-data-augmentation.md)
- [Measuring Mathematical Problem Solving With the MATH Dataset](https://refivu.com/en/papers/11c81528-fe00-480d-b385-0b65503db8a1-measuring-mathematical-problem-solving-with-the-math-dataset.md)

## Terms in this paper

- [MNIST](https://refivu.com/en/terms/28b9bb66d1c6-mnist)
- [squared error](https://refivu.com/en/terms/7c762142beba-squared-error)
- [deep autoencoders](https://refivu.com/en/terms/a756a415696c-deep-autoencoders)
- [Hessian-free Optimization](https://refivu.com/en/terms/ee6b9a5b7c87-hessian-free-optimization)
- [long-range dependencies](https://refivu.com/en/terms/3933e8075b92-long-range-dependencies)
- [zero-one loss](https://refivu.com/en/terms/7a8f9a91c661-zero-one-loss)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/3858ae26-b935-4bac-b273-4bb2de5dea92-on-the-importance-of-initialization-and-momentum-in)
