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

Self-Normalizing Neural Networks

Self-normalizing networks keep deep feed-forward activations near zero mean and unit variance

  • Problem Deep feed-forward networks rarely win benchmarks, and batch-normalized ones have high variance in training loss. Feed-forward nets lack the weight sharing that lets CNNs and RNNs absorb perturbations.
  • Method SNNs pair SELU activations with weights that start with zero sum and unit second moment. The mapping then pulls each layer's mean and variance toward zero and one.
  • Results On HTRU2, SNN scored an AUC of 0.9803, compared to 0.9791 for MSRAinit, the next best FNN.

Why feed-forward networks stay shallow

Feed-forward networks, or FNNs, have won some benchmarks, but the winning ones are mostly shallow. On the HIGGS, Merck Molecular Activity and Tox21 challenges, the winning FNNs had at most four hidden layers. Deep networks could build several levels of abstraction, so the lack of deep FNN winners is a real gap. For deep CNNs the usual fix is batch normalization, which pushes each neuron's activations toward zero mean and unit variance.

Layer and weight normalization offer partial versions of this guarantee, and weight normalization gives zero mean and unit variance only when the previous layer already has them.

Normalization alone doesn't keep FNN training stable. Stochastic gradient descent, stochastic regularization such as dropout, and the estimation of normalization statistics all perturb training. CNNs and RNNs can absorb such perturbations through weight sharing, but FNNs have no such buffer. This also rules out strong regularization such as dropout, because it would raise the variance further and could make learning diverge.

The authors' Figure 1 shows the symptom on MNIST and CIFAR10. Batch-normalized FNNs with 8, 16 and 32 layers show high variance in training loss at learning rate 1e-5. The authors read this sensitivity as the main reason FNNs trail RNNs and CNNs.

A fixed point built into the activation function

The key idea is to choose an activation and an initialization so that the mean and variance of one layer map to the next in a stable way. The activation is SELU, and the weights start with a zero sum and a unit second moment, which places the fixed point at zero mean and unit variance. Only these two design choices shape the mapping, so the whole construction rests on them.

The authors define SELU with two constants, λ and α. \[\mathrm{selu}(x)=\lambda\begin{cases}x & x>0\\ \alpha e^{x}-\alpha & x\le 0\end{cases}\] For positive inputs the function is linear with slope λ, and for negative inputs it saturates toward −λα as x goes to minus infinity. The authors start from the exponential linear unit and multiply it by λ above one, which gives the slope above one needed for positive inputs.

The authors list four properties the activation needs: negative and positive values, saturation regions, a slope above one, and continuity. Negative and positive values steer the mean, saturation damps large variance, a slope above one lifts small variance, and continuity gives one balance point. The authors argue that ReLUs, scaled ReLUs, sigmoid units, tanh units and leaky ReLUs can't produce this combination.

A unit's net input is z = wᵀx, and with independent inputs of mean µ and variance ν it has mean µω and variance ντ. Because z is a weighted sum over many inputs, the central limit theorem makes it approximately normal. The next layer's mean and variance are then integrals of selu against this normal density. \[\tilde{\mu}=\int_{-\infty}^{\infty}\mathrm{selu}(z)\,p_N(z;\mu\omega,\sqrt{\nu\tau})\,dz\] The authors evaluate both moments in closed form, and for normalized weights with the fixed point (0, 1) they solve for α01 ≈ 1.6733 and λ01 ≈ 1.0507.

The weights are drawn from a Gaussian with zero mean and variance 1/n, so ω and τ are zero and one in expectation. Training moves ω and τ away from these values, so the authors prove the property also for weight vectors that aren't normalized.

Does the mapping settle at zero mean and unit variance?

The authors check stability with the Jacobian of the mapping at the fixed point (0, 1). Its spectral norm, the largest singular value, is 0.7877, which is below one. A spectral norm below one makes the mapping a contraction, so iterating it reaches one fixed point under the Banach fixed-point theorem.

Theorem 1 covers unnormalized weights, with ω in [−0.1, 0.1] and τ in [0.95, 1.1]. On that domain it gives a stable and attracting fixed point with µ in [−0.03106, 0.06773] and ν in [0.80009, 1.48617]. The contraction property is checked by a computer-assisted proof on a fine grid, with mean value theorem bounds between grid points. The guarantee therefore holds on the stated domain, which is narrower than every possible network.

Theorems 2 and 3 address what happens when variance leaves that domain. Theorem 2 states that on its domain the mapped variance is smaller than the input variance, so variances from 3 to 16 end up below 3. Theorem 3 gives the reverse for small variances, where the mapped variance grows, for example for 0.02 ≤ ν ≤ 0.16 with 0.8 ≤ τ ≤ 1.25.

The authors read the two bounds as protection against exploding and vanishing gradients.

The derivation assumes lower-layer activations are independent with a shared mean and variance, and the authors note that this isn't generally true. Weak dependence still gives convergence in distribution to a Gaussian, which the authors use to justify the approximation.

Keeping statistics under dropout

Standard dropout sets activations to zero and rescales the rest by 1/q, which suits ReLU because zero is its low-variance default. SELU's low-variance default is its negative saturation value, which the authors write as α′ = −λα. So alpha dropout sets dropped inputs to α′ instead of zero.

