2025-10-22 · 专家 · 计算机视觉 · 机器学习

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

本文提出了一种名为MoGA的混合组注意力机制,用于高效的长视频生成,通过轻量级的token路由器实现精确的token分组,从而有效建模长上下文。

更新于 2026-08-06。作者:Weinan Jia、Yuning Lu、Mengqi Huang、Hualiang Wang、Binyuan Huang、Nan Chen、Mu Liu、Jidong Jiang、Zhendong Mao。

中文摘要

使用扩散Transformer(DiTs)生成长视频受到全注意力与序列长度二次方缩放的限制。由于注意力高度冗余,输出主要由一小部分查询-键对主导。现有的稀疏方法依赖于块状粗略估计,其准确性与效率的权衡受限于块大小。本文介绍了混合组注意力(MoGA),这是一种高效的稀疏注意力,它使用一个轻量级的、可学习的标记路由器来精确匹配标记,而不需要进行块状估计。通过语义感知路由,MoGA能够实现有效的长距离交互。作为一种无核方法,MoGA可以无缝集成到现代注意力堆栈中,包括FlashAttention和序列并行性。基于MoGA,我们开发了一个高效的长期视频生成模型,该模型端到端生成分钟级、多镜头、480p视频,帧率为24 fps,上下文长度约为580k。在各种视频生成任务上的综合实验验证了我们方法的有效性。

英文摘要

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.

解读

一句话总结

本文提出了一种名为MoGA的混合组注意力机制,用于高效的长视频生成,通过轻量级的token路由器实现精确的token分组,从而有效建模长上下文。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源