Cheap Memory Costs Future Compute: Co-Designing Persistent KV and GPU Execution for Efficient Streaming Video Diffusion
Jian Yang, Zhizhuo Kou, Qiyuan Zhu, Han Chen, Sirui Han, Yike Guo
Abstract
Block-causal video diffusion generates long videos block by block, conditioned on a persistent key-value (KV) cache. After each block is denoised, an extra noise-free () forward pass writes its clean KV into the cache; once distillation and speculative early exit make denoising cheap, this clean KV update dominates the runtime. Reusing stale KV shortens the update, but stale memory corrupts the conditioning of later blocks and inflates their denoising steps, so the saved compute reappears downstream. We present SAMR (Step-Aware Memory Reconstruction), a training-free method for frozen causal video DiTs that refreshes only part of the cache and reconstructs the rest without DiT forwards. Our key observation is that, once rotary position phases are removed, motion-aligned historical KV and the in-flight KV a token holds at its exit step are complementary estimates of its clean KV. SAMR debiases in-flight KV with offline-calibrated per-head affine maps in Pre-RoPE space, fuses the two estimates, and reserves true refreshes for tokens flagged by an attention-readout error proxy, all executed by tile-aligned, synchronization-free Triton kernels. On 48-second LongLive-1.3B videos, SAMR reduces DiT latency by 20.9% and principal FLOPs by 30.7% relative to dense KV updates, lowers downstream denoising steps, and improves final-quarter PSNR over token reuse by 1.61 dB (1.14 dB on held-out VidProM-16). The reconstruction also transfers to frozen Self-Forcing-DMD-1.3B: zero-shot, it reduces reuse-induced step inflation ( steps/token) and improves late PSNR by dB, and a one-time training-free calibration recovers the diagnostic score that zero-shot transfer lowers ().
Create a lesson
Related papers
Interactive Neural Computers
Shared title terminologycs.AIRoss Murphy, Marcel Hedman, Gabriel Brostow
Can AI Design a Better nnU-Net? A Hypothesis-Driven Architecture Discovery Loop from Failures to Design Rules
Shared title terminologycs.AISongtao Jiang, Yuan Wang, Fucheng Niu et al.
FigmaEval: A Benchmark for Evaluating AI Agents in Professional UI Design
Shared title terminologycs.AIXinyue Huang, Yongyong Gao, Zhengyuan Pan et al.
Sparse Poison, Strong Hijack: Efficient Trajectory-Level Backdoors in Vision-Language-Action Models with Only 1\% Poisoning
Shared title terminologycs.AISimin Huang, Jiawei Chen, Shaolong Zhu et al.
XMind: Thinking Twice via Cross-Memory Reasoning for LLM-Based Autonomous Driving
Shared title terminologycs.AIZuyi Guo, Xianjie Dai, Lei Yang et al.
CoverMem: Coverage-Constrained Visual Memory for Budgeted Embodied Question Answering
Shared title terminologycs.AIRuijie Ma, Haoyue Liu, Mingda Zhang et al.