A Dual-Masked Auto-Encoder for Robust Motion Capture with Spatial-Temporal Skeletal Token Completion

Junkun Jiang, Jie Chen, Yike Guo

Introduction

Capturing the 3D movement of multiple individuals using standard RGB cameras remains a significant challenge in computer vision. While multi-view systems have improved, they typically rely on a multi-stage pipeline involving 2D joint detection followed by 3D triangulation. This approach is highly susceptible to failure in real-world scenarios characterized by close human interactions and severe occlusions. In such cases, 2D detectors often produce noisy or missing joint data, leading to fragmented and jittery 3D reconstructions.

To address these limitations, this paper presents a Dual-Masked Auto-Encoder (D-MAE) framework. By conceptualizing human motion as a "grammar" of skeletal tokens, the D-MAE can robustly reconstruct complete 3D trajectories even when significant portions of the skeletal data are missing or corrupted.

Methodology

The D-MAE framework operates in two primary stages: Adaptive Triangulation and Spatial-Temporal Completion.

Adaptive Triangulation

The first stage moves beyond standard triangulation by incorporating appearance and geometric constraints to filter out erroneous 2D detections. A key feature of this module is its ability to explicitly identify missing joints for each person. This process generates a "mask" that informs the subsequent completion stage exactly which joints require reconstruction.

Dual-Masked Auto-Encoder (D-MAE)

The core of the system is the D-MAE, which treats every 3D joint at every time step as an independent token. This approach is inspired by Masked Auto-Encoders (MAE) used in image processing but adapted for the unique structure of skeletal motion.

The D-MAE pipeline: from multi-view 2D detections through adaptive triangulation to spatial-temporal skeletal token completion.

To enable the Transformer-based architecture to understand the context of these tokens, the authors introduce Dual Encoding:

  1. Skeletal-structural Encoding: Identifies the specific joint (e.g., left knee vs. right elbow).
  2. Temporal Positional Encoding: Identifies the point in time when the joint position was recorded.

Additionally, a Skeleton-fusion strategy allows the model to transfer knowledge between different skeletal definitions (e.g., converting an OpenPose model to a Shelf model) by learning joint correlations during fine-tuning. The encoder processes only the visible (unmasked) joints, while the decoder utilizes latent representations and mask tokens to "hallucinate" the missing 3D coordinates based on learned human kinematics.

Experimental Evaluation

The researchers evaluated the D-MAE framework on several established benchmarks and a newly introduced dataset:

  • Shelf Dataset: A standard indoor benchmark featuring four actors captured by five cameras.
  • CMU Panoptic: A large-scale dataset focusing on complex social interactions.
  • BU-Mocap: A new, challenging dataset introduced by the authors. It features high-density interactions with severe occlusions and provides high-accuracy manual annotations for five motion clips (1000 frames each).

Results and Discussion

The D-MAE framework achieved state-of-the-art (SOTA) performance across all tested benchmarks. On the Shelf dataset, the model reached a 99.1% Percentage of Correctly estimated Parts (PCP) for multiple actors, significantly outperforming traditional triangulation and end-to-end learning methods.

Robustness and Qualitative Completion

A critical finding is the model's robustness to data loss. When the number of available camera views was reduced from five to three, D-MAE maintained high accuracy, whereas competing methods showed sharp performance degradation.

Qualitative results on the Shelf dataset. The red segments highlight joints successfully reconstructed by the D-MAE despite being missing in the initial triangulation phase.

Qualitative analysis demonstrates the model's ability to infer occluded limbs. For instance, if a shoulder and wrist are visible, the D-MAE can accurately predict the position of an occluded elbow by leveraging the learned dependencies between joints over time. This "infilling" approach proves far more effective than simple noise filtering.

Conclusion

The Dual-Masked Auto-Encoder represents a significant step forward in robust 3D motion capture. By treating joints as tokens and applying dual spatial-temporal encodings, the framework effectively bridges the gap between noisy 2D detections and complete 3D skeletal trajectories. Future work will focus on extending the temporal window beyond the current 15-frame sliding window to handle longer-duration occlusions and integrating 2D detection more tightly into the end-to-end learning process.

Summary updated

BibTeX
@inproceedings{jiang2022dual,
  author = {Junkun Jiang and Jie Chen and Yike Guo},
  title = {{A Dual-Masked Auto-Encoder for Robust Motion Capture with Spatial-Temporal Skeletal Token Completion}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3547796},
}

Loading related content...

Figure