Deep Linear Network Training Dynamics from Random Initialization: Data, Width, Depth, and Hyperparameter Transfer

Blake Bordelon, Cengiz Pehlevan

Introduction

Training massive artificial intelligence models is prohibitively expensive, largely because finding optimal hyperparameters, such as the learning rate, requires extensive trial and error. To mitigate these costs, researchers often seek to "transfer" optimal settings from smaller models to larger ones. While empirical successes like the Maximal Update Parameterization ($\mu$P) have demonstrated the feasibility of this approach, a comprehensive theoretical understanding of the joint influence of network width, depth, data quantity, and initialization on training dynamics has remained elusive.

This paper addresses this gap by providing a rigorous theoretical framework to analyze how deep neural networks learn. By focusing on "deep linear networks" as a tractable proxy, the authors investigate why certain scaling regimes, such as $\mu$P, enable hyperparameter transfer while others, like the Neural Tangent Kernel (NTK) regime, do not.

Methodology: Dynamical Mean Field Theory (DMFT)

The authors utilize Dynamical Mean Field Theory (DMFT) to model the training process. In a network with millions of interacting weights, tracking individual parameters is computationally impossible. DMFT simplifies this complexity by describing the "typical" behavior of a single neuron or weight as a stochastic process.

Key methodological contributions include:

  • Joint Asymptotic Limit: Analysis of a regime where the number of data points ($P$), input dimension ($D$), and network width ($N$) all approach infinity at proportional rates.
  • Single-Site Processes: Reduction of complex gradient descent dynamics into a closed set of equations involving correlation and response functions.
  • Residual Scaling: Extension of the theory to Residual Networks (ResNets), identifying that scaling residual branches by $1/\sqrt{\text{depth}}$ is essential for a stable infinite-depth limit.

Key Insights and Ideas

  • The $\mu$P vs. NTK Divide: The theory confirms that in the NTK (lazy) regime, the optimal learning rate shifts as the network width increases. In contrast, the Mean-Field/$\mu$P regime keeps the optimal learning rate stable, explaining its success in industry scaling laws.
  • Quantifiable Scaling: The theory captures how increasing the width-to-dimension ratio ($\nu = N/D$) monotonically improves the convergence rate in the rich regime.
  • Depth-Scaling Secret: For ResNets, the authors show that hyperparameter transfer across different depths is possible if residual branches are scaled by $1/\sqrt{L}$. Without this, the network's activity either vanishes or explodes as it gets deeper.
  • Data Repetition vs. Online Learning: The model distinguishes between Full Batch GD and Online SGD, capturing the "overfitting peaks" seen when data is repeated.

Key Results

  • Numerical Verification: The DMFT predictions show exceptional agreement with empirical simulations across various network architectures. The theory accurately captures the training loss evolution for different widths and depths in both NTK and Mean-Field/$\mu$P regimes.
Figure 1: DMFT predictions (dashed lines) perfectly match simulations (solid lines) across varying widths ($\nu$) and depths ($L$) for different parameterization schemes.
  • Hyperparameter Transfer: The authors demonstrate that their theory correctly predicts the stability of optimal learning rates in the $\mu$P regime compared to the shifting optima in NTK-P.
Figure 6: Learning rate sweeps in NTK-P (a) show a shifting optimal learning rate $\eta$ as width $\nu$ increases, whereas $\mu$P (b) maintains a stable optimal learning rate, facilitating hyperparameter transfer.
  • Power-Law Scaling: The theory recovers the "accelerated" power-law training curves observed in recent empirical work. Specifically, for "hard" tasks, rich networks learn significantly faster than lazy ones, following a specific predicted exponent: $t^{-\frac{2\beta}{1+\beta}}$.

Conclusion and Future Work

While the use of linear networks is a limitation—as they cannot perform nonlinear function approximation—this framework captures essential dynamical properties of deep learning. Future research aims to extend this DMFT framework to include nonlinearities, normalization layers (e.g., LayerNorm), and advanced optimizers like Adam to bridge the gap with state-of-the-art architectures like Transformers.

Summary updated

BibTeX
@inproceedings{bordelon2025deep,
  author = {Blake Bordelon and Cengiz Pehlevan},
  title = {{Deep Linear Network Training Dynamics from Random Initialization: Data, Width, Depth, and Hyperparameter Transfer}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=SEj9uopOWP},
}
Figure