Crossing Nets: Combining GANs and VAEs with a Shared Latent Space for Hand Pose Estimation

Chengde Wan, Thomas Probst, Luc Van Gool, Angela Yao

Abstract

State-of-the-art methods for 3D hand pose estimation from depth images require large amounts of annotated training data. We propose modelling the statistical relationship of 3D hand poses and corresponding depth images using two deep generative models with a shared latent space. By design, our architecture allows for learning from unlabeled image data in a semi-supervised manner. Assuming a one-to-one mapping between a pose and a depth map, any given point in the shared latent space can be projected into both a hand pose or into a corresponding depth map. Regressing the hand pose can then be done by learning a discriminator to estimate the posterior of the latent pose given some depth map. To prevent over-fitting and to better exploit unlabeled depth maps, the generator and discriminator are trained jointly. The proposed discriminator network architecture is highly efficient and runs at 90fps on the CPU with accuracies comparable or better than state-of-art on 3 publicly available benchmarks.

Introduction

Estimating the 3D pose of a human hand from a single depth image is a fundamental challenge in computer vision. Hands are highly articulated, frequently self-occlude, and exhibit significant visual similarity from varying viewpoints. While deep learning has advanced the state-of-the-art, these models typically require massive amounts of annotated data. Accurately labeling 3D joints on depth maps is labor-intensive and often impractical at scale. Conversely, collecting unlabeled depth footage is trivial. "Crossing Nets" addresses this bottleneck by leveraging unlabeled data through a dual-generative framework.

The Crossing Nets Architecture

The core innovation is an architecture that "crosses" two generative models through a shared latent space. This structure allows the model to bridge the gap between abstract pose configurations and raw depth imagery.

  1. Pose VAE: A Variational Autoencoder learns a low-dimensional manifold (a 23-dimensional latent space) representing realistic human hand configurations.
  2. Depth GAN: A Generative Adversarial Network learns to synthesize realistic depth images.
  3. Alignment: A mapping function ($Ali$) links the latent spaces of the VAE ($z_y$) and the GAN ($z_x$), assuming a one-to-one correspondence between a pose and its depth representation.
The Crossing Nets architecture (a) and its conceptual flow (b), highlighting the shared latent space and multi-task training components.

Multi-Task Training and Constraints

To ensure the model captures the underlying "grammar" of hand movement, it is trained jointly on three simultaneous tasks:

  • Posterior Estimation: Predicting the latent pose from a depth image.
  • GAN Disambiguation: A discriminator distinguishes between real and synthesized depth maps, forcing the generator to produce high-fidelity samples.
  • Smoothness Constraint: A Siamese network structure ensures that small perturbations in the latent space result in smooth, realistic transitions in both pose and image space, effectively performing a "random walk" on the hand manifold.

Semi-Supervised Learning and Results

A key strength of Crossing Nets is its ability to exploit unlabeled data. By synthesizing realistic depth maps from the latent pose space, the model performs internal data augmentation, improving generalization even when labeled data is scarce.

Average distance error on the NYU dataset as a function of the percentage of training frames used, comparing Crossing Nets to baseline methods.

As shown in the evaluation on the NYU dataset, using only 5% of the labeled frames yields results nearly as accurate as using 100%, thanks to the unsupervised learning from the remaining 95%. Furthermore, the system is highly efficient, achieving 90 FPS on a standard CPU, making it suitable for mobile and embedded applications where GPUs are unavailable.

Conclusion

Crossing Nets demonstrates that a shared latent space between pose and image domains can significantly reduce the reliance on labeled data. While hierarchical methods may still offer slightly better precision at sub-millimeter scales, the robustness and efficiency of this holistic approach set a new benchmark for real-time, semi-supervised hand pose estimation.

Summary updated

BibTeX
@inproceedings{wan2017crossing,
  author = {Chengde Wan and Thomas Probst and Luc Van Gool and Angela Yao},
  title = {{Crossing Nets: Combining GANs and VAEs with a Shared Latent Space for Hand Pose Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=HyVGzRbuWB},
}
Figure