Learning Variational Motion Prior for Video-based Motion Capture

Xin Chen, Zhuo Su, Lingbo Yang, Pei Cheng, Lan Xu, Bin Fu, Gang YuarXiv 2022

Abstract

Motion capture from a monocular video is fundamental and crucial for us humans to naturally experience and interact with each other in Virtual Reality (VR) and Augmented Reality (AR). However, existing methods still struggle with challenging cases involving self-occlusion and complex poses due to the lack of effective motion prior modeling. In this paper, we present a novel variational motion prior (VMP) learning approach for video-based motion capture to resolve the above issue. Instead of directly building the correspondence between the video and motion domain, We propose to learn a generic latent space for capturing the prior distribution of all natural motions, which serve as the basis for subsequent video-based motion capture tasks. To improve the generalization capacity of prior space, we propose a transformer-based variational autoencoder pretrained over marker-based 3D mocap data, with a novel style-mapping block to boost the generation quality. Afterward, a separate video encoder is attached to the pretrained motion generator for end-to-end fine-tuning over task-specific video datasets. Compared to existing motion prior models, our VMP model serves as a motion rectifier that can effectively reduce temporal jittering and failure modes in frame-wise pose estimation, leading to temporally stable and visually realistic motion capture results. Furthermore, our VMP-based framework models motion at sequence level and can directly generate motion clips in the forward pass, achieving real-time motion capture during inference. Extensive experiments over both public datasets and in-the-wild videos have demonstrated the efficacy and generalization capability of our framework.

Introduction

Reconstructing 3D human motion from a single 2D video is an "ill-posed" problem—meaning there are many 3D configurations that could result in the same 2D projection. Traditional methods often struggle with self-occlusion, temporal jitter, and uncommon poses. The authors argue that the key missing ingredient is a robust motion prior—a mathematical "understanding" of how humans naturally move over time.

Methodology

The researchers propose a two-stage learning strategy to address these challenges.

Stage I: Learning the Variational Motion Prior (VMP)

The core of the approach is a Transformer-based Variational Autoencoder (VAE). Unlike previous models that might only look at a single pose, this VAE is trained on massive amounts of marker-based 3D motion data (AMASS). By incorporating a "style-mapping block" and Adaptive Instance Normalization (AdaIN)—techniques borrowed from high-end image generation—the authors create an expressive and smooth latent space where a single vector ($z$) represents an entire sequence of motion.

Stage II: Video-based Capture

Once the prior is learned, a video encoder is attached. This encoder uses HRNet to extract high-resolution features from video frames and a Spatial-Temporal Transformer (STE) block to aggregate these features over time. The video encoder learns to map an input video clip directly into the pre-trained VMP latent space. Because the decoder (the VMP) only knows how to produce "natural" motions, it effectively filters out the noise and errors from the video input, acting as a "motion rectifier."

Figure 1: Example of a fitness video clip used for motion capture, showing the tracked hip trajectory.

Key Insights and Results

By encoding an entire clip into one latent point, the model inherently maintains temporal consistency. This sequence-level modeling prevents the "jittery" frames common in frame-wise estimators. Furthermore, the continuous nature of the latent space allows for interpolation between different styles of movement.

Figure 4: The VMP framework maps different video styles (fitness and ballet) into a shared motion prior space, enabling smooth interpolation and realistic motion generation.

On the 3DPW dataset, the model achieved a PA-MPJPE of 44.4mm, outperforming previous state-of-the-art methods like VIBE and MAED. It also significantly reduced acceleration error (ACCEL), leading to much smoother animations. Despite its complexity, the system runs at 30 FPS on a single Tesla V100 GPU, making it viable for real-time applications.

Conclusion and Future Work

While the VMP model excels at local body movement and temporal stability, challenges remain in absolute global positioning due to the inherent depth ambiguity of monocular video. Future work may extend this framework to multi-person interactions and incorporate finer details like hand and face gestures into the unified variational prior.

Summary updated

BibTeX
@misc{chen2022learning,
  author = {Xin Chen and Zhuo Su and Lingbo Yang and Pei Cheng and Lan Xu and Bin Fu and Gang Yu},
  title = {{Learning Variational Motion Prior for Video-based Motion Capture}},
  year = {2022},
  eprint = {2210.15134},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.15134},
}
Figure