Setting values to α′ shifts the mean and variance, so an affine map a(·) + b restores them. With µ = 0 and ν = 1 the paper gives \(a=\left(q+\alpha'^{2}q(1-q)\right)^{-1/2}\) and \(b=-\left(q+\alpha'^{2}q(1-q)\right)^{-1/2}(1-q)\alpha'\). Here q is the keep probability, so 1−q is the dropout rate. The paper notes that a and b depend on µ and ν in general, and at µ = 0 and ν = 1 they depend only on the dropout rate and α′.

The authors report empirically that dropout rates of 0.05 or 0.10 gave models with good performance. The rates were chosen by trial rather than derived from the theory.

UCI results over 121 datasets

The benchmark has 121 classification datasets from the UCI repository, ranging from 10 to 130,000 data points. Each method was tuned on a validation set, which was then removed before the test evaluation. The authors ranked methods on each task and compared average ranks with paired Wilcoxon tests across datasets.

The average rank difference is measured against rank 4, the average rank of seven methods making random predictions. SNN scored −0.756, compared to −0.240 for MSRAinit, the next best FNN, whose paired test gave p = 2.7e-02. Every other FNN in the table has a positive value, and BatchNorm is the worst at 0.504.

The picture changes with dataset size. On 75 small datasets under 1000 points, random forests and SVMs beat SNNs and the other FNNs. On the 46 datasets with at least 1000 points, SNN scored −6.7, compared to −6.4 for SVM, and that gap has p = 5.8e-01.

The selected depths fit the claim that SNNs tolerate many layers. Hyperparameter search chose an average depth of 10.8 layers for SNNs, compared to 6.0 for BatchNorm. Depth was itself chosen by search, so this shows what the search picked rather than what depth alone causes.

Tox21 results by network depth

Tox21 has about 12,000 chemical compounds, and the task is to predict twelve toxic effects from their structure. Hyperparameters came from the challenge winners' validation sets, and the challenge test set gave the scores. Each evaluation was repeated five times to obtain error bars, and the table reports AUC by number of layers or blocks.

At 8 layers SNN scored 84.5 ± 0.2, the highest value in Table 2. The best LayerNorm network, at 2 layers, scored 84.3 ± 0.3. The margin is small and the intervals overlap, so this table alone doesn't separate the two.

The gap widens with depth. At 32 layers SNN scored 82.5 ± 0.7, compared to 76.0 ± 1.1 for BatchNorm and 56.6 ± 2.6 for WeightNorm. So the authors' claim is that SNNs hold their accuracy as depth grows, while normalized FNNs fall off.

Pulsar detection on HTRU2

HTRU2 contains 1,639 real pulsars and 16,259 spurious signals, each described by eight features. The authors used 10-fold nested cross-validation, with hyperparameters chosen in an inner validation loop. The earlier best AUC was 0.976, from Naive Bayes classifiers.

SNN scored 0.9803 ± 0.010, compared to 0.9791 ± 0.010 for MSRAinit, the next FNN. The paired Wilcoxon test gives p = 3.5e-01 for MSRAinit against the best method, so the test doesn't separate the two.

Training loss on MNIST and CIFAR10

The authors compare BatchNorm and SNN networks of depths 8, 16 and 32 on MNIST and CIFAR10. All runs used learning rate 1e-5, and training loss is the only quantity plotted. The caption reports high variance for BatchNorm networks, which it attributes to perturbations.

The authors report that SNNs avoid this high variance and learn faster. The text gives no numbers for this comparison, so the check is visual and qualitative. It supports the variance claim at these depths and this learning rate.

Limits of the evidence

The bounds in Theorems 2 and 3 hold only on the listed domains, and the authors state they can't guarantee that mean and variance stay in Ω in general. The fixed point in Theorem 1 covers ω in [−0.1, 0.1] and τ in [0.95, 1.1]. The independence and CLT assumptions behind the mapping are approximations, which the authors acknowledge.

The experiments use UCI, Tox21 and HTRU2, and the Figure 1 test uses only MNIST and CIFAR10 at one learning rate. On Tox21 the margin over LayerNorm at 2 layers is small, and on HTRU2 the gap to MSRAinit isn't significant under its test. On small UCI datasets, random forests and SVMs stay ahead of SNNs.

The dropout rates came from empirical trials, and the paper doesn't test other architectures than fully connected networks.

Paper info

Authors
Günter Klambauer, Thomas Unterthiner, Andreas Mayr, Sepp Hochreiter
Venue
arXiv · Preprint
First published
2017-6-8
Added
2026-11-12
Updated
2017-9-7
Version
v5
arXiv
1706.02515
Category
cs.LG · stat.ML
Original paper terms
arXiv non-exclusive 1.0
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

Günter Klambauer, Thomas Unterthiner, Andreas Mayr, Sepp Hochreiter (2017). Self-Normalizing Neural Networks. arXiv:1706.02515v5. https://arxiv.org/abs/1706.02515v5

BibTeX
@misc{klambauer2017self,
  title = {{Self-Normalizing Neural Networks}},
  author = {Günter Klambauer and Thomas Unterthiner and Andreas Mayr and Sepp Hochreiter},
  year = {2017},
  eprint = {1706.02515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.02515v5}
}

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