TokenButler: Token Importance is Predictable
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Large Language Models (LLMs) rely on the Key-Value (KV) Cache to store token history, enabling efficient decoding of tokens. As the KV-Cache grows, it becomes a major memory and computation bottleneck. However, there is an opportunity to alleviate this bottleneck, prior research has shown that only a small subset of tokens contribute meaningfully to each decoding step. A key challenge in finding these critical tokens is that they are dynamic, and heavily input query-dependent. Existing methods either risk quality by evicting tokens permanently, or retain the full KV-Cache but rely on retrieving chunks of tokens and many existing KV-Cache sparsity methods rely on inaccurate proxies for token importance. To address these limitations, we introduce TokenButler, a high-granularity, query-aware predictor that learns to identify these critical tokens. TokenButler predicts low-dimensional importance queries at a fixed depth stride, and combines them with a learned projection of the real KV-cache keys to score tokens cheaply, enabling dynamic per-token selection under a fixed budget while preserving the full KV cache. We train TokenButler by distilling the model's masked causal attention distributions, optimizing a lightweight predictor with minimal parameter overhead. We evaluate TokenButler on a novel synthetic small-context co-referential retrieval task, demonstrating near-oracle accuracy where existing methods fail. Furthermore, TokenButler achieves competitive or superior performance on long-context benchmarks (RULER, LongBench), up to ≈1.6× on-GPU speedup using our proposed *prediction interval with neighbor fetching* that amortizes predictor cost while maintaining accuracy within ≈1.1%, and up to 7.6× reduction in latency compared to Dense Attention with CPU offloading. Code is available: https://github.com/abdelfattah-lab/TokenButler
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 29 of its 38 references that are in the map. First posted on arXiv 10 Mar 2025.
Builds on
29 of 38 references.
Closest ancestors · 9
Same direction, newest first
- 2024Attamba: Attending To Multi-Token States26 Nov
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection5 Nov
- 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Models23 May
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 20
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
8 more
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
- 2023Benchmarking Large Language Models for News Summarizationcited by 444
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 85
- 2024ShadowLLM: Predictor-based Contextual Sparsity for Large Language Modelscited by 13
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodalitycited by 49
- 2025FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inferencecited by 14
- 2025xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extractioncited by 13
- 2025Why 1 + 1 < 1 in Visual Token Pruning: Beyond Naive Integration via Multi-Objective Balanced Coveringcited by 10
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Researchcited by 0
- 2026Is my model perplexed for the right reason? Contrasting LLMs' Benchmark Behavior with Token-Level Perplexitycited by 0
- 2026Computational Challenges in Token Economics: Bridging Economic Theory and AI System Designcited by 0
- 2026ART: Attention Run-time Termination for Efficient Large Language Model Decodingcited by 0
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimizationcited by 0
- 2026OVAL: Output-Aware Local Page Bases for KV Cache Retrievalcited by 0
- 2026OVAL: Output-Aware Local Page Bases for KV Cache Retrieval5 Oct 2026
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimization6 Jul 2026
- 2026Computational Challenges in Token Economics: Bridging Economic Theory and AI System Design17 May 2026
- 2026ART: Attention Run-time Termination for Efficient Large Language Model Decoding15 Apr 2026
- 2026Is my model perplexed for the right reason? Contrasting LLMs' Benchmark Behavior with Token-Level Perplexity31 Mar 2026
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Research10 Jan 2026
- 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodality23 May 2025
- 2025FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inference19 May 2025
- 2025Why 1 + 1 < 1 in Visual Token Pruning: Beyond Naive Integration via Multi-Objective Balanced Covering15 May 2025
- 2025xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extraction24 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction
- 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads
- 2024HashEvict: A Pre-Attention KV Cache Eviction Strategy using Locality-Sensitive Hashing
- 2026Where Matters More Than What: Decoding-aligned KV Cache Compression via Position-aware Pseudo Queries
- 2024More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression
- 2025OrthoRank: Token Selection via Sink Token Orthogonality for Efficient LLM inference
- 2024Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
- 2025Spotlight Attention: Towards Efficient LLM Generation via Non-linear Hashing-based KV Cache Retrieval