                 Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity

                                                                        Chen, J., Ge, C., Xie, E., Wu, Y., Yao, L., Ren, X., Wang, Z.,
Table 4. Video quality of HunyuanVideo on a subset of VBench
                                                                          Luo, P., Lu, H., and Li, Z. Pixart-sigma: Weak-to-strong
when varying sparsity ratios. LPIPS decreases as the sparse ratio
increases, achieving trade-offs between efficiency and accuracy.          training of diffusion transformer for 4k text-to-image
                                                                          generation. In European Conference on Computer Vision,
     Sparsity↓    0.13     0.18     0.35     0.43     0.52
                                                                          pp. 74–91. Springer, 2025.
      LPIPS↓      0.154   0.135    0.141    0.129    0.116
                                                                        Chen, P., Shen, M., Ye, P., Cao, J., Tu, C., Bouganis, C.-
                                                                          S., Zhao, Y., and Chen, T. \delta-dit: A training-free
the original approach, achieving a 3.63× improvement.                     acceleration method tailored for diffusion transformers.
                                                                          arXiv preprint arXiv:2406.01125, 2024b.
6. Conclusion                                                           Choromanski, K., Likhosherstov, V., Dohan, D., Song, X.,
We accelerate video diffusion transformers by exploiting                  Gane, A., Sarlos, T., Hawkins, P., Davis, J., Mohiuddin,
sparse attention. We reveal that attention heads have in-                 A., Kaiser, L., et al. Rethinking attention with performers.
herent sparsity patterns and we classify them into spatial                arXiv preprint arXiv:2009.14794, 2020.
head and temporal head. We proposed Sparse VideoGen                     Dao, T., Gu, A., Eichhorn, M., Rudra, A., and Ré, C. Learn-
(SVG), a training-free method to utilize these sparsity pat-              ing fast algorithms for linear transforms using butterfly
terns for end-to-end efficiency boosts, including an efficient            factorizations. In International conference on machine
online profiling algorithm and an efficient inference sys-                learning, pp. 1517–1527. PMLR, 2019.
tem. On representative open video diffusion transformers
(CogVideoX-v1.5 and HunyuanVideo), SVG demonstrates                     Dao, T., Fu, D. Y., Ermon, S., Rudra, A., and Ré, C. Flashat-
prominent end-to-end speedup without losing quality.                      tention: Fast and memory-efficient exact attention with io-
                                                                          awareness, 2022. URL https://arxiv.org/abs/
                                                                          2205.14135.
Impact Statement
                                                                        Feng, H., Ding, Z., Xia, Z., Niklaus, S., Abrevaya, V., Black,
This paper presents work that aims to advance the field
                                                                          M. J., and Zhang, X. Explorative inbetweening of time
of Machine Learning. There are many potential societal
                                                                          and space. In European Conference on Computer Vision,
consequences of our work, none of which we feel must be
                                                                          pp. 378–395. Springer, 2024.
specifically highlighted here.
                                                                        Guo, Y., Yang, C., Rao, A., Liang, Z., Wang, Y., Qiao, Y.,
Acknowledgment                                                           Agrawala, M., Lin, D., and Dai, B. Animatediff: Animate
                                                                         your personalized text-to-image diffusion models without
We thank Guangxuan Xiao and Zihao Ye for the visualiza-                   specific tuning. In ICLR, 2024.
tions and kernel designs.
                                                                        Han, C., Wang, Q., Xiong, W., Chen, Y., Ji, H., and Wang, S.
                                                                          Lm-infinite: Simple on-the-fly length generalization for
References                                                                large language models. arXiv preprint arXiv:2308.16137,
Arnab, A., Dehghani, M., Heigold, G., Sun, C., Lučić, M.,               2023.
  and Schmid, C. Vivit: A video vision transformer. In                  Ho, J., Jain, A., and Abbeel, P. Denoising diffusion proba-
  ICCV, 2021.                                                             bilistic models. NeurIPS, 2020.

Cai, H., Li, J., Hu, M., Gan, C., and Han, S. Efficientvit:             Hong, W., Ding, M., Zheng, W., Liu, X., and Tang, J.
  Lightweight multi-scale attention for high-resolution                   Cogvideo: Large-scale pretraining for text-to-video gen-
  dense prediction. In Proceedings of the IEEE/CVF In-                    eration via transformers. In ICLR, 2023.
  ternational Conference on Computer Vision, pp. 17302–
                                                                        Horé, A. and Ziou, D. Image quality metrics: Psnr vs.
  17313, 2023.
                                                                          ssim. In 2010 20th International Conference on Pattern
                                                                         Recognition, pp. 2366–2369, 2010. doi: 10.1109/ICPR.
Cai, H., Li, M., Zhang, Q., Liu, M.-Y., and Han, S.
                                                                          2010.579.
  Condition-aware neural network for controlled image
  generation. In CVPR, 2024.                                            Huang, Z., He, Y., Yu, J., Zhang, F., Si, C., Jiang, Y., Zhang,
                                                                         Y., Wu, T., Jin, Q., Chanpaisit, N., Wang, Y., Chen, X.,
Chen, J., Cai, H., Chen, J., Xie, E., Yang, S., Tang, H.,                 Wang, L., Lin, D., Qiao, Y., and Liu, Z. Vbench: Com-
  Li, M., Lu, Y., and Han, S. Deep compression autoen-                    prehensive benchmark suite for video generative mod-
  coder for efficient high-resolution diffusion models. arXiv             els, 2023. URL https://arxiv.org/abs/2311.
  preprint arXiv:2410.10733, 2024a.                                       17982.

                                                                    9
