GestureGAN for Hand Gesture-to-Gesture Translation in the Wild

Hao Tang, Wei Wang, Dan Xu, Yan Yan, Nicu Sebe

Introduction

Translating hand gestures in unconstrained environments—often referred to as "in the wild"—is a significant challenge in computer vision. Unlike controlled laboratory settings, real-world images feature complex backgrounds, diverse lighting conditions, and varying hand orientations. Furthermore, hands frequently exhibit self-occlusion, where fingers are hidden behind the palm, complicating the translation process.

Existing image-to-image translation frameworks, such as pix2pix or CycleGAN, face two primary hurdles in this domain. First, they lack efficiency, often requiring separate generators for every pair of gesture domains. Second, they suffer from "channel pollution." Standard loss functions (like $L_2$) typically couple RGB channels during backpropagation; an error in one channel can negatively impact the gradients of others, resulting in blurry, unrealistic images with noticeable color artifacts.

Methodology

GestureGAN introduces a novel architecture designed to overcome these limitations using a single generator ($G$) and discriminator ($D$). The generator takes a source image $x$ and a target hand skeleton $S_y$ (comprising 21 keypoints) as input to produce the translated image $y$.

The GestureGAN architecture utilizes cycle-consistency and skeleton-based guidance to translate gestures while preserving identity.

Key Innovations

  • Color Loss: To combat channel pollution, the authors compute losses for each RGB channel independently. This decoupling ensures sharper edges and more accurate color reproduction by preventing errors in one channel from degrading the learning signal for others.
  • Cycle-Consistency Loss: By enforcing that a translated gesture can be mapped back to its original state, the model better preserves the identity of the subject and the integrity of the background.
  • Skeleton-based Guidance: The research demonstrates that using a full skeleton (lines connecting joints) provides richer structural information than isolated keypoint dots, leading to more anatomically correct generations.
  • Fréchet ResNet Distance (FRD): A new evaluation metric is proposed that calculates distances at a semantic level using a ResNet backbone, which aligns more closely with human visual perception than the standard Fréchet Inception Distance (FID).

Experiments and Results

The model was evaluated on the NTU Hand Digit and Creative Senz3D datasets. GestureGAN significantly outperformed state-of-the-art competitors such as PG$^2$ and PoseGAN in both qualitative and quantitative assessments.

Qualitative comparison showing GestureGAN's superior ability to maintain image clarity and identity compared to PG^2.

In Amazon Mechanical Turk (AMT) user studies, participants preferred GestureGAN outputs by a wide margin (e.g., 26.1% vs. 9.3% for the next best model on the NTU dataset). Quantitatively, the model achieved the lowest Mean Squared Error (MSE) and highest Peak Signal-to-Noise Ratio (PSNR).

Perhaps the most impactful result is the model's utility in generative data augmentation. A gesture classifier trained solely on real data achieved only ~15% accuracy on the NTU dataset. However, when the training set was augmented with synthetic images generated by GestureGAN, the classifier's accuracy rose to 96.67%, demonstrating the high realism of the generated samples.

Conclusion

GestureGAN effectively addresses the complexities of hand gesture translation in the wild. By introducing color loss to prevent blurring and leveraging skeleton-based guidance, the model produces high-quality, identity-preserving translations. Its success in data augmentation highlights its potential for solving data scarcity issues in specialized computer vision tasks. Future work will explore scenarios involving dynamic backgrounds and reducing reliance on external keypoint detectors.

Summary updated

BibTeX
@inproceedings{tang2018gesturegan,
  author = {Hao Tang and Wei Wang and Dan Xu and Yan Yan and Nicu Sebe},
  title = {{GestureGAN for Hand Gesture-to-Gesture Translation in the Wild}},
  booktitle = {ACM Multimedia},
  year = {2018},
  url = {https://openreview.net/forum?id=IO50EnI76},
}
Figure