Infinite attention: NNGP and NTK for deep attention networks
Not on the map. Why?
Abstract (arXiv)
There is a growing amount of literature on the relationship between wide neural networks (NNs) and Gaussian processes (GPs), identifying an equivalence between the two for a variety of NN architectures. This equivalence enables, for instance, accurate approximation of the behaviour of wide Bayesian NNs without MCMC or variational approximations, or characterisation of the distribution of randomly initialised wide NNs optimised by gradient descent without ever running an optimiser. We provide a rigorous extension of these results to NNs involving attention layers, showing that unlike single-head attention, which induces non-Gaussian behaviour, multi-head attention architectures behave as GPs as the number of heads tends to infinity. We further discuss the effects of positional encodings and layer normalisation, and propose modifications of the attention mechanism which lead to improved results for both finite and infinitely wide NNs. We evaluate attention kernels empirically, leading to a moderate improvement upon the previous state-of-the-art on CIFAR-10 for GPs without trainable kernels and advanced data preprocessing. Finally, we introduce new features to the Neural Tangents library (Novak et al., 2020) allowing applications of NNGP/NTK models, with and without attention, to variable-length sequences, with an example on the IMDb reviews dataset.
Key facts. Cited by 117 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 23; 2023: 29; 2024: 15; 2025: 14; 2026: 22.
117 papers.
Sort:
By area:
- 2022How Do Vision Transformers Work?cited by 305
- 2021Dataset Distillation with Infinitely Wide Convolutional Networkscited by 215
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
- 2022Efficient Dataset Distillation Using Random Feature Approximationcited by 111
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 91
- 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
- 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
- 2022Fast Finite Width Neural Tangent Kernelcited by 62
38 more
- 2021Tensor Programs IIb: Architectural Universality of Neural Tangent Kernel Training Dynamicscited by 57
- 2023Max-Margin Token Selection in Attention Mechanismcited by 57
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
- 2023An Over-parameterized Exponential Regressioncited by 45
- 2023Deep Transformers without Shortcuts: Modifying Self-attention for Faithful Signal Propagationcited by 44
- 2023Replacing softmax with ReLU in Vision Transformerscited by 43
- 2023What can a Single Attention Layer Learn? A Study Through the Random Features Lenscited by 39
- 2024Infinite Limits of Multi-head Transformer Dynamicscited by 38
- 2023Scaling MLPs: A Tale of Inductive Biascited by 37
- 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
- 2021A self consistent theory of Gaussian Processes captures feature learning effects in finite CNNscited by 33
- 2021Scaling Neural Tangent Kernels via Sketching and Random Featurescited by 32
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamicscited by 27
- 2023A Primer on Bayesian Neural Networks: Review and Debatescited by 26
- 2022Exploring Predictive Uncertainty and Calibration in NLP: A Study on the Impact of Method & Data Scarcitycited by 24
- 2022Neural Tangent Kernel: A Surveycited by 22
- 2022On the infinite-depth limit of finite-width neural networkscited by 22
- 2021A Neural Tangent Kernel Perspective of GANscited by 21
- 2021The Limitations of Large Width in Neural Networks: A Deep Gaussian Process Perspectivecited by 21
- 2023Width and Depth Limits Commute in Residual Networkscited by 21
- 2023Neural Network Field Theories: Non-Gaussianity, Actions, and Localitycited by 21
- 2026There Will Be a Scientific Theory of Deep Learningcited by 21
- 2023Leave-one-out Distinguishability in Machine Learningcited by 20
- 2022Fast Neural Kernel Embeddings for General Activationscited by 18
- 2022Open Source Vizier: Distributed Infrastructure and API for Reliable and Flexible Blackbox Optimizationcited by 17
- 2022Auto-scaling Vision Transformers without Trainingcited by 15
- 2022An Analysis of Attention via the Lens of Exchangeability and Latent Variable Modelscited by 15
- 2024Attention layers provably solve single-location regressioncited by 15
- 2024Progressive distillation induces an implicit curriculumcited by 15
- 2021Towards Deepening Graph Neural Networks: A GNTK-based Optimization Perspectivecited by 14
- 2023On the Convergence of Encoder-only Shallow Transformerscited by 13
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 13
- 2021Reverse Engineering the Neural Tangent Kernelcited by 12
- 2022Learning from Randomly Initialized Neural Network Featurescited by 11
- 2023Quantum neural networks form Gaussian processescited by 11
50 most cited of 117 All 117 (JSON)
- 2026Quantitative Gaussian-Process limits of Tensor Programs7 Jul 2026
- 2026Channel Location Constrains the Auditability of Subliminal Learning20 Jun 2026
- 2026Kernel Renormalization in Bayesian Deep Neural Networks: the Equivalent Wishart Ansatz in the Proportional Regime28 May 2026
- 2026Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noise12 May 2026
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention12 May 2026
- 2026A Dual Representation of Influence Functions for Linearizable Models11 May 2026
- 2026On the global convergence of gradient flow for wide shallow models beyond homogeneous nonlinearities11 May 2026
- 2026Rethinking Random Transformers as Adaptive Sequence Smoothers for Sleep Staging11 May 2026
- 2026Convergent Stochastic Training of Multi-Headed Attention and Understanding LoRA8 May 2026
- 2026How Does Attention Help? Insights from Random Matrices on Signal Recovery from Sequence Models7 May 2026
- 2026There Will Be a Scientific Theory of Deep Learning23 Apr 2026
- 2026Topological Effects in Neural Network Field Theory2 Apr 2026
38 more
- 2026Gaussian Process Limit Reveals Structural Benefits of Graph Transformers18 Mar 2026
- 2026Linearized Attention Cannot Enter the Kernel Regime at Any Practical Width13 Mar 2026
- 2026Algorithmic Task Capture, Computational Complexity, and Inductive Bias of Infinite Transformers11 Mar 2026
- 2026Mitigating Translationese Bias in Multilingual LLM-as-a-Judge via Disentangled Information Bottleneck11 Mar 2026
- 2026Semantic Tube Prediction: Beating LLM Data Efficiency with JEPA26 Feb 2026
- 2026Nonparametric Teaching of Attention Learners24 Feb 2026
- 2026Neural Network Quantum Field Theory from Transformer Architectures10 Feb 2026
- 2026Hyperparameter Transfer with Mixture-of-Expert Layers28 Jan 2026
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformers23 Jan 2026
- 2026Attention mechanisms in neural networks6 Jan 2026
- 2025Unifying Learning Dynamics and Generalization in Transformers Scaling Law26 Dec 2025
- 2025Shallow Neural Networks Learn Low-Degree Spherical Polynomials with Feature Learning by Learnable Channel Attention23 Dec 2025
- 2025Dynamical Implicit Neural Representations26 Nov 2025
- 2025Fermions and Supersymmetry in Neural Network Field Theories20 Nov 2025
- 2025When Bias Pretends to Be Truth: How Spurious Correlations Undermine Hallucination Detection in LLMs10 Nov 2025
- 2025Minimax Rates for Learning Pairwise Interactions in Attention-Style Models13 Oct 2025
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrix8 Oct 2025
- 2025Neighborhood Sampling Does Not Learn the Same Graph Neural Network26 Sep 2025
- 2025Bayes optimal learning of attention-indexed models2 Jun 2025
- 2025Infinite-Width Limit of a Single Attention Layer: Analysis via Tensor Programs1 Jun 2025
- 2025Divergence of Empirical Neural Tangent Kernel in Classification Problems15 Apr 2025
- 2025Global Convergence and Rich Feature Learning in L-Layer Infinite-Width Neural Networks under μP Parametrization12 Mar 2025
- 2025Softplus Attention with Re-weighting Boosts Length Extrapolation in Large Language Models23 Jan 2025
- 2025Issues with Neural Tangent Kernel Approach to Neural Networks19 Jan 2025
- 2024On Inductive Biases That Enable Generalization of Diffusion Transformers28 Oct 2024
- 2024Progressive distillation induces an implicit curriculum7 Oct 2024
- 2024Attention layers provably solve single-location regression2 Oct 2024
- 2024Variational Search Distributions10 Sep 2024
- 2024On the Convergence Analysis of Over-Parameterized Variational Autoencoders: A Neural Tangent Kernel Perspective9 Sep 2024
- 2024Neural varifolds: an aggregate representation for quantifying the geometry of point clouds5 Jul 2024
- 2024Optimized Speculative Sampling for GPU Hardware Accelerators16 Jun 2024
- 2024Understanding and Minimising Outlier Features in Neural Network Training29 May 2024
- 2024Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformers24 May 2024
- 2024Infinite Limits of Multi-head Transformer Dynamics24 May 2024
- 2024Wilsonian Renormalization of Neural Network Gaussian Processes9 May 2024
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamics7 May 2024
- 2024A Unified Kernel for Neural Network Learning26 Mar 2024
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implications11 Mar 2024
50 newest of 117 All 117 (JSON)
- 2024Optimized Speculative Sampling for GPU Hardware Accelerators16 Jun 2024
- 2026Hyperparameter Transfer with Mixture-of-Expert Layerscited by 10
- 2026Hyperparameter Transfer with Mixture-of-Expert Layers28 Jan 2026
- 2022How Do Vision Transformers Work?cited by 305
- 2021Dataset Distillation with Infinitely Wide Convolutional Networkscited by 215
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
- 2022Efficient Dataset Distillation Using Random Feature Approximationcited by 111
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 91
- 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
- 2022Fast Finite Width Neural Tangent Kernelcited by 62
- 2021Tensor Programs IIb: Architectural Universality of Neural Tangent Kernel Training Dynamicscited by 57
12 most cited of 112 All 112 (JSON)
- 2026Quantitative Gaussian-Process limits of Tensor Programs7 Jul 2026
- 2026Channel Location Constrains the Auditability of Subliminal Learning20 Jun 2026
- 2026Kernel Renormalization in Bayesian Deep Neural Networks: the Equivalent Wishart Ansatz in the Proportional Regime28 May 2026
- 2026Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noise12 May 2026
- 2026A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention12 May 2026
- 2026A Dual Representation of Influence Functions for Linearizable Models11 May 2026
- 2026On the global convergence of gradient flow for wide shallow models beyond homogeneous nonlinearities11 May 2026
- 2026Rethinking Random Transformers as Adaptive Sequence Smoothers for Sleep Staging11 May 2026
- 2026Convergent Stochastic Training of Multi-Headed Attention and Understanding LoRA8 May 2026
- 2026How Does Attention Help? Insights from Random Matrices on Signal Recovery from Sequence Models7 May 2026
- 2026There Will Be a Scientific Theory of Deep Learning23 Apr 2026
- 2026Topological Effects in Neural Network Field Theory2 Apr 2026
12 newest of 112 All 112 (JSON)