arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.18692cs.CV
收藏

MoGA:用于端到端长视频生成的混合分组注意力

MoGA: Mixture-of-Groups Attention for End-to-End Long Video Generation

University of Science and Technology of China(科学技术大学);Hong Kong University of Science and Technology(香港科学与技术大学);Wuhan University(武汉大学)

Weinan Jia, Yuning Lu, Mengqi Huang, Hualiang Wang, Binyuan Huang, Nan Chen, Mu Liu, Jidong Jiang, Zhendong Mao

AI总结:

针对扩散Transformer长视频生成中全注意力计算瓶颈,提出带可学习令牌路由器的稀疏注意力MoGA,实现高效长距离交互,可端到端生成分钟级长视频,经多任务实验验证有效。

摘要:

基于扩散Transformer(DiTs)的长视频生成受限于全注意力随序列长度呈二次方增长的计算瓶颈。由于注意力存在高度冗余,输出由一小部分查询-键对主导。现有稀疏方法依赖分块粗粒度估计,其准确率与效率的权衡受块大小约束。本文提出混合分组注意力(MoGA),这是一种高效的稀疏注意力机制,采用轻量级可学习令牌路由器,无需分块估计即可精准匹配令牌。通过语义感知路由,MoGA可实现有效的长距离交互。作为一种无内核方法,MoGA可与现代注意力栈(包括FlashAttention和序列并行)无缝集成。基于MoGA,我们开发了一款高效的长视频生成模型,可端到端生成分钟级、多镜头、480p分辨率、24帧/秒的视频,上下文长度约为58万。在各类视频生成任务上开展的综合实验验证了该方法的有效性。

英文摘要:

Long video generation with Diffusion Transformers (DiTs) is bottlenecked by the quadratic scaling of full attention with sequence length. Since attention is highly redundant, outputs are dominated by a small subset of query-key pairs. Existing sparse methods rely on blockwise coarse estimation, whose accuracy-efficiency trade-offs are constrained by block size. This paper introduces Mixture-of-Groups Attention (MoGA), an efficient sparse attention that uses a lightweight, learnable token router to precisely match tokens without blockwise estimation. Through semantic-aware routing, MoGA enables effective long-range interactions. As a kernel-free method, MoGA integrates seamlessly with modern attention stacks, including FlashAttention and sequence parallelism. Building on MoGA, we develop an efficient long video generation model that end-to-end produces minute-level, multi-shot, 480p videos at 24 fps, with a context length of approximately 580k. Comprehensive experiments on various video generation tasks validate the effectiveness of our approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