Skip to main content
QUICK REVIEW

[论文解读] Efficient Remote Prefix Fetching with GPU-native Media ASICs

Liang Mi, Weijun Wang|arXiv (Cornell University)|Feb 10, 2026
Video Coding and Compression TechnologiesComputer Science被引用 0
一句话总结

KVFetcher 使用 GPU 原生视频编解码器来压缩并获取远程 KV 缓存,在 LLM 推理中实现高达 3.51x 的 TTFT 减少,同时保持无损精度并实现干扰-free 非重用。

ABSTRACT

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.

研究动机与目标

  • 在带宽受限下,推动远程 KV 缓存复用以加速 LLM 推理。
  • 识别现有压缩 KV 重用方法和硬件卸载策略的局限性。
  • 提出一个编解码友好的 KV 张量布局以及基于 GPU 原生视频编解码器的 KV 获取流水线,以最大化压缩率并最小化 TTFT。
  • 设计一个获取感知的调度器和自适应分辨率解码,以避免干扰推理。
  • 在不同带宽条件下,证明跨 GPU 与跨模型的有效性。

提出的方法

  • 开发一个编解码友好的张量布局,将 KV 缓存沿令牌维切分并在多帧视频中映射张量,以最大化时间冗余。
  • 实现帧间布局和帧内布局优化,在不损失精度的前提下实现高压缩,并将 KV 缓存编码为多分辨率视频流。
  • 引入一个获取感知的调度器,将 KV 获取与推理隔离,并允许异步远程 KV 检索。
  • 实施自适应分辨率 KV 获取,根据带宽动态选择视频分辨率以平衡传输和解码延迟。
  • 使用逐帧还原过程在尽量减少与推理引擎的内存争用的情况下重建原始 KV 张量。
  • 在多种 GPU 和 7B–70B 模型上原型化 KVFetcher,并在 1–40 Gbps 带宽下评估 TTFT 提升。
Figure 1. Solutions of remote KV cache reuse. Our KVFetcher exploits GPU-native video codecs, delivering the best cost-efficiency and system performance.
Figure 1. Solutions of remote KV cache reuse. Our KVFetcher exploits GPU-native video codecs, delivering the best cost-efficiency and system performance.

实验结果

研究问题

  • RQ1 GPU 原生视频编解码器是否能够在不降低 LLM 精度的情况下为远程 KV 缓存提供足够的压缩?
  • RQ2如何布置 KV 张量以最大化视频压缩效率(帧间与帧内)用于 KV 缓存?
  • RQ3哪些调度和解码策略能最小化 TTFT 并避免干扰非重用请求?
  • RQ4相较于现有方法,KVFetcher 在不同硬件规模和带宽水平下的性能如何?
  • RQ5自适应分辨率的 KV 获取在传输效率与解码延迟之间的权衡是什么?

主要发现

  • KVFetcher 相对于最先进方法实现了 1.52–3.51x 的 TTFT 减少。
  • 一种编解码友好的张量布局实现十倍压缩且不损失精度。
  • 一个获取感知的调度器将 KV 获取与推理隔离,防止阻塞非重用推理。
  • 自适应分辨率 KV 获取在带宽波动下减少气泡并节省时间。
  • 评估覆盖三块 GPU、7B–70B 模型,在 1–40 Gbps 带宽下实现无损精度的同时。
  • KVFetcher 在实现显著 TTFT 提升的同时保持干扰-free 的非重用推理。
Figure 2. Current three prefilling types: full prefill, raw KV reuse, compressed KV reuse. Their time costs are: prefill, transmission+prefill, transmission+decompression+prefill.
Figure 2. Current three prefilling types: full prefill, raw KV reuse, compressed KV reuse. Their time costs are: prefill, transmission+prefill, transmission+decompression+prefill.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。