Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Understanding the difficulty of training deep feedforward neural networks

Weight initialization scaled by layer sizes lets deep tanh networks train better

  • Problem Deep networks trained by standard gradient descent from random weights do worse than pretrained ones. Sigmoid units saturate at 0, which blocks gradients from reaching the lower layers.
  • Method The authors set each layer's weight range from its layer sizes, so signal and gradient variance stay roughly constant across layers. Unlike the standard heuristic, the range uses both the input and output widths of each layer.
  • Results On Shapeset-3×2, normalized tanh reached 15.60 test error, compared to 27.15 for standard tanh.

Why deep networks stall from random weights

Deep networks trained by standard gradient descent from random weights did worse than the newer schemes that pretrain layers first. Bengio et al. (2007) also showed that a purely supervised, greedy layer-wise procedure gives better results. The authors set pretraining aside and asked what goes wrong in ordinary deep multilayer networks, watching activations for saturation and gradients across layers and training iterations.

Figure 2 tracks the mean and standard deviation of sigmoid activations on Shapeset-3×2, using a fixed set of 300 test examples. Very early in training, all sigmoid activations of the top hidden layer were pushed to their lower saturation value of 0. The depth-five model never escaped this saturated regime during training. In the four-hidden-layer model, the top layer slowly desaturated around epoch 100, and at that same time the first hidden layer began to saturate.

The authors hypothesize that a random initialization makes the lower layers compute a transformation that isn't useful to the classification task yet. A sigmoid output of 0 is a saturated unit, so pushing the top layer toward 0 blocks gradients from flowing to the lower layers. Symmetric activations such as tanh and softsign avoid this, because sitting around 0 lets gradients flow backwards.

Deep sigmoid networks initialized from unsupervised pretraining, such as RBMs, don't show this saturation behavior.

Tanh networks don't show the top-layer saturation seen with sigmoids, because of their symmetry around 0. With the standard initialization, tanh networks saturate one layer at a time, starting with layer 1 and propagating upward.

Normalized initialization

The core idea is to pick each layer's weight range from the layer sizes, so that signals and gradients keep roughly the same variance as they move through the network. The standard heuristic draws weights uniformly from a range of plus or minus 1 over the square root of n, where n is the size of the previous layer. The authors trace this to the multiplicative effect of layer widths, which makes the normalization factor important in deep networks.

The forward constraint asks that Var[z_i] stay equal across layers, which gives n_i Var[W_i] = 1. The backward constraint asks that the variance of the gradient with respect to the pre-activations stay equal, which gives n_{i+1} Var[W_i] = 1. Both constraints hold together only when all layers have the same width, so the authors pick a compromise between them.

That compromise sets Var[W_i] = 2 / (n_i + n_{i+1}), and the normalized rule draws weights uniformly from plus or minus sqrt(6) over sqrt(n_j + n_{j+1}). The derivation assumes a linear regime at initialization, independent weights, and equal input feature variances. Biases still start at 0, as in the standard scheme.

The authors checked the effect on the Jacobian of each layer, since its singular values measure how volumes and activation variance change between layers. Normalized histograms of activations, weight gradients and back-propagated gradients were plotted for both schemes on Shapeset-3×2.

Did the change speed training?

With the standard initialization, tanh networks saturate one layer after another, starting from the first layer. Softsign saturates less than tanh, and its layers move together rather than one after another. Softsign activations cluster near the knees rather than at the asymptotes, where the units are non-linear and gradients still flow well.

On Shapeset-3×2, normalized tanh reached 15.60 test error, compared to 27.15 for standard tanh. On CIFAR-10, normalized tanh scored 52.92, compared to 55.9 for standard tanh. On MNIST the difference was small: 1.64 for normalized tanh, compared to 1.76 for standard tanh. The authors note that Shapeset-3×2 is hard enough to cause large saturation, which may explain why the normalization effect is clearest there.

Softsign changed little with normalization, scoring 16.27 without it and 16.06 with it on Shapeset-3×2. Sigmoid networks reached 82.61 test error on Shapeset-3×2, which is far worse than either tanh variant. So normalization matters most for tanh, and softsign looks more robust to the initialization procedure.

With normalized initialization, the average singular value of the layer Jacobians stays around 0.8, compared to 0.5 with standard initialization. At the start, standard initialization shrinks back-propagated gradients toward the lower layers, but the authors find that this trend reverses quickly during learning. Weight gradients stay roughly equal across layers even while back-propagated gradients shrink.

During training, the standard scheme's weight gradients diverge, with larger ones in the lower layers.

As a baseline, an RBF SVM scored 59.47% test error on a hundred thousand Shapeset examples. On the same set, the depth-five tanh network with normalized initialization scored 50.47%.

Limits of these experiments

The experiments use feedforward networks with one to five hidden layers, each with one thousand hidden units. The networks have a softmax logistic regression output layer and are trained with the negative log-likelihood cost. All reported experiments used the same number of units in every layer. Second-order methods were tried only on Shapeset-3×2 with tanh and standard initialization.

Combining normalized initialization with second-order methods gave further gains, but the paper did not test that combination on every dataset.

The reason tanh layers saturate one after another is still open. Saturation started at the first layer and propagated upward, and the authors state that this behavior remains to be understood. The softsign layers saturate together rather than one after another, which the paper also leaves unexplained. The authors also leave open why saturated sigmoid units escape only slowly.

The sigmoid top layer desaturates only around epoch 100 in Figure 2, and the depth-five model never escaped saturation.

Many of the paper's observations remain unexplained, so the authors suggest further investigation of gradients and training dynamics. Monitoring activations and gradients across layers and training iterations is presented as a useful diagnostic tool.

Paper info

Authors
Xavier Glorot, Yoshua Bengio
Venue
Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics · Published
First published
2010-3-31
Added
2026-11-11
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

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

Xavier Glorot, Yoshua Bengio (2010). Understanding the difficulty of training deep feedforward neural networks. Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics. https://proceedings.mlr.press/v9/glorot10a.html

BibTeX
@article{glorot2010understanding,
  title = {{Understanding the difficulty of training deep feedforward neural networks}},
  author = {Xavier Glorot and Yoshua Bengio},
  year = {2010},
  journal = {Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics},
  url = {https://proceedings.mlr.press/v9/glorot10a.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up