PoCoAttn: Position-Content Collaborative Sparse Attention for Fast and High-Fidelity Video Generation
Jianwen Wu, Meiling Wang, Junkang Zhou, Yipeng Shen, Haoran You
Abstract
Video diffusion transformers rely on 3D full attention over tens of thousands of spatiotemporal tokens, and its quadratic cost dominates inference latency. Sparse attention reduces this cost, but existing methods face a dilemma: static methods apply predefined masks and cannot capture input-dependent attention, whereas dynamic methods reconstruct the sparse mask repeatedly, paying online to rediscover positional structure that is largely stable across inputs. To this end, we propose PoCoAttn, a training-free sparse attention framework that separates input-stable from input-dependent attention and resolves the former offline and the latter online. PoCoAttn features: (1) A relative-offset analysis of 3D query-key pairs, which shows that video attention decomposes into an input-stable positional prior that carries most of the attention mass and a small content-dependent residual. (2) A position-content collaborative sparse attention mechanism, which retrieves positional keys from offline-calibrated tables, selects content keys online with a head-adaptive ratio between the two sources, and compensates for the discarded keys to approximate full attention. (3) A step-adaptive budget allocation algorithm, which models how early-step sparse attention errors are amplified along the denoising trajectory and derives the optimal sparsity budget per step. Extensive experiments across four video diffusion models and three tasks show that PoCoAttn consistently achieves a better speed-fidelity Pareto frontier than state-of-the-art (SOTA) methods, improving PSNR by 1.9 to 5.0 dB over baselines and delivering up to 4.1× attention and 2.0× denoising speedups over dense FlashAttention-3 attention.
Create a lesson
Related papers
Sparse Attention for Visual Generation: Toward Algorithm-System Co-Design
Shared title terminology · Majun Zhang, Yuan Guo, Decheng Wu et al.
QASK-Edit: Adaptive Sparse Attention Across Queries and Key Sources for Efficient Video Editing
Shared title terminology · Hengrui Liu, Wenbo Xu, Ziqi Sheng et al.
Ego2Ego: Generative Visual Perspective Taking Across Collaborators
Shared title terminology · Chuhan Jiao, John Gideon, Anshul Gupta et al.
Budgeted Safety Verification for Streaming Video Generation
Shared title terminology · Yuxin Cao, Ziqi Ding, Jiayu Zhang et al.
PP-CFG: Polarity-Preserving Guidance for Controllable Few-Step Image and Video Generation
Shared title terminology · Junyi He, Xu Peng, Chengming Xu et al.
Beyond Prompt Imitation: Capability-Aware Video Generation with Smaller Models
Shared title terminology · Ziqi Ding, Yuxin Cao, Kai Ye et al.