Papers › Online Normalization for Training Neural Networks

Online Normalization for Training Neural Networks

15 May 2019NeurIPS 2019 12arXiv:1905.05894archive 2025-07-28

Vitaliy Chiley, Ilya Sharapov, Atli Kosson, Urs Koster, Ryan Reece, Sofia Samaniego de la Fuente, Vishal Subbiah, Michael James

Online Normalization is a new technique for normalizing the hidden activations of a neural network. Like Batch Normalization, it normalizes the sample dimension. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1905.05894")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: official repository: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cerebras/online-normalization officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from cerebras/online-normalization. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy cerebras/online-normalization/experiments/resnet/utils.py official repository unverified BSD-3-Clause (permissive) · 23d0bd9f1b241feb · report
add_square cerebras/online-normalization/experiments/unet/simulation.py official repository unverified BSD-3-Clause (permissive) · 30240401a8068dfc · report
conv_alongb_w1 cerebras/online-normalization/online-norm/pytorch/online_norm_pytorch/online_norm_1d.py official repository unverified BSD-3-Clause (permissive) · 50f69e4173cfbf3b · report
conv_alongb_w1 cerebras/online-normalization/online-norm/pytorch/online_norm_pytorch/online_norm_2d.py official repository unverified BSD-3-Clause (permissive) · cf4866a0e5413a8e · report
generate_img_and_mask cerebras/online-normalization/experiments/unet/simulation.py official repository unverified BSD-3-Clause (permissive) · 2840eb73965f941b · report
generate_random_data cerebras/online-normalization/experiments/unet/simulation.py official repository unverified BSD-3-Clause (permissive) · 42517d21b4bbbe1d · report
get_parameter_groups cerebras/online-normalization/experiments/resnet/utils.py official repository unverified BSD-3-Clause (permissive) · d8bd6382fa212764 · report
lin_crtl cerebras/online-normalization/online-norm/pytorch/online_norm_pytorch/online_norm_1d.py official repository unverified BSD-3-Clause (permissive) · c3c01085619cd9fa · report
lin_momentum cerebras/online-normalization/online-norm/pytorch/online_norm_pytorch/online_norm_1d.py official repository unverified BSD-3-Clause (permissive) · 1ab49f7983db64d0 · report
lin_momentum cerebras/online-normalization/online-norm/pytorch/online_norm_pytorch/online_norm_2d.py official repository unverified BSD-3-Clause (permissive) · 846d691e31cde436 · report
mean_tensor cerebras/online-normalization/online-norm/pytorch/online_norm_pytorch/online_norm_2d.py official repository unverified BSD-3-Clause (permissive) · 4994246847dd8bb1 · report
mult_scale_forward cerebras/online-normalization/online-norm/numpy_on/online_norm_1d.py official repository unverified BSD-3-Clause (permissive) · d29637ee5873d351 · report
norm_backward cerebras/online-normalization/online-norm/numpy_on/online_norm_1d.py official repository unverified BSD-3-Clause (permissive) · bf2eb181871a83c7 · report
norm_forward cerebras/online-normalization/online-norm/numpy_on/online_norm_1d.py official repository unverified BSD-3-Clause (permissive) · 820691136676a1ce · report
norm_forward cerebras/online-normalization/online-norm/numpy_on/online_norm_2d.py official repository unverified BSD-3-Clause (permissive) · 60e3e0091d896b87 · report
validate cerebras/online-normalization/experiments/resnet/utils.py official repository unverified BSD-3-Clause (permissive) · 80a8d95be697182f · report

Tasks

General ClassificationImage ClassificationImage SegmentationLanguage ModelingLanguage ModellingSemantic Segmentationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: Online Normalization

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionGlobal Average PoolingGroup NormalizationInstance NormalizationKaiming InitializationLayer NormalizationMax PoolingOnline NormalizationReLUResidual BlockResidual Connection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections