QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsification
Weilun Feng, Chuanguang Yang, Haotong Qin, Mingqiang Wu, Yuqi Li, Xiangqi Li, Zhulin An, Libo Huang, Yulun Zhang, Michele Magno, Yongjun Xu
TL;DR
This work addresses the heavy compute and memory demands of diffusion-transformer–based video generation by proposing QuantSparse, a unified framework that tightly couples model quantization with attention sparsification. It introduces two novel components: Multi-Scale Salient Attention Distillation (MSAD) to align attention under quantization through global and local supervision, and Second-Order Sparse Attention Reparameterization (SSAR) to exploit temporally stable second-order residuals and a cache-based correction via SVD. Empirical results on Wan2.1 and HunyuanVideo models show QuantSparse achieves substantial efficiency gains—up to 3.68× storage reduction and 1.74×–1.88× speedups—while maintaining or even improving PSNR, LPIPS, and perceptual metrics relative to strong baselines. The findings suggest that carefully designed synergy between quantization and sparse attention can unlock practical deployment of large-scale video diffusion models without compromising quality.
Abstract
Diffusion transformers exhibit remarkable video generation capability, yet their prohibitive computational and memory costs hinder practical deployment. Model quantization and attention sparsification are two promising directions for compression, but each alone suffers severe performance degradation under aggressive compression. Combining them promises compounded efficiency gains, but naive integration is ineffective. The sparsity-induced information loss exacerbates quantization noise, leading to amplified attention shifts. To address this, we propose \textbf{QuantSparse}, a unified framework that integrates model quantization with attention sparsification. Specifically, we introduce \textit{Multi-Scale Salient Attention Distillation}, which leverages both global structural guidance and local salient supervision to mitigate quantization-induced bias. In addition, we develop \textit{Second-Order Sparse Attention Reparameterization}, which exploits the temporal stability of second-order residuals to efficiently recover information lost under sparsity. Experiments on HunyuanVideo-13B demonstrate that QuantSparse achieves 20.88 PSNR, substantially outperforming the state-of-the-art quantization baseline Q-VDiT (16.85 PSNR), while simultaneously delivering a \textbf{3.68$\times$} reduction in storage and \textbf{1.88$\times$} acceleration in end-to-end inference. Our code will be released in https://github.com/wlfeng0509/QuantSparse.
