OpenHands: Making Sign Language Recognition Accessible with Pose-based Pretrained Models across Languages

Prem Selvaraj, Gokul N. C., Pratyush Kumar, Mitesh M. KhapraACL 2022

Abstract

Sign Language Recognition (SLR) has historically lagged behind text and speech AI due to the "low-resource" nature of most sign languages and the high computational demands of video processing. This paper introduces OpenHands, an open-source library that standardizes SLR using pose-based models. By shifting from raw video to 2D keypoints and leveraging self-supervised pretraining on a novel 1,129-hour Indian Sign Language dataset, OpenHands achieves state-of-the-art performance across multiple languages. The library enables efficient, privacy-preserving, and cross-lingual sign language recognition suitable for real-world deployment.

Introduction

While deep learning has revolutionized natural language processing and speech recognition, Sign Language Recognition (SLR) faces unique hurdles. Most of the world’s 300+ sign languages lack the massive labeled datasets required for modern models. Additionally, training on high-resolution RGB video is computationally expensive and raises privacy concerns. OpenHands addresses these issues by focusing on pose as the primary modality and introducing a standardized framework for benchmarking and pretraining.

Methodology

The core innovation of OpenHands lies in its approach to data representation and model training.

Pose as the Primary Modality

Instead of processing raw RGB frames, OpenHands uses pose-estimation tools to extract a sequence of 2D coordinates for 27 keypoints, including hands, face, and upper body. This reduction in dimensionality significantly lowers computational requirements and enhances privacy by removing identifying features of the signer.

Transformation from raw RGB video to pose-based keypoints.

Model Architectures and Pretraining

The library implements four standardized architectures: LSTM, Transformer, Spatial-Temporal Graph Convolutional Network (ST-GCN), and SL-GCN. To overcome data scarcity, the authors utilize Dense Predictive Coding (DPC) for self-supervised pretraining. The model learns the underlying "grammar" of human motion by predicting future pose frames from a given sequence, allowing it to benefit from large volumes of unlabeled data.

Data Curation and Pipeline

A significant contribution of this work is the curation of massive pose-based datasets. The researchers developed a four-stage pipeline to handle data at scale.

The four-stage pipeline for data crawling, pose extraction, cleaning, and efficient training.
  1. Data Crawling: Harvesting video from diverse sources like YouTube.
  2. Pose Extraction: Converting video into standardized keypoint sequences.
  3. Data Cleaning: Removing noise and segments without clear signing activity.
  4. Efficient Training: Utilizing a specialized data loader for fast access to pose sub-regions.

The authors released pose-based versions of seven major datasets (WLASL, LSA64, CSL, GSL, INCLUDE, and AUTSL) and a new 1,129-hour unlabeled Indian Sign Language (ISL) corpus.

Key Results and Insights

  • Performance: The SL-GCN model achieved state-of-the-art (SOTA) results on 6 out of 7 benchmarks, including 94.8% accuracy on CSL and 93.5% on INCLUDE.
  • Pretraining Impact: Self-supervised pretraining proved highly effective. On the Argentinian LSA64 dataset, pretraining improved accuracy from 39.7% to 57.19% when only three samples per class were available.
  • Cross-lingual Transfer: Pretraining on Indian Sign Language (ISL) improved performance on American (ASL) and Argentinian (LSA) datasets, suggesting that the fundamental mechanics of signing are shared across languages.
  • Real-world Efficiency: Pose-based models are lightweight enough to run at over 23 FPS on standard CPUs, enabling real-time applications on mobile devices.

Conclusion and Future Work

OpenHands provides a foundational framework for making SLR more inclusive and accessible. While currently focused on Isolated SLR, future work will extend the library to Continuous SLR, which involves complex co-articulation in full sentences. The team also aims to explore model quantization for even faster inference on edge devices and improve robustness to low-frame-rate video.

Summary updated

BibTeX
@inproceedings{selvaraj2022openhands,
  author = {Prem Selvaraj and Gokul N. C. and Pratyush Kumar and Mitesh M. Khapra},
  title = {{OpenHands: Making Sign Language Recognition Accessible with Pose-based Pretrained Models across Languages}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.150},
}
Figure