Metraipolis › archive › dc_5ba7e50a77d1
Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUs — arXiv:2609.34727
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.34727
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T21:02:52.109Z
- SHA-256 of the archived text
209adf119583d73512f5d8042f4c41586b8c798634987546020be4f6ba854419- Stable URL of this page
https://metraipolis.com/documento/dc_5ba7e50a77d1
How to cite
Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUs — arXiv:2609.34727 — arXiv (en), https://arxiv.org/abs/2609.34727 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5ba7e50a77d1 (Metraipolis archive dc_5ba7e50a77d1, sha256 209adf119583d73512f5d8042f4c41586b8c798634987546020be4f6ba854419)
BibTeX
@misc{dc5ba7e50a77d1,
title = {Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUs — arXiv:2609.34727},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.34727},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5ba7e50a77d1; sha256 209adf119583d73512f5d8042f4c41586b8c798634987546020be4f6ba854419},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.34727. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
On-device large language model (LLM) serving is a cornerstone of local-first personal intelligence, offering users data sovereignty, strong privacy guarantees, and freedom from cloud API latency and cost. Although KV caching is widely used to reduce latency in long-context inference, existing designs were primarily optimized for cloud GPUs with dynamic execution environments and abundant memory bandwidth. These architectural assumptions do not hold on mobile NPUs, where computation graphs must be statically compiled and both memory capacity and I/O bandwidth are severely constrained. In this work, we present a compute-storage co-design for mobile-centric prefix and non-prefix KV reuse. We first propose an intra-graph mechanism that maps selective KV recomputation onto static NPU graphs, reconciling algorithmic dynamicity with NPU staticity. We further develop an inter-graph scheduler to optimize chunk merging and minimize padding with dynamic programming. To address mobile bandwidth limitations, we introduce a hierarchical KV manager featuring a tree-hash-semantic hybrid structure, along with cost-aware prefetching and eviction policies. We also build a two-dimensional pipeline that overlaps KV loading, rerotation, and storage with NPU execution, hiding data-movement latency. Experiments across representative on-device workloads and LLMs show that our design reduces time-to-first-token (TTFT) by $40-60\%$ compared with no reuse and prefix-only caching. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI). Categorie arXiv: Operating Systems (cs.OS) ; Artificial Intelligence (cs.AI); Databases (cs.DB). Pagina del lavoro: https://arxiv.org/abs/2609.34727 — 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:29:03.137Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).