Video Inference for Human Mesh Recovery with Vision Transformer

Hanbyel Cho, Jaesung Ahn, Yooshin Cho, Junmo Kim

Abstract

3D Human Mesh Recovery (HMR) from video sequences requires simultaneous modeling of temporal dynamics and kinematic relationships between body parts. Traditional methods often rely on recurrent architectures that struggle with complex kinematics or frame-based transformers that neglect temporal flow. This paper introduces HMR-ViT, a novel approach that treats video features as a 2D "Temporal-kinematic Feature Image." By employing a learnable Channel Rearranging Matrix (CRM) and a Vision Transformer (ViT), HMR-ViT achieves state-of-the-art performance on the 3DPW dataset while maintaining high parameter efficiency.

Introduction

Recovering a 3D human mesh from 2D video is an ill-posed problem due to depth ambiguity and occlusions. To resolve these ambiguities, models must effectively integrate temporal information (movement over time) and kinematic information (structural relationships between joints). While existing methods like VIBE utilize Gated Recurrent Units (GRUs) for temporal modeling, they often fail to capture intricate kinematic dependencies. HMR-ViT addresses this by unifying temporal and kinematic modeling within a single Transformer-based pass.

Methodology

The HMR-ViT pipeline consists of three primary stages: feature extraction, channel rearrangement, and transformer encoding.

  1. Temporal-kinematic Feature Image: A video sequence is processed through a frozen ResNet-50 to extract feature vectors for each frame. These vectors are stacked to form a 2D grid $M_{feat} \in \mathbb{R}^{T \times C}$, where $T$ represents time and $C$ represents feature channels.
  2. Channel Rearranging Matrix (CRM): Standard CNN features are typically unorganized with respect to specific body parts. The CRM is a learnable matrix that reorders these channels, ensuring that features with similar kinematic meanings are spatially adjacent in the feature grid.
  3. Vision Transformer (ViT) Encoding: The rearranged grid is partitioned into patches. Due to the CRM, each patch encapsulates a local window of both temporal and kinematic data. The ViT's self-attention mechanism then models global correlations across these patches.
Overview of the HMR-ViT architecture, illustrating the flow from video frames to the final SMPL mesh prediction via the CRM and Transformer Encoder.

The final output of the Transformer is passed to a regressor head to predict SMPL parameters, which define the 3D human body model.

Experiments and Results

The model was trained on a combination of 2D (InstaVariety, PoseTrack, PennAction) and 3D (MPI-INF-3DHP, Human3.6M) datasets. Evaluation was primarily conducted on the 3DPW and Human3.6M benchmarks. To ensure physically plausible motion, an AMASS-trained motion discriminator was employed.

HMR-ViT demonstrated a significant performance leap over previous video-based state-of-the-art models. On the 3DPW dataset, it achieved a Per-Vertex Error (PVE) of 110.8mm and a Mean Per Joint Position Error (MPJPE) of 91.5mm, marking a 4-8% improvement over the VIBE baseline. Furthermore, HMR-ViT is 36% more parameter-efficient, reducing the count from 69M to 44M.

Qualitative comparison between VIBE and HMR-ViT (Ours). HMR-ViT shows better alignment with the original image and more accurate side-view projections.

Ablation studies confirmed the necessity of the CRM; removing it led to increased error rates, highlighting the importance of structured feature locality for the Transformer's attention mechanism.

Conclusion

HMR-ViT presents a paradigm shift in video-based mesh recovery by treating abstract feature spaces as visual inputs. By leveraging the CRM to organize these features, the model effectively utilizes the Vision Transformer's strengths for joint temporal-kinematic reasoning. Future work may involve end-to-end fine-tuning of the feature encoder and optimizing patch sizes for varied motion types.

Summary updated

BibTeX
@inproceedings{cho2023video,
  author = {Hanbyel Cho and Jaesung Ahn and Yooshin Cho and Junmo Kim},
  title = {{Video Inference for Human Mesh Recovery with Vision Transformer}},
  booktitle = {FG},
  year = {2023},
  doi = {10.1109/fg57933.2023.10042731},
}
Figure