TL;DR
Current video generation models struggle to synthesize scenes where multiple objects move in entirely different ways, often leading to unrealistic distortions or uniform, boring motion. This paper introduces a training-free framework that factorizes complex scenes into three canonical motion categories—motionless, rigid, and non-rigid—using an LLM planner and specialized attention guidance branches. The approach is entirely model-agnostic, seamlessly boosting the compositionality and physical realism of both 3D U-Net and Diffusion Transformer (DiT) architectures.
What Problem Does This Paper Address?
Compositional Video Generation (CVG) aims to generate videos from complex prompts describing multiple interacting objects, each with its own distinct behavior (e.g., "A car drives past a waving flag, while an ancient building stands in the background").
While current text-to-video models are excellent at capturing static semantics, they fail hard at handling diverse, simultaneous motion categories. They suffer from two main issues:
- Semantic Ambiguity: Directly generating bounding box trajectories from text prompts often results in broken motion paths or erratic object size variations.
- Motion Homogenization: Standard diffusion models apply uniform guidance across the entire frame. This causes static objects to flicker, rigid objects (like cars) to unnaturally deform, and non-rigid objects (like flags or clothing) to lose their fluid dynamics.
Methods
The authors propose a "planning before generation" paradigm divided into two main modules:
1. Structured Motion Reasoning (SMR)
Instead of forcing a Large Language Model (LLM) to directly output coordinates from a raw prompt, the SMR module instructs the LLM to parse the text into a Structured Motion Graph. Objects are nodes labeled with a motion category (motionless, rigid, or non-rigid), and edges define spatial or dynamic relationships. From this graph, the system reasons about physics laws to generate clean, frame-by-frame bounding box layouts.
2. Disentangled Motion Guidance (DMG)
During the diffusion process, the spatial-temporal layout is converted into motion-specific masks to modulate the model's internal attention maps. Rather than treating all pixels equally, DMG runs three specialized guidance branches:
- Reference Conditioned Guidance (Motionless): Forces static regions to anchor their features to a single automatically selected reference frame, eliminating background flicker.
- Geometric Invariance Guidance (Rigid Motion): Uses a frame-agnostic shape template derived from clustering to ensure moving rigid objects maintain their geometry without warping.
- Spatial Deformation Guidance (Non-rigid Motion): Utilizes a dense pixel-wise nearest-neighbor search to match perceptual deformations with box-induced movements, allowing for natural, fluid local deformations.
Datasets
To evaluate complex, real-world prompt distributions rather than simple handcrafted templates, the authors introduced two new benchmarks parsed using LLaMA-3.3-70B:
- CVGBench-m: 1,665 video description samples derived from the MSR-VTT dataset.
- CVGBench-p: 994 samples derived from the Panda-70M dataset.
The prompts are categorized into four distinct linguistic modes: Coordinating Structure, Quantitative Expression, Collective Noun, and Interactive Verb.
Key Insights and Ideas
- Factorization Over Uniformity: The core "aha moment" is that video diffusion models cannot naturally balance different types of physical motion simultaneously. By explicitly separating the tracking mechanics of static, rigid, and fluid objects, the model avoids conflicting gradients during generation.
- LLMs Need Structure to Reason Physics: Raw text prompts leave too much room for physical contradictions. Forcing the LLM to first build a graph structure allows it to accurately compute frame-by-frame bounding box updates based on explicit velocity and acceleration equations.
Key Results
The framework was tested on top of two baseline architectures: VideoCrafter-v2.0 (3D U-Net) and CogVideoX-2B (DiT).
Quantitative Improvements
Across both benchmarks, the proposed method achieved steady improvements across all five VBench metrics (Subject Consistency, Background Consistency, Temporal Flickering, Motion Smoothness, and Dynamic Degree). Notably, when applied to CogVideoX-2B on the CVGBench-m dataset:
- Subject Consistency jumped from 91.00% to 98.27%.
- Background Consistency improved from 90.85% to 97.73%.
- Dynamic Degree (large-scale motion fidelity) increased from 91.02% to 96.00%.
Qualitative Improvements
As shown in the visual comparisons, baseline models frequently suffer from objects disappearing, blending into the background, or warping unnaturally. The proposed method successfully anchors static objects, preserves the shape of moving vehicles, and allows human joints or flowing fabrics to deform realistically.
Limitations and Future Work
The primary limitation is handling very small objects. If a bounding box generated during the planning phase is too small, it provides insufficient spatial coverage within the attention maps to guide the diffusion process effectively (e.g., a tiny bird flying in the background might be omitted or blurred). The authors suggest exploring scale-aware guidance mechanisms to mitigate this.
Additionally, the current framework assumes a stable camera viewpoint and focuses entirely on instance-wise motion. Future work will aim to incorporate camera poses to handle global viewpoint changes and complex camera pans.
Summary updated