Online Normalization for Training Neural Networks

Vitaliy Chiley, Ilya Sharapov, Atli Kosson, Urs Koster, Ryan Reece +3 more
5/15/2019
cs.LGstat.ML

Official code: Cerebras/online-normalization (90 stars, Python, BSD-3-Clause, last commit 2021-04-22).

Abstract

Online Normalization is a new technique for normalizing the hidden activations of a neural network. Like Batch Normalization, it normalizes the sample dimension.

Show full abstract

While Online Normalization does not use batches, it is as accurate as Batch Normalization. We resolve a theoretical limitation of Batch Normalization by introducing an unbiased technique for computing the gradient of normalized activations. Online Normalization works with automatic differentiation by adding statistical normalization as a primitive. This technique can be used in cases not covered by some other normalizers, such as recurrent networks, fully connected networks, and networks with activation memory requirements prohibitive for batching. We show its applications to image classification, image segmentation, and language modeling. We present formal proofs and experimental results on ImageNet, CIFAR, and PTB datasets.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Online Normalization for Training Neural Networks (Companion Repository)

9021Python, C++Apr 4, 20195 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{chiley2019online,
  title  = {Online Normalization for Training Neural Networks},
  author = {Vitaliy Chiley and Ilya Sharapov and Atli Kosson and Urs Koster and Ryan Reece and Sofia Samaniego de la Fuente and Vishal Subbiah and Michael James},
  year   = {2019},
  eprint = {1905.05894},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.05894}
}

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

Discussion