Lune

ICLR2024顶会

Towards Training Without Depth Limits: Batch Normalization Without Gradient Explosion

Alexandru Meterez, Amir Joudaki, Francesco Orabona, Alexander Immer, Gunnar Rätsch, Hadi Daneshmand

摘要

Normalization layers are one of the key building blocks for deep neural networks. Several theoretical studies have shown that batch normalization improves the signal propagation, by avoiding the representations from becoming collinear across the layers. However, results on mean-field theory of batch normalization also conclude that this benefit comes at the expense of exploding gradients in depth. Motivated by these two aspects of batch normalization, in this study we pose the following question: "Can a batch-normalized network keep the optimal signal propagation properties, but avoid exploding gradients?" We answer this question in the affirmative by giving a particular construction of an Multi-Layer Perceptron (MLP) with linear activations and batch-normalization that provably has bounded gradients at any depth. Based on Weingarten calculus, we develop a rigorous and non-asymptotic theory for this constructed MLP that gives a precise characterization of forward signal propagation, while proving that gradients remain bounded for linearly independent input samples, which holds in most practical settings. Inspired by our theory, we also design an activation shaping scheme that empirically achieves the same properties for certain nonlinear activations.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Attention is not all you need: pure attention loses rank doubly exponentially with depth 引用了 Language Models are Few-Shot Learners
  • A ConvNet for the 2020s 引用了 CvT: Introducing Convolutions to Vision Transformers
  • On the impact of activation and normalization in obtaining isometric embeddings at initialization 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • On the impact of activation and normalization in obtaining isometric embeddings at initialization 引用了 Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse
  • Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse 引用了 Language Models are Few-Shot Learners
  • Understanding and Minimising Outlier Features in Transformer Training 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Understanding and Minimising Outlier Features in Transformer Training 引用了 On the impact of activation and normalization in obtaining isometric embeddings at initialization
  • Understanding and Minimising Outlier Features in Transformer Training 引用了 Simplifying Transformer Blocks
  • Simplifying Transformer Blocks 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph LearningAlvaro Arroyo, Alessio Gravina, Benjamin Gutteridge, Federico Barbero 等NeurIPS 2025 · 58 次引用
  2. Simplifying Transformer BlocksBobby He, Thomas HofmannICLR 2024 · 52 次引用
  3. Understanding and Minimising Outlier Features in Transformer TrainingBobby He, Lorenzo Noci, Daniele Paliotta, Imanol Schlag 等NeurIPS 2024 · 27 次引用
  4. On the impact of activation and normalization in obtaining isometric embeddings at initializationAmir Joudaki, Hadi Daneshmand, Francis R. BachNeurIPS 2023 · 16 次引用

它引用的 Paper16

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer 等CVPR 2022 · 6,782 次引用
  3. CvT: Introducing Convolutions to Vision TransformersHaiping Wu, Bin Xiao, Noel Codella, Mengchen Liu 等ICCV 2021 · 2,397 次引用
  4. Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 次引用
  5. Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank CollapseLorenzo Noci, Sotiris Anagnostidis, Luca Biggio, Antonio Orvieto 等NeurIPS 2022 · 161 次引用

相关 Paper

  1. On Bridging the Gap between Mean Field and Finite Width Deep Random Multilayer Perceptron with Batch NormalizationAmir Joudaki, Hadi Daneshmand, Francis R. BachICML 2023 · 4 次引用
  2. Characterizing signal propagation to close the performance gap in unnormalized ResNetsAndrew Brock, Soham De, Samuel L. SmithICLR 2021 · 21 次引用
  3. On skip connections and normalisation layers in deep optimisationLachlan E. MacDonald, Jack Valmadre, Hemanth Saratchandran, Simon LuceyNeurIPS 2023 · 8 次引用
  4. Beyond BatchNorm: Towards a Unified Understanding of Normalization in Deep LearningEkdeep Singh Lubana, Robert P. Dick, Hidenori TanakaNeurIPS 2021 · 50 次引用
  5. The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at InitializationMufan Bill Li, Mihai Nica, Daniel M. RoyNeurIPS 2022 · 51 次引用
黄昏的海面,两侧是细线勾勒的悬崖