Lune

ICLR2024Top-tier venue

Tensor Programs VI: Feature Learning in Infinite Depth Neural Networks

Greg Yang, Dingli Yu, Chen Zhu, Soufiane Hayou

Abstract

By classifying infinite-width neural networks and identifying the optimal limit, Tensor Programs IV and V demonstrated a universal way, called μ\muP, for widthwise hyperparameter transfer, i.e., predicting optimal hyperparameters of wide neural networks from narrow ones. Here we investigate the analogous classification for depthwise parametrizations of deep residual networks (resnets). We classify depthwise parametrizations of block multiplier and learning rate by their infinite-width-then-depth limits. In resnets where each block has only one layer, we identify a unique optimal parametrization, called Depth-μ\muP that extends μ\muP and show empirically it admits depthwise hyperparameter transfer. We identify feature diversity as a crucial factor in deep networks, and Depth-μ\muP can be characterized as maximizing both feature learning and feature diversity. Exploiting this, we find that absolute value, among all homogeneous nonlinearities, maximizes feature diversity and indeed empirically leads to significantly better performance. However, if each block is deeper (such as modern transformers), then we find fundamental limitations in all possible infinite-depth limits of such parametrizations, which we illustrate both theoretically and empirically on simple networks as well as Megatron transformer trained on Common Crawl.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

53 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Scalable Optimization in the Modular Norm cites Tensor Programs IV: Feature Learning in Infinite-Width Neural Networks
  • The Curse of Depth in Large Language Models cites Understanding the Difficulty of Training Transformers
  • Width and Depth Limits Commute in Residual Networks cites Tensor Programs IV: Feature Learning in Infinite-Width Neural Networks
  • Scaling Exponents Across Parameterizations and Optimizers cites Scalable Optimization in the Modular Norm
  • Scaling Exponents Across Parameterizations and Optimizers cites Tensor Programs IV: Feature Learning in Infinite-Width Neural Networks
  • Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse cites Understanding the Difficulty of Training Transformers
  • The Impact of Initialization on LoRA Finetuning Dynamics cites Width and Depth Limits Commute in Residual Networks
  • The Impact of Initialization on LoRA Finetuning Dynamics cites Tensor Programs IV: Feature Learning in Infinite-Width Neural Networks
  • The Impact of Initialization on LoRA Finetuning Dynamics cites The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit
  • The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit cites Width and Depth Limits Commute in Residual Networks
  • The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit cites Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers53

  1. Scalable Optimization in the Modular NormTim Large, Yang Liu, Jacob Huh, Hyojin Bahng et al.NeurIPS 2024 · 70 citations
  2. The Impact of Initialization on LoRA Finetuning DynamicsSoufiane Hayou, Nikhil Ghosh, Bin YuNeurIPS 2024 · 63 citations
  3. The Curse of Depth in Large Language ModelsWenfang Sun, Xinyuan Song, Pengxiang Li, Lu Yin et al.NeurIPS 2025 · 62 citations
  4. Scaling Exponents Across Parameterizations and OptimizersKatie E. Everett, Lechao Xiao, Mitchell Wortsman, Alexander A. Alemi et al.ICML 2024 · 59 citations
  5. On the Scalability of GNNs for Molecular GraphsMaciej Sypetkowski, Frederik Wenkel, Farimah Poursafaei, Nia Dickson et al.NeurIPS 2024 · 58 citations

Builds on5

  1. Tensor Programs IV: Feature Learning in Infinite-Width Neural NetworksGreg Yang, Edward J. HuICML 2021 · 242 citations
  2. Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank CollapseLorenzo Noci, Sotiris Anagnostidis, Luca Biggio, Antonio Orvieto et al.NeurIPS 2022 · 161 citations
  3. Understanding the Difficulty of Training TransformersLiyuan Liu, Xiaodong Liu, Jianfeng Gao, Weizhu Chen et al.EMNLP 2020 · 158 citations
  4. The Shaped Transformer: Attention Models in the Infinite Depth-and-Width LimitLorenzo Noci, Chuning Li, Mufan Bill Li, Bobby He et al.NeurIPS 2023 · 59 citations
  5. Width and Depth Limits Commute in Residual NetworksSoufiane Hayou, Greg YangICML 2023 · 23 citations

Related papers

  1. Depthwise Hyperparameter Transfer in Residual Networks: Dynamics and Scaling LimitBlake Bordelon, Lorenzo Noci, Mufan Bill Li, Boris Hanin et al.ICLR 2024 · 54 citations
  2. Hyperparameter Transfer Laws for Non-Recurrent Multi-Path Neural NetworksHaosong Zhang, Shenxi Wu, Xingjian Ma, Shirui Bian et al.ICML 2026 · 1 citation
  3. Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and DurationBruno Mlodozeniec, Pierre Ablin, Louis Béthune, Dan Busbridge et al.ICLR 2026 · 24 citations
  4. μP2: Effective Sharpness Aware Minimization Requires Layerwise Perturbation ScalingMoritz Haas, Jin Xu, Volkan Cevher, Leena Chennuru VankadaraNeurIPS 2024 · 12 citations
  5. On the Provable Separation of Scales in Maximal Update ParameterizationLetong Hong, Zhangyang WangICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines