Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhan, Chenlu, Li, Wen, Shen, Chuyu, Zhang, Jun, Wu, Suhui, Zhang, Hao
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2509.01085
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915700489060352
author Zhan, Chenlu
Li, Wen
Shen, Chuyu
Zhang, Jun
Wu, Suhui
Zhang, Hao
author_facet Zhan, Chenlu
Li, Wen
Shen, Chuyu
Zhang, Jun
Wu, Suhui
Zhang, Hao
contents Video diffusion Transformer (DiT) models excel in generative quality but hit major computational bottlenecks when producing high-resolution, long-duration videos. The quadratic complexity of full attention leads to prohibitively high training and inference costs. Full attention inefficiency stems from two key challenges: excessive computation due to the inherent sparsity of Queries and Key-Value pairs, and redundant computation as fixed sparse patterns fail to leverage DiT's dynamic attention. To overcome this limitation, we propose a Bidirectional Sparse Attention (BSA) framework for faster video DiT training, the first to dynamically sparsify both Queries and Key-Value pairs within 3D full attention, thereby substantially improving training and inference efficiency. BSA addresses these issues through two key components. Query sparsity is optimized by selecting the most informative query tokens via semantic similarity and with a dynamic spatial-time training strategy, while KV sparsity is achieved by computing a statistical dynamic threshold to retain only the most salient KV blocks for computation. Extensive experiments demonstrate that BSA significantly accelerates DiT training across long sequences, reducing FLOPs by up to 20x and achieving 17.79x faster attention training, while preserving or even surpassing the generative quality of full attention.
format Preprint
id arxiv_https___arxiv_org_abs_2509_01085
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bidirectional Sparse Attention for Faster Video Diffusion Training
Zhan, Chenlu
Li, Wen
Shen, Chuyu
Zhang, Jun
Wu, Suhui
Zhang, Hao
Computer Vision and Pattern Recognition
Video diffusion Transformer (DiT) models excel in generative quality but hit major computational bottlenecks when producing high-resolution, long-duration videos. The quadratic complexity of full attention leads to prohibitively high training and inference costs. Full attention inefficiency stems from two key challenges: excessive computation due to the inherent sparsity of Queries and Key-Value pairs, and redundant computation as fixed sparse patterns fail to leverage DiT's dynamic attention. To overcome this limitation, we propose a Bidirectional Sparse Attention (BSA) framework for faster video DiT training, the first to dynamically sparsify both Queries and Key-Value pairs within 3D full attention, thereby substantially improving training and inference efficiency. BSA addresses these issues through two key components. Query sparsity is optimized by selecting the most informative query tokens via semantic similarity and with a dynamic spatial-time training strategy, while KV sparsity is achieved by computing a statistical dynamic threshold to retain only the most salient KV blocks for computation. Extensive experiments demonstrate that BSA significantly accelerates DiT training across long sequences, reducing FLOPs by up to 20x and achieving 17.79x faster attention training, while preserving or even surpassing the generative quality of full attention.
title Bidirectional Sparse Attention for Faster Video Diffusion Training
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2509.01085