跳到正文
arXiv (AI + Vision + Imaging)· Jianwen Wu, Meiling Wang, Junkang Zhou, Yipeng Shen, Haoran You·· 8 天前AI 评分38

PoCoAttn:面向快速高保真视频生成的位置-内容协同稀疏注意力

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

AI 导读

PoCoAttn 是一种免训练的稀疏注意力框架,将视频注意力拆分为输入稳定的位置先验与少量内容相关残差,前者离线校准查表、后者在线选择,并按去噪步自适应分配稀疏预算。在四个视频扩散模型、三类任务上,其 PSNR 较基线提升 1.9 至 5.0 dB,注意力与去噪分别最高加速 4.1 倍和 2.0 倍。

正文 · 原文

arXiv:2611.20307v1 Announce Type: new 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$\times$ attention and 2.0$\times$ denoising speedups over dense FlashAttention-3 attention.

来源:arXiv (AI + Vision + Imaging) · arxiv.org