Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation
Not on the map. Why?
Abstract (arXiv)
Recently, a new line of works has emerged to understand and improve self-attention in Transformers by treating it as a kernel machine. However, existing works apply the methods for symmetric kernels to the asymmetric self-attention, resulting in a nontrivial gap between the analytical understanding and numerical implementation. In this paper, we provide a new perspective to represent and optimize self-attention through asymmetric Kernel Singular Value Decomposition (KSVD), which is also motivated by the low-rank property of self-attention normally observed in deep layers. Through asymmetric KSVD, i) a primal-dual representation of self-attention is formulated, where the optimization objective is cast to maximize the projection variances in the attention outputs; ii) a novel attention mechanism, i.e., Primal-Attention, is proposed via the primal representation of KSVD, avoiding explicit computation of the kernel matrix in the dual; iii) with KKT conditions, we prove that the stationary solution to the KSVD optimization in Primal-Attention yields a zero-value objective. In this manner, KSVD optimization can be implemented by simply minimizing a regularization loss, so that low-rank property is promoted without extra decomposition. Numerical experiments show state-of-the-art performance of our Primal-Attention with improved efficiency. Moreover, we demonstrate that the deployed KSVD optimization regularizes Primal-Attention with a sharper singular value decay than that of the canonical self-attention, further verifying the great potential of our method. To the best of our knowledge, this is the first work that provides a primal-dual representation for the asymmetric kernel in self-attention and successfully applies it to modeling and optimization.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 37 of its 59 references that are in the map. First posted on arXiv 31 May 2023.
Builds on
37 of 59 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
25 more
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,406
- 2021Multiscale Vision Transformerscited by 896
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 636
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2020A Transformer-based Framework for Multivariate Time Series Representation Learningcited by 449
- 2021Random Feature Attentioncited by 350
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2018The UEA multivariate time series classification archive, 2018cited by 330
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
- 2022KERPLE: Kernelized Relative Positional Embedding for Length Extrapolationcited by 84
- 2022Flowformer: Linearizing Transformers with Conservation Flowscited by 69
- 2021Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr"om Methodcited by 61
- 2019On Reproducing Kernel Banach Spaces: Generic Definitions and Unified Framework of Constructionscited by 29
- 2021Improving Transformers with Probabilistic Attention Keyscited by 28
- 2021Transformers are Deep Infinite-Dimensional Non-Mercer Binary Kernel Machinescited by 22
- 2022Jigsaw-ViT: Learning Jigsaw Puzzles in Vision Transformercited by 21
- 2021You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Samplingcited by 17
Built on by
Citing papers per year: 2023: 3; 2024: 11; 2025: 9; 2026: 5.
28 papers.
Sort:
By area:
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024In-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitznesscited by 22
- 2024WellDunn: On the Robustness and Explainability of Language Models and Large Language Models in Identifying Wellness Dimensionscited by 10
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representationcited by 9
- 2023Learning to Compute Gr"obner Basescited by 7
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysiscited by 7
- 2024Elliptical Attentioncited by 7
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domaincited by 3
- 2024Learning Analysis of Kernel Ridgeless Regression with Asymmetric Kernel Learningcited by 2
16 more
- 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
- 2024Reorganizing attention-space geometry with expressive attentioncited by 1
- 2025SchoenbAt: Rethinking Attention with Polynomial basiscited by 1
- 2025Beyond Motion Cues and Structural Sparsity: Revisiting Small Moving Target Detectioncited by 1
- 2026Interpretable Vision Transformers in Image Classification via SVDAcited by 1
- 2026QUEST: A robust attention formulation using query-modulated spherical attentioncited by 1
- 2024A Kernelizable Primal-Dual Formulation of the Multilinear Singular Value Decompositioncited by 0
- 2025A Reproduction Study: The Kernel PCA Interpretation of Self-Attention Fails Under Scrutinycited by 0
- 2025Revisiting Transformers with Insights from Image Filtering and Boostingcited by 0
- 2025Compact Vision Transformer by Reduction of Kernel Complexitycited by 0
- 2025DistrAttention: An Efficient and Flexible Self-Attention Mechanism on Modern GPUscited by 0
- 2025Rethinking PCA Through Dualitycited by 0
- 2026Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibrationcited by 0
- 2026Self-Attention as Transport: Limits of Symmetric Spectral Diagnosticscited by 0
- 2026Prescriptive SVD-Inspired Attention via Spectral Energy Retentioncited by 0
- 2026Prescriptive SVD-Inspired Attention via Spectral Energy Retention21 Sep 2026
- 2026Self-Attention as Transport: Limits of Symmetric Spectral Diagnostics6 May 2026
- 2026QUEST: A robust attention formulation using query-modulated spherical attention31 Mar 2026
- 2026Interpretable Vision Transformers in Image Classification via SVDA11 Feb 2026
- 2026Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibration9 Feb 2026
- 2025Rethinking PCA Through Duality20 Oct 2025
- 2025Beyond Motion Cues and Structural Sparsity: Revisiting Small Moving Target Detection9 Sep 2025
- 2025DistrAttention: An Efficient and Flexible Self-Attention Mechanism on Modern GPUs23 Jul 2025
- 2025Compact Vision Transformer by Reduction of Kernel Complexity17 Jul 2025
- 2025Revisiting Transformers with Insights from Image Filtering and Boosting12 Jun 2025
- 2025SchoenbAt: Rethinking Attention with Polynomial basis18 May 2025
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domain13 May 2025
16 more
- 2025A Reproduction Study: The Kernel PCA Interpretation of Self-Attention Fails Under Scrutiny12 May 2025
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representation27 Feb 2025
- 2024Mirror Descent on Reproducing Kernel Banach Spaces18 Nov 2024
- 2024A Kernelizable Primal-Dual Formulation of the Multilinear Singular Value Decomposition14 Oct 2024
- 2024Reorganizing attention-space geometry with expressive attention26 Jul 2024
- 2024Elliptical Attention19 Jun 2024
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis19 Jun 2024
- 2024WellDunn: On the Robustness and Explainability of Language Models and Large Language Models in Identifying Wellness Dimensions17 Jun 2024
- 2024Learning in Feature Spaces via Coupled Covariances: Asymmetric Kernel SVD and Nystr"om method13 Jun 2024
- 2024Learning Analysis of Kernel Ridgeless Regression with Asymmetric Kernel Learning3 Jun 2024
- 2024In-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitzness18 Feb 2024
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inference14 Feb 2024
- 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
- 2023Learning to Compute Gr"obner Bases21 Nov 2023
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey21 Nov 2023
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024In-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitznesscited by 22
- 2024WellDunn: On the Robustness and Explainability of Language Models and Large Language Models in Identifying Wellness Dimensionscited by 10
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representationcited by 9
- 2023Learning to Compute Gr"obner Basescited by 7
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysiscited by 7
- 2024Elliptical Attentioncited by 7
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domaincited by 3
- 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
12 most cited of 27 All 27 (JSON)
- 2026Prescriptive SVD-Inspired Attention via Spectral Energy Retention21 Sep 2026
- 2026Self-Attention as Transport: Limits of Symmetric Spectral Diagnostics6 May 2026
- 2026QUEST: A robust attention formulation using query-modulated spherical attention31 Mar 2026
- 2026Interpretable Vision Transformers in Image Classification via SVDA11 Feb 2026
- 2026Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibration9 Feb 2026
- 2025Rethinking PCA Through Duality20 Oct 2025
- 2025Beyond Motion Cues and Structural Sparsity: Revisiting Small Moving Target Detection9 Sep 2025
- 2025DistrAttention: An Efficient and Flexible Self-Attention Mechanism on Modern GPUs23 Jul 2025
- 2025Compact Vision Transformer by Reduction of Kernel Complexity17 Jul 2025
- 2025Revisiting Transformers with Insights from Image Filtering and Boosting12 Jun 2025
- 2025SchoenbAt: Rethinking Attention with Polynomial basis18 May 2025
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domain13 May 2025
12 newest of 27 All 27 (JSON)