Optimal-state Dynamics Estimation for Physics-based Human Motion Capture from Videos

Cuong Le, Viktor Johansson, Manon Kok, Bastian Wandt

Capturing human motion from a single video (monocular MoCap) has always been a bit of a "magic trick." Because a 2D image lacks depth, algorithms often struggle with "jitter," feet sliding through the floor, or poses that look physically impossible. While recent methods have tried to fix this by simulating physics, they often require heavy preprocessing or make oversimplified assumptions about the human body.

In a paper presented at NeurIPS, researchers introduced OSDCap (Optimal-state Dynamics Estimation for Physics-based Human Motion Capture). Their secret sauce? A neural Kalman filter that intelligently balances noisy video observations with a differentiable physics simulation in real-time.

TL;DR

OSDCap is a state-aware framework that produces smooth, physically plausible 3D human motion from monocular video. By combining a meta-PD controller with a learnable neural Kalman filter, it corrects for depth ambiguities and sensor noise, outperforming existing online methods in both accuracy and physical realism.

OSDCap Concept Overview

What Problem Does This Paper Address?

Estimating 3D motion from a single camera is an "ill-posed" problem—there are many 3D poses that could result in the same 2D image. Traditional "kinematic" approaches (which just look at joint angles) often produce "jittery" results because they treat every frame in isolation.

"Physics-based" approaches try to solve this by predicting the forces and torques required to move a virtual skeleton. However, these simulations are only as good as their models. If the virtual skeleton’s mass distribution is slightly off, or if the video input is noisy, the simulation can drift wildly. Most current state-of-the-art methods try to fix this with "hacks" (like non-physical offset terms) or by looking at the entire video at once (offline), which prevents them from being used for real-time applications like AR/VR or robotics.

Methods

The authors propose a recursive, online pipeline called OSDCap. It consists of two main interacting components that form a robust control loop:

OSDCap Pipeline Architecture
  1. The Simulation Branch (Meta-PD Controller): Instead of just predicting poses, the system predicts the internal joint torques and external reaction forces (like the floor pushing back on a foot) needed to move a proxy character. It uses a "Meta-PD" (Proportional-Derivative) controller where the gains are learned by a neural network, allowing the system to adapt to different types of motion.
  2. The Neural Kalman Filter (OSDNet): This is the core innovation. Inspired by Kalman filtering, the researchers use a Gated Recurrent Unit (GRU) to implement a learnable filter. This filter acts as a "judge": it looks at the noisy kinematics from the video and the predicted motion from the physics engine and decides how much to trust each one. If the video shows a sudden, physically impossible jump (likely noise), the filter leans more on the physics simulation.
  3. Learnable Inertia Bias: Since every human body is different, a generic virtual skeleton is never perfectly accurate. OSDCap predicts an "inertia bias matrix" at each time step to compensate for mismatches in mass and bone length between the model and the real person.

Datasets

The researchers evaluated OSDCap on three major benchmarks:

  • Human3.6M: The "gold standard" for 3D human pose estimation, featuring actors performing common daily activities.
  • Fit3D: A newer dataset focused on fitness and exercise movements, which are more dynamic and challenging.
  • SportsPose: A dataset of high-speed sports actions (tennis, football, etc.). This was used to test "out-of-domain" performance, as the underlying kinematics estimator wasn't trained on it.

Key Insights and Ideas

  • Selective Trust: The neural Kalman filter doesn't just average the video and physics; it learns when to ignore the video. For example, when a person moves along the camera's optical axis (where depth uncertainty is highest), the filter automatically decreases the "Kalman gain" for that axis and trusts the physics simulation more.
  • Physics as a Regularizer: By enforcing the Newtonian equations of motion, the system naturally eliminates "jitter" without needing the heavy, lag-inducing temporal filters used in older methods.
  • End-to-End Differentiability: Because the entire pipeline—from the torque prediction to the physics solver—is differentiable, the model can be trained to minimize the error between the simulated character and the ground truth motion directly.

Key Results

OSDCap sets a new state-of-the-art for online physics-based MoCap:

  • Accuracy: On Human3.6M, it achieved a Mean Per Joint Position Error (MPJPE) of 54.8mm, significantly better than other online physics-based methods like PhysCap (97.4mm).
  • Global Translation: It reduced the Global Root Position (GRP) error to 119.1mm, a major improvement over the baseline TRACE (125.9mm), proving it handles depth better.
  • Smoothness: The "Acceleration" metric (a proxy for jitter) was reduced by over 50% compared to purely kinematic methods (8.4 vs 19.2 $mm/s^2$).
  • Physical Plausibility: Qualitative results show that OSDCap successfully prevents "foot skating" and unrealistic leaning, even in fast-paced sports videos.

Limitations and Future Work

While OSDCap is a leap forward, the authors note a few areas for improvement:

  • Simplified Forces: The model currently assumes external forces only come from contact points (feet). It doesn't yet account for complex interactions like sitting on a chair or lifting an object.
  • Detailing: The proxy character is a simplified "circles and cylinders" model. Future work could involve more detailed modeling of hands, feet, and soft-body tissue.
  • Shape Adaptation: While the "inertia bias" helps, the system still uses a fixed skeleton. A truly adaptive system that learns the user's exact body shape on the fly would be the next logical step.

Check out the code: The authors have made OSDCap available on GitHub at cuongle1206/OSDCap.

Summary updated

BibTeX
@inproceedings{le2024optimal,
  author = {Cuong Le and Viktor Johansson and Manon Kok and Bastian Wandt},
  title = {{Optimal-state Dynamics Estimation for Physics-based Human Motion Capture from Videos}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=RkOT8rAmRR},
}
Figure