Skip to main content
QUICK REVIEW

[Paper Review] Batch Normalization Biases Deep Residual Networks Towards Shallow Paths

Soham De, Samuel Smith|arXiv (Cornell University)|Jan 1, 2020
Machine Learning and Data ClassificationComputer Science18 citations
TL;DR

This paper reveals that batch normalization (BN) enables deeper residual networks by downscaling the residual branch by approximately 1/sqrt(depth) at initialization, keeping the network's initial function close to identity. This insight leads to a novel initialization scheme that trains deep residual networks without BN, demonstrating that BN's primary benefit is initialization-induced stability, not optimization speedup.

ABSTRACT

Batch normalization dramatically increases the largest trainable depth of residual networks, and this benefit has been crucial to the empirical success of deep residual networks on a wide range of benchmarks. We show that this key benefit arises because, at initialization, batch normalization downscales the residual branch relative to the skip connection, by a normalizing factor on the order of the square root of the network depth. This ensures that, early in training, the function computed by normalized residual blocks in deep networks is close to the identity function (on average). We use this insight to develop a simple initialization scheme that can train deep residual networks without normalization. We also provide a detailed empirical study of residual networks, which clarifies that, although batch normalized networks can be trained with larger learning rates, this effect is only beneficial in specific compute regimes, and has minimal benefits when the batch size is small.

Motivation & Objective

  • To understand why batch normalization enables deeper residual networks.
  • To investigate the role of BN in stabilizing training through initialization effects.
  • To develop a BN-free initialization scheme that replicates BN's benefits.
  • To clarify the impact of learning rate and batch size on training dynamics in residual networks.

Proposed method

  • Proposes a new initialization scheme that scales the residual branch by 1/sqrt(depth) to mimic BN's effect at initialization.
  • Analyzes the expected output of residual blocks at initialization under BN, showing it approximates the identity function.
  • Empirically compares training dynamics of BN and non-BN networks with and without the proposed initialization.
  • Varies learning rates and batch sizes to study their interaction with BN and training stability.
  • Uses statistical analysis to quantify the deviation of residual block outputs from identity at initialization.
  • Validates results on standard benchmarks like CIFAR-10 and ImageNet.

Experimental results

Research questions

  • RQ1Why does batch normalization enable deeper residual networks?
  • RQ2How does batch normalization affect the initial function computed by residual blocks?
  • RQ3Can we achieve similar training stability without batch normalization through proper initialization?
  • RQ4Does the benefit of larger learning rates with BN persist across different batch sizes?
  • RQ5What is the role of initialization in the success of deep residual networks?

Key findings

  • Batch normalization downweights the residual branch by approximately 1/sqrt(depth) at initialization, stabilizing training by keeping the network's initial function close to identity.
  • The proposed initialization scheme enables training of deep residual networks without batch normalization, achieving comparable performance.
  • The benefit of larger learning rates with BN is minimal when batch size is small, indicating limited optimization advantage.
  • BN's primary contribution is initialization-induced stability, not faster convergence or better optimization.
  • Empirical results show that without BN, networks trained with the new initialization match BN performance on CIFAR-10 and ImageNet.
  • The study clarifies that BN's success is largely due to its initialization effect, not its adaptive batch statistics during training.

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.