PoCoAttn: Position-Content Collaborative Sparse Attention for Fast and High-Fidelity Video Generation

Jianwen Wu, Meiling Wang, Junkang Zhou, Yipeng Shen, Haoran You
11/15/2026
cs.CVcs.LG
diffusion-flowtransformer-attention

No official code found. Best implementation: EcoAI-Group/pocoattn (0 stars, HTML, last commit 2026-11-17).

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.

Show full abstract

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$\times$ attention and 2.0$\times$ denoising speedups over dense FlashAttention-3 attention.

View on arXivView PDF

Code Implementations(1)

PoCoAttn: Position–Content Collaborative Sparse Attention for Fast and High-Fidelity Video Generation

00HTMLNov 14, 20262 weeks ago
efficient-aisparse-attentionvideo-generation

Similar Papers

Cite this paper

@article{wu2026pocoattn,
  title  = {PoCoAttn: Position-Content Collaborative Sparse Attention for Fast and High-Fidelity Video Generation},
  author = {Jianwen Wu and Meiling Wang and Junkang Zhou and Yipeng Shen and Haoran You},
  year   = {2026},
  eprint = {2611.20307},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.20307v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.20307.svg)](https://codeofpaper.com/paper/2611.20307)

Discussion