EarlySelectKV: Anticipatory KV Selection via Cross-Layer Query Proxies
Not on the map. Why?
Abstract (arXiv)
Query-conditioned sparse KV selection reduces long-context inference cost by attending to a subset of historical KV entries at each decoding step. Existing selectors must wait for the target-layer query before scoring candidates and generating indices, placing routing on the immediate pre-attention path. We introduce EarlySelectKV, a training-free transformation that uses proxy queries from earlier hidden states to precompute selected KV indices while retaining the real target-layer query for final attention. Tests with RocketKV, Quest, and Loki show no consistent pattern of quality degradation across the evaluated settings. In the primary RocketKV evaluation, ES-RocketKV differs by +0.018 points on LongBench, approximately -0.01 points on RULER, and +0.25 percentage points on representative NIAH/Passkey settings. In a TensorRT-LLM deployment with CPU-offloaded routing, ES-RocketKV improves end-to-end output throughput by up to 12.4% and reduces GPU-resident memory by 11.1% of the combined KV/K-summary pool. This makes routing timing an explicit optimization target alongside KV subset selection in sparse long-context decoding. Code is available at https://github.com/sea-with-sakura/EarlySelectKV.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 23 of its 25 references that are in the map. Submitted 1 Nov 2026.
Builds on
23 of 25 references.
References · 23
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 892
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 780
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 471
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 384
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 272
11 more
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 163
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 139
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 136
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 133
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 106
- 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compressioncited by 47
- 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 46
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 44
- 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Querycited by 19
- 2026ScoutAttention: Efficient KV Cache Offloading via Layer-Ahead CPU Pre-computation for LLM Inferencecited by 3
Built on by
Not cited yet.