Transformers are Deep Infinite-Dimensional Non-Mercer Binary Kernel Machines
Not on the map. Why?
Abstract (arXiv)
Despite their ubiquity in core AI fields like natural language processing, the mechanics of deep attention-based neural networks like the Transformer model are not fully understood. In this article, we present a new perspective towards understanding how Transformers work. In particular, we show that the "dot-product attention" that is the core of the Transformer's operation can be characterized as a kernel learning method on a pair of Banach spaces. In particular, the Transformer's kernel is characterized as having an infinite feature dimension. Along the way we consider an extension of the standard kernel learning problem to a binary setting, where data come from two input domains and a response is defined for every cross-domain pair. We prove a new representer theorem for these binary kernel machines with non-Mercer (indefinite, asymmetric) kernels (implying that the functions learned are elements of reproducing kernel Banach spaces rather than Hilbert spaces), and also prove a new universal approximation theorem showing that the Transformer calculation can learn any binary non-Mercer reproducing kernel Banach space pair. We experiment with new kernels in Transformers, and obtain results that suggest the infinite dimensionality of the standard Transformer kernel is partially responsible for its performance. This paper's results provide a new theoretical understanding of a very important but poorly understood model in modern machine~learning.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 28 of its 93 references that are in the map. First posted on arXiv 2 Jun 2021.
Builds on
28 of 93 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017Graph Attention Networkscited by 8,854
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
16 more
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 108
- 2013Dropout Training as Adaptive Regularizationcited by 89
- 2018Tensor2Tensor for Neural Machine Translationcited by 85
- 2019On Reproducing Kernel Banach Spaces: Generic Definitions and Unified Framework of Constructionscited by 29
- 2020Dropout: Explicit Forms and Capacity Controlcited by 27
- 2014Metric and non-metric proximity transformations at linear costscited by 5
- 2018A probabilistic framework for multi-view feature learning with many-to-many associations via neural networkscited by 5
Built on by
Citing papers per year: 2022: 2; 2023: 7; 2024: 8; 2025: 3; 2026: 2.
22 papers.
Sort:
By area:
- 2023Scalable Transformer for PDE Surrogate Modelingcited by 123
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024Continuum Attention for Neural Operatorscited by 39
- 2023Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representationcited by 28
- 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methodscited by 13
- 2023Linear Log-Normal Attention with Unbiased Concentrationcited by 11
- 2022Non-equispaced Fourier Neural Solvers for PDEscited by 8
- 2022Random Fourier Features for Asymmetric Kernelscited by 7
- 2023Nonlinear SVD with Asymmetric Kernels: feature learning and asymmetric Nystr"om methodcited by 5
- 2024Approximation of relation functions and attention mechanismscited by 5
- 2023Learning multi-modal generative models with permutation-invariant encoders and tighter variational objectivescited by 4
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
10 more
- 2023Learning Functional Transductioncited by 2
- 2024Learning Analysis of Kernel Ridgeless Regression with Asymmetric Kernel Learningcited by 2
- 2024Learning in Feature Spaces via Coupled Covariances: Asymmetric Kernel SVD and Nystr"om methodcited by 2
- 2024Mirror Descent on Reproducing Kernel Banach Spacescited by 2
- 2025Tokenizing Electron Cloud in Protein-Ligand Interaction Learningcited by 2
- 2025On the Complexity-Faithfulness Trade-off of Gradient-Based Explanationscited by 2
- 2024Modern Hopfield Networks meet Encoded Neural Representations -- Addressing Practical Considerationscited by 0
- 2024An Attention-based Framework for Fair Contrastive Learningcited by 0
- 2026From Self-Attention to Connection Laplacian: A Unified Operator View of Transformerscited by 0
- 2026Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contextscited by 0
- 2026Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts30 Sep 2026
- 2026From Self-Attention to Connection Laplacian: A Unified Operator View of Transformers12 Jul 2026
- 2025On the Complexity-Faithfulness Trade-off of Gradient-Based Explanations14 Aug 2025
- 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methods12 Jun 2025
- 2025Tokenizing Electron Cloud in Protein-Ligand Interaction Learning25 May 2025
- 2024An Attention-based Framework for Fair Contrastive Learning22 Nov 2024
- 2024Mirror Descent on Reproducing Kernel Banach Spaces18 Nov 2024
- 2024Modern Hopfield Networks meet Encoded Neural Representations -- Addressing Practical Considerations24 Sep 2024
- 2024Learning in Feature Spaces via Coupled Covariances: Asymmetric Kernel SVD and Nystr"om method13 Jun 2024
- 2024Continuum Attention for Neural Operators10 Jun 2024
- 2024Learning Analysis of Kernel Ridgeless Regression with Asymmetric Kernel Learning3 Jun 2024
- 2024Approximation of relation functions and attention mechanisms13 Feb 2024
10 more
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes2 Feb 2024
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Context11 Dec 2023
- 2023Linear Log-Normal Attention with Unbiased Concentration22 Nov 2023
- 2023Learning multi-modal generative models with permutation-invariant encoders and tighter variational objectives1 Sep 2023
- 2023Nonlinear SVD with Asymmetric Kernels: feature learning and asymmetric Nystr"om method12 Jun 2023
- 2023Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation31 May 2023
- 2023Scalable Transformer for PDE Surrogate Modeling27 May 2023
- 2023Learning Functional Transduction1 Feb 2023
- 2022Non-equispaced Fourier Neural Solvers for PDEs9 Dec 2022
- 2022Random Fourier Features for Asymmetric Kernels18 Sep 2022
- 2023Scalable Transformer for PDE Surrogate Modelingcited by 123
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024Continuum Attention for Neural Operatorscited by 39
- 2023Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representationcited by 28
- 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methodscited by 13
- 2023Linear Log-Normal Attention with Unbiased Concentrationcited by 11
- 2022Non-equispaced Fourier Neural Solvers for PDEscited by 8
- 2022Random Fourier Features for Asymmetric Kernelscited by 7
- 2023Nonlinear SVD with Asymmetric Kernels: feature learning and asymmetric Nystr"om methodcited by 5
- 2024Approximation of relation functions and attention mechanismscited by 5
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
- 2023Learning Functional Transductioncited by 2
12 most cited of 21 All 21 (JSON)
- 2026Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts30 Sep 2026
- 2026From Self-Attention to Connection Laplacian: A Unified Operator View of Transformers12 Jul 2026
- 2025On the Complexity-Faithfulness Trade-off of Gradient-Based Explanations14 Aug 2025
- 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methods12 Jun 2025
- 2025Tokenizing Electron Cloud in Protein-Ligand Interaction Learning25 May 2025
- 2024An Attention-based Framework for Fair Contrastive Learning22 Nov 2024
- 2024Mirror Descent on Reproducing Kernel Banach Spaces18 Nov 2024
- 2024Modern Hopfield Networks meet Encoded Neural Representations -- Addressing Practical Considerations24 Sep 2024
- 2024Learning in Feature Spaces via Coupled Covariances: Asymmetric Kernel SVD and Nystr"om method13 Jun 2024
- 2024Continuum Attention for Neural Operators10 Jun 2024
- 2024Learning Analysis of Kernel Ridgeless Regression with Asymmetric Kernel Learning3 Jun 2024
- 2024Approximation of relation functions and attention mechanisms13 Feb 2024
12 newest of 21 All 21 (JSON)