Abstract
Effective and generalizable control in video generation remains a significant challenge. While many methods rely on ambiguous or task-specific signals, we argue that a fundamental disentanglement of "appearance" and "motion" provides a more robust and scalable pathway. We propose FlexAM, a unified framework built upon a novel 3D control signal. This signal represents video dynamics as a point cloud, introducing three key enhancements: multi-frequency positional encoding to distinguish fine-grained motion, depth-aware positional encoding, and a flexible control signal for balancing precision and generative quality. This representation allows FlexAM to effectively disentangle appearance and motion, enabling a wide range of tasks including I2V/V2V editing, camera control, and spatial object editing. Extensive experiments demonstrate that FlexAM achieves superior performance across all evaluated tasks.
Introduction
Controlling the dynamics of AI-generated video is a persistent hurdle in computer vision. Traditional approaches often utilize 2D signals such as depth maps, skeletal poses, or optical flow. However, these representations are inherently "lossy," lacking the 3D context necessary to prevent common artifacts like "motion aliasing"—where a model might confuse symmetrical limbs during movement—or physically inconsistent object interactions during overlaps.
While previous 3D-aware methods like Diffusion as Shader (DaS) made progress, they often struggled with temporal consistency, particularly when new objects entered a scene, and lacked explicit depth integration, leading to jittery results. FlexAM addresses these issues by introducing a universal, depth-aware 3D control signal that is both precise and flexible.
Methodology: The 3D Motion Control Signal
The core innovation of FlexAM is its 3D Motion Control Signal, which represents video dynamics as an attributed point cloud rendered into a multi-channel "motion video." This approach treats motion as a universal language, independent of the specific appearance of the subjects.
Technical Innovations
- Multi-Frequency Positional Encoding: Inspired by Neural Radiance Fields (NeRFs), FlexAM applies cosine-based positional encoding to 3D coordinates. This allows the model to distinguish between points that appear close in a 2D projection but are distinct in 3D space, effectively eliminating limb-swapping and blurring.
- Depth-Aware Representation: The control signal incorporates explicit, time-varying depth information. By mapping depth to a spectral colormap, the model can accurately reason about occlusions and complex 3D structures.
- Flexible Appearance Conditioning: FlexAM supports partially masked video inputs, enabling it to "fill in" missing information for video-to-video editing or generate full sequences from a single reference image.
- Stochastic Downsampling: To ensure robustness, the model is trained on point clouds of varying densities. This allows FlexAM to function effectively whether provided with a dense motion field or sparse trajectories.
The system is implemented using a CNN-based Adapter to fuse motion and appearance latents within the Wan2.2Fun 5B Control model architecture.
Experiments and Results
FlexAM was trained on a substantial dataset of over 72,000 videos, primarily sourced from OpenVid-1M and Koala-36M. The training data emphasized high-resolution clips and varied spatial sparsity to maximize the model's versatility.
Performance Metrics
FlexAM consistently outperformed specialized baselines across several key benchmarks:
- Camera Control: In Rotation Error (RotErr) tests, FlexAM achieved a score of 1.097, significantly better than the Wan2.2Fun baseline (1.839).
- Motion Transfer: The model reached higher CLIP scores (32.55) for text alignment and superior temporal consistency (0.976), indicating smoother and more prompt-accurate video generation.
- Qualitative Quality: Qualitative evaluations showed that FlexAM is uniquely capable of complex 3D manipulations, such as opening drawers or rotating objects, without distorting the object's identity or the background environment.
Discussion and Conclusion
The success of FlexAM underscores the principle that disentanglement is key to scalability. By separating appearance from motion, a single model can handle tasks ranging from cinematic camera control to precise character replacement. The integration of depth as a dynamic feature rather than a static constraint allows for movements that are more grounded in physical reality.
Despite its strengths, FlexAM's performance is tied to the quality of the 3D tracking data. Noisy input point clouds can degrade the final output. Future work will focus on scaling the model to "web-scale" datasets to improve long-range dynamic handling and optimizing inference speeds, which currently stand at approximately 71 seconds for a 49-frame sequence on an H800 GPU.
Summary updated