mlsanityData to 7 Oct 2026

LServe: Efficient Long-sequence LLM Serving with Unified Sparse Attention

arXiv 2502.14866 ↗First posted 20 Feb 2025cs.CL cs.AI cs.DCcited by 41

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Large language models (LLMs) have shown remarkable potential in processing long sequences and complex reasoning tasks, yet efficiently serving these models remains challenging due to the quadratic computational complexity of attention in the prefilling stage and the large memory footprint of the KV cache in the decoding stage. To address these issues, we introduce LServe, an efficient system that accelerates long-sequence LLM serving via hybrid sparse attention. This method unifies different hardware-friendly, structured sparsity patterns for both prefilling and decoding attention into a single framework, where computations on less important tokens are skipped block-wise. LServe demonstrates the compatibility of static and dynamic sparsity in long-context LLM attention. This design enables multiplicative speedups by combining these optimizations. Specifically, we convert half of the attention heads to nearly free streaming heads in both the prefilling and decoding stages. Additionally, we find that only a constant number of KV pages is required to preserve long-context and reasoning capabilities, irrespective of context length. We then design a hierarchical KV page selection policy that dynamically prunes KV pages based on query-centric similarity. On average, LServe accelerates LLM prefilling by up to 2.9x and decoding by 1.3-2.1x over vLLM, maintaining long-context accuracy. Code is released at https://github.com/mit-han-lab/omniserve.

Key facts. Cited by 41 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 40 of its 47 references that are in the map. First posted on arXiv 20 Feb 2025.

Builds on

40 of 47 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct
  2. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
  3. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  4. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attention21 May
  5. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
  7. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun

Other references · 33

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2023Visual Instruction Tuningcited by 7,792
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  7. 2023Mistral 7Bcited by 3,065
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  9. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  10. 2024Mixtral of Expertscited by 1,785
  11. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  12. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
21 more
  1. 2023StarCoder: may the source be with you!cited by 790
  2. 2023VILA: On Pre-training for Visual Language Modelscited by 686
  3. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
  4. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
  5. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  6. 2023Benchmarking Large Language Models for News Summarizationcited by 444
  7. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
  8. 2021Efficient Attentions for Long Document Summarizationcited by 342
  9. 2024LongVILA: Scaling Long-Context Visual Language Models for Long Videoscited by 303
  10. 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
  11. 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
  12. 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 200
  13. 2024Compact Language Models via Pruning and Knowledge Distillationcited by 142
  14. 2024O1 Replication Journey: A Strategic Progress Report -- Part 1cited by 140
  15. 2020Evaluating Factuality in Generation with Dependency-level Entailmentcited by 122
  16. 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 121
  17. 2024Transformers are Multi-State RNNscited by 120
  18. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 114
  19. 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 101
  20. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 93
  21. 2024NanoFlow: Towards Optimal Large Language Model Serving Throughputcited by 85

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 17; 2026: 24.

41 papers.

Sort:

By area:

  1. 2025A Survey of Context Engineering for Large Language Modelscited by 120
  2. 2025Radial Attention: O(nlog n) Sparse Attention with Energy Decay for Long Video Generationcited by 64
  3. 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoningcited by 28
  4. 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 27
  5. 2025Bidirectional Sparse Attention for Faster Video Diffusion Trainingcited by 18
  6. 2025Energy Use of AI Inference, Efficiency Pathways, and Test-Time Scalingcited by 12
  7. 2025Kascade: A Practical Sparse Attention Method for Long-Context LLM Inferencecited by 9
  8. 2026HySparse: A Hybrid Sparse Attention Architecture with Oracle Token Selection and KV Cache Sharingcited by 8
  9. 2025SpecPV: Improving Self-Speculative Decoding for Long-Context Generation via Partial Verificationcited by 7
  10. 2025Compact Attention: Exploiting Structured Spatio-Temporal Sparsity for Fast Video Generationcited by 5
  11. 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMscited by 5
  12. 2026Self-Indexing KVCache: Predicting Sparse Attention from Compressed Keyscited by 5
29 more
  1. 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inferencecited by 5
  2. 2026KVDrive: A Holistic Multi-Tier KV Cache Management System for Long-Context LLM Inferencecited by 5
  3. 2025PLM: Efficient Peripheral Language Models Hardware-Co-Designed for Ubiquitous Computingcited by 4
  4. 2025AnchorAttention: Difference-Aware Sparse Attention with Stripe Granularitycited by 4
  5. 2025Retrospective Sparse Attention for Efficient Long-Context Generationcited by 4
  6. 2025ShadowNPU: System and Algorithm Co-design for NPU-Centric On-Device LLM Inferencecited by 4
  7. 2025NOSA: Native and Offloadable Sparse Attentioncited by 4
  8. 2025FlexiCache: Leveraging Temporal Stability of Attention Heads for Efficient KV Cache Managementcited by 4
  9. 2026Unifying Sparse Attention with Hierarchical Memory for Scalable Long-Context LLM Servingcited by 4
  10. 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 3
  11. 2026From Static Inference to Dynamic Interaction: A Survey of Streaming Large Language Modelscited by 3
  12. 2025P/D-Device: Disaggregated Large Language Model between Cloud and Devicescited by 1
  13. 2025Training-free Context-adaptive Attention for Efficient Long Context Modelingcited by 1
  14. 2026Vortex: Efficient and Programmable Sparse Attention Serving for AI Agentscited by 1
  15. 2026LLM-CoOpt: A Co-Design and Optimization Framework for Efficient LLM Inference on Heterogeneous Platformscited by 0
  16. 2026WANSpec: Leveraging Global Compute Capacity for LLM Inferencecited by 0
  17. 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inferencecited by 0
  18. 2026Accuracy Is Speed: Towards Long-Context-Aware Routing for Distributed LLM Servingcited by 0
  19. 2026Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decodingcited by 0
  20. 2026STEEL: Sparsity-Aware Fused Attention for Energy-Efficient Long-Sequence Inference on AMD's XDNA NPUcited by 0
  21. 2026Learning how to Forget: Fine-tuning for Long-Context Sparse Attentioncited by 0
  22. 2026SAS: Simple Attention Sparsification via End-to-End Optimization of Context Rankingcited by 0
  23. 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inferencecited by 0
  24. 2026Can Agents Design Better Chips with a Higher Level Abstraction?cited by 0
  25. 2026Does Execution Require Target KV Fidelity? A Mixed-Fidelity KV Runtime for LLM Servingcited by 0
  26. 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decodingcited by 0
  27. 2026OmniTide: Co-Designing Algorithms and Systems for Efficient On-Device Omni-LLM Streamingcited by 0
  28. 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decodingcited by 0
  29. 2026PageWeaver: KV-Guided Query Unions for Sparse Attentioncited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026LycheeDecode: Accelerating Long-Context LLM Inference via Hybrid-Head Sparse Decoding
  2. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  3. 2023SparQ Attention: Bandwidth-Efficient LLM Inference
  4. 2026CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration
  5. 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection
  6. 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routing
  7. 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression
  8. 2025MoSKA: Mixture of Shared KV Attention for Efficient Long-Sequence LLM Inference