PhysFlow: Physics-Aware Optical Flow for Motion Controllable Video Generation

Cong Wang, Hanxin Zhu, Yonglin Tian, Jiayi Luo, Ruiqi Song, Boyi Sun, Long Chen, Zhibo ChenarXiv 2026

TL;DR

PhysFlow is a novel two-stage video generation framework that significantly improves physical realism by decoupling motion from appearance. By first generating a physics-aware 2D optical flow video conditioned on explicit material and motion properties, and then rendering high-fidelity RGB frames guided by that flow, PhysFlow bypasses heavy 3D physics simulators while achieving precise, physically plausible control over object dynamics from a single image.

What Problem Does This Paper Address?

While modern generative video models produce visually stunning results, they frequently struggle to grasp the underlying laws of physics. Generated videos often exhibit physically implausible dynamics—such as objects deforming unnaturally, ignoring gravity, or colliding unrealistically. This lack of physical common sense severely limits their use in real-world applications like autonomous driving or robotics.

Prior attempts to fix this generally fall into two categories:

  1. Physics-engine-based simulation: These methods embed explicit 3D simulators into the pipeline. However, they are computationally heavy, highly sensitive to 3D reconstruction errors, and struggle with complex, non-rigid deformations.
  2. Physics-conditioned generation: These approaches inject sparse trajectories or force prompts into pretrained models, but these controls are often too coarse to capture dense, pixel-level local deformations.

PhysFlow addresses this gap by observing that physical regularities are primarily encoded in motion patterns, not textures. The authors propose to isolate and solve the physics of motion in the 2D image plane before worrying about rendering realistic pixels.

Methods

PhysFlow introduces a two-stage architecture to disentangle motion and texture synthesis:

Fig. 2. Pipeline of our proposed PhysFlow. PhysFlow generates physically plausible video via a two-stage pipeline: (1) generating a physics-aware optical flow video (Details are in Section III-A), (2) generating a plausible video with the guidance of the optical flow video (Details are in Section III-B).

Stage 1: PA-Flow (Physics-Aware Optical Flow Generation)

Instead of directly predicting RGB pixels, the first stage generates a dense 2D optical flow video that acts as an explicit representation of motion. Built on top of the CogVideoX architecture, it introduces a Physics-Aware Attention Module (PAAM) within its transformer blocks. PAAM splits physical conditioning into two sequential steps:

  • Global-Motion Attention: Modulated by motion attributes (initial velocity and acceleration vectors) to govern where the object goes.
  • Local-Deformation Attention: Modulated by material properties (density, Young's modulus, and Poisson's ratio) to refine how the object bends, stretches, or squishes.

To ensure spatial and semantic consistency, the model is also conditioned on a static foreground mask and a multi-view object prior.

Stage 2: FlowRender (Flow-Guided Plausible Video Generation)

The second stage takes the generated optical flow video as a dense control signal. It synthesizes the final RGB video frames, ensuring that the foreground object moves according to the physics-derived flow while naturally interacting with the background.

Physics-Informed Regularization

To train PA-Flow without relying on a live simulator at inference time, the authors introduce explicit physical constraints directly into the loss function:

  • Velocity-smoothness and acceleration-consistency losses to penalize abrupt, non-physical temporal jumps.
  • An elastic strain energy loss derived from continuum mechanics, which penalizes non-physical local deformations based on the object's specified material stiffness (Young's modulus).

Datasets

  • PhysVideo (New): To provide explicit physical supervision, the authors created a large-scale dataset containing 10K foreground objects (represented via 3D Gaussian Splatting) and 50K realistic video sequences. The dynamics were simulated using the TaiChi physics engine (MPM solver) and composed over 10 diverse, realistic 3D backgrounds. Optical flow maps were automatically extracted using MemFlow.
  • FlowRender Training: FlowRender was trained on the large-scale real-world dataset OpenVid and fine-tuned on WISA, a physics-focused dataset emphasizing fluid-solid interactions.
  • Evaluation Benchmark: A curated evaluation dataset of 60 samples featuring rigid, elastic, and flexible objects in complex scenarios.

Key Insights and Ideas

  • Optical Flow as a Physical Common Denominator: Using 2D optical flow as an intermediate representation bridges the gap between rigid 3D simulators and flexible 2D generative models. It allows the network to learn physics in an appearance-agnostic space, making it highly generalizable to real-world images.
  • Decoupled Physical Attention: Separating global trajectory from local deformation matches how physics actually works. An object's bulk path depends on forces/velocity, while its deformation depends on material properties. Mirroring this structure in the transformer architecture makes learning complex non-rigid behaviors much easier.

Key Results

PhysFlow demonstrates substantial improvements over both pure data-driven models (e.g., CogVideoX, Wan2.2) and physics-enhanced baselines (e.g., Force Prompting, PhysCtrl).

Qualitative comparisons

Quantitative Performance

  • Physical Commonsense: On the VideoPhy-2 benchmark, PhysFlow achieved a Physical Commonsense (PC) score of 3.41, outperforming the baseline CogVideoX (3.14) and the trajectory-based PhysCtrl (3.22).
  • Human Evaluation: In user studies evaluating physical plausibility, PhysFlow scored 0.708, significantly higher than the physics-engine-based PhysGen3D (0.552) and PhysCtrl (0.586).
  • Controllability: In physics-conditioned validation sets (Table III), PhysFlow achieved a vastly superior Frechet Video Distance (FVD) of 69.54, compared to PhysCtrl's 83.25, proving it adheres much more closely to specified physical parameters.

Limitations and Future Work

  • Upstream Dependencies: PhysFlow relies heavily on accurate initial segmentation masks and multi-view 3D priors. Errors in these upstream models (e.g., an incorrect object mask) can cause the model to deform unintended regions of the image.
  • Sensitivity to Extreme Parameters: If a user inputs highly unrealistic or conflicting physical attributes (e.g., an impossibly low density combined with extreme velocity), the model can produce unstable or anomalous visual artifacts.
  • Future Work: The authors aim to extend this framework to handle more complex multi-object interactions and fluid dynamics, while reducing the reliance on external 3D/mask priors.

Summary updated

BibTeX
@misc{wang2026physflow,
  author = {Cong Wang and Hanxin Zhu and Yonglin Tian and Jiayi Luo and Ruiqi Song and Boyi Sun and Long Chen and Zhibo Chen},
  title = {{PhysFlow: Physics-Aware Optical Flow for Motion Controllable Video Generation}},
  year = {2026},
  eprint = {2609.08215},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.08215},
}
Figure