Handformer2T: A Lightweight Regression-based Model for Interacting Hands Pose Estimation from A Single RGB Image

Pengfei Zhang, Deying KongWACV 2024

Abstract

Despite its extensive range of potential applications in virtual reality and augmented reality, 3D interacting hand pose estimation from RGB image remains a very challenging problem, due to appearance confusions between keypoints of the two hands, and severe hand-hand occlusion. Due to their ability to capture long range relationships between keypoints, transformer-based methods have gained popularity in the research community. However, the existing methods usually deploy tokens at keypoint level, which inevitably results in high computational and memory complexity. In this paper, we propose a simple yet novel mechanism, i.e., hand-level tokenization, in our transformer based model, where we deploy only one token for each hand. With this novel design, we also propose a pose query enhancer module, which can refine the pose prediction iteratively, by focusing on features guided by previous coarse pose predictions. As a result, our proposed model, Handformer2T, can achieve high performance while maintaining lightweight. Extensive experiments on public benchmarks demonstrate that our model can achieve state-of-the-art performance on interacting-hand pose estimation with higher throughput, less memory and faster speed.

Introduction

3D hand pose estimation is a cornerstone of Virtual Reality (VR), Augmented Reality (AR), and human-computer interaction. However, estimating the poses of interacting hands—where two hands are touching or overlapping—is notoriously difficult. Primary challenges include severe self-occlusion and "appearance confusion," where models struggle to distinguish which keypoint belongs to which hand.

While Transformer-based models are effective at modeling long-range relationships between joints, they typically assign one token to every keypoint. In a two-hand scenario involving 42 keypoints, the quadratic complexity of self-attention ($O(n^2)$) leads to high memory usage and slow inference. This makes such models impractical for real-time applications on mobile or edge devices.

Methodology

The proposed Handformer2T architecture addresses these efficiency concerns by shifting from keypoint-level to hand-level tokenization.

Architecture of Handformer2T featuring hand-level tokenization and the Pose Query Enhancer (PQE) module.

The pipeline consists of four main components:

  1. Feature Extractor: A standard CNN backbone (e.g., ResNet34 or ResNet50) extracts multi-scale image features.
  2. Hand-level Tokenization: Instead of 42 tokens, the model generates only two tokens—one for the left hand and one for the right. This drastically reduces the computational overhead of the Transformer layers.
  3. Coarse Predictor: These two tokens pass through Multi-Head Self-Attention (MHSA) layers to generate an initial, coarse 3D pose prediction.
  4. Iterative Refiner with Pose Query Enhancer (PQE): To regain granularity, a refinement stage re-projects coarse 3D joints into 2D space and samples local 3x3 feature patches. This "Keypoint-guided feature fusion" allows the model to "zoom in" on relevant image details to iteratively improve the pose estimate.

The model is trained using Residual Log-likelihood Estimation (RLE) to handle spatial uncertainty and Maximum Mean Discrepancy (MMD) to align predicted pose distributions with ground truth.

Experimental Setup

Handformer2T was evaluated on two major benchmarks:

  • InterHand2.6M: A large-scale dataset for interacting hands, containing 1.36 million training images with semi-automatically annotated 3D coordinates.
  • RHP (Rendered Hand Pose): A synthetic dataset featuring various hand actions in diverse environments to test generalization.

Key Results

Handformer2T demonstrates that a "global" hand token, when refined by local feature sampling, is sufficient and far more efficient than dense joint-level attention. By using the current pose estimate to guide the PQE module, the model focuses on specific image regions rather than computing redundant relationships across all joints.

Comparison of Mean Per Joint Position Error (mm) vs. Number of Parameters (Millions) against state-of-the-art methods.

Key performance metrics include:

  • Accuracy: On InterHand2.6M, it achieved a Mean Per Joint Position Error (MPJPE) of 10.72 mm for interacting hands, outperforming previous SOTA models like InterNet (16.02 mm) and A2J-Transformer (10.96 mm).
  • Efficiency: The ResNet50 version achieved a throughput of 298 images per second, more than double that of the baseline InterNet model (137 images/sec).
  • Compactness: The model requires only 36M to 51M parameters, making it highly suitable for edge deployment.

Conclusion

Handformer2T proves that a regression-based approach combined with uncertainty modeling can outperform heatmap-based methods in both speed and precision. While the model currently relies on ground-truth bounding boxes and camera intrinsics for its refinement module, future work may involve learning these parameters directly to enable fully autonomous "in-the-wild" application. Additionally, incorporating temporal information from video could further improve performance under extreme occlusion.

Summary updated

BibTeX
@inproceedings{zhang2024handformer,
  author = {Pengfei Zhang and Deying Kong},
  title = {{Handformer2T: A Lightweight Regression-based Model for Interacting Hands Pose Estimation from A Single RGB Image}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=0C6C4NFP25},
}
Figure