SparseEngine: Sparse-First Inference Engine
Jitai Hao, Quansheng Gu, Qiang Huang, Jun Yu
Key points
From the paper's conclusion- We present SparseEngine, a ground-up, sparse-first inference engine whose shared lifecycle contract lets each method control its KV representation and computation while coordinating state transitions with common serving infrastructure.
Abstract
Long-context LLM agents accumulate interaction histories that strain KV-cache memory and attention computation. Although sparse attention reduces these costs, heterogeneous cache representations and workflows hinder integration with existing inference engines, while prior sparse-serving abstractions support only specific layouts or workflows. We present SparseEngine, a ground-up, sparse-first inference engine whose shared lifecycle contract lets each method control its KV representation and computation while coordinating state transitions with common serving infrastructure. SparseEngine supports 15 methods across four categories and enables cross-request state management through Chain Cache, which resumes KV-eviction methods from retained history, and controllable Prefix-Cache Pruning, which removes KV from selected history regions while preserving logical-prefix matching. While maintaining method quality, SparseEngine delivers over 10x higher throughput with KV eviction, over 2.5x faster decoding at matched concurrency than vLLM, and over 2x end-to-end speedup on agent benchmarks. The code is available at https://github.com/CURRENTF/SparseEngine.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LeanSparse: Memory-Efficient Serving for Native Sparse-Attention LLMsarXiv · 2026
- CISA: Retrofitting Dense Attention Models with Chunk-Indexed Sparse AttentionarXiv · 2026
- XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory PoolsarXiv · 2026
- UlaCache: Unified Logical Addressing for Sparse LLM ServingarXiv · 2026
- Learning how to Forget: Fine-tuning for Long-Context Sparse AttentionarXiv · 2026
- LongSpark: Efficient speculative decoding with a fixed-cost parallel drafterarXiv · 2026