mlsanityData to 7 Oct 2026

Near-Oracle KV Selection via Pre-hoc Sparsity for Long-Context Inference

arXiv 2602.08329 ↗First posted 9 Feb 2026cs.LG cs.AI cs.ITcited by 0

Not on the map. Why?

Abstract (arXiv)

A core bottleneck in large language model (LLM) inference is the cost of attending over the ever-growing key-value (KV) cache. Although near-oracle top-k KV selection can preserve the quality of dense attention while sharply reducing computation and bandwidth, existing sparse methods generally rely on posterior heuristics, i.e., selectors conditioned on observed attention or proxy scores. Such conditioning introduces posterior bias: it tends to distort true token importance and miss salient tokens, thereby impairing long-range reasoning. To tackle this problem, we propose Pre-hoc Sparsity (PrHS), which selects KV entries before attention scoring and provides explicit accuracy control. Let the attention mass of discarded entries be delta (the dropped mass). Through a marginal-to-mutual-information analysis, we derive an upper bound on the mutual-information loss that depends only on the dropped mass. This relation explains failure modes of posterior heuristics and enables verifiable guarantees by controlling the dropped mass in advance. Within PrHS, we instantiate three orthogonal pre-hoc selectors along the axes of time, depth, and layer. Extensive experiments on LLaMA and Mistral families validate PrHS. Across GSM8K and CoQA, PrHS reduces retrieval overhead by over 90%, achieving 3x higher retrieval sparsity than HShare at matched or better accuracy. It incurs under 1% average degradation on LongBench, lowers attention FLOPs by about 15% versus prior sparse baselines, and yields a 9.9x speedup in attention-operator latency and 2.8x higher throughput on NVIDIA A100-80GB GPUs than the dense baseline.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 9 Feb 2026.

Builds on

47 of 58 references.

References · 47

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2023Visual Instruction Tuningcited by 7,792
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2024GPT-4o System Cardcited by 4,467
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  8. 2023Mistral 7Bcited by 3,065
  9. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  10. 2025Qwen3-VL Technical Reportcited by 2,534
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  12. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
35 more
  1. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  2. 2023Video-LLaVA: Learning United Visual Representation by Alignment Before Projectioncited by 1,385
  3. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  4. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  5. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  6. 2018CoQA: A Conversational Question Answering Challengecited by 674
  7. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 487
  8. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
  9. 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 446
  10. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 420
  11. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
  12. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
  13. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
  14. 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
  15. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inferencecited by 132
  16. 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 122
  17. 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identificationcited by 86
  18. 2023On Learning to Summarize with Large Language Models as Referencescited by 80
  19. 2024Post-Training Sparse Attention with Double Sparsitycited by 45
  20. 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 38
  21. 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Modelscited by 30
  22. 2025VORTA: Efficient Video Diffusion via Routing Sparse Attentioncited by 23
  23. 2023Prophet: Prompting Large Language Models with Complementary Answer Heuristics for Knowledge-based Visual Question Answeringcited by 21
  24. 2024The Synergy between Data and Multi-Modal Large Language Models: A Survey from Co-Development Perspectivecited by 14
  25. 2025FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inferencecited by 14
  26. 2024Automatic Evaluation for Text-to-image Generation: Task-decomposed Framework, Distilled Training, and Meta-evaluation Benchmarkcited by 13
  27. 2023Global and Local Semantic Completion Learning for Vision-Language Pre-trainingcited by 12
  28. 2025A Causality-aware Paradigm for Evaluating Creativity of Multimodal Large Language Modelscited by 10
  29. 2024Multi-modal Retrieval Augmented Multi-modal Generation: Datasets, Evaluation Metrics and Strong Baselinescited by 9
  30. 2025Multimodal Reasoning Agent for Zero-Shot Composed Image Retrievalcited by 7
  31. 2024HashEvict: A Pre-Attention KV Cache Eviction Strategy using Locality-Sensitive Hashingcited by 6
  32. 2022Unsupervised Hashing with Semantic Concept Miningcited by 5
  33. 2025MLLM-Guided VLM Fine-Tuning with Joint Inference for Zero-Shot Composed Image Retrievalcited by 5
  34. 2024Enabling Energy-Efficient Deployment of Large Language Models on Memristor Crossbar: A Synergy of Large and Smallcited by 4
  35. 2025A Survey of Automatic Evaluation Methods on Text, Visual and Speech Generationscited by 4

Built on by

Not cited yet.