Abstract
Generating high-quality human-centric videos with simultaneous control over camera trajectories and human poses remains a significant challenge in computer vision. Existing diffusion models often suffer from "motion conflicts" and physical inconsistencies when handling dual motion signals. We present TokenMotion, a Diffusion Transformer (DiT)-based framework that employs a novel "decouple-and-fuse" strategy. By patchifying motion into spatio-temporal tokens and utilizing a human-aware dynamic mask, TokenMotion achieves fine-grained control, enabling complex cinematic shots like the iconic "Glambot" effect while maintaining superior visual fidelity and temporal consistency.
Introduction
The synthesis of videos involving both dynamic camera movement (e.g., zooming, panning) and complex subject motion (e.g., dancing, walking) is a frontier in AI video generation. Current models typically focus on a single aspect of motion or use coarse representations like bounding boxes, which fail to capture the nuance of human movement. A primary hurdle is the interaction between camera and subject motion; without proper disentanglement, models often produce artifacts like background jitter or subject sliding. TokenMotion addresses these issues by treating motion as a primary structural component within a unified Transformer architecture.
Methodology
TokenMotion is built upon the CogVideoX Diffusion Transformer architecture. It introduces several key innovations to integrate multi-modal motion signals:
Motion Patchification
Instead of treating motion as a secondary signal, TokenMotion converts camera trajectories (represented via Plücker embeddings) and human poses (extracted via DWPose) into spatio-temporal tokens. This "patchification" aligns motion data with the visual latent space of the Transformer, allowing the model to process motion with the same structural priority as video frames.
Decouple-and-Fuse Strategy
To prevent interference between camera and human motion signals, TokenMotion processes them through parallel self-attention blocks. This decoupling ensures that global camera movements do not distort local human poses and vice versa.
Human-Aware Dynamic Mask
The framework employs a dynamic mask to guide signal application: human-motion signals are restricted to relevant regions (the subject), while camera-motion signals are applied globally. This mask combines a hard pose prior with a learnable component, allowing the model to adapt to the complex spatial interactions between the person and the environment.
Experiments and Results
The model was trained on a diverse set of data, including HumanVid for complex poses and RealEstate10K for high-quality camera trajectories. Evaluation was performed on a curated benchmark of 500 high-motion real-world videos.
TokenMotion demonstrates a significant leap over previous state-of-the-art (SOTA) methods like MotionCtrl and Direct-A-Video. In Text-to-Video (T2V) tasks, it achieved a Fréchet Video Distance (FVD) of 361.03, a dramatic improvement over previous benchmarks (795-941). Furthermore, Pose Error was reduced from approximately 165 to 45.24, indicating much higher fidelity to the input control signals.
Discussion and Key Insights
The success of TokenMotion underscores the importance of treating motion as a "first-class citizen" within the Transformer architecture. By patchifying motion, the model learns complex spatial relationships more effectively than traditional UNet-based approaches. The "decouple-and-fuse" mechanism is essential; without it, models often apply human-like jitter to static backgrounds or camera-like sliding to the subject.
Limitations and Future Work
While TokenMotion excels at macro-movements, fine-grained details such as finger articulation or subtle facial expressions remain challenging. The current visual resolution is also constrained by the underlying CogVideoX-2B backbone. Future research will focus on scaling the framework to larger backbones and refining motion encoders for even more granular human-centric interactions.
Summary updated