[Paper Review] Batch Normalization Orthogonalizes Representations in Deep Random Networks
This paper demonstrates that batch normalization (BN) in deep random networks with random linear weights induces increasingly orthogonal hidden representations across layers, with orthogonality improving exponentially with depth and inversely with width. Theoretically, representations converge to a Wasserstein-2 ball around an isotropic Gaussian, and empirically, starting from orthogonal representations accelerates SGD without requiring BN.
This paper underlines a subtle property of batch-normalization (BN): Successive batch normalizations with random linear transformations make hidden representations increasingly orthogonal across layers of a deep neural network. We establish a non-asymptotic characterization of the interplay between depth, width, and the orthogonality of deep representations. More precisely, under a mild assumption, we prove that the deviation of the representations from orthogonality rapidly decays with depth up to a term inversely proportional to the network width. This result has two main implications: 1) Theoretically, as the depth grows, the distribution of the representation -- after the linear layers -- contracts to a Wasserstein-2 ball around an isotropic Gaussian distribution. Furthermore, the radius of this Wasserstein ball shrinks with the width of the network. 2) In practice, the orthogonality of the representations directly influences the performance of stochastic gradient descent (SGD). When representations are initially aligned, we observe SGD wastes many iterations to orthogonalize representations before the classification. Nevertheless, we experimentally show that starting optimization from orthogonal representations is sufficient to accelerate SGD, with no need for BN.
Motivation & Objective
- To understand the representational properties of batch-normalized deep random networks with random weights.
- To investigate how batch normalization influences the orthogonality of hidden representations across layers.
- To establish a non-asymptotic link between network depth, width, and the deviation from orthogonality in representations.
- To demonstrate that BN enforces Gaussian-like isotropic representations even in finite-width deep networks.
- To validate that orthogonal initial representations accelerate SGD training, independent of BN.
Proposed method
- Introduces the 'orthogonality gap' as a measure of deviation from perfect orthogonality in hidden representations.
- Analyzes the Markov chain of representations through consecutive BN and linear layers with random Gaussian weights.
- Proves that the expected orthogonality gap decays as $\mathcal{O}\left((1 - \alpha)^{\text{depth}} + \frac{\text{batch size}}{\alpha \sqrt{\text{width}}}\right)$ under a mild assumption.
- Establishes that the distribution of representations after linear layers contracts to a Wasserstein-2 ball around an isotropic Gaussian, with radius shrinking as $\sim \frac{1}{\sqrt{\text{width}}}$.
- Proposes a weight initialization scheme based on SVD of feature maps to enforce orthogonality in convolutional networks.
- Validates the method via experiments on fully connected and convolutional networks using SGD with fixed learning rate and batch size.
Experimental results
Research questions
- RQ1How does batch normalization affect the orthogonality of representations in deep random networks?
- RQ2What is the non-asymptotic relationship between network depth, width, and the deviation from orthogonality in representations?
- RQ3Can batch normalization enforce isotropic Gaussian-like distributions in deep representations even for finite-width networks?
- RQ4Does starting training from orthogonal representations accelerate SGD, even without batch normalization?
- RQ5To what extent does the orthogonality of initial representations influence optimization dynamics in deep networks?
Key findings
- The expected orthogonality gap decays exponentially with depth as $\mathcal{O}\left((1 - \alpha)^{\text{depth}} + \frac{\text{batch size}}{\alpha \sqrt{\text{width}}}\right)$, with $\alpha > 0$ a constant.
- The distribution of representations after linear layers converges to a Wasserstein-2 ball around an isotropic Gaussian, with radius shrinking as $\sim \frac{1}{\sqrt{\text{width}}}$.
- BN ensures that deep representations remain close to isotropic Gaussian even in finite-width networks, bridging the gap to Gaussian process approximations.
- Experiments show that initializing with orthogonal representations accelerates SGD convergence, especially in deep networks, without requiring BN.
- The proposed SVD-based initialization for convolutional networks improves training speed in deep architectures (e.g., 80-layer networks), outperforming Xavier initialization.
- Theoretical and empirical results hold across various activation functions, including ReLU, sigmoid, tanh, and odd functions like sin and tanh, with negligible differences in orthogonality behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.