Weight-Decay Turns Transformer Loss Landscapes Villani: Functional-Analytic Foundations for Optimization and Generalization
Not on the map. Why?
Abstract (arXiv)
Weight decay is widely used as a regularizer in large language models, yet its precise role in shaping Transformer loss landscapes remains theoretically underexplored. This paper provides the first rigorous functional-analytic characterization of the standard Transformer objective--cross-entropy loss with L2 regularization--by proving it satisfies Villani's criteria for coercive energy functions. Specifically, we show that the regularized loss F is infinitely differentiable, grows at least quadratically, has Gaussian-integrable tails, and satisfies the differential growth condition -DeltaF + tfrac1s|nablaF|2 → ∞ as |θ| → ∞ for all s>0. From this structure, we derive explicit log-Sobolev and Poincar'e constants CLS ≤ λ-1 + d/λ2, linking the regularization strength λ and model dimension d to finite-time convergence guarantees for noisy stochastic gradient descent and PAC-Bayesian generalization bounds that tighten with increasing λ. To validate our theory, we introduce a scalable Villani diagnostic Psis(θ) = -Delta F + s-1|nabla F|2 and estimate it efficiently using Hutchinson trace probes in models with over 100M parameters. Experiments on GPT-Neo-125M across Penn Treebank and WikiText-103 confirm the predicted quadratic growth of Psis, spectral inflation of the Hessian, and exponential convergence behavior consistent with our log-Sobolev analysis. These results demonstrate that weight decay not only improves generalization empirically but also establishes the mathematical conditions required for fast Langevin mixing and theoretically grounded curvature-aware optimization in deep learning.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 22 of its 54 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
22 of 54 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
- 2017Non-convex learning via Stochastic Gradient Langevin Dynamics: a nonasymptotic analysiscited by 243
- 2019Mean-field theory of two-layers neural networks: dimension-free bounds and kernel limitcited by 187
- 2015Adding Gradient Noise Improves Learning for Very Deep Networkscited by 145
- 2018Mean Field Analysis of Neural Networks: A Central Limit Theoremcited by 107
- 2023Graph Foundation Models: Concepts, Opportunities and Challengescited by 103
- 2017Global Convergence of Langevin Dynamics Based Algorithms for Nonconvex Optimizationcited by 97
- 2023Learning without Forgetting for Vision-Language Modelscited by 79
- 2022Mean-Field Langevin Dynamics: Exponential Convergence and Annealingcited by 61
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
10 more
- 2023How Does Attention Work in Vision Transformers? A Visual Analytics Attemptcited by 30
- 2024Weight decay induces low-rank attention layerscited by 27
- 2021Stochastic Gradient Langevin Dynamics with Variance Reductioncited by 7
- 2022Deformable Graph Transformercited by 7
- 2025Propagation of Chaos for Mean-Field Langevin Dynamics and its Application to Model Ensemblecited by 5
- 2015(Non-) asymptotic properties of Stochastic Gradient Langevin Dynamicscited by 3
- 2022DIVA: Deep Unfolded Network from Quantum Interactive Patches for Image Restorationcited by 3
- 2024Automatic Tuning of Denoising Algorithms Parameters Without Ground Truthcited by 2
- 2025Improving Learning to Optimize Using Parameter Symmetriescited by 2
- 2023Quantum Algorithm for Signal Denoisingcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.