mlsanityData to 7 Oct 2026

TokenButler: Token Importance is Predictable

arXiv 2503.07518 ↗First posted 10 Mar 2025cs.CL cs.AI cs.LGcited by 11

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

  1. 2024Attamba: Attending To Multi-Token States26 Nov
  2. 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection5 Nov
  3. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct
  4. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  5. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  6. 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Models23 May
  7. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  8. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  9. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun

Other references · 20

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2022Emergent Abilities of Large Language Modelscited by 2,483
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  5. 2020Rethinking Attention with Performerscited by 1,584
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  8. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  9. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  10. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
  11. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  12. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
8 more
  1. 2022Efficiently Scaling Transformer Inferencecited by 529
  2. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
  3. 2023Benchmarking Large Language Models for News Summarizationcited by 444
  4. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  5. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
  6. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
  7. 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 85
  8. 2024ShadowLLM: Predictor-based Contextual Sparsity for Large Language Modelscited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 7.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction
  2. 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads
  3. 2024HashEvict: A Pre-Attention KV Cache Eviction Strategy using Locality-Sensitive Hashing
  4. 2026Where Matters More Than What: Decoding-aligned KV Cache Compression via Position-aware Pseudo Queries
  5. 2024More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression
  6. 2025OrthoRank: Token Selection via Sink Token Orthogonality for Efficient LLM inference
  7. 2024Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
  8. 2025Spotlight Attention: Towards Efficient LLM Generation via Non-linear Hashing-based KV Cache Retrieval