Normalization effects on deep neural networks

Jiahui Yu, Konstantinos Spiliopoulos
9/2/2022
cs.LGmath.PRstat.AP

Official code: kspiliopoulos/NENN_Deep (3 stars, Python, MIT, last commit 2023-11-16).

Abstract

We study the effect of normalization on the layers of deep neural networks of feed-forward type. A given layer $i$ with $N_{i}$ hidden units is allowed to be normalized by $1/N_{i}^{γ_{i}}$ with $γ_{i}\in[1/2,1]$ and we study the effect of the choice of the $γ_{i}$ on the statistical behavior of the neural network's output (such as variance) as well as on the test accuracy on the MNIST data set.

Show full abstract

We find that in terms of variance of the neural network's output and test accuracy the best choice is to choose the $γ_{i}$'s to be equal to one, which is the mean-field scaling. We also find that this is particularly true for the outer layer, in that the neural network's behavior is more sensitive in the scaling of the outer layer as opposed to the scaling of the inner layers. The mechanism for the mathematical analysis is an asymptotic expansion for the neural network's output. An important practical consequence of the analysis is that it provides a systematic and mathematically informed way to choose the learning rate hyperparameters. Such a choice guarantees that the neural network behaves in a statistically robust way as the $N_i$ grow to infinity.

View on arXivView PDF

Code Implementations(1)

MIT

Normalization and Scaling Effects on Deep Neural Networks

30PythonSep 20, 20223 years agoMIT

Similar Papers

Cite this paper

@article{yu2022normalization,
  title  = {Normalization effects on deep neural networks},
  author = {Jiahui Yu and Konstantinos Spiliopoulos},
  year   = {2022},
  eprint = {2209.01018},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.01018}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.01018.svg)](https://codeofpaper.com/paper/2209.01018)

Discussion