LGAIMLMay 28, 2023

On the impact of activation and normalization in obtaining isometric embeddings at initialization

arXiv:2305.18399v316 citations
Originality Incremental advance
AI Analysis

This work addresses a fundamental issue in training deep networks, particularly transformers, by providing theoretical insights into layer normalization, which is incremental but important for improving initialization stability.

The authors tackled the problem of Gram matrix degeneracy in deep neural networks at initialization, which slows training, by proving that layer normalization combined with activation layers biases the Gram matrix towards the identity matrix at an exponential rate with depth.

In this paper, we explore the structure of the penultimate Gram matrix in deep neural networks, which contains the pairwise inner products of outputs corresponding to a batch of inputs. In several architectures it has been observed that this Gram matrix becomes degenerate with depth at initialization, which dramatically slows training. Normalization layers, such as batch or layer normalization, play a pivotal role in preventing the rank collapse issue. Despite promising advances, the existing theoretical results do not extend to layer normalization, which is widely used in transformers, and can not quantitatively characterize the role of non-linear activations. To bridge this gap, we prove that layer normalization, in conjunction with activation layers, biases the Gram matrix of a multilayer perceptron towards the identity matrix at an exponential rate with depth at initialization. We quantify this rate using the Hermite expansion of the activation function.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes