Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decoding
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
The key-value (KV) cache in the tensor version of transformers presents a significant bottleneck during inference. While previous work analyzes the fundamental space complexity barriers in standard attention mechanisms [Haris and Onak, 2025], our work generalizes the space complexity barriers result to tensor attention version. Our theoretical contributions rely on a reduction from communication complexity and deduce the memory lower bound for tensor-structured attention mechanisms when d = Omega(log n). Furthermore, we introduce two types of tensor attention cache and present a trade-off between time and memory for two scenarios. Overall, our work provides a theoretical foundation for us to understand the time-memory tradeoff of KV-Cache compression in tensor attention decoding and offers more perspectives in developing more memory-efficient tensor attention Transformer architectures.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 121 of its 159 references that are in the map. First posted on arXiv 14 Mar 2025.
Builds on
121 of 159 references.
Closest ancestors · 6
Same direction, newest first
- 2025Compression Barriers for Autoregressive Transformers21 Feb
- 2024Compute Or Load KV Cache? Why Not Both?4 Oct
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Models23 May
- 2024SubGen: Token Generation in Sublinear Time and Memory8 Feb
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May
Other references · 115
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
38 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,023
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 781
- 2018Image Transformercited by 772
- 2022Transformers learn in-context by gradient descentcited by 732
- 2023LLaMA-Adapter V2: Parameter-Efficient Visual Instruction Modelcited by 602
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2014Sketching as a Tool for Numerical Linear Algebracited by 288
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023Representational Strengths and Limitations of Transformerscited by 133
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2017Recovery Guarantees for One-hidden-layer Neural Networkscited by 94
- 2024FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matchingcited by 80
- 2014Spectral Methods meet EM: A Provably Optimal Algorithm for Crowdsourcingcited by 63
- 2024QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overheadcited by 52
- 2023An Over-parameterized Exponential Regressioncited by 45
- 2023Solving Regularized Exp, Cosh and Sinh Regression Problemscited by 44
- 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
- 2024SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Modelscited by 44
- 2023On Sparse Modern Hopfield Modelcited by 42
- 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
- 2024On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)cited by 40
- 2013Sequential Transfer in Multi-armed Bandit with Finite Set of Modelscited by 38
- 2023Randomized and Deterministic Attention Sparsification Algorithms for Over-parameterized Feature Dimensioncited by 37
- 2017Tensor Robust Principal Component Analysis: Exact Recovery of Corrupted Low-Rank Tensors via Convex Optimizationcited by 35
- 2023An Iterative Algorithm for Rescaled Hyperbolic Functions Regressioncited by 35
- 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
- 2023In-Context Learning for Attention Scheme: from Single Softmax Regression to Multiple Softmax Regression via a Tensor Trickcited by 32
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
50 most cited of 115 All 115 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Tensor Cache: Eviction-conditioned Associative Memory for Transformers
- 2026KV Cache Compression Through the Lens of Transform Coding
- 2026Towards Tight Bounds for Streaming Attention
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression
- 2026Multi-Head Low-Rank Attention
- 2026The risk of KV cache compression
- 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inference
- 2023Deep Tensor Network