A Self-Pruning Transformer: Extreme KV-Cache Compression with Universal Attention
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
The large KV-cache size of modern LLMs creates a barrier to efficient deployment. Recent work has explored replacing attention layers' RoPE positional embeddings with alternative decay-based mechanisms, which can then be used to prune KV-cache during inference. However, these decay functions have limited expressivity, and in practice devolve into sliding-window-like eviction patterns. In this work, we propose a unifying framework for complementary and novel decay mechanisms, capturing complex key statistics and interactions while preserving expressive RoPE embeddings and Softmax attention. The resulting Universal Attention is a highly expressive and end-to-end trainable architecture, whose composite decay mechanism acts as a natural, textitadaptive pruning criterion, removing tokens that contribute least to attention computation. Experimentally, Universal Attention achieves state-of-the-art 10× compression on natural language and synthetic task data, while textitimproving downstream performance compared to both state-of-the-art baselines and unpruned oracles. It further demonstrates superior long-context generalization with unprecedented 25× compression at length 16k.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 46 of its 54 references that are in the map. First posted on arXiv 6 Oct 2026.
Builds on
46 of 54 references.
Closest ancestors · 8
Same direction, newest first
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution1 Oct
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Acceleration6 Jun
- 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environments21 Apr
- 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Eviction18 Apr
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving2 Jan
- 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference21 May
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 38
- 2017Attention Is All You Needcited by 59,932
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
26 more
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
- 2020Sparse GPU Kernels for Deep Learningcited by 138
- 2026FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scalingcited by 58
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
- 2024DeciMamba: Exploring the Length Extrapolation Potential of Mambacited by 45
- 2025Log-Linear Attentioncited by 39
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 32
- 2025Adaptive Computation Pruning for the Forgetting Transformercited by 6
- 2025Trainable Dynamic Mask Sparse Attentioncited by 6
- 2026AsyncSparse: Accelerating Sparse Matrix-Matrix Multiplication on Asynchronous GPU Architecturescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025HCAttention: Extreme KV Cache Compression via Heterogeneous Attention Computing for LLMs
- 2025SALS: Sparse Attention in Latent Space for KV cache Compression
- 2025Lethe: Layer- and Time-Adaptive KV Cache Pruning for Reasoning-Intensive LLM Serving
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference
- 2024Cross-Self KV Cache Pruning for Efficient Vision-Language Inference
- 2026A JoLT for the KV cache: Near-Lossless KV Cache Compression via Joint Rank-bit Allocation
- 2025AttentionPredictor: Temporal Patterns Matter for KV Cache Compression
- 2026AttSVD:Prompt-Adaptive Low-Rank KV Cache Compression via Attention-Guided SVD