Autoregressive video models rely on historical key-value (KV) caches to preserve scene consistency over extended rollouts, making KV storage and repeated attention over history a growing memory and computational bottleneck. Aggressive compression can degrade generation quality, while reconstructing full-dimensional KV leaves attention computation largely unchanged. We introduce NanoKV, a frozen-backbone framework for generation-aware high-ratio KV compression. NanoKV exploits redundancy across tokens and attention heads by storing shared content in cluster centers and encoding joint head-channel residuals into low-bit coefficients. Crucially, NanoKV uses different fitting objectives for Keys and Values according to their distinct roles in attention: Key decoders are optimized to preserve downstream block outputs, whereas Value encoders and decoders are fitted for faithful reconstruction through the deployed quantization path. Building on the same compressed representation, the optional NanoKV-Fast variant reuses the stored coefficients for mixed-dimensional attention, reducing computation without modifying the video backbone. Across three autoregressive video backbones, NanoKV consistently improves the quality-storage trade-off. On HY-WorldPlay, NanoKV achieves 26.09× effective KV compression, nearly twice that of KVTC, while improving PSNR by 1.0 dB. NanoKV-Fast retains 20.53× effective compression and achieves an approximately 1.15× end-to-end speedup over KVTC.
Figures & tables
Figure 1: NanoKV achieves high-ratio historical KV compression while preserving generated video quality across three autoregressive video backbones. Displayed PSNR is measured against the matched Original rollout. NanoKV reaches up to 26.09 × effective KV compression and reduces measured peak GPU memory by up to 35.9%.
Figure 2: Comparison of NanoKV(-Fast) with representative KV compression and attention-access baselines. (a) VideoMLA modifies KV projections and adapts the model for shared latent-space attention. (b) KVTC preserves the original projections but reconstructs full-dimensional KV before attention. (c) NanoKV preserves the original projections and frozen backbone, using generation-aware, role-specific K/V fitting; optional NanoKV-Fast reuses the coefficients for mixed-dimensional attention. h1,…,hH denote attention heads.
Figure 3: Motivation for generation-aware KV compression. (a) Joint head–channel PCA retains the most KV variance at matched 8× dimensional compression. (b) Compression-induced output errors accumulate with network depth, while block-output alignment reduces mean relative error by 15.3%. Errors are measured relative to Original; lines and shading show the mean and standard deviation across 16 chunks. Results are on HY-WorldPlay.
Figure 4: Overview of NanoKV for generation-aware high-ratio KV compression. (a) Joint head–channel encoding stores historical KV as coefficients and shared centers, read through full-dimensional (NanoKV) or mixed-dimensional (NanoKV-Fast) decoding and attention. (b) The encoder compresses residuals into INT4 coefficients; the decoder reconstructs them and adds back centers. (c) Key decoders use block-output alignment; Value encoders and decoders use quantization-aware fitting. (d) A fixed policy routes history to full- or low-dimensional attention. The latter reduces Queries and restores output dimensions before LSE merging.
Method
PSNR ↑
SSIM ↑
LPIPS ↓
VBench ↑
Total KV ↓ (GiB)
KV CR ↑
E2E Time / Speedup ↑
HY-WorldPlay
–
–
–
0.8129
20.96
1.00 ×
437.63 s
Quant VideoGen
17.58
0.5379
0.3887
0.7744
3.14
6.69 ×
0.86 ×
TurboQuant
17.95
0.5459
0.3523
0.7918
4.18
5.01 ×
0.90 ×
KVTC (32 × )
18.56
0.5796
0.2900
0.7936
1.55
13.50 ×
0.92 ×
[][] NanoKV (32 × )
19.56
0.6152
0.2399
0.8057
0.80
26.09 ×
0.96 ×
[][] NanoKV-Fast (32 × )
19.04
0.5931
0.2787
0.7981
1.02
20.53 ×
1.06 ×
Table 1: Quality, compression, and efficiency comparison of NanoKV and its Fast variant with baseline methods. Parentheses denote nominal coefficient compression ratios.
Configuration
PSNR ↑
SSIM ↑
LPIPS ↓
VBench ↑
Joint PCA + INT4
16.38
0.4953
0.4077
0.7753
+ Shared centers
18.38
0.5754
0.3047
0.7949
+ Value quantization-aware fitting
18.54
0.5839
0.2922
0.8007
[][] + Key block-output alignment (full)
20.20
0.6692
0.1968
0.8171
Table 2: Component analysis on HY-WorldPlay at nominal 16× compression.
Figure 5: Balancing fidelity, compression, and computation. (a) NanoKV improves the HY-WorldPlay quality–compression frontier over KVTC (videos from Table 2 ); arrows compare matched quality and near-matched compression. (b) NanoKV-Fast trades fidelity for historical-attention computation savings, not end-to-end time. Stars denote NanoKV; filled markers indicate main-table Fast configurations. Each model uses 20 fixed videos.
Figure 6: Preserving quality over continuous generation. On HY-WorldPlay at nominal 32× , NanoKV maintains the highest (a) reference PSNR and (b) VBench among evaluated compression methods throughout generation; NanoKV-Fast’s gap grows later in the rollout.
Figure 7: PyTorch peak allocated GPU memory (GiB) for all methods on the fixed timing input.
Method
Implementation / coding
Grouping and protection
Resident precision
QVG
Official Quant-VideoGen backend; INT2 residuals
Block size 64; 256 centers each for K/V; two K-means iterations; one residual stage; no extra raw history
BF16 centers and scales (A100 adaptation)
TurboQuant
Our implementation of the paper’s algorithms; K: 2-bit + 1-bit residual; V: 3-bit
Per-head 128D transforms; no extra raw history
FP32 transforms/codebooks; BF16 norms
KVTC
Our video port; PCA and DP mixed-bit allocation; packed INT2/INT4/FP8, with zero-bit omissions
Consecutive layer groups; four sink and 128 recent tokens
BF16 PCA bases, scales and shifts; FP32 means
Appendix
Table 4: Evaluated baseline implementations. Protection here denotes additional uncompressed historical tokens, not the model’s common history window.
Model
Budget
Rank
Centers
K learning rate
Inner updates
HY-WorldPlay
16×
512
64
5⋅10−6
5
HY-WorldPlay
32×
256
64
5⋅10−6
5
LingBot-World 2.0
32×
640
64
2.5⋅10−6
1
Matrix-Game 3.5
32×
384
64
Not used
Not used
Appendix
Table 5: Codec and Key-alignment settings. Rank is per layer and per K/V branch; centers are fitted separately for K and V.
Model
Nominal coefficient CR
dh=32
64
96
128
HY-WorldPlay
16 ×
448
208
32
176
HY-WorldPlay
32 ×
440
192
24
208
LingBot-World 2.0
32 ×
926
159
304
211
Matrix-Game 3.5
32 ×
0
432
0
288
Appendix
Table 6: Head–layer counts at each deployed attention dimension.
Model
History routed to full dimension
HY-WorldPlay
Four recent frames; one anchor per 16 older frames, or per eight on layers 15, 17, 19, 20, 22, 23, 26, 30, 31, 36, 46, 48. Full-layer fallback: 27–35, 40, 45 at 16× ; additionally 39 and 47 at 32× .
LingBot-World 2.0
First three chunks; one sink frame and two recent frames thereafter. Layer 11 uses a full-dimensional prefix for all eight chunks.
Matrix-Game 3.5
Five recent cached latent frames; sensitive head–layer pairs retain 128 dimensions. No additional sink or periodic anchors use full-dimensional reads.
Appendix
Table 7: Full-dimensional routing in the deployed NanoKV-Fast configurations. Layer indices are zero-based; frame counts refer to latent frames.
Low-dimensional maps
PSNR ↑
SSIM ↑
LPIPS ↓
Analytical initialization
17.21
0.5463
0.3451
+ Attention adaptation
18.59
0.5920
0.2837
Appendix
Table 8: NanoKV-Fast low-dimensional attention adaptation on the HY-WorldPlay 32× panel. Higher PSNR/SSIM and lower LPIPS are better.
Model
Layers
Heads
Head dimension
Video frames
HY-WorldPlay
54
16
128
253
LingBot-World 2.0
40
40
128
125
Matrix-Game 3.5
30
24
128
169
Appendix
Table 9: Model dimensions and evaluation video lengths.
Figure 8: Persistent KV storage (GiB) for full-dimensional attention configurations, split into cached data and resident operators.
Method
HY-WorldPlay
Matrix-Game 3.5
LingBot-World 2.0
Original
58.70
42.41
60.40
Quant VideoGen
40.90
34.00
46.39
TurboQuant
42.27
33.34
47.16
KVTC (32 × )
43.80
32.21
47.94
NanoKV (32 × )
38.56
31.96
44.56
NanoKV-Fast (32 × )
39.46
32.13
44.89
Appendix
Table 10: NVML-measured peak GPU memory (GiB), complementing the PyTorch allocated peaks in Figure 7 .
Model
Budget
Historical share
History MACs saved ↑
All visual-attention MACs saved ↑
HY-WorldPlay
16×
85.19%
39.36%
33.53%
HY-WorldPlay
32×
85.19%
37.93%
32.31%
LingBot-World 2.0
32×
71.43%
34.32%
24.51%
Matrix-Game 3.5
32×
72.00%
20.83%
15.00%
Appendix
Table 11: Denoising visual-attention arithmetic of NanoKV-Fast relative to NanoKV. The overall saving is the product of the historical share and the saving within history.
Figure 9: VBench over generation for (a) HY-WorldPlay at 16× and (b) LingBot-World 2.0 at 32× .
Figure 10: Reference fidelity over generation for (a) HY-WorldPlay at 16× and (b) LingBot-World 2.0 at 32× .
Figure 11: HY-WorldPlay examples under four camera actions, showing matched first, middle, and final frames. Rows compare Original, quantization baselines, KVTC, NanoKV, and NanoKV-Fast; both nominal compression budgets are included where labeled. Panels (c)–(d) continue on the next page.
Figure 23
Figure 12: LingBot-World 2.0 examples under four camera actions. Matched first, middle, and final frames compare Original, QVG, TurboQuant, KVTC, NanoKV, and NanoKV-Fast. Full frames show scene consistency through camera motion and return.
Figure 13: Matrix-Game 3.5 examples under four camera actions. Matched first, middle, and final frames compare Original, QVG, TurboQuant, KVTC, NanoKV, and NanoKV-Fast. All rows use the same input image and action sequence within each panel.
Autoregressive (AR) video diffusion models enable streaming generation of long videos but suffer from significant memory overhead due to the rapidly growing KV cache. Existing KV cache quantization methods are primarily designed for LLMs and transfer poorly to video models, where activations exhibit different statistics and strong spatiotemporal redundancy. We observe that the video KV cache is largely predictable over time, with a clear asymmetry. Keys are highly predictable from their temporal history, while values depend primarily on the current key and need a short history of preceding values. Based on these observations, we propose \method, a training-free predictive KV cache quantization framework for AR video generation. \method predicts keys and values according to their distinct dependencies and stores only the residuals at low precision. Both predictors are lightweight, calibrated once offline by linear regression on a small set of BF16 samples, and remain fixed across prompts and generation runs. Experiments on Self-Forcing, Causal Forcing, and LongCat-Video-13B show that \method consistently achieves higher generation quality than existing KV cache quantization methods at comparable or higher compression ratios, reaching up to 6.71× KV cache compression with the best overall quality--efficiency tradeoff. Our code will be released on GitHub.
Jiahui Hu, Weile Mo, Peiliang Cai +5
Shanghai Jiao Tong University · South China University of Technology · Alibaba Group
Autoregressive video diffusion models maintain a growing attention key-value (KV) cache, making memory a key bottleneck for long video generation. Recently, clustering-based quantization has emerged as an effective method to compress video KV caches by grouping similar key and value vectors then quantizing residual errors. However, when later frames attend to the compressed history, small reconstruction errors can compound as the video grows. Beyond the within-layer similarity exploited by clustering, we find strong dependencies across cache layers in video models. This motivates Coral-KV - Calibrated Offline, Residual-coded, and Adapted Locally - a KV-cache compression framework that uses cache states in each layer to predict keys and values in subsequent layers, then quantizes the remaining prediction residuals. We construct compact block-diagonal-plus-low-rank (block-DPLR) predictors: block-diagonal components model channel relationships within each attention head, while a global low-rank term models dependencies between heads. Coral-KV exposes a flexible fidelity-memory trade-off: it can reuse its predictors across videos or refit lightweight block-diagonal predictors to the current video for higher fidelity. Across extensive evaluations on both HY-WorldPlay and MAGI-1, our reusable configuration improves PSNR over QVG-4 by 0.32 dB and 4.95 dB, respectively, while using 48% and 37% less cache memory. Against QVG-Pro, our video-adapted configuration improves MAGI-1 PSNR by 3.77 dB while using 33.7% less cache memory. Coral-KV also maintains higher reconstruction fidelity over extended generation and reduces temporal discontinuities while retaining comparable generation latency.
Albert Ge, Akash Haridas, Utkarsh Saxena +5
Advanced Micro Devices Inc. (AMD) · University of Wisconsin-Madison
Autoregressive (AR) video diffusion models adopt a streaming generation framework, enabling long-horizon video generation with real-time responsiveness, as exemplified by the Self Forcing training paradigm. However, existing AR video diffusion models still suffer from significant attention complexity and severe memory overhead due to the redundant key-value (KV) caches across historical frames, which limits scalability. In this paper, we tackle this challenge by introducing KV cache compression into autoregressive video diffusion. We observe that attention heads in mainstream AR diffusion models exhibit markedly distinct attention patterns and functional roles that remain stable across samples and denoising steps. Building on our empirical study of head-wise functional specialization, we divide the attention heads into two categories: static heads, which focus on transitions across autoregressive chunks and intra-frame fidelity, and dynamic heads, which govern inter-frame motion and consistency. We then propose Forcing-KV, a hybrid KV cache compression strategy that performs structured static pruning for static heads and dynamic pruning based on segment-wise similarity for dynamic heads. While maintaining output quality, our method achieves a generation speed of over 29 frames per second on a single NVIDIA H200 GPU along with 30% cache memory reduction, delivering up to 1.35x and 1.50x speedups on LongLive and Self Forcing at 480P resolution, and further scaling to 2.82x speedup at 1080P resolution. Code and demo videos are provided at https://zju-jiyicheng.github.io/Forcing-KV-Page.