IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving
Yuzheng Wang, Yilong Luo, Junhao Hu, Tiancheng Hu, Wenbo Wu, Wenpin Jiao, Zhongzhe Hu, Tao Xie
Abstract
Sparse attention reduces attention computation by attending to only a small subset of historical tokens. However, the indexer introduced to score all historical tokens still requires HBM storage that grows linearly with sequence length. In long-context serving scenarios, we find that the index state's growing memory demand exhausts HBM at low request concurrency, limiting the batch sizes and leading to low serving throughput. We present IndexServe, an indexer-as-a-service system that disaggregates the indexer's HBM storage and selection computation from its original serving engine. Our key insight is that index selection requires no model weights, allowing a separate index service to pool index memory and computation across multiple inference instances. Disaggregating the indexer is challenging because remote selection lies on the critical path of every sparse-attention layer, while the shared service must handle dynamically growing indexes of varying lengths. To tackle these challenges, IndexServe leverages direct device-to-device communication and builds a graph-compatible runtime to minimize remote selection overhead, while introducing PagedIndex and length-aware dynamic scheduling to enable efficient index allocation and scheduling across the shared service. As a result, IndexServe removes the last context-growing state from the serving engine's HBM, enabling larger batches and higher throughput. Evaluated on Ascend A3 with DeepSeek-V3.2 and GLM-5.1, IndexServe's peak output throughput is 2.46-10.35 times that of vLLM, SGLang, and ECHO.
Create a lesson
Metadata
- Categories
- cs.DC, cs.AI, cs.LG
Related papers
IndexerStage: Staging Indexer-K across Memory Tiers for Sparse-Attention LLM Serving
Shared title terminologycs.DCXin Zhang, Weifeng Zhang, Xianyan Xie et al.
Twindex: Index Cache Offloading with Coarse-to-Fine Selection for Long-Context Sparse-Attention Serving
Shared title terminologycs.DCYuxuan Xia, Jiakun Fan, Han Meng et al.
AttnEx: Sparse-Attention Indexing with Per-Layer Head Allocation and Streaming Top-k
Shared title terminologycs.DCDongfang Zhao
Scalable Placement for Disaggregated LLM Serving on Heterogeneous Edge Fleets
Shared title terminologycs.DCTruong-Thanh Le, Hoang-Loc La, Amir Taherkordi et al.
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminologycs.DCJinbin Luo, Xiaozhe Yao, Shang Yang et al.
Deterministic Gossiping and Sparse Reporting in Directed Radio Networks
Shared title terminologycs.DCQin Xin