Introduction
State-of-the-art text-to-video (T2V) models have demonstrated remarkable capabilities in generating visually stunning clips. However, they frequently struggle with "complex" actions—high-dynamic movements such as gymnastics, martial arts, or intricate animal behaviors. These failures stem from two primary issues: textual ambiguity, where low-bandwidth text prompts cannot capture precise physical trajectories, and temporal drift, where long-duration generations lose subject coherence.
The MVideo Framework
MVideo addresses these challenges by introducing mask sequences as a high-bandwidth spatial-temporal condition. Unlike simple trajectory lines, masks capture the evolving silhouette and deformation of a subject, providing the model with a precise "stencil" for motion.
Technical Architecture
Built upon the CogVideoX architecture, MVideo incorporates several novel components to balance motion control with visual quality:
- Automated Mask Extraction: The system utilizes GroundingDINO for initial object detection and SAM2 (Segment Anything Model 2) for consistent tracking and segmentation across frames.
- Token Merging: Mask sequences, high-resolution (HR) reference images, and low-resolution (LR) video latents are merged into a unified token stream for the transformer-based generator.
- Consistency Loss: To prevent the model from losing its original text-alignment capabilities during fine-tuning, a consistency loss is applied. This loss minimizes the L2 distance between MVideo’s outputs and those of the frozen, pretrained T2V model, ensuring the generation remains faithful to the text prompt while following the mask.
Iterative Long-Duration Generation
To overcome the temporal limitations of standard T2V models, MVideo employs a recursive generation strategy. By feeding the final frame of a generated 4-second segment as a high-resolution image condition and the entire segment as a low-resolution motion prior for the next chunk, the model can produce coherent videos up to 16 seconds in length. This approach maintains both visual identity and motion continuity across extended durations.
Experimental Evaluation
The framework was evaluated using the HDVILA dataset and a newly curated ComplexMotion set featuring 200 high-dynamic action videos.
- Alignment: MVideo achieved a Mask mIoU (Mean Intersection over Union) of approximately 78%, demonstrating high fidelity to input motion constraints.
- Quality: On the VBench benchmark, MVideo-5b maintained competitive scores for overall consistency (~26.5) and motion smoothness (~97.2), proving that the added control does not degrade the underlying model's generative quality.
Conclusion
MVideo represents a significant step toward controllable, high-fidelity video synthesis. By decoupling motion (via masks) from appearance (via text), it enables sophisticated video editing and the generation of complex actions that were previously unreachable for T2V models. Future work will focus on multi-object interactions and reducing the computational overhead of the iterative generation process.
Summary updated