SparseX: Efficient Segment-Level KV Cache Sharing for Interleaved LLM Serving
Quqing Zhang
Kai ChenNLNing LiaoZehao LinBTBo Tang
Feiyu XiongZhiyu LiXiaoxing Wang Quqing Zhang

Kai Chen
NLNing Liao
Zehao Lin
BTBo Tang

Feiyu Xiong
Zhiyu Li
Xiaoxing Wang
+8
SparseX introduces segment-level KV cache reuse for interleaved LLM serving, where repeated content appears as non-prefix cross-request, cross-turn, or cross-agent segments. It uses contiguous token segments as reuse units and exploits Sparse-Q indices from reuse workloads to estimate key tokens needing correction. A single forward pass performs Sparse-KV recomputation for these tokens, restoring cross-segment context without extra models. A layer-specific hybrid attention mode applies full attention in early layers for stable token importance, switching to sparse recomputation in later layers. SparseX is model-agnostic, training-free, and compatible with Prefix Cache, supporting multi-round chat, RAG, and agent workflows.

arXiv ·
· June 1, 2026