PoseBERT: A Generic Transformer Module for Temporal 3D Human Modeling

Fabien Baradel, Romain Brégier, Thibault Groueix, Philippe Weinzaepfel, Yannis Kalantidis, Grégory Rogez

TL;DR

PoseBERT is a lightweight, plug-and-play transformer module that brings temporal consistency to 3D human pose estimation. By training exclusively on 3D motion capture (MoCap) data using a masked modeling approach, it effectively refines noisy predictions, fills in missing frames, and predicts future poses from standard image-based estimators in real-time.

What Problem Does This Paper Address?

Estimating the 3D pose of a human body or hand from video is a fundamental challenge in computer vision. While image-based models have become quite accurate, they operate on a frame-by-frame basis, often resulting in jittery "flickering" motions, failures during occlusions, or complete misses due to motion blur.

The obvious solution is to use temporal information from video sequences. However, training temporal models (like Transformers or GRUs) typically requires massive amounts of video data with ground-truth 3D annotations—data that is notoriously difficult and expensive to collect "in the wild." Consequently, many existing methods rely on "pseudo-ground truth" (noisy labels generated by other models), which can limit their ultimate accuracy and physical plausibility.

Methods

The authors introduce PoseBERT, a generic transformer module designed to be stacked on top of any existing image-based 3D pose estimator.

The Architecture

PoseBERT consists of $L$ transformer blocks. Unlike standard transformers that might output a final prediction at the very end, PoseBERT uses an iterative pose regression strategy. At each layer, the transformer's output is concatenated with the pose estimate from the previous layer and fed into a shared regressor (an MLP) to refine the 3D parameters (see Figure 2).

The PoseBERT architecture. It takes a sequence of poses and iteratively refines them through L transformer blocks.

Masked Modeling & Denoising

The most novel aspect is the training regime. PoseBERT is trained entirely on 3D Motion Capture (MoCap) data (like the AMASS dataset), without ever seeing a real image during training. It uses two self-supervised pretext tasks:

  1. Masked Modeling: Similar to BERT in NLP, random frames in a motion sequence are "masked" (hidden). The model must learn to interpolate these missing frames using the surrounding temporal context.
  2. Denoising: Artificial Gaussian noise and "random pose" swaps are injected into the input sequence. The model learns to ignore this noise and output a smooth, physically plausible motion.
The training process involves masking parts of a MoCap sequence and adding noise, forcing the model to reconstruct the original clean sequence.

Datasets

  • Training: The model leverages AMASS, a massive collection of MoCap datasets unified into the SMPL body model format, providing over 45 hours of high-quality 3D motion.
  • Evaluation (Body): Tested on 3DPW, MPI-INF-3DHP, MuPoTS-3D, and AIST (a dance dataset).
  • Evaluation (Hand): Tested on DexYCB, focusing on hand-object interactions.

Key Insights and Ideas

  • MoCap is Enough: You don't need real videos to learn human motion dynamics. Training on pure 3D data generalizes surprisingly well to the errors made by image-based models in real-world videos.
  • Plug-and-Play Versatility: Because it's task-agnostic, PoseBERT can be dropped onto various base models (like SPIN or HybrIK) without any fine-tuning, consistently improving their performance.
  • Efficiency for Real-Time: A forward pass takes only ~5ms. This low overhead allowed the authors to build a real-time robotic teleoperation demo where a human hand's motion, captured via a simple webcam, smoothly animates a robotic gripper.
  • Interpolation Power: The masked modeling task makes the model exceptionally robust to missing detections. If an image-based detector fails for several frames due to occlusion, PoseBERT "fills in the blanks" with a plausible motion (see Figure 4).
Qualitative results on MuPoTS-3D. PoseBERT successfully recovers the pose of a person who is completely occluded in the middle frame.

Key Results

  • Accuracy Gains: Adding PoseBERT to state-of-the-art models consistently reduced error (PA-MPJPE) by 1.0 to 10.3 mm across various datasets.
  • Smoothness: The "Accel" metric (measuring jitter) improved drastically. For example, on the DexYCB hand dataset, the acceleration error dropped from 33.44 to 4.52 when added to an LCR-Net base.
  • Robustness to Blur: In cases of heavy motion blur where image-based models fail completely, PoseBERT maintains a plausible sequence (see Figure 6).
  • Future Prediction: The model can predict future poses up to 1 second (30 frames) ahead with significantly higher accuracy than simple constant-velocity baselines.
Qualitative results on DexYCB. PoseBERT recovers a plausible hand pose even when the initial frame-based estimate is completely wrong due to motion blur.

Limitations and Future Work

  • Over-smoothing: In scenarios with extremely fast or erratic human motion, PoseBERT can sometimes over-smooth the results, losing fine-grained detail in favor of temporal stability.
  • Deterministic Nature: The current model is deterministic. Human motion is inherently multi-modal (the future could go many ways); the authors suggest a variational approach (like a VAE) could better handle long-term future uncertainty.
  • 2D vs 3D Trade-off: While 3D accuracy improves, the refined 3D meshes don't always perfectly re-project back onto the 2D image pixels. Future work could involve incorporating 2D reprojection losses to ensure better image alignment.

Summary updated

BibTeX
@article{baradel2023posebert,
  author = {Fabien Baradel and Romain Brégier and Thibault Groueix and Philippe Weinzaepfel and Yannis Kalantidis and Grégory Rogez},
  title = {{PoseBERT: A Generic Transformer Module for Temporal 3D Human Modeling}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2022.3216899},
}
Figure