Abstract
With an enormous number of hand images generated over time, unleashing pose knowledge from unlabeled images for supervised hand mesh estimation is an emerging yet challenging topic. To alleviate this issue, semi-supervised and self-supervised approaches have been proposed, but they are limited by the reliance on detection models or conventional ResNet backbones. In this paper, inspired by the rapid progress of Masked Image Modeling (MIM) in visual classification tasks, we propose a novel self-supervised pre-training strategy for regressing 3D hand mesh parameters. Our approach involves a unified and multi-granularity strategy that includes a pseudo keypoint alignment module in the teacher-student framework for learning pose-aware semantic class tokens. For patch tokens with detailed locality, we adopt a self-distillation manner between teacher and student network based on MIM pre-training. To better fit low-level regression tasks, we incorporate pixel reconstruction tasks for multi-level representation learning. Additionally, we design a strong pose estimation baseline using a simple vanilla vision Transformer (ViT) as the backbone and attach a PyMAF head after tokens for regression. Extensive experiments demonstrate that our proposed approach, named HandMIM, achieves strong performance on various hand mesh estimation tasks. Notably, HandMIM outperforms specially optimized architectures, achieving 6.29mm and 8.00mm PAVPE (Vertex-Point-Error) on challenging FreiHAND and HO3Dv2 test sets, respectively, establishing new state-of-the-art records on 3D hand mesh estimation.
Introduction
Estimating a 3D hand mesh from a single RGB image is a complex task due to cluttered backgrounds, severe self-occlusion, and the scarcity of high-quality 3D ground-truth labels. While self-supervised learning (SSL) has revolutionized image classification, its application to 3D pose regression has been limited. Standard SSL techniques, such as Masked Image Modeling (MIM), primarily focus on high-level semantic recognition and often fail to capture the geometric transformation equivalence necessary for precise spatial tasks. This lack of spatial awareness makes it difficult for pre-trained models to provide the fine-grained details required for accurate 3D mesh reconstruction.
Methodology: The HandMIM Framework
To bridge this gap, this work introduces HandMIM, a multi-granularity pre-training framework utilizing a teacher-student distillation setup.
The framework consists of three primary components:
- Pose-Aware Keypoint Alignment: This module treats the global "class token" as a set of pseudo-keypoints in latent space. During pre-training, the student and teacher networks process different augmented views of the same hand. By applying inverse geometric transformations to these tokens, the model is forced to learn a unified, pose-consistent representation regardless of image cropping or rotation.
- Multi-Granularity Reconstruction:
- Token-level: The student network learns to recover masked patches by distilling knowledge from the teacher's unmasked tokens.
- Pixel-level: To enhance performance on low-level regression tasks, a pyramid fusion layer reconstructs raw pixels from transformer blocks, ensuring the retention of spatial resolution.
- Vanilla Backbone: Unlike previous state-of-the-art methods that rely on specialized graph convolutions, HandMIM utilizes a standard Vision Transformer (ViT). For the final regression task, a lightweight PyMAF head is attached to regress MANO parameters.
Experimental Setup
The model was pre-trained on a combined dataset of approximately 221,602 images from FreiHAND, Youtube3DHands, and COCO 2017. For unlabeled data, initial hand crops were generated using MediaPipe. Evaluation was conducted on two major benchmarks:
- FreiHAND: The gold standard for 3D hand pose, featuring various backgrounds and gestures.
- HO3Dv2: A challenging dataset focused on hands interacting with objects, which introduces significant occlusion.
Results and Discussion
HandMIM demonstrates that MIM can be effectively adapted for regression tasks by explicitly incorporating geometric invariance into the pre-training process.
Key Performance Metrics
- New State-of-the-Art on FreiHAND: HandMIM-Large achieved a Vertex-Point-Error (PAVPE) of 6.29mm, outperforming previous leaders such as METRO (6.6mm) and Mesh Graphormer (6.8mm).
- Robustness to Occlusion: On the HO3Dv2 dataset, HandMIM-Large reached 8.00mm PAVPE, significantly surpassing methods designed specifically for hand-object interactions, such as HandOccNet (8.8mm).
- Scalability and Efficiency: Performance scaled consistently from ViT-Small (22M parameters) to ViT-Large (307M parameters). Even the lightweight ViT-Small version remained competitive, operating at 40 FPS on a single V100 GPU.
These results suggest that well-pre-trained general-purpose models can outperform specialized, hand-designed architectures. Forcing the model to "undo" augmentations in its latent space (keypoint alignment) proved more effective for pose tasks than simple contrastive learning.
Conclusion and Future Work
HandMIM establishes new benchmarks for 3D hand mesh estimation by leveraging pose-aware self-supervised learning. Future research could extend this framework to more diverse hand structures beyond the MANO model or apply it to full-body human mesh estimation. Additionally, exploring how to leverage noisier, "in-the-wild" data and expanding the approach to complex human-object interaction scenarios remain promising directions for future work.
Summary updated