Abstract
Recent work by Baratin et al. (2021) sheds light on an intriguing pattern that occurs during the training of deep neural networks: some layers align much more with data compared to other layers (where the alignment is defined as the euclidean product of the tangent features matrix and the data labels matrix). The curve of the alignment as a function of layer index (generally) exhibits an ascent-descent pattern where the maximum is reached for some hidden layer. In this work, we provide the first explanation for this phenomenon. We introduce the Equilibrium Hypothesis which connects this alignment pattern to signal propagation in deep neural networks. Our experiments demonstrate an excellent match with the theoretical predictions.
Introduction
In the study of Deep Neural Networks (DNNs), it is often assumed that all layers contribute equally to the learning process. However, empirical evidence suggests a more complex internal dynamic. Certain layers appear to perform the bulk of feature learning, aligning their internal representations closely with data labels, while others remain relatively stagnant. This phenomenon, termed the Alignment Hierarchy, is characterized by an "ascent-descent" pattern: alignment with data labels starts low at the input, peaks in the intermediate layers, and declines toward the output.
The Equilibrium Hypothesis
The Equilibrium Hypothesis (EH) (Lou et al., 2022) provides a mathematical foundation for this behavior. It posits that a layer’s capacity for feature learning is determined by the balance between two competing signals:
- Forward-propagating input signals: Geometric information from the input data that travels through the network.
- Backward-propagating gradient signals: Information about the loss and labels that travels back from the output.
Feature learning is most effective at the "equilibrium point" where the information loss from both the forward and backward passes is roughly equal. Near the input, the backward gradient signal is highly deteriorated; near the output, the forward input signal has lost its richness.
Theoretical Framework: Forward-Backward Decomposition
The authors utilize the Neural Tangent Kernel (NTK) framework to analyze network evolution. They introduce a Forward-Backward Decomposition, showing that the tangent kernel of a layer $l$ is the Hadamard product of a Forward Kernel ($\vec{K}_l$) and a Backward Kernel ($\vec{K}_l$). By quantifying the "Information Loss"—the rate at which these kernels converge to trivial states as depth increases—the authors identify the structural constraints on feature learning.
The $L^{3/5}$ Scaling Law
For fully connected feedforward networks (FFNNs), the EH leads to a specific prediction: the optimal layer for feature learning scales with the total network depth $L$ according to the power law $l = \Theta(L^{3/5})$. This implies that in a log-log plot of the peak layer index versus total depth, the relationship should appear as a straight line with a slope of 0.6.
Empirical Results
Validation across benchmarks including MNIST, FashionMNIST, and CIFAR-10 confirms this theory. The experimental data shows an "excellent match" with the predicted $3/5 \log L + C$ line. Furthermore, the height of the alignment peak correlates strongly with generalization performance; networks with a well-defined intermediate alignment peak typically exhibit lower test loss and a smaller generalization gap.
While FFNNs strictly follow the $3/5$ rule, the peak shifts in other architectures. In VGG, the peak remains centralized, whereas in ResNets, skip connections preserve the forward signal, often pushing the peak toward the final layers.
Discussion and Limitations
The Equilibrium Hypothesis suggests that the Alignment Hierarchy is an inherent structural property induced by network depth, acting as a form of implicit regularization. However, several questions remain:
- Architectural Generalization: While empirical results for VGG and ResNet are promising, the $L^{3/5}$ proof is currently limited to fully connected architectures.
- The Role of Hyperparameters: Hyperparameters like learning rate and batch size affect the constant $C$ (the y-intercept), shifting the peak without changing the scaling slope. A full theoretical account of this shift is still needed.
- Causality: While alignment and generalization are correlated, the causal link remains to be rigorously established.
This work represents a significant step toward a "physics of deep learning," enabling predictions of internal model dynamics based on fundamental structural properties.
Summary updated