Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantization

Haocheng Xi, Shuo Yang, Yilong Zhao, Muyang Li, Han Cai, Xingyang Li, Yujun Lin, Zhuoyang Zhang, Jintao Zhang, Xiuyu Li, Zhiying Xu, Jun Wu, Chenfeng Xu, Ion Stoica, Song Han, Kurt Keutzer

The Memory Wall in Auto-Regressive Video

The landscape of AI video generation is currently shifting from "bidirectional" models, which generate short, fixed-length clips, to "auto-regressive" (AR) models. AR models generate video frame-by-frame, theoretically allowing for infinitely long videos. However, this architectural shift introduces a severe system-algorithm bottleneck: the KV-cache memory wall.

To maintain temporal consistency—ensuring a character doesn't change clothes or a background doesn't vanish—an AR model must store a "KV-cache" of all previous frames. For a mere 5-second video, this cache can easily exceed 30 GB, far surpassing the memory capacity of most consumer GPUs. If the system truncates this memory to save space, the video "drifts" and loses coherence. Furthermore, existing quantization techniques designed to compress text-based Large Language Models (LLMs) fail miserably when applied to video, leading to severe visual glitches and "deep-fried" artifacts due to the highly dynamic, heterogeneous nature of video activations.

The Solution: Quant VideoGen (QVG)

To address this critical bottleneck, researchers introduce Quant VideoGen (QVG), a training-free KV-cache quantization framework tailored specifically for auto-regressive video diffusion models. QVG slashes memory requirements by up to 7.0×, enabling high-quality, long-duration video generation on consumer-grade hardware like the NVIDIA RTX 4090.

QVG achieves this through two primary innovations:

1. Semantic-Aware Smoothing (SAS)

Video tokens exhibit high spatiotemporal redundancy; for instance, pixels in the same background area across consecutive frames are often nearly identical. SAS leverages this by using k-means clustering to group similar tokens together. Instead of quantizing the raw, high-variance values (which are difficult to compress), QVG calculates a "centroid" (average) for each group and subtracts it. This process leaves behind "residuals"—small, low-magnitude numbers that are much easier to quantize into ultra-low 2-bit or 4-bit formats without losing critical information.

2. Progressive Residual Quantization (PRQ)

Inspired by traditional video codecs, PRQ employs a multi-stage, coarse-to-fine approach to refine quantization error. The first pass captures the broad structure of the residuals, while subsequent passes capture finer details. This allows for a smooth, Pareto-optimal trade-off: users can opt for more stages to maximize quality or fewer stages to maximize memory savings.

To ensure these techniques are practical for real-time generation, QVG incorporates Centroid Caching (reusing cluster assignments from previous chunks to accelerate k-means) and Fused Dequantization Kernels to minimize computational overhead.

Evaluation and Key Results

The researchers evaluated QVG across three state-of-the-art auto-regressive video models: LongCat-Video-13B, HY-WorldPlay-8B, and Self-Forcing-Wan-1.3B. Using the MovieGen benchmark prompt suite and the VBench suite, they measured perceptual quality, background consistency, and aesthetic fidelity.

  • Massive Compression & Efficiency: QVG achieves up to a 7.0× compression of the KV-cache. Despite the additional clustering and residual calculations, the end-to-end latency overhead remains under 4%.
  • Near-Lossless Quality: In aggressive 2-bit quantization tests, QVG maintained a PSNR (Peak Signal-to-Noise Ratio) of ~28.7. In contrast, standard LLM baselines plummeted to a PSNR of ~20-21, resulting in significantly degraded visual quality.
  • Long-Horizon Stability: Because QVG compresses the cache so efficiently, the model can retain a much longer history. While baseline models saw their image quality collapse after 100 frames due to memory truncation, QVG maintained high-quality generation for up to 1,400 frames (~90 seconds).
  • Hardware Democratization: QVG successfully allows the HY-WorldPlay-8B model to run on a single NVIDIA RTX 4090. Previously, this was impossible due to memory constraints, effectively unlocking long-video generation research for consumer hardware.

Limitations and Future Directions

While QVG is a "training-free" framework that can be seamlessly integrated into existing models, the k-means clustering step still introduces a minor latency cost.

Future work could explore Quantization-Aware Training (QAT), where the model is explicitly trained to produce quantization-friendly activations from the start, potentially pushing compression limits even further. Additionally, while QVG successfully mitigates the KV-cache bottleneck, the model weights themselves remain uncompressed in this study. Combining QVG with weight quantization could lead to even more dramatic reductions in hardware requirements, further democratizing access to state-of-the-art video generation.

Summary updated

BibTeX
@inproceedings{xi2026quant,
  author = {Haocheng Xi and Shuo Yang and Yilong Zhao and Muyang Li and Han Cai and Xingyang Li and Yujun Lin and Zhuoyang Zhang and Jintao Zhang and Xiuyu Li and Zhiying Xu and Jun Wu and Chenfeng Xu and Ion Stoica and Song Han and Kurt Keutzer},
  title = {{Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantization}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=r9UJgVH1Fx},
}
Figure