How to Initialize your Network? Robust Initialization for WeightNorm & ResNets

Devansh Arpit, Victor Campos, Yoshua Bengio
6/5/2019
67 citations
stat.MLcs.LG

Official code: victorcampos7/weightnorm-init (15 stars, Jupyter Notebook, MIT, last commit 2023-10-03).

Abstract

Residual networks (ResNet) and weight normalization play an important role in various deep learning applications. However, parameter initialization strategies have not been studied previously for weight normalized networks and, in practice, initialization methods designed for un-normalized networks are used as a proxy.

Show full abstract

Similarly, initialization for ResNets have also been studied for un-normalized networks and often under simplified settings ignoring the shortcut connection. To address these issues, we propose a novel parameter initialization strategy that avoids explosion/vanishment of information across layers for weight normalized networks with and without residual connections. The proposed strategy is based on a theoretical analysis using mean field approximation. We run over 2,500 experiments and evaluate our proposal on image datasets showing that the proposed initialization outperforms existing initialization methods in terms of generalization performance, robustness to hyper-parameter values and variance between seeds, especially when networks get deeper in which case existing methods fail to even start training. Finally, we show that using our initialization in conjunction with learning rate warmup is able to reduce the gap between the performance of weight normalized and batch normalized networks.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "How to Initialize your Network? Robust Initialization for WeightNorm & ResNets"

152Jupyter Notebook, PythonJul 26, 20193 years agoMIT

Similar Papers

Cite this paper

@article{arpit2019initialize,
  title  = {How to Initialize your Network? Robust Initialization for WeightNorm & ResNets},
  author = {Devansh Arpit and Victor Campos and Yoshua Bengio},
  year   = {2019},
  eprint = {1906.02341},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.02341}
}

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/1906.02341.svg)](https://codeofpaper.com/paper/1906.02341)

Discussion