mlsanityData to 7 Oct 2026

Memory Limitations of Prompt Tuning in Transformers

arXiv 2509.00421 ↗First posted 30 Aug 2025cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Despite the empirical success of prompt tuning in adapting pretrained language models to new tasks, theoretical analyses of its capabilities remain limited. Existing theoretical work primarily addresses universal approximation properties, demonstrating results comparable to standard weight tuning. In this paper, we explore a different aspect of the theory of transformers: the memorization capability of prompt tuning. We provide two principal theoretical contributions. First, we prove that the amount of information memorized by a transformer cannot scale faster than linearly with the prompt length. Second, and more importantly, we present the first formal proof of a phenomenon empirically observed in large language models: performance degradation in transformers with extended contexts. We rigorously demonstrate that transformers inherently have limited memory, constraining the amount of information they can retain, regardless of the context size. This finding offers a fundamental understanding of the intrinsic limitations of transformer architectures, particularly their ability to handle long sequences.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 38 of its 52 references that are in the map. First posted on arXiv 30 Aug 2025.

Builds on

38 of 52 references.

References · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  11. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  12. 2021Scaling Vision Transformerscited by 993
26 more
  1. 2022MaPLe: Multi-modal Prompt Learningcited by 685
  2. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
  3. 2018Invertible Residual Networkscited by 364
  4. 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
  5. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
  6. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  7. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
  8. 2020The Lipschitz Constant of Self-Attentioncited by 171
  9. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 150
  10. 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 136
  11. 2023The emergence of clusters in self-attention dynamicscited by 133
  12. 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAGcited by 122
  13. 2023Multitask Prompt Tuning Enables Parameter-Efficient Transfer Learningcited by 115
  14. 2024Summary of a Haystack: A Challenge to Long-Context LLMs and RAG Systemscited by 87
  15. 2023On the Role of Attention in Prompt-tuningcited by 49
  16. 2023Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?cited by 46
  17. 2023How Smooth Is Attention?cited by 44
  18. 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
  19. 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 39
  20. 2023Universality and Limitations of Prompt Tuningcited by 30
  21. 2024Prompting a Pretrained Transformer Can Be a Universal Approximatorcited by 25
  22. 2024Fundamental Limits of Prompt Tuning Transformers: Universality, Capacity and Efficiencycited by 21
  23. 2024Protein Multimer Structure Prediction via Prompt Learningcited by 11
  24. 2024On the Optimal Memorization Capacity of Transformerscited by 10
  25. 2025A Theoretical Framework for Prompt Engineering: Approximating Smooth Functions with Transformer Promptscited by 6
  26. 2024Nemesis: Normalizing the Soft-prompt Vectors of Vision-Language Modelscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.