π€ AI Summary
Existing DiT-based video generation models either require extensive retraining or are constrained by U-Net architectures, limiting their controllability while preserving DiTβs performance advantages. This paper proposes a training-free trajectory control method for DiT models. Our approach decouples motion via foreground-background separation guidance and introduces a 3D-aware spatio-temporal disentangled RoPE (STD-RoPE) that dynamically modulates positional encoding density for foreground tokens. Furthermore, we enhance semantic-motion alignment through LLM-driven prompt decomposition and 3D full-attention analysis. To the best of our knowledge, this is the first method enabling high-precision, user-intent-driven trajectory control over DiT models without any fine-tuning. Experiments demonstrate significant improvements over state-of-the-art approaches in both trajectory accuracy and video quality, achieving an effective balance between efficiency and controllability.
π Abstract
Diffusion Transformers (DiT)-based video generation models with 3D full attention exhibit strong generative capabilities. Trajectory control represents a user-friendly task in the field of controllable video generation. However, existing methods either require substantial training resources or are specifically designed for U-Net, do not take advantage of the superior performance of DiT. To address these issues, we propose DiTraj, a simple but effective training-free framework for trajectory control in text-to-video generation, tailored for DiT. Specifically, first, to inject the object's trajectory, we propose foreground-background separation guidance: we use the Large Language Model (LLM) to convert user-provided prompts into foreground and background prompts, which respectively guide the generation of foreground and background regions in the video. Then, we analyze 3D full attention and explore the tight correlation between inter-token attention scores and position embedding. Based on this, we propose inter-frame Spatial-Temporal Decoupled 3D-RoPE (STD-RoPE). By modifying only foreground tokens' position embedding, STD-RoPE eliminates their cross-frame spatial discrepancies, strengthening cross-frame attention among them and thus enhancing trajectory control. Additionally, we achieve 3D-aware trajectory control by regulating the density of position embedding. Extensive experiments demonstrate that our method outperforms previous methods in both video quality and trajectory controllability.