Physics-based Human Motion Estimation and Synthesis from Videos

Kevin Xie, Tingwu Wang, Umar Iqbal, Yunrong Guo, Sanja Fidler, Florian Shkurti

TL;DR

This paper introduces a framework that trains high-quality human motion synthesis models directly from monocular RGB videos, bypassing the need for expensive motion capture (MoCap) data. By applying a novel differentiable physics-based optimization to noisy video pose estimates, the authors generate physically plausible motions that serve as a high-fidelity training set for generative motion models.

What Problem Does This Paper Address?

Generating realistic human motion is a cornerstone of character animation, gaming, and robotics simulation. Traditionally, the best models rely on Motion Capture (MoCap) data. However, MoCap is a major bottleneck: it is expensive, requires specialized hardware, and is mostly limited to controlled indoor environments.

While monocular RGB video is abundant, using it for training is difficult. Standard 3D pose estimators produce "noisy" results—characters often jitter, their feet slide across the floor (foot skating), or they appear to float. These errors violate the laws of physics, making the data unsuitable for training generative models that need to produce realistic, stable movement.

Methods

The authors propose a multi-stage pipeline to bridge the gap between noisy video and high-quality synthesis:

  1. Pose Estimation & Initialization: A per-frame CNN (HRNet-w32) estimates 2D and 3D keypoints from raw video. These are converted into a parametric body model (SMPL) using inverse kinematics (IK).
  2. Physics-Based Optimization: This is the core innovation. Instead of just smoothing the motion, the framework refines the entire sequence by enforcing physical constraints. It uses the Recursive Newton-Euler Algorithm to ensure the motion obeys rigid body dynamics.
  3. Smooth Contact Modeling: To handle the complex interaction between feet and the ground, the authors introduce a differentiable smooth contact loss. Unlike prior work that requires discrete "contact labels" (is the foot touching the ground or not?), this method uses a soft step function that allows the optimizer to "discover" contacts and forces dynamically.
  4. Generative Synthesis: The "cleaned" motions are then used to train a state-of-the-art generative model (DLow). Because the training data is now physically plausible, the resulting model can synthesize realistic future motions and even the contact forces required to produce them.
Figure 2: Overview of our framework. A video sequence is processed by a per-frame CNN pose estimator. The 3d and 2d keypoint detections are passed to an inverse kinematics step that forms an initial estimate of the SMPL body model motion using 3D keypoints. We then optimize this initialization with our physics loss and use the produced motions in place of motion capture to train motion synthesis models.

Datasets

The primary dataset used for evaluation is Human3.6M, a large-scale dataset of human actors performing various activities. The authors also validate their pose refinement on HumanEva and use 3DPW and MSCOCO for pre-training their initial pose estimator.

Key Insights and Ideas

  • Physics as a Depth Prior: One of the most interesting findings is that physics constraints actually help solve the "depth ambiguity" of monocular video. Because gravity and ground contact are constant, the optimizer can better estimate the character's distance from the camera to ensure they aren't "falling through" or "floating above" the floor.
  • Joint Optimization: The method jointly optimizes body shape ($\beta$) and motion ($q_t$). This is more effective than fixing the body shape first, as it allows the model to adjust limb lengths to better fit the physical dynamics observed in the video.
  • Differentiable Everything: By formulating contact and dynamics in a differentiable way, the authors can use standard, off-the-shelf optimizers (like L-BFGS) to refine entire video clips in just a few minutes.
The body model used for physics calculations, approximated with geometric primitives.

Key Results

  • Pose Estimation Accuracy: On the Human3.6M dataset, the physics-refined motions achieved a Mean Per Joint Position Error (MPJPE) of 68.1mm, significantly outperforming the previous physics-based state-of-the-art, PhysCap (97.4mm).
  • Global Root Stability: The error in the character's global position was reduced by over 50% compared to kinematic baselines, largely due to the physics-based depth correction.
  • Physical Plausibility: The physics loss reduced foot height error (floating) by 80% and foot tangential velocity error (sliding) by over 40%.
  • Synthesis Quality: When training the DLow generative model, using physics-refined video data (PE-dyn) resulted in performance that was remarkably close to an "oracle" model trained on ground-truth MoCap data—only about 11-17% worse across various metrics, despite never seeing a single MoCap frame.

Limitations and Future Work

  • Geometric Simplification: The body is currently modeled using simple boxes and cylinders. This doesn't capture the true complexity of human feet, leading to some errors during crouching or significant foot flexion.
  • Contact Variety: The current implementation only models foot-ground contact. It does not yet account for sliding, rolling, or interactions with other objects (like hands touching a table).
  • Environment Assumptions: The model assumes a flat ground plane, which limits its use in videos with uneven terrain or stairs.

Future work could involve extending this to more complex environments and multi-person interactions, further unlocking the potential of the vast amount of human motion data available on the internet.

Summary updated

BibTeX
@misc{xie2021physics,
  author = {Kevin Xie and Tingwu Wang and Umar Iqbal and Yunrong Guo and Sanja Fidler and Florian Shkurti},
  title = {{Physics-based Human Motion Estimation and Synthesis from Videos}},
  year = {2021},
  eprint = {2109.09913},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.09913},
}
Figure