mlsanityData to 14 Oct 2026

Tensor Product Attention Is All You Need

arXiv 2501.06425 ↗First posted 11 Jan 2025cs.CL cs.AI cs.LGcited by 31

Not on the map. Why?

Abstract (arXiv)

Scaling language models to handle longer input sequences typically necessitates large key-value (KV) caches, resulting in substantial memory overhead during inference. In this paper, we propose Tensor Product Attention (TPA), a novel attention mechanism that uses tensor decompositions to represent queries, keys, and values compactly, substantially shrinking the KV cache size at inference time. By factorizing these representations into contextual low-rank components and seamlessly integrating with Rotary Position Embedding (RoPE), TPA achieves improved model quality alongside memory efficiency. Based on TPA, we introduce the Tensor ProducT ATTenTion Transformer (T6), a new model architecture for sequence modeling. Through extensive empirical evaluation on language modeling tasks, we demonstrate that T6 surpasses or matches the performance of standard Transformer baselines including Multi-Head Attention (MHA), Multi-Query Attention (MQA), Grouped-Query Attention (GQA), and Multi-Head Latent Attention (MLA) across various metrics, including perplexity and a range of established evaluation benchmarks. Notably, TPA's memory efficiency and computational efficiency at decoding stage enables processing longer sequences under fixed resource constraints, addressing a critical scalability challenge in modern language models. Project Page: https://github.com/tensorgi/TPA.

Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 59 of its 73 references that are in the map. First posted on arXiv 11 Jan 2025.

Builds on

59 of 73 references.

References · 59

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  9. 2023Qwen Technical Reportcited by 3,344
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  12. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
38 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  2. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  3. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  4. 2020GLU Variants Improve Transformercited by 1,804
  5. 2020Rethinking Attention with Performerscited by 1,601
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  7. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  8. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  9. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  10. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  11. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  12. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  13. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
  14. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  15. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  16. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  17. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  18. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  19. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
  20. 2023Trained Transformers Learn Linear Models In-Contextcited by 337
  21. 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
  22. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  23. 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 204
  24. 2024InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learningcited by 198
  25. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inferencecited by 134
  26. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
  27. 2022A Kernel-Based View of Language Model Fine-Tuningcited by 121
  28. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
  29. 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
  30. 2023The Expressive Power of Low-Rank Adaptationcited by 102
  31. 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 89
  32. 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
  33. 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compressioncited by 72
  34. 2024Analyzing and Reducing Catastrophic Forgetting in Parameter Efficient Tuningcited by 60
  35. 2019Quick and (not so) Dirty: Unsupervised Selection of Justification Sentences for Multi-hop Question Answeringcited by 59
  36. 2024FastDecode: High-Throughput GPU-Efficient LLM Serving using Heterogeneous Pipelinescited by 49
  37. 2024OLoRA: Orthonormal Low-Rank Adaptation of Large Language Modelscited by 39
  38. 2019Sharing Attention Weights for Fast Transformercited by 34

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 17; 2026: 14.

31 papers.

Sort:

By area:

  1. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
  2. 2025TransMLA: Multi-Head Latent Attention Is All You Needcited by 23
  3. 2025Theoretical Guarantees for High Order Trajectory Refinement in Generative Flowscited by 10
  4. 2025Hardware-Efficient Attention for Fast Decodingcited by 10
  5. 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?cited by 10
  6. 2025UniGist: Towards General and Hardware-aligned Sequence-level Long Context Compressioncited by 9
  7. 2025Mustafar: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inferencecited by 7
  8. 2025AdaGC: Enhancing LLM Pretraining Stability via Adaptive Gradient Clippingcited by 6
  9. 2025Quantum-Enhanced LLM Efficient Fine Tuningcited by 6
  10. 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 4
  11. 2025SAS: Simulated Attention Scorecited by 4
  12. 2026Tucker Attention: A generalization of approximate attention mechanismscited by 3
19 more
  1. 2025Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decodingcited by 2
  2. 2025Theoretical Foundation of Flow-Based Time Series Generation: Provable Approximation, Generalization, and Efficiencycited by 2
  3. 2026Low-Rank Key Value Attentioncited by 2
  4. 2026Explicit Multi-head Attention for Inter-head Interaction in Large Language Modelscited by 2
  5. 2026Multi-Head Low-Rank Attentioncited by 2
  6. 2025Softplus Attention with Re-weighting Boosts Length Extrapolation in Large Language Modelscited by 1
  7. 2025Union of Experts: Adapting Hierarchical Routing to Equivalently Decomposed Transformercited by 1
  8. 2026WaveFilter: Enhancing the Long-Context Capability of Diffusion LLMs via Wavelet-Guided KV Cache Filteringcited by 1
  9. 2025Physical models realizing the transformer architecture of large language modelscited by 0
  10. 2025Exact Causal Attention with 10% Fewer Operationscited by 0
  11. 2026M2I2HA: Multi-modal Object Detection Based on Intra- and Inter-Modal Hypergraph Attentioncited by 0
  12. 2026Product Interaction: An Algebraic Formalism for Deep Learning Architecturescited by 0
  13. 2026Cubit: Token Mixer with Kernel Ridge Regressioncited by 0
  14. 2026LESSViT: Robust Hyperspectral Representation Learning under Spectral Configuration Shiftcited by 0
  15. 2026When AI meets quantum information: A comprehensive reviewcited by 0
  16. 2026From Self-Attention to Connection Laplacian: A Unified Operator View of Transformerscited by 0
  17. 2026Optimal Power Allocation and AI Receiver Design for Superimposed DMRS and Data Transmissioncited by 0
  18. 2026Kronecker Product Attention: Memory-Efficient KV Compression via Structured Factorizationcited by 0
  19. 2026Virtual Head Attentioncited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025KQ-SVD: Compressing the KV Cache with Provable Guarantees on Attention Fidelity
  2. 2025TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inference
  3. 2025Efficient Low Rank Attention for Long-Context Inference in Large Language Models
  4. 2025Paged Attention Meets FlexAttention: Unlocking Long-Context Efficiency in Deployed Inference
  5. 2026A JoLT for the KV cache: Near-Lossless KV Cache Compression via Joint Rank-bit Allocation
  6. 2026Kwai Summary Attention Technical Report
  7. 2026Learning how to Forget: Fine-tuning for Long-Context Sparse Attention
  8. 2026Ragged Paged Attention: A High-Performance and Flexible LLM Inference Kernel for TPU