SparseEngine: Sparse-First Inference Engine
Jitai HaoQuansheng GuQiang HuangJun Yu
Jitai Hao
Quansheng Gu
Qiang Huang
Jun Yu
+4
SparseEngine is a sparse-first inference engine built around a shared lifecycle contract that combines fine-grained hooks with method-owned cache management, letting diverse sparse cache methods keep control of their KV representations, computation, and state transitions inside shared serving infrastructure, rather than tying the engine to one layout or workflow. It supports 15 cache methods covering dynamic sparsity, KV eviction, compression, and quantization across varied architectures, including hybrid attention models. Cross-request management is enabled through Chain Cache, which resumes eviction-based methods across turns from compacted KV and metadata without prefix reconstruction, and Prefix Cache Pruning. Evaluations show it closely preserves reference-method quality while delivering 9.8-12.1x vanilla vLLM's aggregate decode throughput on 128K-token inputs with KV eviction, over 2.5x with dynamic sparsity at matched concurrency, and up to 2.24x end-to-end speedup over full attention in multi-turn agent replay.

arXiv ·
· September 30, 2026