TL;DR
Normalization Propagation (NormProp) is a parametric technique that removes "Internal Covariate Shift" in deep networks without relying on mini-batch statistics. By exploiting the mathematical properties of ReLU activations and Gaussian distributions, it propagates normalization forward through the layers in closed form, allowing for faster training and—unlike Batch Normalization—seamless performance even with a batch size of 1.
What Problem Does This Paper Address?
Training deep neural networks is notoriously difficult because of Internal Covariate Shift (ICS). As a network trains, the distribution of inputs to each internal layer changes because the parameters of the preceding layers are constantly shifting.
The standard solution, Batch Normalization (BN), addresses this by explicitly calculating the mean and variance of every mini-batch to normalize activations. However, BN has three major "pain points":
- Batch Size Dependency: It fails when the batch size is very small (e.g., batch size 1), as statistics become too noisy.
- Estimation Lag: During early training, the moving averages used for validation/testing are often inaccurate.
- Computational Overhead: Calculating and tracking these statistics for every layer adds a performance tax.
The authors of this paper ask: Can we achieve the benefits of normalization without actually looking at the data in every layer?
Methods
The authors propose Normalization Propagation (NormProp). Instead of measuring statistics, NormProp estimates them analytically.
The Core Algorithm:
- Weight Normalization: The authors show that if the input to a layer is normalized and the weight matrix is "incoherent" (the rows aren't highly correlated), the pre-activation output will follow a Gaussian distribution. To keep the variance at 1, they divide the pre-activations by the $\ell_2$ norm of the weights ($||W_i||_2$).
- Post-ReLU Correction: Passing a zero-mean Gaussian through a ReLU activation breaks the distribution—it’s no longer zero-mean. NormProp fixes this by subtracting the theoretical mean ($\sqrt{1/2\pi}$) and dividing by the theoretical standard deviation of a "Rectified Gaussian" in closed form.
- Jacobian Conditioning: To prevent gradients from exploding or vanishing, they initialize learnable scaling factors ($\gamma$) to a specific "Jacobian factor" ($1/1.21$). This ensures the singular values of the layer's Jacobian are close to 1, a property known as dynamical isometry.
- Data-Level Normalization: Normalization is only performed on the actual input data (either globally or per-batch). Once the input is clean, the "normalization property" is mathematically propagated through the rest of the network.
Datasets
The authors evaluated NormProp against Batch Normalization and other state-of-the-art methods using standard image recognition benchmarks:
- CIFAR-10: 60,000 color images across 10 classes.
- CIFAR-100: Same as CIFAR-10 but with 100 classes.
- SVHN (Street View House Numbers): A large-scale dataset of house number digits.
Key Insights and Ideas
- Data Independence: The most striking insight is that you don't need to see a mini-batch to normalize a hidden layer. If you know the distribution of the input and the structure of the weights, you can calculate the necessary normalization constants offline.
- The "Incoherence" Assumption: The math relies on weight vectors being roughly uncorrelated. The authors point out that filters learned by deep networks naturally tend toward incoherence because they are trying to represent diverse features.
- Solving the Batch Size 1 Problem: Because NormProp doesn't use batch statistics for hidden layers, it is the first robust normalization technique that works perfectly for single-sample training, which is critical for online learning or memory-constrained applications.
Key Results
- Accuracy: NormProp consistently matched or outperformed Batch Normalization. For example, on CIFAR-10 (without data augmentation), NormProp achieved a 9.11% error rate, compared to BN's 9.41%.
- Training Speed: On an NVIDIA Titan X, NormProp was roughly 12.5% faster per epoch than BN (84 seconds vs. 96 seconds) because it avoids the overhead of calculating and updating running means and variances.
- Stability: Visualization of hidden layer means showed that NormProp achieves a more stable distribution in the lower layers of the network early in training compared to BN.
Limitations and Future Work
- Dropout Compatibility: The authors found that Dropout does not work well with NormProp. This is because Dropout randomly zeroes out units, which changes the activation distribution in a way that the current NormProp equations don't account for.
- Activation Functions: While the paper provides a general framework for any activation function, the specific constants provided are optimized for ReLU and PReLU. Extending this to Tanh or Sigmoid would require re-calculating the theoretical mean/variance for those specific distributions.
- Weight Constraints: NormProp requires an $\ell_2$ constraint on weights after every iteration to keep the mathematical assumptions valid, adding a small extra step to the optimization loop.
Summary updated