Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Tianhao Qi, Jianlong Yuan, Wanquan Feng, Shancheng Fang, Jiawei Liu, SiYu Zhou, Qian He, Hongtao Xie, Yongdong Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Multi-shot Video Generation90 prompts evaluation suite
Type Accuracy20.33
9
Video GenerationUser Study (test)
Video Quality Score49.23
8
Text-to-multi-shot video generationT2MSV Text-to-multi-shot
Character Coherence (Inter-shot)0.5472
6
Auto-regressive scene extensionEvalCrafter
VQA_A75.48
5
Auto-regressive scene extensionT2V-CompBench
Action Binding Score2.3
5
Multi-scene video generationMulti-scene evaluation dataset 1.0 (test)
Visual Consistency70.95
5
Image-to-multi-shot video generationI2MSV Image-to-multi-shot
Character Coherence (Inter-shot)54.52
4
Showing 7 of 7 rows

Other info

Code

Follow for update