Online Temporal Rotations for 2 Bit KV-Cache Quantization in Video Diffusion Transformers
Ryan Lucas, Petros Prastakos, Rahul Mazumder
Key points
From the paper's conclusion- We find that quantizing temporally distant cache vectors leads to a large range and high quantization error, but that nearby video tokens in the KV-cache share a persistent pattern per channel.
Abstract
Video diffusion transformers reuse key--value (KV) caches across denoising steps, which quickly becomes a bottleneck for long video generation. We find that quantizing temporally distant cache vectors leads to a large range and high quantization error, but that nearby video tokens in the KV-cache share a persistent pattern per channel. These patterns also vary across videos, motivating rotations that are adapted to each video's unique cache. We propose Temporal Rotation Quantization (TRQ), a method that rotates frames in the cache that are adjacent in time before quantization. For each block of temporally adjacent cache vectors, TRQ fits an orthogonal transform that maps the block's per-channel means to a vector that is close to a constant across channels. To keep the quantization format lightweight, we parameterize this rotation as a tree of $2 \times 2$ planar rotations, each stored with only two bits, followed by a fixed Hadamard transform shared across all blocks. The rotations are fit without gradients or changes to model weights, and we prove that a simple greedy fit is globally optimal for our 'mean-flattening' objective. The transforms are fit online for each new video, and we release fused Triton kernels to make this process efficient at inference. At 2-bit precision and matched compression, TRQ improves VBench subject consistency over the state-of-the-art method QVG from 90.38 to 92.02 on LongCat-Video-13B and from 86.33 to 87.61 on HY-WorldPlay-8B, as well as improving other metrics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LRQ-Cache: Compressing Feature Caches in Video Diffusion via Low-Rank Approximation and QuantizationarXiv · 2026
- VAR-Q: Tuning-free KV Cache Quantization for Visual Autoregressive Image and Video GenerationarXiv · 2026
- QuantStream3D: Geometry-Aligned Low-Bit KV Cache Quantization for Streaming Visual Geometry TransformersarXiv · 2026
- Cheap Memory Costs Future Compute: Co-Designing Persistent KV and GPU Execution for Efficient Streaming Video DiffusionarXiv · 2026
- CORAL-KV: Compact Cross-Layer Prediction and Residual Coding for Autoregressive Video KV CachesarXiv · 2026
- ReelCache: An Efficient KV Cache Compression and Management System for Multi-Round Video GenerationarXiv · 2026