NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Feature Learning and Signal Propagation in Deep Neural Networks

Yizhang Lou, Chris Mingard, Yoonsoo Nam, Soufiane Hayou · DOI

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. This alignment, defined as the Euclidean product of the tangent features matrix and the data labels matrix, typically follows an "ascent-descent" pattern where the maximum is reached in a hidden layer. In this work, we provide the first theoretical 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 theoretical predictions, specifically a scaling law for the peak alignment location.

The Problem: The Alignment Hierarchy

While deep neural networks (DNNs) are remarkably effective, understanding the internal dynamics of feature learning remains a challenge. A key observation in recent research is the Alignment Hierarchy (AH). If one measures how much a layer’s "tangent features" (the gradients of the output with respect to that layer's weights) align with data labels, the result is not uniform across the network. Instead, alignment starts low at the input, peaks in the middle layers, and drops off toward the output. Until now, there was no rigorous explanation for why this peak exists or how its location relates to network depth.

The Equilibrium Hypothesis

We analyze this phenomenon using the Neural Tangent Kernel (NTK) framework. Our approach involves two primary innovations:

  1. Forward-Backward Decomposition: We mathematically demonstrate that a layer's tangent kernel can be decomposed into a "forward" component (carrying geometric information from the input) and a "backward" component (carrying information from the gradients).
  2. The Equilibrium Hypothesis (EH): We propose that feature learning is most effective at the point where these two signals are balanced. Because signals lose "geometric information" (angular correlation) as they propagate, the first layers possess high-quality input data but degraded gradient information, while the final layers face the opposite problem. The peak of the Alignment Hierarchy represents the "equilibrium" point where both signals are sufficiently strong.

The 3/5 Scaling Law

For fully-connected feedforward networks (FFNNs), we derived a precise scaling law to predict the location of this equilibrium. Our theory predicts that in a network of depth $L$, the alignment peak should occur at layer $l$ such that $l \approx L^{3/5}$.

The theoretical $L^{3/5}$ scaling law for the alignment peak matches empirical data across various depths and datasets.

As shown in the log-log plots above, the empirical peak of feature learning across networks ranging from 10 to 100 layers falls almost perfectly on this theoretical $L^{3/5}$ line for MNIST, FashionMNIST, and CIFAR10.

Empirical Results and Training Dynamics

Our experiments on standard benchmarks confirm that the Alignment Hierarchy is a robust feature of DNN training. We observed that models with a higher, more distinct alignment peak in the middle layers tended to generalize better, suggesting that this hierarchy is a signature of effective learning.

Evolution of loss and layer alignment during training on MNIST and CIFAR10. The right panels illustrate the characteristic ascent-descent alignment curve.

Key findings from our empirical validation include:

  • Hyperparameter Sensitivity: While the $3/5$ slope is fixed by the architecture, hyperparameters like learning rate and batch size affect the peak's height and exact position. Larger learning rates and smaller batch sizes tend to push the peak toward earlier layers.
  • Architecture Variations: While FFNNs and VGG networks show centered peaks, ResNets often push the alignment peak closer to the final layers, likely due to how skip-connections mitigate signal decay.

Conclusion

The Alignment Hierarchy is not a mathematical curiosity but a fundamental property of signal propagation in deep networks. By introducing the Equilibrium Hypothesis, we provide a framework to understand where feature learning occurs. Future work will focus on extending the rigorous $L^{3/5}$ proof to convolutional and residual architectures and investigating how this structural property can be leveraged for better architecture design.

Summary updated

BibTeX
@inproceedings{lou2022feature,
  author = {Yizhang Lou and Chris Mingard and Yoonsoo Nam and Soufiane Hayou},
  title = {{Feature Learning and Signal Propagation in Deep Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=9lPwI1VuYY},
}
Figure