跳到正文
arXiv (AI + Vision + Imaging)· Xiaoling Zhou, Haopeng Li, Yufa Zhou, Rui Ding, Yu Li, Jun Lin, Enze Xie, Chunhua Shen, Xuan Shen·· 1 天前AI 评分22

DraftKV:面向持久交互视频世界模型的分层流式KV缓存检索框架

DraftKV: Protecting Persistent Worlds through Hierarchical Streaming Retrieval

AI 导读

DraftKV是一个免训练框架,通过几何锚定与查询条件相关性检索历史KV缓存,并结合CPU卸载与分块流式注意力降低GPU显存占用与推理延迟。其流式CG-Attention将CPU到GPU的KV传输与注意力计算重叠,在多种模型家族上实现3.27倍端到端加速和42.2%峰值显存下降。该框架可在单张H100 GPU上以SolarWM-33B完成高质量交互式世界生成。

正文 · 原文

arXiv:2611.31944v1 Announce Type: new Abstract: Interactive video world models enable action- and camera-controlled exploration, yet struggle to maintain consistent spatial geometry and appearance when revisiting previously explored locations. Historical KV caches help auto-regressive video diffusion models maintain long-term consistency, but their retrieval and attention computation introduce substantial latency as history grows. We propose DraftKV, a training-free framework that retrieves historical KV caches based on geometric grounding and query-conditioned relevance, while combining CPU offloading with tile-wise streaming attention to reduce GPU memory usage and inference latency. Theoretically, we show that draft relevance reproduces the mean branch of full-resolution block relevance exactly, so its deviation is confined to the $\beta$-weighted max branch, and we bound retrieval utility loss in terms of the measured Top-K selection overlap. We further show that draft relevance cannot distinguish blocks with similar pooled descriptors regardless of camera pose, motivating geometric grounding before refinement. Then, we introduce streaming CG-Attention, which overlaps CPU-to-GPU KV transfers with attention computation through tile-wise streaming, hiding transfer latency while maintaining bounded GPU memory usage. Experiments across diverse model families show that DraftKV achieves superior generation quality and consistency while achieving $3.27\times$ end-to-end speedup and 42.2% peak GPU memory reduction over other CPU-offloaded KV cache retrieval methods. Notably, DraftKV enables high-quality interactive world generation with historical KV retrieval on a single H100 GPU using SolarWM-33B.

来源:arXiv (AI + Vision + Imaging) · arxiv.org