Reconstructing Hands in 3D with Transformers

Georgios Pavlakos, Dandan Shan, Ilija Radosavovic, Angjoo Kanazawa, David Fouhey, Jitendra Malik

Introduction

Accurately reconstructing a 3D hand mesh from a single 2D image remains a fundamental challenge in computer vision. Hands are highly articulated, frequently self-occluding, and often obscured by objects or other hands during interaction. While existing models perform well on laboratory benchmarks like FreiHAND, they often fail when applied to "in-the-wild" images characterized by motion blur, diverse skin tones, and complex viewpoints.

To address this, researchers have introduced HaMeR (Hand Mesh Recovery), a fully transformer-based model designed to bridge the gap between controlled environments and real-world application by scaling both model capacity and training data.

Methodology

HaMeR moves away from complex, hand-specific architectural priors in favor of a streamlined, high-capacity design. The architecture consists of two primary components:

  1. Vision Transformer Backbone: The model utilizes a large-scale ViT-H backbone. This allows the system to ingest and learn from massive datasets more effectively than traditional convolutional neural networks.
  2. Transformer Regression Head: A transformer decoder processes the ViT output tokens to directly regress the parameters of the MANO hand model (pose and shape) alongside camera parameters.

Training is conducted using a combination of 3D supervision for laboratory data and 2D reprojection losses for in-the-wild images. Adversarial training is further employed to ensure that the resulting 3D meshes are anatomically plausible and natural-looking.

Scaling Data and Benchmarks

The performance of HaMeR is largely attributed to its extensive training regimen. The authors consolidated multiple datasets, including FreiHAND, HO3D, and InterHand2.6M, to create a training set of 2.7 million examples—roughly four times the volume used by previous state-of-the-art systems.

HaMeR utilizes a massive training dataset of 2.7M examples, incorporating diverse sources like Ego4D and VISOR to improve real-world robustness.

To evaluate performance in realistic scenarios, the researchers introduced the HInt (Hand Interactions in the wild) benchmark. HInt contains over 40,000 hand annotations with 2D keypoints and joint-specific occlusion labels, sourced from diverse video datasets such as YouTube, VISOR, and Ego4D.

Key Results and Generalization

HaMeR establishes a new state-of-the-art across multiple metrics. On the HInt benchmark, it achieves a 2-3x improvement in accuracy ([email protected]) over previous leaders like FrankMocap. Crucially, this gain in robustness does not come at the cost of laboratory accuracy, as the model also sets new records on standard benchmarks like FreiHAND.

HaMeR demonstrates exceptional robustness across a wide variety of challenging scenarios, including classical art, heavy occlusion, and non-humanoid robotic hands.

Qualitatively, the model exhibits remarkable generalization. It successfully reconstructs hands in scenarios far outside its training distribution, such as gloved hands, hands in Renaissance paintings, and even mechanical robotic grippers. This suggests that the combination of a high-capacity transformer and diverse data acts as a significant "force multiplier" for generalization.

Conclusion and Future Work

HaMeR demonstrates that scaling laws, which have revolutionized natural language processing, are equally applicable to 3D computer vision tasks. By simplifying the architecture and maximizing data scale, the model achieves unprecedented robustness.

Currently, HaMeR operates as a single-frame approach. Future developments may involve integrating temporal modules to improve consistency in video sequences. Additionally, the community continues to face the challenge of obtaining reliable 3D ground truth for complex, in-the-wild interactions to further refine these models.

Summary updated

BibTeX
@inproceedings{pavlakos2023reconstructing,
  author = {Georgios Pavlakos and Dandan Shan and Ilija Radosavovic and Angjoo Kanazawa and David Fouhey and Jitendra Malik},
  title = {{Reconstructing Hands in 3D with Transformers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure