[Paper Review] Efficient Remote Prefix Fetching with GPU-native Media ASICs
KVFetcher uses GPU-native video codecs to compress and fetch remote KV caches, achieving up to 3.51x TTFT reduction with lossless accuracy and interference-free non-reuse in LLM inference.
Remote KV cache reuse fetches KV cache for identical contexts from remote storage, avoiding recomputation, accelerating LLM inference. While it excels in high-speed networks, its performance degrades significantly in bandwidth-limited scenarios. Recent studies address this by transmitting KV caches in compressed form, but the associated heavyweight decompression counteracts the KV reuse benefits. In this paper, we propose an efficient and widely deployable remote KV cache reuse solution that leverages GPU-native video codecs. Our system, KVFetcher, enables effective KV cache coding with two techniques. The codec-friendly tensor layout compresses the KV cache in a highly compact video format, enabling fast transmission. The efficient KV fetcher orchestrates the transmission, decoding, and restoration of compressed KV caches in an efficient pipelined manner, eliminating resource contention, masking network fluctuations, and achieving minimum time-to-first-token (TTFT). We prototype KVFetcher on diverse GPUs from high- to low-end. Experiments reveal that it reduces TTFT by up to 3.51 times while maintaining lossless accuracy, compared to SOTA methods.
Motivation & Objective
- Motivate remote KV cache reuse to accelerate LLM inference under bandwidth constraints.
- Identify limitations of existing compressed KV reuse methods and hardware offload strategies.
- Propose a codec-friendly KV tensor layout and a GPU-native video codec-based KV fetch pipeline to maximize compression and minimize TTFT.
- Design a fetching-aware scheduler and adaptive-resolution decoding to avoid interference with inference.
- Demonstrate cross-GPU and cross-model effectiveness under varying bandwidths.
Proposed method
- Develop a codec-friendly tensor layout that slices KV caches along the token dimension and maps tensors across multiple video frames to maximize temporal redundancy.
- Enable inter-frame layout and intra-frame layout optimization to reach high compression without accuracy loss, and encode KV caches into multi-resolution video streams.
- Introduce a fetching-aware scheduler to isolate KV fetching from inference and allow asynchronous remote KV retrieval.
- Implement adaptive-resolution KV fetching to dynamically select video resolutions balancing transmission and decoding latency based on bandwidth.
- Use a frame-wise restoration process to reconstruct original KV tensors while minimizing memory contention with the inference engine.
- Prototype KVFetcher on diverse GPUs and 7B–70B models and evaluate TTFT improvements across 1–40 Gbps bandwidths.

Experimental results
Research questions
- RQ1Can GPU-native video codecs provide sufficient compression for remote KV caches without degrading LLM accuracy?
- RQ2How can KV tensors be laid out to maximize video compression efficiency (inter- and intra-frame) for KV caching?
- RQ3What scheduling and decoding strategies minimize TTFT and avoid interference with non-reuse requests?
- RQ4How well does KVFetcher perform across hardware scales and bandwidth levels compared to state-of-the-art methods?
- RQ5What are the trade-offs between transmission efficiency and decoding latency in adaptive-resolution KV fetching?
Key findings
- KVFetcher achieves 1.52–3.51x TTFT reduction versus SOTA methods.
- A codec-friendly tensor layout enables tenfold compression without accuracy loss.
- A fetching-aware scheduler isolates KV fetching and prevents blocking of non-reuse inference.
- Adaptive-resolution KV fetching reduces bubbles and saves time under bandwidth fluctuations.
- Evaluation spans three GPUs and models from 7B to 70B across 1–40 Gbps bandwidths with lossless accuracy.
- KVFetcher maintains interference-free non-reuse inference while achieving significant TTFT gains.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.