Skip to main content
QUICK REVIEW

[Paper Review] Normalization of Neural Networks using Analytic Variance Propagation

Alexander Shekhovtsov, Boris Flach|arXiv (Cornell University)|Mar 28, 2018
Neural Networks and ApplicationsComputer Science18 references8 citations
TL;DR

This paper proposes analytic variance propagation (AP) to compute mean and variance statistics of neural network activations without relying on batch statistics, enabling efficient, batch-size-independent normalization. By analytically propagating input statistics through the network using weight and activation statistics, AP provides a stable, differentiable initialization that reduces saturation and improves training robustness, though it lacks batch normalization’s generalization boost due to absence of stochasticity and running averages.

ABSTRACT

We address the problem of estimating statistics of hidden units in a neural network using a method of analytic moment propagation. These statistics are useful for approximate whitening of the inputs in front of saturating non-linearities such as a sigmoid function. This is important for initialization of training and for reducing the accumulated scale and bias dependencies (compensating covariate shift), which presumably eases the learning. In batch normalization, which is currently a very widely applied technique, sample estimates of statistics of hidden units over a batch are used. The proposed estimation uses an analytic propagation of mean and variance of the training set through the network. The result depends on the network structure and its current weights but not on the specific batch input. The estimates are suitable for initialization and normalization, efficient to compute and independent of the batch size. The experimental verification well supports these claims. However, the method does not share the generalization properties of BN, to which our experiments give some additional insight.

Motivation & Objective

  • To address the instability and batch-size dependency of batch normalization by providing a data-independent, analytic method for estimating activation statistics.
  • To improve network initialization by reducing saturation in non-linearities through accurate mean and variance estimation.
  • To enable efficient, continuous, and differentiable normalization applicable to both feedforward and recurrent networks.
  • To provide a stable alternative to batch normalization that avoids the generalization gap observed in evaluation mode.

Proposed method

  • Uses analytic moment propagation to compute the expected mean and variance of hidden unit activations based on input statistics and network weights.
  • Applies the first- and second-order moment propagation rules through fully connected and convolutional layers, assuming independent inputs and linear transforms.
  • Derives closed-form expressions for the mean and variance of each layer’s output using the network’s current weights and input distribution moments.
  • Introduces a normalization layer that applies the transformation $ X' = \frac{X - \mu}{\sigma} s + b $, where $ \mu $ and $ \sigma^2 $ are analytically computed.
  • Supports both standard and weight normalization by initializing $ s $ and $ b $ based on analytic statistics rather than batch estimates.
  • Enables plug-in normalization at inference time without requiring batch statistics, making it suitable for recurrent and online learning.

Experimental results

Research questions

  • RQ1Can analytic variance propagation provide stable, batch-size-independent estimates of activation statistics for normalization in deep networks?
  • RQ2How does analytic normalization compare to batch normalization in terms of training stability and convergence speed?
  • RQ3Does the proposed method improve robustness to poor weight initialization compared to standard or weight normalization?
  • RQ4Why does batch normalization generalize better than analytic normalization despite similar training performance?
  • RQ5Can analytic normalization be effectively combined with orthogonal or other structured weight initializations?

Key findings

  • Analytic variance propagation provides stable, deterministic estimates of activation statistics independent of batch size, enabling consistent normalization across different input batches.
  • The method significantly improves training robustness to poor initialization, outperforming standard and weight normalization in terms of convergence speed and final objective value.
  • While training performance is comparable to batch normalization, the proposed method does not achieve the same generalization boost, suggesting that batch normalization’s stochasticity and running average statistics contribute to generalization.
  • In noisy-MNIST and CIFAR-10 experiments, AP2 (analytic propagation with second-order statistics) achieved consistent training performance across all initialization schemes, while batch normalization showed instability under non-ideal initializations.
  • The method is computationally efficient and differentiable, supporting deployment in recurrent networks and online learning scenarios.
  • The lack of generalization improvement in AP suggests that the stochasticity and running statistics in batch normalization play a key role in generalization, possibly through implicit ensemble effects.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.