paper-with-me

홈 › Papers

Faster Video Diffusion with Trainable Sparse Attention

2025-05-19 · Peiyuan Zhang, Haofeng Huang, Yongqi Chen, Will Lin, Zhengzhong Liu, Ion Stoica, Eric Xing, Hao Zhang

Scaling video diffusion transformers (DiTs) is limited by their quadratic 3D attention, even though most of the attention mass concentrates on a small subset of positions. We turn this observation into VSA, a trainable, hardware-efficient sparse attention that replaces full attention at \emph{both} training and inference. In VSA, a lightweight coarse stage pools tokens into tiles and identifies high-weight \emph{critical tokens}; a fine stage computes token-level attention only inside those tiles subjecting to block computing layout to ensure hard efficiency. This leads to a single differentiable kernel that trains end-to-end, requires no post-hoc profiling, and sustains 85\% of FlashAttention3 MFU. We perform a large sweep of ablation studies and scaling-law experiments by pretraining DiTs from 60M to 1.4B parameters. VSA reaches a Pareto point that cuts training FLOPS by 2.53$\times$ with no drop in diffusion loss. Retrofitting the open-source Wan-2.1 model speeds up attention time by 6$\times$ and lowers end-to-end generation time from 31s to 18s with comparable quality. These results establish trainable sparse attention as a practical alternative to full attention and a key enabler for further scaling of video diffusion models.

📄 PDF Abstract BibTeX arXiv:2505.13389

Code (1)

hao-ai-lab/fastvideo pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning

2026-02-13 · Jintao Zhang, Kai Jiang, Chendong Xiang, Weiqi Feng 외 arxiv

Many training-free sparse attention methods are effective for accelerating diffusion models. Recently, several works suggest that making sparse attention trainable can further increase sparsity while preserving generatio…

Sparse Forcing: Native Trainable Sparse Attention for Real-time Autoregressive Diffusion Video Generation

2026-04-23 · Boxun Xu, Yuming Du, Zichang Liu, Siyu Yang 외 arxiv

We introduce Sparse Forcing, a training-and-inference paradigm for autoregressive video diffusion models that improves long-horizon generation quality while reducing decoding latency. Sparse Forcing is motivated by an em…

Text-to-Video Generation

TurboDiffusion: Accelerating Video Diffusion Models by 100-200 Times

2025-12-18 · Jintao Zhang, Kaiwen Zheng, Kai Jiang, Haoxu Wang 외 arxiv

We introduce TurboDiffusion, a video generation acceleration framework that can speed up end-to-end diffusion generation by 100-200x while maintaining video quality. TurboDiffusion mainly relies on several components for…

Video Generation

Bidirectional Sparse Attention for Faster Video Diffusion Training

2025-09-01 · Chenlu Zhan, Wen Li, Chuyu Shen, Jun Zhang 외 arxiv

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 prohi…

Semantic Similarity

FG-Attn: Leveraging Fine-Grained Sparse Attention in Video Diffusion Models

2025-09-20 · Sankeerth Durvasula, Kavya Sreedhar, Zain Moustafa, Suraj Kothawade 외 arxiv

Using diffusion transformers for media generation may require evaluating attention over extremely long sequences, with attention layers accounting for the majority of generation latency. Exploiting sparsity in attention …

Video Generation