Metraipolis › archive › dc_6dfc81d5d525

AVSG: Accelerated Vectorized Sparse Gather for Efficient KV Cache Offload in Sparse-Attention LLM Serving — arXiv:2609.37538

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.37538
License (as archived)
CC0-1.0
Archived
2026-10-07T20:52:12.392Z
SHA-256 of the archived text
04ba13a17b3509d064e2e8c62df5dcf617682d7812f6abf294062689a3ee9081
Stable URL of this page
https://metraipolis.com/documento/dc_6dfc81d5d525

How to cite

AVSG: Accelerated Vectorized Sparse Gather for Efficient KV Cache Offload in Sparse-Attention LLM Serving — arXiv:2609.37538 — arXiv (en), https://arxiv.org/abs/2609.37538 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6dfc81d5d525 (Metraipolis archive dc_6dfc81d5d525, sha256 04ba13a17b3509d064e2e8c62df5dcf617682d7812f6abf294062689a3ee9081)
BibTeX
@misc{dc6dfc81d5d525,
  title = {AVSG: Accelerated Vectorized Sparse Gather for Efficient KV Cache Offload in Sparse-Attention LLM Serving — arXiv:2609.37538},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.37538},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6dfc81d5d525; sha256 04ba13a17b3509d064e2e8c62df5dcf617682d7812f6abf294062689a3ee9081},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.37538. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Dynamic sparse attention reduces long-context attention computation by selecting only a subset of tokens, but still requires access to the full KV cache, leaving serving memory-bound. Offloading the KV cache to host memory reduces device memory pressure but places H2D transfers on the decoding critical path. In DSA, substantial overlap in selected KV entries across decoding steps creates an opportunity for device-resident reuse. Exploiting this reuse efficiently, however, presents three critical challenges: costly matching of selected tokens against entries retained in the HBM buffer, uneven distribution of the remaining H2D transfers across accelerator cores, and retaining frequently accessed KV entries within limited HBM capacity. We present AVSG, an operator that addresses these challenges for DSA while preserving its exact token selections. AVSG uses vectorized hash matching to identify reusable HBM-buffer slots and reserve slots for entries requiring transfer, then evenly partitions these H2D transfers across accelerator cores. Lifetime-based buffer management retains frequently accessed KV entries in the device buffer across decoding steps, and shared slot reservations extend reuse across tokens within a multi-token prediction iteration. On a single NPU, vectorized hash matching is 2.80x faster than scalar dual-pointer matching, miss-only transfer raises effective H2D bandwidth by up to 34.44x over request-level assignment, and an 8K-entry buffer reaches a 94.83% hit rate on real requests. These gains translate into end-to-end improvement: on a serving stack processing a real-world production dataset, AVSG reduces time per output token by 39% and increases output throughput by 1.27x relative to the same KV offload layout without HBM-buffer reuse, demonstrating the benefit of efficient matching, balanced transfer, and effective HBM residency in production-scale serving.

Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-09-30 in eess.SP).
Categorie arXiv: Signal Processing (eess.SP).
Pagina del lavoro: https://arxiv.org/abs/2609.37538 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T20:15:00.000Z dalla pagina https://arxiv.org/catchup/eess.SP/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).