Boosting Gesture Recognition with an Automatic Gesture Annotation Framework

Junxiao Shen, Xuhai Xu, Ran Tan, Amy Karlson, Evan Strasnick · DOI

TL;DR

This paper introduces a novel framework for automatically annotating hand gesture data, addressing the costly and time-consuming nature of manual annotation. By combining a new annotation model leveraging CTC loss with a semi-supervised learning pipeline, the framework achieves both gesture classification and precise temporal localization, significantly improving downstream gesture recognition models.

What Problem Does This Paper Address?

Training effective real-time gesture recognition models, especially for applications like augmented and virtual reality, heavily relies on large, accurately annotated datasets. However, manually labeling gestures, which involves identifying both the gesture class and its exact temporal boundaries (nucleus localization), is a laborious and expensive process. Existing methods often require strongly-segmented data, further increasing annotation effort. While some techniques aim to alleviate data sparsity, they still depend on pre-existing annotated data. This paper tackles the challenge of creating high-quality gesture annotations automatically, enabling the use of vast amounts of unlabeled data for training.

Methods

The core of the proposed solution is a two-component framework:

  1. Novel Annotation Model: This model is designed to perform both gesture classification and nucleus localization simultaneously. Key design choices include:
  2. Large Window Size: Unlike traditional models that use small windows for classification, this model employs a larger window to capture more temporal context, aiding localization.
  3. Many-to-Many Architecture: Instead of a one-to-one mapping (sequence to single label), a many-to-many architecture (sequence to sequence) is used to preserve fine-grained temporal information.
  4. Connectionist Temporal Classification (CTC) Loss: This is a crucial component that allows the model to be trained on weakly-segmented data. CTC naturally handles the alignment between input sequences and output labels, eliminating the need for precise start/end frame annotations. It also produces "spiky" outputs that directly aid in nucleus localization.
  5. Dynamic Adjustment: The model incorporates a dynamic adjustment mechanism to average predictions across frames within a window, further refining localization.
  6. Semi-Supervised Learning Pipeline (Pseudo-Labeling): This pipeline leverages the annotation model to generate "pseudo-labels" for unlabeled data. The process involves:
  7. Generating weakly and strongly augmented versions of unlabeled data.
  8. Using the annotation model to predict pseudo-labels on the weakly augmented data.
  9. For high-confidence predictions, these pseudo-labels are used to train the annotation model further on the strongly augmented data. This iterative process allows the model to improve its own annotation capabilities.

These high-quality pseudo-labels can then be used to fine-tune existing downstream gesture recognition models.

Datasets

The framework was evaluated on two publicly available skeleton-based gesture datasets:

  • SHREC'2021 [3]: Contains 18 gesture classes, with 180 gesture sequences, each including 3-5 gestures and non-gesture segments.
  • Online DHG [5]: Features 14 gesture classes, with 280 sequences, each containing 10 unsegmented gestures. This dataset uses 22 joints per hand skeleton.

Both datasets provided pre-defined training and testing splits.

Key Insights and Ideas

  • CTC Loss for Dual Purpose: The paper demonstrates that CTC loss is not only effective for handling unsegmented sequences but also inherently aids in precise gesture nucleus localization, a significant advantage over traditional cross-entropy loss which requires heuristic post-processing.
  • Many-to-Many for Temporal Richness: Moving from a many-to-one to a many-to-many architecture is critical for preserving temporal dynamics, which are essential for accurate gesture localization.
  • Pseudo-Labeling for Self-Improvement: The semi-supervised pipeline effectively uses the model's own predictions to augment its training data, leading to a virtuous cycle of improved annotation quality.
  • Quality Over Quantity in Pseudo-Labels: The authors emphasize that high-confidence pseudo-labels are more crucial than sheer quantity for effective model training, a principle guiding their thresholding strategy.

Key Results

  • Annotation Model Performance: The proposed annotation model achieved significant improvements over a baseline A-ResLSTM model:
  • Gesture Classification Accuracy: 4.3% improvement on SHREC'2021 and 3.4% on Online DHG.
  • Nucleus Localization Accuracy (NNLE): Reduced error by 71.4% on SHREC'2021 and 75.0% on Online DHG.
  • Downstream Model Enhancement: Fine-tuning a pre-trained downstream gesture recognition model (ST-GCN) using pseudo-labels generated by the framework resulted in accuracy improvements of 11-18%.
  • Ablation Study: Each component of the annotation model (CTC loss, many-to-many architecture, dynamic adjustment) contributed to the overall performance gains. CTC loss was particularly impactful for localization.

Limitations and Future Work

  • Training Time: The proposed annotation model's training process is more time-consuming than the baseline, though this is less critical for offline annotation tasks.
  • Reliance on Initial Labeled Data: The framework still requires an initial set of labeled data to bootstrap the pseudo-labeling process.
  • Future Work: The authors suggest exploring fully unsupervised annotation and investigating more advanced decoding methods like beam search for potentially richer contextual information.

Summary updated

BibTeX
@inproceedings{shen2024boosting,
  author = {Junxiao Shen and Xuhai Xu and Ran Tan and Amy Karlson and Evan Strasnick},
  title = {{Boosting Gesture Recognition with an Automatic Gesture Annotation Framework}},
  booktitle = {FG},
  year = {2024},
  doi = {10.1109/fg59268.2024.10581936},
}
Figure