Just One Layer Norm Guarantees Stable Extrapolation
Not on the map. Why?
Abstract (arXiv)
In spite of their prevalence, the behaviour of Neural Networks when extrapolating far from the training distribution remains poorly understood, with existing results limited to specific cases. In this work, we prove general results -- the first of their kind -- by applying Neural Tangent Kernel (NTK) theory to analyse infinitely-wide neural networks trained until convergence and prove that the inclusion of just one Layer Norm (LN) fundamentally alters the induced NTK, transforming it into a bounded-variance kernel. As a result, the output of an infinitely wide network with at least one LN remains bounded, even on inputs far from the training data. In contrast, we show that a broad class of networks without LN can produce pathologically large outputs for certain inputs. We support these theoretical findings with empirical experiments on finite-width networks, demonstrating that while standard NNs often exhibit uncontrolled growth outside the training domain, a single LN layer effectively mitigates this instability. Finally, we explore real-world implications of this extrapolatory stability, including applications to predicting residue sizes in proteins larger than those seen during training and estimating age from facial images of underrepresented ethnicities absent from the training set.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 30 of its 40 references that are in the map. First posted on arXiv 20 May 2025.
Builds on
30 of 40 references.
References · 30
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Layer Normalizationcited by 5,669
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 738
- 2017Deep Neural Networks as Gaussian Processescited by 622
- 2019On Exact Computation with an Infinitely Wide Neural Netcited by 573
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
18 more
- 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 222
- 2019Understanding and Improving Layer Normalizationcited by 217
- 2021Activation Functions in Deep Learning: A Comprehensive Survey and Benchmarkcited by 155
- 2019Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processescited by 151
- 2020Tensor Programs II: Neural Tangent Kernel for Any Architecturecited by 143
- 2025Transformers without Normalizationcited by 70
- 2019Generalization in Deep Networks: The Role of Distance from Initializationcited by 51
- 2019No-Regret Bayesian Optimization with Unknown Hyperparameterscited by 51
- 2020Tensor Programs III: Neural Matrix Lawscited by 49
- 2020Coherent Gradients: An Approach to Understanding Generalization in Gradient Descent-based Optimizationcited by 41
- 2014Automatic Construction and Natural-Language Description of Nonparametric Regression Modelscited by 40
- 2022Neural Tangent Kernel: A Surveycited by 23
- 2024Time-Varying Gaussian Process Bandits with Unknown Priorcited by 11
- 2023Data efficiency and extrapolation trends in neural network interatomic potentialscited by 10
- 2024Bayesian Optimisation with Unknown Hyperparameters: Regret Bounds Logarithmically Closer to Optimalcited by 7
- 2022Can neural networks extrapolate? Discussion of a theorem by Pedro Domingoscited by 6
- 2023Approximation and interpolation of deep neural networkscited by 4
- 2024Function Extrapolation with Neural Networks and Its Application for Manifoldscited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.