Saved in:
Bibliographic Details
Main Authors: Li, Qirui, Zheng, Guangcong, Zhao, Qi, Li, Jie, Dong, Bin, Yao, Yiwu, Li, Xi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.12969
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911110144196608
author Li, Qirui
Zheng, Guangcong
Zhao, Qi
Li, Jie
Dong, Bin
Yao, Yiwu
Li, Xi
author_facet Li, Qirui
Zheng, Guangcong
Zhao, Qi
Li, Jie
Dong, Bin
Yao, Yiwu
Li, Xi
contents The computational demands of self-attention mechanisms pose a critical challenge for transformer-based video generation, particularly in synthesizing ultra-long sequences. Current approaches, such as factorized attention and fixed sparse patterns, fail to fully exploit the inherent spatio-temporal redundancies in video data. Through systematic analysis of video diffusion transformers (DiT), we uncover a key insight: Attention matrices exhibit structured, yet heterogeneous sparsity patterns, where specialized heads dynamically attend to distinct spatiotemporal regions (e.g., local pattern, cross-shaped pattern, or global pattern). Existing sparse attention methods either impose rigid constraints or introduce significant overhead, limiting their effectiveness. To address this, we propose Compact Attention, a hardware-aware acceleration framework featuring three innovations: 1) Adaptive tiling strategies that approximate diverse spatial interaction patterns via dynamic tile grouping, 2) Temporally varying windows that adjust sparsity levels based on frame proximity, and 3) An automated configuration search algorithm that optimizes sparse patterns while preserving critical attention pathways. Our method achieves 1.6~2.5x acceleration in attention computation on single-GPU setups while maintaining comparable visual quality with full-attention baselines. This work provides a principled approach to unlocking efficient long-form video generation through structured sparsity exploitation. Project Page: https://yo-ava.github.io/Compact-Attention.github.io/
format Preprint
id arxiv_https___arxiv_org_abs_2508_12969
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Compact Attention: Exploiting Structured Spatio-Temporal Sparsity for Fast Video Generation
Li, Qirui
Zheng, Guangcong
Zhao, Qi
Li, Jie
Dong, Bin
Yao, Yiwu
Li, Xi
Computer Vision and Pattern Recognition
The computational demands of self-attention mechanisms pose a critical challenge for transformer-based video generation, particularly in synthesizing ultra-long sequences. Current approaches, such as factorized attention and fixed sparse patterns, fail to fully exploit the inherent spatio-temporal redundancies in video data. Through systematic analysis of video diffusion transformers (DiT), we uncover a key insight: Attention matrices exhibit structured, yet heterogeneous sparsity patterns, where specialized heads dynamically attend to distinct spatiotemporal regions (e.g., local pattern, cross-shaped pattern, or global pattern). Existing sparse attention methods either impose rigid constraints or introduce significant overhead, limiting their effectiveness. To address this, we propose Compact Attention, a hardware-aware acceleration framework featuring three innovations: 1) Adaptive tiling strategies that approximate diverse spatial interaction patterns via dynamic tile grouping, 2) Temporally varying windows that adjust sparsity levels based on frame proximity, and 3) An automated configuration search algorithm that optimizes sparse patterns while preserving critical attention pathways. Our method achieves 1.6~2.5x acceleration in attention computation on single-GPU setups while maintaining comparable visual quality with full-attention baselines. This work provides a principled approach to unlocking efficient long-form video generation through structured sparsity exploitation. Project Page: https://yo-ava.github.io/Compact-Attention.github.io/
title Compact Attention: Exploiting Structured Spatio-Temporal Sparsity for Fast Video Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.12969