Prism:用于原生2K联合视频-音频生成模型训练的动态稀疏注意力

·

研究论文 · 2026/10/06

原生训练更高分辨率的联合视频-音频生成模型能学习更丰富的视觉细节和更锐利的运动动态。然而,全注意力计算成本呈二次增长,且随分辨率提高,注意力分散在日益冗余的token上,稀释了信息内容的学习信号并破坏了预训练先验。现有稀疏注意力方法要么面向免训练加速,要么忽略了联合视频-音频数据的独特结构,即跨模态交互本质上集中在发声区域。为此,我们提出Prism,一种用于原生训练2K联合视频-音频生成模型的动态稀疏注意力框架。Prism将token序列组织为时空宏区域,使注意力结构适应局部内容。对每个区域,它通过视频特征沿通道的方差和音频到视频交叉注意力的特征范数估计局部信息结构,共同捕捉视觉内容的方向性变化和音频对每个视觉区域的影响强度。基于这些信号,Prism为每个区域动态分配定制的块形状,在视觉内容快速变化和视听耦合强的轴上应用更细的分区。这促使每个块内的token保持语义连贯,使块级特征能同时捕捉视觉内容和联合视频-音频交互模式。Prism进一步采用混合块选择策略动态确定每个查询的稀疏度。实验表明,Prism相比全注意力实现2.5倍训练加速,同时在生成质量上超越全注意力。

该研究解决了高分辨率联合视频-音频生成模型训练中全注意力计算成本高和信号稀释的问题,通过动态稀疏注意力在加速训练的同时提升生成质量,对高效训练多模态生成模型具有重要价值。

Natively training joint video-audio generation models at higher resolutions empowers them to learn richer visual details and sharper motion dynamics. However, full attention incurs quadratic cost and, as resolution increases, spreads attention over increasingly redundant tokens, diluting learning signals for informative content and disrupting pretrained priors. Existing sparse attention methods either target training-free acceleration or overlook the unique structure of joint video-audio data, where cross-modal interactions are inherently concentrated around sound-producing regions. To address this, we propose Prism, a dynamic sparse attention framework for natively training joint video-audio generation models at 2K. In particular, Prism organizes the token sequence into spatiotemporal macro-zones, enabling the attention structure to adapt to local content. For each zone, it estimates local information structure via video feature variance along the channel and feature norms from the audio-to-video cross-attention, jointly capturing how visual content varies directionally and how strongly audio influences each visual region. Based on these signals, Prism dynamically assigns a tailored block shape to each zone, applying finer partitioning along axes of rapid visual content variation and strong audio-visual coupling. This encourages tokens within each block to remain semantically coherent, allowing block-level features to capture both visual content and joint video-audio interaction patterns. Prism further adopts a hybrid block selection strategy to dynamically determine per-query sparsity. Experiments show that Prism achieves 2.5times training speedup compared to full attention, while surpassing it in generation quality.

阅读原文

参与讨论