OmniHands: Towards Robust 4D Hand Mesh Recovery via A Versatile Transformer

Dixuan Lin, Yuxiang Zhang, Mengcheng Li, Wei Jing, Qi Yan, Qianying Wang, Yebin Liu, Hongwen Zhang

TL;DR

OmniHands is a unified Transformer-based framework designed to robustly capture 3D meshes of interacting hands from monocular or multi-view video. By explicitly encoding hand-to-hand spatial relationships during tokenization and reasoning across temporal or spatial dimensions, it achieves state-of-the-art performance and maintains high stability even in heavily occluded "in-the-wild" scenarios.

What Problem Does This Paper Address?

Recovering the 3D shape and pose of hands is a cornerstone for VR/AR, robotics, and human-computer interaction. However, when two hands interact, they frequently occlude one another, leading to "jittery" or physically impossible reconstructions in standard models.

Existing methods typically fall into two traps: they either process hands individually (losing critical information about their relative distance) or they crop both hands into a single image (losing resolution and failing when hands move far apart). Furthermore, most models are specialized for either single-frame, video, or multi-view tasks, lacking a versatile architecture that can handle all these input types interchangeably.

Methods

The authors introduce OmniHands, a versatile Transformer architecture centered on two novel components:

  1. Relation-aware Two-Hand Tokenization (RAT): Instead of choosing between one crop or two, RAT crops each hand individually to maintain high visual detail. Crucially, it embeds a "position token map"—derived from the relative 2D distance and overlap of the original hand bounding boxes—directly into the hand tokens. This allows the network to be "spatially aware" of the other hand even when looking at a local crop.
  2. 4D Interaction Reasoning (FIR): This module treats temporal sequences (video frames) and spatial sequences (multi-view camera angles) as contextual data. It uses attention mechanisms to fuse features across these dimensions. For example, if a finger is occluded in one frame, the FIR module can "hallucinate" its position based on preceding/succeeding frames or other camera viewpoints.
The OmniHands framework uses RAT for spatial awareness and FIR for temporal/multi-view fusion.

The model is trained with a combination of standard MANO parameter losses and specialized Inter-Hand Losses that penalize incorrect finger-touching details and relative joint distances.

Datasets

The model was trained on a massive, diverse mix of data to ensure "in-the-wild" robustness:

  • Interacting Hand Datasets: InterHand2.6M (1.6M images) and Re:InterHand (738K images).
  • Single Hand Datasets: A collection of 2.7M images (FreiHAND, HO3D, DexYCB, etc.) to improve base accuracy.
  • Evaluation Benchmarks: Tested on unseen "in-the-wild" datasets including ARCTIC (hand-object interaction), HIC, and RenderIH (realistic synthetic hands).

Key Insights and Ideas

  • Unified Input is Key: By treating single-hand and two-hand scenarios with the same tokenization logic, the model avoids the artifacts that occur when specialized models switch modes as hands move closer or further apart.
  • Context as a 4D Sequence: The realization that multi-view data and temporal video data are both just "sequences of context" allows a single Transformer module (FIR) to handle both tasks effectively.
  • RAT Bridges the Gap: The RAT module (detailed below) successfully combines the high-resolution benefits of local cropping with the global context needed for relative positioning.
Detailed view of the Relation-Aware Tokenization (RAT) process.

Key Results

OmniHands demonstrates significant performance gains over previous state-of-the-art (SOTA) methods like IntagHand and InterWild:

  • Temporal Accuracy: On the InterHand2.6M 30fps benchmark, it achieved a 23.34% improvement in Mean Per Joint Position Error (MPJPE) compared to existing temporal models.
  • In-the-Wild Robustness: On the challenging ARCTIC dataset, OmniHands reduced the relative-root position error (MRRPE) by nearly 50% compared to previous methods.
  • Qualitative Stability: As shown in the comparison below, OmniHands produces much more natural and physically accurate hand interactions under varying lighting and severe occlusion.
Fig. 3. Qualitative Comparison. We compare OmniHands with state-of-the-art methods on in-the-wild datasets ARCTIC[Fan et al. 2023] and RenderIH[Li et al. 2023]. ARCTIC provides two-hand object interacting images, and RenderIH provides interactive hands under different lighting conditions. We have demonstrated the results from both the camera perspective and an arbitrary perspective. The results show that our method outperforms the state-of-the-art methods in complex real-world environments.

Limitations and Future Work

Despite its robustness, OmniHands is not yet ready for real-time mobile deployment. It currently runs at approximately 16 FPS on a high-end A800 GPU, whereas real-time applications typically require 25-30 FPS. The authors also note a 4-frame delay in live video processing because the model requires "future" frames to optimize the current frame's mesh.

Future work will focus on optimizing the code (moving from Python to C++) and exploring ways to reduce computational demand without sacrificing the accuracy provided by the large Vision Transformer (ViT-h) backbone.

Summary updated

BibTeX
@misc{lin2024omnihands,
  author = {Dixuan Lin and Yuxiang Zhang and Mengcheng Li and Wei Jing and Qi Yan and Qianying Wang and Yebin Liu and Hongwen Zhang},
  title = {{OmniHands: Towards Robust 4D Hand Mesh Recovery via A Versatile Transformer}},
  year = {2024},
  eprint = {2405.20330},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.20330},
}
Figure