Manuscript Offprint

arXiv:2610.12514

CORAL-KV: Compact Cross-Layer Prediction and Residual Coding for Autoregressive Video KV Caches

Albert Ge, Akash Haridas, Utkarsh Saxena, Ruijing Yang, Ian Colbert, Frederic Sala, Vikram Appia, Emad Barsoum

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

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.

1 Introduction

Recent advances in video generation point toward a powerful new paradigm: learned simulators that can model and seemingly reason about the dynamics of the physical world [1, 2, 3, 4, 5]. Beyond content creation, such systems could support interactive environments, embodied agents, and general-purpose visual reasoning [6, 7]. Autoregressive video models are particularly well suited to realizing this promise: by generating video incrementally while conditioning each new segment on the preceding history, they support causal interaction and long-horizon coherence [8, 9, 10].

Despite their promise, autoregressive video models face a severe memory bottleneck: the attention key–value (KV) cache grows with video duration, spatial resolution, and model depth, and can quickly dominate GPU memory [11, 12]. Consequently, memory constraints limit both where these models can be used and how much history they can retain, even though longer context is critical for preserving identity, scene geometry, and motion over long rollouts [7, 13].

Prior work has shown that video KV caches can be compressed by exploiting spatiotemporal redundancy among video tokens [14, 15]. In particular, Quant VideoGen (QVG) realizes this idea by separately clustering similar key vectors and similar value vectors within each layer, representing each cluster with a centroid, and quantizing the residual errors to low-bit precision [16]. Over long generation horizons, however, we observe that small quantization errors early in generation can propagate through later frames, producing substantial reconstruction drift (Figure 1).

(a)

Figure

(b)

HY-WorldPlay, 704×1280, 285 frames

MAGI-1, 720×720, 192 frames

Figure

Prompt: "A close-up shot of a butterfly's wings, capturing intricate patterns and vibrant colors."

Action sequence: fwd → back → strafe L/R → pitch ↑/↓ → fwd → back → strafe L

Prompt: "A cinematic camera tilt-up shot of a curious cat exploring a large, open cardboard box."

Figure 1: CORAL-KV improves the memory-quality frontier. (a) average PSNR versus total compressed KV storage across 32 prompts per model, using the same storage accounting as in Table 1; stars mark our selected reusable codec. (b) Qualitative comparisons of BF16, QVG-1, QVG-Pro, and reusable CORAL-KV on matched frames.

Instead of clustering similar vectors within each cache layer, we find and exploit strong cross-layer dependencies in video KV caches. These dependencies hold across two distinct video architectures (Figure 2). AQUA-KV observed similar dependencies in large language model (LLM) KV caches and used dense linear predictors with residual quantization [17]. Directly transferring this approach to video models, however, introduces new bottlenecks: dense predictor memory scales quadratically with the KV hidden dimension, and applying these predictors at every layer adds substantial inference overhead. We address these bottlenecks with CORAL-KV, a practical KV-cache compression framework that combines compact block-diagonal-plus-low-rank (block-DPLR) predictors with low-bit residual quantization. In summary, our contributions are as follows:

• We introduce CORAL-KV, which uses block-DPLR predictors which require 13.1×13.1\times and 3.0×3.0\times fewer matrix parameters than dense prediction on HY-WorldPlay and MAGI-1, respectively. The block-DPLR predictors can be calibrated once offline for reuse across videos or adapted online by refitting only block-diagonal components per cache block for higher fidelity.

• We co-design prediction and residual quantization by calibrating predictors on reconstructed cache states and tailoring blockwise Hadamard transforms and 2-bit vector quantization to their residuals. Our direct factorized reconstruction avoids dense predictor matrices, reducing memory and inference overhead.

• Through extensive evaluations on two video generators, we show that CORAL-KV improves visual fidelity and temporal stability over matched baselines; the reusable configuration has comparable generation latency.

References (74)