mlsanityData to 14 Oct 2026

Solving Attention Kernel Regression Problem via Pre-conditioner

arXiv 2308.14304 ↗First posted 28 Aug 2023cs.LGcited by 20

Not on the map. Why?

Abstract (arXiv)

The attention mechanism is the key to large language models, and the attention matrix serves as an algorithmic and computational bottleneck for such a scheme. In this paper, we define two problems, motivated by designing fast algorithms for proxy of attention matrix and solving regressions against them. Given an input matrix A∈ ℝn× d with ngg d and a response vector b, we first consider the matrix exponential of the matrix A^top A as a proxy, and we in turn design algorithms for two types of regression problems: minx∈ ℝd|(A^top A)jx-b|2 and minx∈ ℝd|A(A^top A)jx-b|2 for any positive integer j. Studying algorithms for these regressions is essential, as matrix exponential can be approximated term-by-term via these smaller problems. The second proxy is applying exponential entrywise to the Gram matrix, denoted by exp(AA^top) and solving the regression minx∈ ℝn|exp(AA^top)x-b |2. We call this problem the attention kernel regression problem, as the matrix exp(AA^top) could be viewed as a kernel function with respect to A. We design fast algorithms for these regression problems, based on sketching and preconditioning. We hope these efforts will provide an alternative perspective of studying efficient approximation of attention matrices.

Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 59 of its 122 references that are in the map. First posted on arXiv 28 Aug 2023.

Builds on

59 of 122 references.

References · 59

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020Reformer: The Efficient Transformercited by 1,668
  5. 2020Rethinking Attention with Performerscited by 1,601
  6. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  7. 2015Attention-Based Models for Speech Recognitioncited by 401
  8. 2014Sketching as a Tool for Numerical Linear Algebracited by 288
  9. 2021Attention Mechanisms in Computer Vision: A Surveycited by 232
  10. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  11. 2023Fast Attention Requires Bounded Entriescited by 102
  12. 2018Solving Linear Programs in the Current Matrix Multiplication Timecited by 100
38 more
  1. 2021Training Multi-Layer Over-Parametrized Neural Network in Subquadratic Timecited by 62
  2. 2020Training (Overparametrized) Neural Networks in Near-Linear Timecited by 58
  3. 2023KDEformer: Accelerating Transformers via Kernel Density Estimationcited by 58
  4. 2019Solving Empirical Risk Minimization in the Current Matrix Multiplication Timecited by 53
  5. 2023Attention Scheme Inspired Softmax Regressioncited by 49
  6. 2017Relative Error Tensor Low Rank Approximationcited by 45
  7. 2023An Over-parameterized Exponential Regressioncited by 45
  8. 2023Solving Regularized Exp, Cosh and Sinh Regression Problemscited by 44
  9. 2020SMYRF: Efficient Attention using Asymmetric Clusteringcited by 43
  10. 2023Algorithm and Hardness for Dynamic Attention Maintenance in Large Language Modelscited by 37
  11. 2023Randomized and Deterministic Attention Sparsification Algorithms for Over-parameterized Feature Dimensioncited by 37
  12. 2022A Faster Small Treewidth SDP Solvercited by 36
  13. 2023An Iterative Algorithm for Rescaled Hyperbolic Functions Regressioncited by 35
  14. 2021Fast Sketching of Polynomial Kernels of Polynomial Degreecited by 33
  15. 2021Does Preprocessing Help Training Over-parameterized Neural Networks?cited by 32
  16. 2023Low Rank Matrix Completion via Robust Alternating Minimization in Nearly Linear Timecited by 31
  17. 2014Optimal CUR Matrix Decompositionscited by 29
  18. 2017Sketching for Kronecker Product Regression and P-splinescited by 29
  19. 2019Optimal Sketching for Kronecker Product Regression and Low Rank Approximationcited by 29
  20. 2020A Nearly-Linear Time Algorithm for Linear Programs with Small Treewidth: A Multiscale Representation of Robust Central Pathcited by 29
  21. 2022Bypass Exponential Time Preprocessing: Fast Neural Network Training via Weight-Data Correlation Preprocessingcited by 29
  22. 2023A Mathematical Abstraction for Balancing the Trade-off Between Creativity and Reality in Large Language Modelscited by 29
  23. 2022Faster Algorithm for Structured John Ellipsoid Computationcited by 28
  24. 2022Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerabilitycited by 25
  25. 2023Differentially Private Attention Computationcited by 25
  26. 2022Speeding Up Sparsification using Inner Product Search Data Structurescited by 22
  27. 2022A Sublinear Adversarial Training Algorithmcited by 22
  28. 2022Sketching Meets Differential Privacy: Fast Algorithm for Dynamic Kronecker Projection Maintenancecited by 22
  29. 2022Discrepancy Minimization in Input-Sparsity Timecited by 22
  30. 2021Breaking the Linear Iteration Cost Barrier for Some Well-known Conditional Gradient Methods Using MaxIP Data-structurescited by 19
  31. 2023Beyond Classical Attention: Quantum Attention for Scalable Computationcited by 18
  32. 2022Dynamic Tensor Product Regressioncited by 17
  33. 2021Sublinear Least-Squares Value Iteration via Locality Sensitive Hashingcited by 15
  34. 2023A General Algorithm for Solving Rank-one Matrix Sensingcited by 15
  35. 2020Space-Efficient Interior Point Method, with applications to Linear Programming and Maximum Weight Bipartite Matchingcited by 14
  36. 2022Adaptive and Dynamic Multi-Resolution Hashing for Pairwise Summationscited by 14
  37. 2023A Nearly-Optimal Bound for Fast Regression with ℓ_∞ Guaranteecited by 14
  38. 2018Towards a Zero-One Law for Column Subset Selectioncited by 12

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 5; 2024: 6; 2025: 7; 2026: 2.

20 papers.

Sort:

By area:

  1. 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
  2. 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
  3. 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
  4. 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
  5. 2023A Unified Scheme of ResNet and Softmaxcited by 12
  6. 2023Unmasking Transformers: A Theoretical Approach to Data Recovery via Attention Weightscited by 12
  7. 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolationcited by 11
  8. 2023Local Convergence of Approximate Newton Method for Two Layer Nonlinear Regressioncited by 9
  9. 2025Fast RoPE Attention: Combining the Polynomial Method and Fast Fourier Transformcited by 9
  10. 2023The Expressibility of Polynomial based Attention Schemecited by 7
  11. 2025Breaking the Frozen Subspace: Importance Sampling for Low-Rank Optimization in LLM Pretrainingcited by 7
  12. 2025Only Large Weights (And Not Skip Connections) Can Prevent the Perils of Rank Collapsecited by 7
8 more
  1. 2025Subquadratic Algorithms and Hardness for Attention with Any Temperaturecited by 5
  2. 2024Advancing the Understanding of Fixed Point Iterations in Deep Neural Networks: A Detailed Analytical Studycited by 4
  3. 2024LevAttention: Time, Space, and Streaming Efficient Algorithm for Heavy Attentionscited by 3
  4. 2025CoVE: Compressed Vocabulary Expansion Makes Better LLM-based Recommender Systemscited by 3
  5. 2024Binary Hypothesis Testing for Softmax Models and Leverage Score Modelscited by 1
  6. 2026Sublinear Time Quantum Algorithm for Attention Approximationcited by 1
  7. 2026Accelerating Regularized Attention Kernel Regression for Spectrum Cartographycited by 1
  8. 2025Which Coauthor Should I Nominate in My 99 ICLR Submissions? A Mathematical Analysis of the ICLR 2026 Reciprocal Reviewer Nomination Policycited by 0