SparseServe: Unlocking Parallelism for Dynamic Sparse Attention in Long-Context LLM Serving
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Serving long-context LLMs is costly because attention computation grows linearly with context length. Dynamic sparse attention algorithms (DSAs) mitigate this by attending only to the key-value (KV) cache of critical tokens. However, with DSAs, the main performance bottleneck shifts from HBM bandwidth to HBM capacity: KV caches for unselected tokens must remain in HBM for low-latency decoding, constraining parallel batch size and stalling further throughput gains. Offloading these underutilized KV caches to DRAM could free HBM capacity, allowing larger parallel batch sizes. Yet, achieving such hierarchical HBM-DRAM storage raises new challenges, including fragmented KV cache access, HBM cache contention, and high HBM demands of hybrid batching, that remain unresolved in prior work. This paper proposes SparseServe, an LLM serving system that unlocks the parallel potential of DSAs through efficient hierarchical HBM-DRAM management. SparseServe introduces three key innovations to address the challenges mentioned above: (1) fragmentation-aware KV cache transfer, which accelerates HBM-DRAM data movement through GPU-direct loading (FlashH2D) and CPU-assisted saving (FlashD2H); (2) working-set-aware batch size control that adjusts batch sizes based on real-time working set estimation to minimize HBM cache thrashing; (3) layer-segmented prefill that bounds HBM use during prefill to a single layer, enabling efficient execution even for long prompts. Extensive experimental results demonstrate that SparseServe achieves up to 9.26x lower mean time-to-first-token (TTFT) latency and up to 3.14x higher token generation throughput compared to state-of-the-art LLM serving systems.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 45 of its 60 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
45 of 60 references.
Closest ancestors · 9
Same direction, newest first
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection5 Nov
- 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reduction25 Sep
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management28 Jun
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May
Other references · 36
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023Large Language Modelscited by 780
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
24 more
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
- 2021Efficient Attentions for Long Document Summarizationcited by 345
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
- 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
- 2017Adaptive Neural Networks for Efficient Inferencecited by 163
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 124
- 2024Vidur: A Large-Scale Simulation Framework For LLM Inferencecited by 117
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 116
- 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 112
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
- 2022Accelerating Distributed MoE Training and Inference with Linacited by 109
- 2024NanoFlow: Towards Optimal Large Language Model Serving Throughputcited by 90
- 2021Long Document Summarization in a Low Resource Setting using Pretrained Language Modelscited by 24
- 2023VCSUM: A Versatile Chinese Meeting Summarization Datasetcited by 18
- 2023Apparate: Rethinking Early Exits to Tame Latency-Throughput Tensions in ML Servingcited by 15
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inferencecited by 5
- 2025NOSA: Native and Offloadable Sparse Attentioncited by 4
- 2026DyMoE: Dynamic Expert Orchestration with Mixed-Precision Quantization for Efficient MoE Inference on Edgecited by 2
- 2026Vortex: Efficient and Programmable Sparse Attention Serving for AI Agentscited by 1
- 2026QUILT: Rethinking Sparse-Attention Prefill through Shared Query Executioncited by 0
- 2026Scaling LLM Inference via Parallelism: Throughput-Latency Trade-offcited by 0
- 2026Scaling LLM Inference via Parallelism: Throughput-Latency Trade-off14 Oct 2026
- 2026QUILT: Rethinking Sparse-Attention Prefill through Shared Query Execution8 Oct 2026
- 2026Vortex: Efficient and Programmable Sparse Attention Serving for AI Agents4 Jun 2026
- 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference3 Jun 2026
- 2026DyMoE: Dynamic Expert Orchestration with Mixed-Precision Quantization for Efficient MoE Inference on Edge19 Mar 2026
- 2025NOSA: Native and Offloadable Sparse Attention15 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Unifying Sparse Attention with Hierarchical Memory for Scalable Long-Context LLM Serving
- 2026SPLASH: Co-Designing Sparse Attention with High-Bandwidth Flash for Efficient Long-Context Inference
- 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
- 2026HySparse: A Hybrid Sparse Attention Architecture with Oracle Token Selection and KV Cache Sharing
- 2025PAT: Accelerating LLM Decoding via Prefix-Aware Attention with Resource Efficient Multi-Tile Kernel
- 2026HiSparse: Scaling Sparse-Attention Decoding with Hierarchical KV Cache Management
- 2026SAC: Disaggregated KV Cache System for Sparse Attention LLMs with CXL
- 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decoding