Norm matters: efficient and accurate normalization schemes in deep networks

Elad Hoffer, Ron Banner, Itay Golan, Daniel Soudry
3/5/2018
stat.MLcs.LG

Official code: eladhoffer/norm_matters (22 stars, MIT, last commit 2018-11-24).

Abstract

Over the past few years, Batch-Normalization has been commonly used in deep networks, allowing faster training and high performance for a wide variety of applications. However, the reasons behind its merits remained unanswered, with several shortcomings that hindered its use for certain tasks. In this work, we present a novel view on the purpose and function of normalization methods and weight-decay, as tools to decouple weights' norm from the underlying optimized objective. This property highlights the connection between practices such as normalization, weight decay and learning-rate adjustments. We suggest several alternatives to the widely used $L^2$ batch-norm, using normalization in $L^1$ and $L^\infty$ spaces that can substantially improve numerical stability in low-precision implementations as well as provide computational and memory benefits. We demonstrate that such methods enable the first batch-norm alternative to work for half-precision implementations. Finally, we suggest a modification to weight-normalization, which improves its performance on large-scale tasks.

View on arXivView PDF

Code Implementations(1)

MIT
223Shell, PythonFeb 12, 20187 years agoMIT

Cite this paper

@article{hoffer2018norm,
  title  = {Norm matters: efficient and accurate normalization schemes in deep networks},
  author = {Elad Hoffer and Ron Banner and Itay Golan and Daniel Soudry},
  year   = {2018},
  eprint = {1803.01814},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.01814}
}

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

Discussion