Trajectory Optimization for Physics-Based Reconstruction of 3d Human Pose from Monocular Video

Erik Gärtner, Mykhaylo Andriluka, Hongyi Xu, Cristian Sminchisescu

TL;DR

This paper introduces a framework that integrates a full-featured physics engine into the 3D human pose estimation pipeline to ensure that reconstructed motions are physically plausible. By performing trajectory optimization over a sequence of video frames, the method eliminates common artifacts like "footskating" and floating, enabling realistic reconstruction of complex movements—such as somersaults and dancing—even in uncontrolled, real-world videos.

What Problem Does This Paper Address?

Estimating 3D human pose from a single (monocular) video is a classic computer vision challenge. While deep learning models have become excellent at predicting joint positions, their outputs often lack physical consistency. You might see a person’s feet sliding across the floor (footskating), their body floating slightly above the ground, or poses that would be impossible to maintain without falling over.

Previous "physics-based" attempts to fix this often relied on overly simplified models—for instance, assuming only the feet can touch the ground or requiring highly controlled laboratory settings. These methods struggle with "in-the-wild" internet videos where a person might roll on the floor, sit on a chair, or jump on a trampoline.

Methods

The authors propose a multi-stage pipeline that moves from raw pixels to a physically simulated character:

  1. Kinematic Initialization: They start with a state-of-the-art kinematic pose estimator (HUND) to get an initial guess of the 3D motion.
  2. Shape and Ground Estimation: Unlike many methods that use a generic "average" human model, this approach adapts a statistical body model (GHUM) to the specific person in the video. It also automatically estimates the location and orientation of the ground plane.
  3. Physics-Based Optimization: This is the core innovation. They instantiate a physical model in the Bullet physics engine, consisting of 26 rigid capsules and boxes connected by joints.
  4. Trajectory Optimization: Instead of training a neural network to predict physics, they treat it as an optimization problem. They use an evolutionary strategy called CMA-ES to find the joint torques (control targets) that make the simulated character's motion match the video observations as closely as possible.
Figure 1. Example results of our approach on internet videos of dynamic motions. Note that our model can reconstruct physically plausible articulated 3d motion even in the presence of complex contact with the ground: full body contact (top row), feet and hands (middle), and feet and knee contacts (bottom).

Because the Bullet engine is a "black box" (non-differentiable), CMA-ES is used to sample different control strategies and iteratively improve them based on a composite loss function that accounts for 2D landmark alignment, 3D pose similarity, and temporal smoothness.

Datasets

The model was evaluated on several key benchmarks:

  • Human3.6M: A standard large-scale dataset for 3D human sensing in laboratory settings.
  • HumanEva-I: Used specifically to evaluate walking motions.
  • AIST: A dataset featuring complex, dynamic dance motions.
  • "In-the-wild" Videos: The authors tested their method on uncontrolled internet videos of athletics and gymnastics to demonstrate generalization.

Key Insights and Ideas

  • Full-Body Contact is Essential: By using a feature-complete physics engine, the model isn't limited to foot-ground contact. It can handle hands, knees, or the entire torso touching the ground, which is vital for reconstructing rolls or falls.
  • The Power of Personalization: Automatically adapting the physical model’s mass and dimensions to the person in the video significantly improves the accuracy of the simulation.
  • No "Magic" Forces Required: Some previous works used "residual root forces"—essentially invisible external forces—to keep models from falling over. This paper demonstrates that with a sufficiently detailed model and optimization, these physically unrealistic "cheats" are often unnecessary.
  • Environment Interaction: The framework allows for manual adjustments to the environment, such as changing floor stiffness to simulate a trampoline or adding a chair to the scene.
The model handles complex interactions, such as soft ground (trampoline) and furniture.

Key Results

  • Artifact Reduction: On the Human3.6M benchmark, the dynamical model reduced the percentage of frames with "footskating" from 64% down to 8% compared to the kinematic baseline.
  • Accuracy: The method achieved competitive results on standard metrics like MPJPE (Mean Per Joint Position Error), often outperforming other physics-based methods that rely on simplified contact models.
  • Visual Plausibility: Qualitatively, the results are much more "grounded." Poses that look unstable or jittery in the kinematic version become smooth and balanced after physics optimization.
Comparison showing how the dynamical model (right) corrects unstable and inconsistent poses from the kinematic initialization.

Limitations and Future Work

  • Computational Cost: The primary drawback is speed. Optimizing a 1-second window of video takes roughly 20 minutes on a high-end 100-vCPU instance. This makes it unsuitable for real-time applications currently.
  • Initialization Dependency: The physics engine acts as a refiner. If the initial kinematic guess is completely wrong (e.g., a limb is hidden and guessed in the wrong place), the physics optimization may fail to recover the correct pose.
  • Manual Scene Reasoning: While the model handles ground contact automatically, it does not yet "see" other objects like chairs or walls. These must be manually added to the simulation environment to be accounted for.
Failure cases: (a) incorrect limb estimation propagating through the model, (b) poor kinematic initialization, and (c) inaccurate ground plane estimation.

Summary updated

BibTeX
@misc{gartner2022trajectory,
  author = {Erik Gärtner and Mykhaylo Andriluka and Hongyi Xu and Cristian Sminchisescu},
  title = {{Trajectory Optimization for Physics-Based Reconstruction of 3d Human Pose from Monocular Video}},
  year = {2022},
  eprint = {2205.12292},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.12292},
}
Figure