mlsanityData to 14 Oct 2026

The Expressibility of Polynomial based Attention Scheme

arXiv 2310.20051 ↗First posted 30 Oct 2023cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have significantly improved various aspects of our daily lives. These models have impacted numerous domains, from healthcare to education, enhancing productivity, decision-making processes, and accessibility. As a result, they have influenced and, to some extent, reshaped people's lifestyles. However, the quadratic complexity of attention in transformer architectures poses a challenge when scaling up these models for processing long textual contexts. This issue makes it impractical to train very large models on lengthy texts or use them efficiently during inference. While a recent study by [KMZ23] introduced a technique that replaces the softmax with a polynomial function and polynomial sketching to speed up attention mechanisms, the theoretical understandings of this new approach are not yet well understood. In this paper, we offer a theoretical analysis of the expressive capabilities of polynomial attention. Our study reveals a disparity in the ability of high-degree and low-degree polynomial attention. Specifically, we construct two carefully designed datasets, namely D0 and D1, where D1 includes a feature with a significantly larger value compared to D0. We demonstrate that with a sufficiently high degree β, a single-layer polynomial attention network can distinguish between D0 and D1. However, with a low degree β, the network cannot effectively separate the two datasets. This analysis underscores the greater effectiveness of high-degree polynomials in amplifying large values and distinguishing between datasets. Our analysis offers insight into the representational capacity of polynomial attention and provides a rationale for incorporating higher-degree polynomials in attention mechanisms to capture intricate linguistic correlations.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 77 of its 112 references that are in the map. First posted on arXiv 30 Oct 2023.

Builds on

77 of 112 references.

References · 77

  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. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  8. 2017Graph Attention Networkscited by 8,923
  9. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  11. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  12. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
38 more
  1. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  2. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  5. 2020Rethinking Attention with Performerscited by 1,601
  6. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  7. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
  8. 2018Self-Attention with Relative Position Representationscited by 1,120
  9. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  10. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 735
  11. 2022Transformers learn in-context by gradient descentcited by 732
  12. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  13. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  14. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  15. 2017Convolutional Sequence to Sequence Learningcited by 552
  16. 2021A Survey of Transformerscited by 401
  17. 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 381
  18. 2023Fine-Tuning Language Models with Just Forward Passescited by 345
  19. 2023Mathematical Capabilities of ChatGPTcited by 268
  20. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
  21. 2023Solving Challenging Math Word Problems Using GPT-4 Code Interpreter with Code-based Self-Verificationcited by 166
  22. 2019Adaptive Attention Span in Transformerscited by 149
  23. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 122
  24. 2023A Theory for Emergence of Complex Skills in Language Modelscited by 113
  25. 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 105
  26. 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 102
  27. 2023Fast Attention Requires Bounded Entriescited by 102
  28. 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
  29. 2022Finding Skill Neurons in Pre-trained Transformer-based Language Modelscited by 66
  30. 2023KDEformer: Accelerating Transformers via Kernel Density Estimationcited by 58
  31. 2023Pairwise Proximal Policy Optimization: Harnessing Relative Feedback for LLM Alignmentcited by 57
  32. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  33. 2023Attention Scheme Inspired Softmax Regressioncited by 49
  34. 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
  35. 2021A Zeroth-Order Block Coordinate Descent Algorithm for Huge-Scale Black-Box Optimizationcited by 46
  36. 2023An Over-parameterized Exponential Regressioncited by 45
  37. 2023Solving Regularized Exp, Cosh and Sinh Regression Problemscited by 44
  38. 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44

50 most cited of 77 All 77 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 4.

7 papers.