MotionFlow:Learning Implicit Motion Flow for Complex Camera Trajectory Control in Video Generation

Guojun Lei, Chi Wang, Yikai Wang, Hong Li, Ying Song, Weiwei Xu

Abstract

Generating videos guided by camera trajectories poses significant challenges in achieving consistency and generalizability, particularly when both camera and object motions are present. Existing approaches often attempt to learn these motions separately, which may lead to confusion regarding the relative motion between the camera and the objects. To address this challenge, we propose a novel approach that integrates both camera and object motions by converting them into the motion of corresponding pixels. Utilizing a stable diffusion network, we effectively learn reference motion maps in relation to the specified camera trajectory. These maps, along with an extracted semantic object prior, are then fed into an image-to-video network to generate the desired video that can accurately follow the designated camera trajectory while maintaining consistent object motions. Extensive experiments verify that our model outperforms SOTA methods by a large margin.

Introduction

Precise camera control is a "holy grail" for AI video generation, essential for professional applications like filmmaking, VR, and AR. While models like Sora or Gen-3 have shown impressive results, "steering" the camera through a specific, user-defined 3D path remains difficult. MotionFlow, introduced at ICLR 2025, addresses this by rethinking how camera movement and object motion interact, achieving state-of-the-art results in visual quality and geometric consistency.

Figure 1: MotionFlow enables precise video generation following complex 3D camera trajectories across diverse scenes.

The Challenge of Relative Motion

Existing methods often struggle with two main issues:

  1. Relative Motion Confusion: Many models try to learn camera motion and object motion separately. This often leads to artifacts where the background and foreground don't move correctly relative to each other (e.g., an object appearing "stuck" to the camera lens).
  2. Guidance Limitations: Most current tools rely on text prompts, which are too vague to describe complex visual details or precise 3D geometry.

The MotionFlow Framework

The core philosophy of MotionFlow is to stop treating camera motion as an abstract set of numbers and start treating it as pixel movement.

Figure 2: The MotionFlow architecture, consisting of a Reference Motion Network for predicting pixel flows and a Video Generation Network that incorporates semantic priors.

Key Components

  • Plücker Embeddings: Instead of using raw 12D camera matrices, the authors use Plücker embeddings. These represent camera trajectories as 6D vectors for every pixel, effectively grounding the 3D geometry directly into the 2D image space.
  • Reference Motion Network: The authors employ a "twin" diffusion model (based on Stable Diffusion 1.5) that takes a reference image and the camera trajectory to predict a Reference Motion Map. This map acts as a guide, telling the video generation network exactly how pixels should shift frame-by-frame.
  • Semantic Encoder: To prevent the model from treating everything as a static background, a lightweight Vision Transformer (ViT) identifies salient objects. This "semantic prior" helps the model distinguish between the movement caused by the camera and the independent movement of objects in the scene.
  • Dual Attention Mechanism: These motion and semantic features are injected into an AnimateDiff backbone through "Reference Attention" and "Object Attention" layers, ensuring the final video respects both the desired camera path and the physical reality of the objects.

Experimental Results

The model was trained and evaluated on the RealEstate10K dataset and the DL3DV-10k outdoor dataset. MotionFlow outperforms existing SOTA methods (like CameraCtrl and MotionCtrl) by a significant margin:

  • Visual Quality: On the RealEstate10K dataset, MotionFlow achieved an FVD (Fréchet Video Distance) of 348, compared to MotionCtrl's 972 and CameraCtrl's 1079. Lower is better, indicating much higher realism.
  • Geometric Consistency: The model showed much lower rotation and translation errors, meaning the generated video actually follows the user's requested path rather than just "drifting" randomly.
  • Qualitative Superiority: In side-by-side comparisons, MotionFlow maintains much sharper details and avoids the "warping" or "melting" artifacts common in other trajectory-controlled models when the camera makes a sharp turn.

Conclusion

MotionFlow demonstrates that implicit pixel-level motion flow is superior to explicit 3D modeling for camera control. By leveraging pre-trained image diffusion priors and synchronous interaction between camera and image features, it provides fine-grained control for image-to-video generation. While the model currently lacks explicit object motion control, future work aims to integrate point-based or sketch-based guidance to allow users to control both the camera and the objects with the same level of precision.

Summary updated

BibTeX
@misc{lei2025motionflow,
  author = {Guojun Lei and Chi Wang and Yikai Wang and Hong Li and Ying Song and Weiwei Xu},
  title = {{MotionFlow:Learning Implicit Motion Flow for Complex Camera Trajectory Control in Video Generation}},
  year = {2025},
  eprint = {2509.21119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21119},
}
Figure