TL;DR
Coral-KV is a novel compression framework for autoregressive video diffusion models that slashes the memory footprint of attention key-value (KV) caches by up to 48% while simultaneously improving video quality. By replacing standard within-layer clustering with efficient cross-layer linear predictors, it prevents the "reconstruction drift" that typically plagues long-horizon video generation.
What Problem Does This Paper Address?
Autoregressive video models generate video frame-by-frame, but to maintain consistency, they must remember everything they’ve already generated. This "memory" is stored in an attention key-value (KV) cache, which grows linearly with the number of frames, spatial resolution, and model depth. For high-resolution, long videos, this cache quickly becomes a massive memory bottleneck, often exceeding the capacity of even high-end GPUs.
Existing solutions like Quant VideoGen (QVG) try to compress this cache by clustering similar vectors within a single layer and storing only the differences. However, the authors found that these small errors compound over time. As the video grows longer, the model "drifts," leading to oversmoothing, distorted structures, and visible "jumps" (temporal discontinuities) every time a new block of history is compressed.
Methods
The core innovation of Coral-KV (Calibrated Offline, Residual-coded, and Adapted Locally) is the shift from within-layer similarity to cross-layer dependency. The authors discovered that the state of one attention layer is highly predictive of the next.
Key components include:
- Cross-Layer Prediction: Instead of clustering, Coral-KV uses the reconstructed KV states from layer $l$ to predict the states in layer $l+1$. It first reconstructs keys, then uses those keys plus preceding values to predict current values.
- Block-DPLR Predictors: To keep the predictors themselves from eating up all the saved memory, they use a Block-Diagonal-plus-Low-Rank structure. The block-diagonal part models relationships within each attention head, while a global low-rank term captures dependencies across different heads. This requires up to 13x fewer parameters than dense linear maps.
- Residual Quantization: The small remaining prediction error is quantized to just 2 bits using a specialized vector codebook (EDEN-2) and blockwise Hadamard transforms to spread out outliers.
- Two Operational Modes:
- Reusable: Predictors are calibrated once offline and shared across all videos (maximum efficiency).
- Video-Adapted: Lightweight block-diagonal components are refitted to a specific video for maximum fidelity.
Datasets
The authors evaluated Coral-KV on two state-of-the-art autoregressive video generators:
- HY-WorldPlay: Generates 285 frames at $704 \times 1280$ resolution.
- MAGI-1: Generates 192 frames at $720 \times 720$ resolution.
- MovieGen Extended: A suite of 355 held-out prompts used for rigorous evaluation.
Key Insights and Ideas
- Deep Predictability: Video models exhibit much stronger cross-layer dependencies than Large Language Models (LLMs). Coral-KV can explain 94-97% of the variance in keys and values just by looking at the previous layer.
- Drift Prevention: By using the previous layer as a "guide," the model stays anchored to the true signal, significantly reducing the geometric drift seen in clustering-based methods.
- Quantization-Boundary Discontinuity (QBD): The authors introduced this new metric to quantify the visual "glitch" that occurs when a model starts attending to newly compressed history. Coral-KV significantly reduces these artifacts compared to baselines.
Key Results
Coral-KV consistently outperforms existing state-of-the-art compression techniques:
- Fidelity vs. Memory: On HY-WorldPlay, the "reusable" configuration improved PSNR by 0.32 dB while using 48% less memory than QVG-4. On MAGI-1, the gain was a massive 4.95 dB with 37% less memory.
- Superior Quality: The "video-adapted" version beat the strongest baseline (QVG-Pro) by 3.77 dB on MAGI-1 while still using 33.7% less memory.
- Temporal Stability: Coral-KV nearly halved the quantization-boundary discontinuities (jumps) on MAGI-1 compared to QVG-Pro, leading to much smoother video playback.
Limitations and Future Work
While highly effective, the authors note a few areas for further exploration:
- Model Specificity: The gains vary depending on the specific architecture and "geometry" of the model's cache.
- Theoretical Gap: There is currently no formal mathematical explanation for why these layers are so linearly predictable; it remains an empirical observation.
- Integration: The current work focuses on compressing every token. Future work could combine Coral-KV with "token selection" methods (which discard unimportant tokens entirely) for even greater savings.
- Peak Memory: The study focuses on stored cache state rather than whole-process peak GPU memory, which includes transient workspaces during inference.
Summary updated