# TraHGR: Transformer for Hand Gesture Recognition via ElectroMyography

arXiv: https://arxiv.org/abs/2203.16336 · HTML: https://mlsanity.com/paper/2203.16336/

## Key facts

- Cited by 10 papers in the map (data through 14 Oct 2026).
- Builds on 14 of its 61 references that are in the map.
- First posted on arXiv 28 Mar 2022.

## Builds on (most cited first, 14 of 14)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [Language Models are Few-Shot Learners](https://mlsanity.com/paper/2005.14165/) (2020)
- [Layer Normalization](https://mlsanity.com/paper/1607.06450/) (2016)
- [An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling](https://mlsanity.com/paper/1803.01271/) (2018)
- [Transformer-based Spatial-Temporal Feature Learning for EEG Decoding](https://mlsanity.com/paper/2106.11170/) (2021)
- [Transformer-based Acoustic Modeling for Hybrid Speech Recognition](https://mlsanity.com/paper/1910.09799/) (2019)
- [Deep Learning for Electromyographic Hand Gesture Signal Classification Using Transfer Learning](https://mlsanity.com/paper/1801.07756/) (2018)
- [FS-HGR: Few-shot Learning for Hand Gesture Recognition via ElectroMyography](https://mlsanity.com/paper/2011.06104/) (2020)
- [Interpreting Deep Learning Features for Myoelectric Control: A Comparison with Handcrafted Features](https://mlsanity.com/paper/1912.00283/) (2019)
- [EEG based Continuous Speech Recognition using Transformers](https://mlsanity.com/paper/2001.00501/) (2019)
- [Hand Gesture Recognition Using Temporal Convolutions and Attention Mechanism](https://mlsanity.com/paper/2110.08717/) (2021)
- [Low-dimensional Denoising Embedding Transformer for ECG Classification](https://mlsanity.com/paper/2103.17099/) (2021)

## Built on by (most cited first, 10 of 10)

- [Brant-X: A Unified Physiological Signal Alignment Framework](https://mlsanity.com/paper/2409.00122/) (2024)
- [A Methodological and Structural Review of Hand Gesture Recognition Across Diverse Data Modalities](https://mlsanity.com/paper/2408.05436/) (2024)
- [Scaling and Distilling Transformer Models for sEMG](https://mlsanity.com/paper/2507.22094/) (2025)
- [Hardware-Efficient EMG Decoding for Next-Generation Hand Prostheses](https://mlsanity.com/paper/2405.20052/) (2024)
- [Masked Autoencoder with Swin Transformer Network for Mitigating Electrode Shift in HD-EMG-based Gesture Recognition](https://mlsanity.com/paper/2410.17261/) (2024)
- [Time2Vec Transformer for Robust Gesture Recognition from Low-Density sEMG](https://mlsanity.com/paper/2602.01855/) (2026)
- [FatigueFormer: Static-Temporal Feature Fusion for Robust sEMG-Based Muscle Fatigue Recognition](https://mlsanity.com/paper/2603.26841/) (2026)
- [Translating Signals to Languages for sEMG-Based Activity Recognition](https://mlsanity.com/paper/2605.22403/) (2026)
- [Multimodal Surface EMG Hand Gesture Recognition Using Query-Based Transformers for Prosthetic Control](https://mlsanity.com/paper/2607.22779/) (2026)
- [Real-Time Hand Gesture Recognition for OpenXR Using Transformer-Based Machine Learning](https://mlsanity.com/paper/2609.25466/) (2026)

## Abstract (arXiv)

Deep learning-based Hand Gesture Recognition (HGR) via surface Electromyogram (sEMG) signals has recently shown significant potential for development of advanced myoelectric-controlled prosthesis. Existing deep learning approaches, typically, include only one model as such can hardly maintain acceptable generalization performance in changing scenarios. In this paper, we aim to address this challenge by capitalizing on the recent advances of hybrid models and transformers. In other words, we propose a hybrid framework based on the transformer architecture, which is a relatively new and revolutionizing deep learning model. The proposed hybrid architecture, referred to as the Transformer for Hand Gesture Recognition (TraHGR), consists of two parallel paths followed by a linear layer that acts as a fusion center to integrate the advantage of each module and provide robustness over different scenarios. We evaluated the proposed architecture TraHGR based on the commonly used second Ninapro dataset, referred to as the DB2. The sEMG signals in the DB2 dataset are measured in the real-life conditions from 40 healthy users, each performing 49 gestures. We have conducted extensive set of experiments to test and validate the proposed TraHGR architecture, and have compared its achievable accuracy with more than five recently proposed HGR classification algorithms over the same dataset. We have also compared the results of the proposed TraHGR architecture with each individual path and demonstrated the distinguishing power of the proposed hybrid architecture. The recognition accuracies of the proposed TraHGR architecture are 86.18%, 88.91%, 81.44%, and 93.84%, which are 2.48%, 5.12%, 8.82%, and 4.30% higher than the state-ofthe-art performance for DB2 (49 gestures), DB2-B (17 gestures), DB2-C (23 gestures), and DB2-D (9 gestures), respectively.
