# IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving

> IndexServe moves sparse attention's growing index and top-k scan from decoder HBM to a shared service, keeping projections local. On Ascend A3, it reached 2.46–10.35× the resource-normalized peak output throughput of vLLM, SGLang HiSparse, and ECHO on two long-context models.

- arXiv: https://arxiv.org/abs/2611.41127
- Authors: Yuzheng Wang, Yilong Luo, Junhao Hu, Tiancheng Hu, Wenbo Wu, Wenpin Jiao, Zhongzhe Hu, Tao Xie
- Published: 2026-12-01
- Topic: Inference & systems
- Visual carousel: https://instaxiv.com/p/2611.41127
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Sparse attention's last growing state can cap decoding

**2.46–10.35×** resource-normalized peak tokens/s vs 3 baselines

## KV offloading leaves an index-sized wall

**After KV offloading:** Offloading moves the full key–value (KV) cache to host DRAM, but the per-token index stays in decoder high-bandwidth memory (HBM) and must be scanned for top-k selection.

**DeepSeek-V3.2 at 128K:** Its BF16 index across 61 layers is 1.906 GiB per request, 7.11× the fixed 0.268-GiB buffer for selected KV (4,096 tokens).

So decoder HBM can cap batches while sparse-attention stages still benefit from more concurrency.

## What moves off the decoder, what stays

![Figure 2](https://cdn.instaxiv.com/figures/2611.41127/figure2.webp)

Compare (a) with (b): both show KV offloaded to DRAM; (b) also moves index storage and scan/select to a shared service across decoders. Evaluation pairs them, but IndexServe does not require KV offloading. (Figure 2)

## One decode step, split across decoder and indexer

1. **Decoder makes current inputs**: Model weights stay local; projections produce the current index query, scoring weights, and one new index key.
2. **Service scores stored history**: The service appends the key, scores history with the query and weights using the original scoring rule and numerical format, then returns top-k IDs.
3. **IDs guide sparse KV retrieval**: Prefix index loads once at setup; during decode, fixed-size inputs and IDs cross regardless of context length, driving KV retrieval before sparse attention.

## Three fixes make a shared selector workable

1. **Graph replay for every layer**: Registered fixed-address buffers keep per-layer device-to-device requests and replies inside graph replay, avoiding repeated host launches and CPU staging.
2. **PagedIndex grows without moving keys**: PagedIndex allocates fixed-size pages as sessions grow; stable logical handles keep old keys in place while sessions share free HBM pages.
3. **Schedule for latency and length**: Offline scan profiles size batches for current load and latency target; short histories get priority, while recurring slots keep long scans progressing.

## Separate peak rates reveal a widening batch gap

![Figure 4](https://cdn.instaxiv.com/figures/2611.41127/figure4.webp)

DeepSeek-V3.2 INT8, TP8×DP2, Workloads A–C (40K–140K): lines: throughput; bars: max batch per DP replica. IndexServe 37; baseline 7→2. ECHO peak lead: 3.82×→8.32×. IndexServe throughput is normalized by 16/(16+n), n service NPUs. (Figure 4)

## Moving the index alone slows peak throughput

![Figure 6](https://cdn.instaxiv.com/figures/2611.41127/figure6.webp)

Panel (f), DeepSeek-V3.2 INT8, TP8×DP2, Workload B: baseline→index-only, 62.4→45.2 tokens/s. Graph replay, device-to-device communication, PagedIndex, then batching: 109.9→207.5→299.2→346.1 tokens/s (5.54× baseline). (Figure 6)

## Throughput gains have a latency and capacity price

- **Remote selection adds latency**: At 0.2 req/s, indexer time summed over layers is 16.8 ms/step vs 9–10 ms for baselines. DeepSeek-V3.2 INT8 gains are limited at an 80-ms mean-ITL budget.
- **Service HBM can fill**: With one service server, adding beyond 12 decoder instances drops throughput 4.7% as service HBM fills; at 15 total servers it still reaches 2.96× vLLM.
- **Tested platform and models**: Ascend A3 tests compare DeepSeek-V3.2 INT8 and GLM-5.1 INT4 against vLLM, SGLang HiSparse, and ECHO; NVIDIA portability is analyzed, not benchmarked.

Best used when: Most useful when long-context index HBM is the batch ceiling and the latency budget can absorb remote selection.

## Key takeaways

- Sparse attention can remain HBM-capacity-bound: top-k still needs a growing index for the full history.
- If that index caps batches, pool it in a shared service, but budget for its extra per-layer latency.
- Can a larger, multi-server index pool preserve the throughput gain without a slower remote-selection path on other interconnects?

## Links

- arXiv: https://arxiv.org/abs/2611.41127
- PDF: https://arxiv.org/pdf/2611.41127

## Citation

```bibtex
@article{wang2026indexserve,
  title   = {IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving},
  author  = {Wang, Yuzheng and Luo, Yilong and Hu, Junhao and Hu, Tiancheng and Wu, Wenbo and Jiao, Wenpin and Hu, Zhongzhe and Xie, Tao},
  journal = {arXiv preprint arXiv:2611.41127},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.41127}
}
```
