Feature Learning Dynamics in Infinite-Depth Neural Networks
Zihan Yao, Ruoyu Wu, Tianxiang Gao
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Neural Network Training Dynamics · Type: theory · Keywords: feature learning, infinite depth, weight reuse, forward-backward coupling, SDE dynamics, ResNets
Summary
Neural feature dynamics (NFD) provides a forward-backward SDE system that captures feature-gradient covariance in infinite-depth ResNets, establishing convergence of finite-network training to this limit with O(L-1) error.
Explained to a 5-year-old
We look at big computer programs that have many layers and learn things by practicing. When they learn, each layer uses the same weights for both forward and backward steps, which makes the patterns in the layers talk to each other. By using math, we separate the talking parts from the random parts and see how they change. We find that the talking part gets smaller as the network gets deeper, so the whole system behaves like a simpler model. This helps us understand how deep networks learn without getting confused by the way they reuse weights.
Explained to a 5-year-old, longer
Deep computer programs are like towers of blocks where each block helps the next one learn something new. When the program learns, it uses the same weights for both moving forward through the tower and calculating errors backward. This reuse makes the patterns in the blocks (called features) become connected with the errors they receive. To understand this, we use special math that splits the connected parts from the random parts. We look at how these connected parts change as we make the tower taller. We discover that the connected parts become very small when the tower is extremely tall. Because they become tiny, the whole learning process becomes similar to a simpler model that keeps track of how features and errors talk to each other. This simpler model helps us see what happens in the original tower without the extra complexity. We also prove that the original tower’s learning matches this simpler model very closely as the tower gets deeper. The extra connections from weight reuse shrink even faster than the overall learning error. This gives us a clear picture of why deep networks can learn well even when they reuse weights. It also tells us that the deeper the network, the less we need to worry about those connections.
For a technical reader
The paper investigates how the reuse of weight matrices in deep networks creates correlations between forward activations and backward gradients, which can affect learning. Using a Gaussian-process analysis, it separates these correlations from random fluctuations and shows that, under a depth-μP scaling, the correlation term becomes negligible as depth grows. It then derives a forward-backward stochastic differential equation that captures the essential feature-gradient dynamics and proves that finite-width networks converge to this limit with O(L-1) error. This provides a theoretical foundation for understanding feature evolution in very deep ResNets.
Problem
Understanding how features evolve during training in deep neural networks, especially in the infinite-depth limit, is incomplete because backpropagation reuses weight matrices, creating forward-backward correlations that affect feature learning.
Method
The approach uses conditional Gaussian representations to separate weight-reuse coupling from decoupled fluctuations, studies the forward-backward correlation under depth-μP scaling, and constructs a forward-backward SDE system that retains the feature-gradient covariance structure observed during training.
Results
The analysis shows that the forward-backward correlation term decays as O(L-2) while the overall training dynamics converge to the SDE limit with O(L-1) error, providing a rigorous infinite-depth feature-learning limit for one-layer ResNets.
Contributions
It rigorously characterizes the effect of weight reuse on feature learning, proves that the coupling vanishes in the infinite-width limit but persists in infinite-depth scaling, and establishes convergence of finite-network training to a forward-backward SDE limit.
Limitations and assumptions
The results rely on nondegeneracy assumptions and the depth-μP scaling regime; the analysis is restricted to one-layer ResNets.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction