DiTCtrl: Exploring Attention Control in Multi-Modal Diffusion Transformer for Tuning-Free Multi-Prompt Longer Video Generation

Minghong Cai, Xiaodong Cun, Xiaoyu Li, Wenze Liu, Zhaoyang Zhang, Yong Zhang, Ying Shan, Xiangyu Yue

Recent advancements in text-to-video (T2V) models like Sora and Kling have demonstrated remarkable quality in generating short, single-prompt clips. However, extending these models to generate long-form, coherent narratives from a sequence of prompts remains a significant challenge. This paper introduces DiTCtrl, a novel, tuning-free framework designed to generate long videos with smooth transitions and consistent subjects using Multi-Modal Diffusion Transformers (MM-DiT).

The Challenge of Multi-Prompt Video

Generating a story-driven video from multiple sequential prompts (e.g., a car driving from a sunny road into a snowy forest) typically faces three major hurdles:

  1. Temporal Discontinuity: Models often produce isolated clips with jarring "hard cuts" between different prompts.
  2. Subject Inconsistency: Maintaining the identity of a character or object across different scenes is difficult without specific constraints.
  3. Architectural Complexity: Most existing multi-prompt techniques were designed for older U-Net architectures. Modern state-of-the-art models utilize Diffusion Transformers (DiT), where internal attention mechanisms are more complex and less understood.

DiTCtrl addresses these issues by treating multi-prompt generation as a continuous temporal editing task.

Methodology

Built upon the open-source CogVideoX model, DiTCtrl employs three primary strategies to maintain coherence without requiring additional training:

  • MM-DiT Attention Analysis: The researchers conducted a comprehensive analysis of "3D full attention" within MM-DiT. They discovered that the unified attention matrix can be decomposed into regions (e.g., video-to-video, text-to-text) analogous to cross-attention blocks in U-Net models. This discovery allows for the application of established editing principles to transformer-based models.
  • Mask-Guided KV-Sharing: To ensure object consistency, DiTCtrl extracts an attention mask for the primary subject from the preceding clip. During the generation of the subsequent clip, the system "shares" the Key (K) and Value (V) features from the previous clip's foreground. This forces the model to preserve the subject's appearance while adapting the background and action to the new prompt.
  • Latent Blending Strategy: To prevent sudden visual jumps, DiTCtrl overlaps the end of one segment with the start of the next. A position-dependent weighting function blends these segments in the latent space during the denoising process, ensuring fluid transitions.
DiTCtrl demonstrates seamless transitions across diverse environments and camera scales.

Evaluation and Results

The researchers introduced MPVBench, a benchmark for multi-prompt video evaluation containing 130 long-form prompts across 10 transition types. They also proposed the Clip Similarity Coefficient of Variation (CSCV) metric to better detect jarring transitions that standard CLIP scores might overlook.

In comparative tests against baselines like Gen-L-Video and commercial models like Kling, DiTCtrl achieved superior performance:

  • Quantitative Performance: DiTCtrl reached a CSCV score of 84.90% and a Motion Smoothness score of 97.80%, indicating significantly smoother transitions than existing methods.
  • Qualitative Consistency: DiTCtrl successfully maintained subject identity while accurately transitioning environments. For example, it can transition a specific SUV from a dirt road to a snowy path, whereas other models often failed to change the scene or produced disconnected motion.
  • User Preference: A study with 28 participants ranked DiTCtrl as the top performer in overall preference, motion quality, and temporal consistency.

Conclusion

DiTCtrl demonstrates that the 3D full attention in MM-DiT provides precise semantic localization, making transformers highly "edit-friendly." By leveraging tuning-free KV-sharing and latent blending, DiTCtrl enables the generation of high-quality, long-form videos without the need for expensive model retraining. Future work will focus on reducing computational overhead and improving the handling of complex multi-object prompts.

Summary updated

BibTeX
@inproceedings{cai2025ditctrl,
  author = {Minghong Cai and Xiaodong Cun and Xiaoyu Li and Wenze Liu and Zhaoyang Zhang and Yong Zhang and Ying Shan and Xiangyu Yue},
  title = {{DiTCtrl: Exploring Attention Control in Multi-Modal Diffusion Transformer for Tuning-Free Multi-Prompt Longer Video Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00727},
}
Figure