arXiv:2503.19881cs.CV2025-03CVPR被引 22

让视频生成精准对齐每段文字,支持自动延续新场景

Mask$^2$DiT: Dual Mask-based Diffusion Transformer for Multi-Scene Long Video Generation

  • 用双掩码机制实现文本与视频片段的一一对应
  • 生成多场景视频时保持视觉连贯性和语义准确
  • 适合需要长视频连续生成的创作与影视应用

Sora展现了扩散 Transformer(DiT)在单场景视频生成中的巨大潜力。然而,更具挑战性的多场景视频生成——应用场景更广——仍相对未被充分探索。为此,我们提出 Mask$^2$DiT,一种新方法,建立视频片段与其对应文本注释之间的细粒度、一对一对齐。具体而言,我们在 DiT 架构的每一注意力层引入对称二值掩码,确保每个文本注释仅作用于其对应的视频片段,同时保持视觉标记间的时序一致性。该注意力机制实现精确的段级文本-视觉对齐,使 DiT 架构能有效处理固定场景数的视频生成任务。为进一步赋予模型基于已有场景生成新场景的能力,我们引入段级条件掩码,使每个新生成段落都依赖于前序视频段落,从而实现自回归式场景扩展。定性与定量实验均表明,Mask$^2$DiT 在保持段间视觉一致性的同时,确保每段与对应文本描述的语义对齐。项目页面:https://tianhao-qi.github.io/Mask2DiTProject。

原文摘要 · Abstract (English)

Sora has unveiled the immense potential of the Diffusion Transformer (DiT) architecture in single-scene video generation. However, the more challenging task of multi-scene video generation, which offers broader applications, remains relatively underexplored. To bridge this gap, we propose Mask$^2$DiT, a novel approach that establishes fine-grained, one-to-one alignment between video segments and their corresponding text annotations. Specifically, we introduce a symmetric binary mask at each attention layer within the DiT architecture, ensuring that each text annotation applies exclusively to its respective video segment while preserving temporal coherence across visual tokens. This attention mechanism enables precise segment-level textual-to-visual alignment, allowing the DiT architecture to effectively handle video generation tasks with a fixed number of scenes. To further equip the DiT architecture with the ability to generate additional scenes based on existing ones, we incorporate a segment-level conditional mask, which conditions each newly generated segment on the preceding video segments, thereby enabling auto-regressive scene extension. Both qualitative and quantitative experiments confirm that Mask$^2$DiT excels in maintaining visual consistency across segments while ensuring semantic alignment between each segment and its corresponding text description. Our project page is https://tianhao-qi.github.io/Mask2DiTProject.

视频生成扩散模型多场景自回归

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。