Self-supervised Learning of Motion Capture

Hsiao-Yu Tung, Hsiao-Wei Tung, Ersin Yumer, Katerina Fragkiadaki

TL;DR

This paper introduces a learning-based approach to 3D motion capture from a single RGB camera. By combining supervised pre-training on synthetic data with self-supervised "test-time adaptation," the model fine-tunes its own weights to match 2D observations—specifically keypoints, masks, and optical flow. This is achieved by back-propagating through a differentiable renderer, effectively bridging the gap between synthetic training and real-world performance.

The Challenge of Monocular MoCap

Capturing 3D human motion from a single video ("monocular MoCap") is a classic "ill-posed" problem in computer vision. Because a 2D image inherently loses depth information, many different 3D poses can look identical from a single camera angle.

Traditionally, researchers solved this using optimization-driven methods: they would take a 3D human model and iteratively "wiggle" its joints until its 2D projection matched the video. However, these methods are slow, prone to getting stuck in "local minima" (incorrect poses that look acceptable from one angle), and often require manual initialization or green-screen backgrounds. On the flip side, purely supervised deep learning models are fast but require massive amounts of 3D ground-truth data, which is incredibly difficult and expensive to capture for real-world "in the wild" videos.

A Hybrid Method: Pre-training Meets Self-Supervision

The authors propose a hybrid framework that utilizes the SMPL model—a realistic 3D human body model controlled by pose ($\theta$) and shape ($\beta$) parameters. Their approach consists of two main stages:

  1. Supervised Pre-training: The network is first trained on the SURREAL dataset, which contains synthetic humans with known 3D ground truth. This gives the model a solid "common sense" understanding of human anatomy and movement.
  2. Self-supervised Adaptation: This is the core innovation. At test time (or during training on real data), the model predicts 3D parameters and then uses differentiable rendering to project that 3D mesh back into 2D.
Architecture overview showing the prediction of SMPL parameters and subsequent differentiable rendering for keypoint, segmentation, and motion losses.

As shown in the architecture above, the model calculates three specific "re-projection" losses:

  • Keypoint Loss: Do the projected 3D joints match 2D keypoint detections?
  • Segmentation Loss: Does the projected 3D silhouette match the 2D person mask?
  • Motion Loss: Does the 3D vertex movement between frames match the 2D optical flow?

By minimizing these losses, the model doesn't just optimize the pose for one frame; it actually updates its neural network weights to better understand the specific person and environment in the video.

Key Insights

  • The "Best of Both Worlds": Supervised learning provides a robust starting point (initialization), while self-supervision allows for a "tighter fit" to the specific data at hand.
  • Differentiable Rendering as a Bridge: The authors treat the rendering process as a mathematical function that can be derived. This allows them to use highly accurate 2D detectors (for joints and masks) to provide "gradients" that tell the 3D model how to improve, even without 3D labels.
  • Learning from Experience: Unlike traditional optimization which starts from scratch for every new video, this model "improves with experience." As it adapts its weights to a specific video sequence, it becomes more accurate at predicting the 3D structure of that specific subject.

Key Results

The proposed model significantly outperformed both pure optimization baselines and fixed supervised models.

Reconstruction error over training iterations, demonstrating that combining keypoint, segmentation, and motion losses yields the lowest error.

The ablation study above highlights the importance of the combined loss functions. Adding segmentation ($L_s$) and motion ($L_M$) losses on top of the standard keypoint loss ($L_k$) leads to a faster convergence and a lower overall reconstruction error.

  • On SURREAL: The self-supervised adaptation reduced the 3D surface error from 119.4mm (pretrained only) to 74.5mm.
  • On Human3.6M: Even though the model was never trained on real 3D data for this set, the self-supervision allowed it to transfer its knowledge effectively, reaching a per-joint error of 98.4mm, compared to 125.6mm for the non-adapted version.
  • Qualitative Robustness: The model proved much more resilient to "bad" 2D inputs (like noisy segmentation masks) because the underlying 3D SMPL model acts as a geometric prior, preventing the mesh from deforming into impossible shapes.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Dependency on 2D Detectors: The self-supervision is only as good as the 2D keypoint, mask, and flow estimators it relies on. If the 2D detection fails completely, the 3D adaptation will struggle.
  • Static Shape Assumption: While the model predicts shape ($\beta$), the current implementation doesn't explicitly enforce that a person's physical body shape should remain constant throughout a video.

For future directions, the authors suggest moving toward iterative feedback loops and exploring "residual free-form deformations"—allowing the model to represent clothing or unique body features that the standard SMPL model cannot capture.

Summary updated

BibTeX
@inproceedings{tung2017self,
  author = {Hsiao-Yu Tung and Hsiao-Wei Tung and Ersin Yumer and Katerina Fragkiadaki},
  title = {{Self-supervised Learning of Motion Capture}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=H14DUwW_bS},
}
Figure