Abstract
Video Diffusion Models (VDMs) have revolutionized high-fidelity video generation but are constrained by significant computational and memory requirements. While post-training quantization (PTQ) is a standard efficiency solution for image models, it often fails for video due to unique data distributions. We present QVD (Quantization for Video Diffusion), the first PTQ framework specifically designed for VDMs. QVD addresses "temporal feature skewness" and "inter-channel variation" through two novel components: High Temporal Discriminability Quantization (HTDQ) and Scattered Channel Range Integration (SCRI). Our framework achieves near-lossless 8-bit performance, outperforming existing image-based PTQ methods by over 200 points in Fréchet Video Distance (FVD).
The Challenge: Why Image Quantization Fails for Video
Video Diffusion Models must maintain temporal consistency across multiple frames, leading to high latency and massive memory footprints. Standard PTQ—converting high-precision floating-point weights and activations into low-bit integers without retraining—is often ineffective for VDMs. The authors identify two primary bottlenecks:
- Temporal Feature Skewness: Temporal features, which act as the "glue" for frame consistency, exhibit highly skewed distributions. Most values cluster near zero, while a few significant outliers exist. Standard uniform quantizers tend to "crush" these small values, destroying critical temporal guidance.
- Inter-channel Variation: Within temporal attention modules, different channels exhibit wildly varying activation ranges. A global quantization scale causes many channels to utilize only a small fraction of available quantization levels, leading to substantial information loss.
The QVD Framework
To overcome these challenges, QVD introduces a specialized quantization pipeline that adapts to the unique characteristics of video data.
High Temporal Discriminability Quantization (HTDQ)
To preserve skewed temporal features, QVD replaces uniform quantization with the HiDi-TQ Quantizer, a non-uniform, logarithmic-based approach. This method allocates more quantization levels to the dense values near zero, ensuring subtle temporal differences remain distinct. To guide this process, the authors introduced the Temporal Discriminability Score (TDScore), a metric that measures how well features remain discriminable after compression. The quantization process is optimized using a composite loss function that balances L2 accuracy with the TDScore.
Scattered Channel Range Integration (SCRI)
To address inter-channel variation, QVD employs SCRI. This method identifies layers with "scattered" (discrete and asymmetric) channel ranges and applies a per-channel shift and scale. Similar to techniques used in Large Language Models (LLMs), SCRI "re-centers" and "stretches" activations so that every channel utilizes the full range of available quantization levels. Unlike LLMs, where outliers are often static, SCRI is adaptive, using a small subset of frames for calibration to handle the dynamic nature of VDM activations.
Experimental Results
The researchers evaluated QVD using models like MagicAnimate and AnimateDiff across datasets including TED-talks and FS-COCO. Key findings include:
- Near-Lossless 8-bit Performance: In W8A8 (8-bit weight/activation) settings, QVD achieved an FVD of 385.77 on TED-talks, closely approaching the full-precision (FP) score of 361.54. In contrast, the state-of-the-art image PTQ method, PTQ4DM, lagged significantly with an FVD of 590.89.
- Robustness at Lower Bit-widths: Even at 6-bit (W6A8), QVD maintained high quality (FVD 386.47), whereas competing methods suffered catastrophic performance degradation.
- Qualitative Improvements: Visual analysis confirms that QVD eliminates common quantization artifacts, such as grid-like noise, and preserves fine details in motion and facial expressions.
Conclusion and Future Work
QVD demonstrates that temporal features are the "Achilles' heel" of VDM quantization; even minor disturbances can collapse video quality. By utilizing logarithmic quantization and adaptive channel integration, QVD enables efficient, high-quality video generation. Future research may focus on reducing the calibration overhead and exploring extreme 4-bit compression for even more resource-constrained environments.
Summary updated