Skip to main content
QUICK REVIEW

[Paper Review] Batch Normalization Provably Avoids Rank Collapse for Randomly Initialised Deep Networks

Hadi Daneshmand, Jonas Köhler|arXiv (Cornell University)|Mar 3, 2020
Sparse and Compressive Sensing TechniquesEngineering14 references9 citations
TL;DR

This paper proves that batch normalization (BN) prevents rank collapse in randomly initialized deep neural networks by stabilizing the spectral properties of hidden layer activations. Using Markov chain theory, it derives a lower bound on the rank in deep linear networks and empirically validates that BN maintains high rank in ReLU networks, enabling stable training in very deep architectures.

ABSTRACT

Randomly initialized neural networks are known to become harder to train with increasing depth, unless architectural enhancements like residual connections and batch normalization are used. We here investigate this phenomenon by revisiting the connection between random initialization in deep networks and spectral instabilities in products of random matrices. Given the rich literature on random matrices, it is not surprising to find that the rank of the intermediate representations in unnormalized networks collapses quickly with depth. In this work we highlight the fact that batch normalization is an effective strategy to avoid rank collapse for both linear and ReLU networks. Leveraging tools from Markov chain theory, we derive a meaningful lower rank bound in deep linear networks. Empirically, we also demonstrate that this rank robustness generalizes to ReLU nets. Finally, we conduct an extensive set of experiments on real-world data sets, which confirm that rank stability is indeed a crucial condition for training modern-day deep neural architectures.

Motivation & Objective

  • To explain why batch normalization enables training of very deep neural networks despite spectral instabilities in randomly initialized networks.
  • To investigate the role of rank collapse in the failure of training deep unnormalized networks.
  • To establish a theoretical foundation for BN's effectiveness by analyzing the rank of hidden layer activations.
  • To demonstrate that rank stability is a key factor in enabling successful optimization in deep networks.

Proposed method

  • Analyzes the spectral properties of hidden layer activations in deep linear and ReLU networks under random initialization.
  • Applies tools from Markov chain theory to derive a lower bound on the rank of the final layer in deep linear networks with batch normalization.
  • Empirically evaluates the rank of hidden representations across varying depths in both linear and ReLU networks.
  • Compares training dynamics and rank evolution between batch-normalized and unnormalized networks on real datasets like Fashion-MNIST and CIFAR-10.
  • Uses stochastic gradient analysis to show that rank collapse leads to aligned gradients, hindering optimization.
  • Validates theoretical findings through ablation studies, including BN without mean subtraction and random data experiments.

Experimental results

Research questions

  • RQ1Why do randomly initialized deep networks fail to train beyond a certain depth?
  • RQ2How does batch normalization prevent rank collapse in deep networks?
  • RQ3What is the theoretical lower bound on the rank of hidden representations in deep linear networks with batch normalization?
  • RQ4Does rank stability under BN generalize from linear to ReLU networks?
  • RQ5To what extent is rank stability a necessary condition for successful training of deep networks?

Key findings

  • Batch normalization prevents rank collapse in deep linear networks, maintaining a non-degenerate rank even at extreme depths.
  • The theoretical lower bound on rank in deep linear networks with BN is derived using Markov chain analysis, providing a formal justification for its stability.
  • Empirical results show that BN preserves high rank in ReLU networks, while unnormalized networks exhibit rapid rank collapse beyond 10 layers.
  • Rank collapse correlates strongly with training failure: unnormalized networks on Fashion-MNIST fail to learn beyond depth 10, while BN networks maintain high accuracy.
  • Stochastic gradients in rank-collapsed networks align along a single direction, rendering optimization ineffective despite large learning rates.
  • Experiments on CIFAR-10 with VGG19 and ResNet-50 confirm that BN without mean subtraction fails to prevent rank collapse, validating the necessity of full BN operation.

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.