Abstract
We propose a robust and accurate method for estimating the 3D poses of two hands in close interaction from a single color image. This is a very challenging problem, as large occlusions and many confusions between the joints may happen. State-of-the-art methods solve this problem by regressing a heatmap for each joint, which requires solving two problems simultaneously: localizing the joints and recognizing them. In this work, we propose to separate these tasks by relying on a CNN to first localize joints as 2D keypoints, and on self-attention between the CNN features at these keypoints to associate them with the corresponding hand joint. The resulting architecture, which we call “Keypoint Transformer”, is highly efficient as it achieves state-of-the-art performance with roughly half the number of model parameters on the InterHand2.6M dataset. We also show it can be easily extended to estimate the 3D pose of an object manipulated by one or two hands with high performance. Moreover, we created a new dataset of more than 75,000 images of two hands manipulating an object fully annotated in 3D and will make it publicly available.
Introduction: The Challenge of Close Interaction
Estimating the 3D pose of a single hand is a well-studied problem, but complexity increases significantly when two hands interact or manipulate objects. In these "close interaction" scenarios, two major challenges arise:
- Ambiguity: Hand joints look remarkably similar. When fingers from two different hands overlap, it is incredibly difficult for a standard neural network to tell which "index tip" belongs to which hand.
- Occlusion: Hands frequently hide parts of themselves or the object they are holding.
Traditional "bottom-up" methods attempt to solve this by regressing a separate heatmap for every single joint (e.g., 42 heatmaps for two hands). This forces the network to localize and identify joints simultaneously, often leading to "confusion" errors where the model swaps left and right hand parts.
Methods: Decoupling Localization and Identification
The Keypoint Transformer architecture breaks the pose estimation process into three distinct stages to avoid the pitfalls of simultaneous localization and identification.
- Generic Keypoint Detection: Instead of looking for specific joints, a U-Net detects "generic" keypoints—any point that looks like a joint—using a single-channel heatmap. This simplifies the initial task to pure localization.
- Joint Association (The Transformer Encoder): The detected keypoints are encoded with image features (sampled from the CNN) and spatial positional encodings. These are fed into a Transformer encoder. Through self-attention, the model looks at the global configuration of all keypoints to decide their identities (e.g., "this point is the left thumb," "this point is background noise").
- Pose Prediction (The Transformer Decoder): Finally, a set of learned "joint queries" uses cross-attention to pull information from the identity-aware keypoints. This stage predicts the actual 3D coordinates or MANO mesh parameters.
The architecture is flexible enough to handle objects as well; the model simply treats randomly sampled points on the object's surface as additional "object keypoints" to be processed by the same Transformer logic.
Datasets and Evaluation
The model was evaluated on several major benchmarks:
- InterHand2.6M: A massive dataset for two-hand interactions.
- HO-3D: A standard dataset for single hand-object interactions.
- H2O-3D (New): The authors introduced this new dataset containing over 75,000 images of two hands manipulating objects, providing a more challenging benchmark for complex, multi-entity interactions.
Key Results and Insights
The Keypoint Transformer demonstrates that decoupling is key. By separating "where is a joint?" from "which joint is it?", the model avoids the confusion common in multi-heatmap approaches. The Transformer is much better at "connecting the dots" than a standard convolutional layer.
- State-of-the-Art Performance: On InterHand2.6M, the model achieved a 10% improvement in accuracy over InterNet and outperformed other Transformer-based baselines by 12-16%. On HO-3D, it reduced joint error to 2.57cm (compared to the previous best of ~3.04cm).
- Efficiency: Despite the power of Transformers, the architecture is highly efficient. Because it only performs attention on a small set of detected keypoints (rather than every pixel), it achieves better results than the previous state-of-the-art (InterNet) with only half the model parameters.
- Robustness: The cross-attention mechanism acts as a robust filter. If a joint is occluded, the attention mechanism learns to look at nearby visible keypoints to infer the position of the hidden one.
Limitations and Future Work
While the Keypoint Transformer is a significant advancement, some hurdles remain:
- Physical Plausibility: The model currently predicts poses frame-by-frame and does not explicitly model physical constraints. This can occasionally result in "impossible" poses where fingers pass through the object or each other.
- Temporal Information: The current version doesn't use video context. Incorporating temporal data could help smooth out jitter and improve tracking during extreme occlusions.
- Extreme Occlusion: In cases where a hand is almost entirely hidden, the model can still fail to recover a reasonable pose.
Future work involving physical modeling and temporal consistency could resolve these remaining "implausible" failure cases.
Summary updated