The Devil is in the Condition Numbers: Why is GLU Better than non-GLU Structure?
Not on the map. Why?
Abstract (arXiv)
Gated Linear Units (GLU) and their variants are widely adopted in modern open-source large language model architectures and consistently outperform their non-gated counterparts, yet the underlying reasons for this advantage remain unclear. In this work, we study GLU by analyzing two-layer networks in the neural tangent kernel (NTK) regime. Our analysis reveals that the GLU structure reshapes the NTK spectrum, leading to a smaller condition number and a more compact eigenvalue distribution. Building on this finding, we further analyze the resulting training dynamics and show how the reshaped spectrum leads to faster convergence of GLU models, including a characteristic loss-crossing phenomenon observed between GLU and non-GLU models. Finally, we empirically observe that GLU has limited impact in reducing the generalization gap on various models, including ViT and GPT-2, suggesting that its primary benefit lies in accelerating optimization rather than reducing the generalization gap. The code is available at: https://github.com/Zemdalk/GLU-NTK.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 51 references that are in the map. First posted on arXiv 20 May 2026.
Builds on
28 of 51 references.
References · 28
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2025Qwen3 Technical Reportcited by 8,195
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2020GLU Variants Improve Transformercited by 1,724
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 784
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2018On Lazy Training in Differentiable Programmingcited by 671
- 2025Kimi K2: Open Agentic Intelligencecited by 523
16 more
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2015Highway Networkscited by 257
- 2017Gate-Variants of Gated Recurrent Unit (GRU) Neural Networkscited by 239
- 2016Exploring the Limits of Language Modelingcited by 172
- 2020On the linearity of large non-linear models: when and why the tangent kernel is constantcited by 129
- 2021Generalization error of random features and kernel methods: hypercontractivity and kernel matrix concentrationcited by 110
- 2020Spectra of the Conjugate Kernel and Neural Tangent Kernel for linear-width neural networkscited by 76
- 2020On the Similarity between the Laplace and Neural Tangent Kernelscited by 76
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 31
- 2022Characterizing the Spectrum of the NTK via a Power Series Expansioncited by 22
- 2025ABKD: Pursuing a Proper Allocation of the Probability Mass in Knowledge Distillation via α-β-Divergencecited by 21
- 2024Universality of Kernel Random Matrices and Kernel Regression in the Quadratic Regimecited by 11
- 2023Better NTK Conditioning: A Free Lunch from (ReLU) Nonlinear Activation in Wide Neural Networkscited by 6
- 2024SSE-SAM: Balancing Head and Tail Classes Gradually through Stage-Wise SAMcited by 3
- 2025GLU Attention Improve Transformercited by 3
- 2025MLPs at the EOC: Spectrum of the NTKcited by 1
Built on by
Not cited yet.