Accelerating LLM Inference via Dynamic KV Cache Placement in Heterogeneous Memory System

Yunhua Fang, Rui Xie, Asad Ul Haq, Linsen Ma, Kaoutar El Maghraoui +4 more
8/17/2025
cs.ARcs.AIcs.PF

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Large Language Model (LLM) inference is increasingly constrained by memory bandwidth, with frequent access to the key-value (KV) cache dominating data movement. While attention sparsity reduces some memory traffic, the relevance of past tokens varies over time, requiring the full KV cache to remain accessible and sustaining pressure on both bandwidth and capacity. With advances in interconnects such as NVLink and LPDDR5X, modern AI hardware now integrates high-bandwidth memory (HBM) with high-speed off-package DRAM, making heterogeneous memory systems a practical solution. This work investigates dynamic KV cache placement across such systems to maximize aggregated bandwidth utilization under capacity constraints. Rather than proposing a specific scheduling policy, we formulate the placement problem mathematically and derive a theoretical upper bound, revealing substantial headroom for runtime optimization. To our knowledge, this is the first formal treatment of dynamic KV cache scheduling in heterogeneous memory systems for LLM inference.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fang2025accelerating,
  title  = {Accelerating LLM Inference via Dynamic KV Cache Placement in Heterogeneous Memory System},
  author = {Yunhua Fang and Rui Xie and Asad Ul Haq and Linsen Ma and Kaoutar El Maghraoui and Naigang Wang and Meng Wang and Liu Liu and Tong Zhang},
  year   = {2025},
  eprint = {2508.13231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.13231v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.13231.svg)](https://codeofpaper.com/paper/2508.13231)

Discussion