3D hand pose estimation from a single RGB image is a notoriously difficult computer vision task due to varying lighting, complex backgrounds, and severe self-occlusion. While deep learning has made significant strides in this area, supervised models remain highly "data-hungry." Obtaining accurate 3D annotations is expensive and often restricted to laboratory environments, leading to models that struggle to generalize to "in-the-wild" images.
Self-supervised learning (SSL) offers a compelling solution by pre-training models on massive, unlabeled datasets. However, a fundamental tension exists when applying standard SSL to pose estimation. Most SSL research focuses on image classification, where the goal is invariance (e.g., a "cat" is still a "cat" even if the image is rotated or recolored). In contrast, hand pose estimation requires equivariance: if an image is rotated by 30 degrees, the predicted joint locations must also rotate by exactly 30 degrees.
This paper, originally presented at the NeurIPS 2020 Preregistration Workshop, investigates whether the "invariance" bias of standard contrastive learning hinders regression performance, and tests it against a novel "relative objective" designed specifically to promote equivariance.
Methodology: Invariance vs. Equivariance
The authors compare two primary self-supervised learning objectives to see which yields better representations for 3D hand pose estimation:
- Contrastive Learning (The Baseline): Following the SimCLR framework, the model is trained to pull the latent features of two different augmentations of the same image together, while pushing the features of different images apart. This promotes invariance.
- Relative Objective (The Proposal): Instead of forcing features to be identical across augmentations, the model is tasked with predicting the relative transformation between two augmented views (e.g., "Image B is rotated 45 degrees relative to Image A"). The hypothesis is that this forces the model to learn features that actively track geometric changes, promoting equivariance.
To evaluate these methods, the authors used a linear evaluation protocol: they froze the pre-trained backbone and trained only a single linear layer to regress hand joints. This isolates and measures the quality of the learned representations.
Datasets
The study utilizes two major benchmarks to train and evaluate the models:
- FreiHAND (FH): Contains 32,560 unique samples, which are expanded to 130k using synthetic backgrounds.
- InterHands2.6M (IH): A massive dataset where the authors focused specifically on the single-hand split, containing roughly 688k samples.
Key Insights and Results
The Equivariance Paradox
Theoretically, predicting relative transformations should be superior for a regression task like pose estimation. Surprisingly, the "relative objective" performed significantly worse than the standard contrastive objective. On the FreiHAND dataset using a ResNet-18 backbone, the Contrastive objective achieved a median error of 12.05 cm, while the proposed Relative objective lagged far behind at 23.31 cm.
The authors suggest that to solve the relative rotation task, a model might simply "fixate" on a few specific pixels or artifacts rather than learning the holistic, global structure of the hand.
Contrastive Learning is Robust
Despite its inherent push for invariance, contrastive learning captures surprisingly rich spatial features that translate exceptionally well to joint regression. When fine-tuning a high-capacity HRNet pre-trained with contrastive learning on FreiHAND, the authors observed a 12% improvement in Mean Per Joint Error (MPJE) compared to training from scratch (0.95 cm vs 1.08 cm PA-MPJE).
Furthermore, pre-training on a combination of the IH and FH datasets improved performance on the IH test set by 12.5% (MPJE), demonstrating that SSL can effectively help bridge the gap between different data distributions.
Model Capacity and Augmentation
SSL benefits were found to be marginal on smaller backbones like ResNet-18. However, when using a larger HRNet backbone, the benefits of contrastive pre-training became much more pronounced. This suggests that larger models are better equipped to "absorb" the structural knowledge provided by SSL.
Additionally, the choice of image augmentation is critical. For hand pose estimation, the most effective "recipe" for contrastive learning involved a combination of scaling, color jittering (like color dropping), and translation.
Limitations and Future Work
- Pretext Task Design: The poor performance of the relative objective suggests that simple geometric transformations (like rotation or translation) might be too "easy" or prone to shortcuts. They fail to force the model to learn the complex, underlying geometry of the hand.
- The "Invariance" Mystery: The paper leaves open the fundamental question of why an objective explicitly designed for invariance works so well for a task strictly requiring equivariance. Future work could investigate the specific neurons or network layers where this transition occurs.
- Label Efficiency: While SSL undeniably improves performance, the gap between "frozen" SSL features and fully supervised models remains significant, especially for smaller architectures. Finding an SSL task that truly captures the "priors" of human biomechanics remains an open challenge for the field.
Summary updated