Abstract
Surface electromyography (sEMG)-based gesture recognition using deep learning is pivotal for advancing human-computer interaction. While existing models primarily utilize Convolutional Neural Networks (CNNs) to capture spatial information, they often overlook the inherent sequential nature of sEMG signals. We propose an attention-based hybrid CNN-RNN architecture designed to better capture temporal properties. Additionally, we introduce a novel sEMG image representation method based on traditional feature vectors, enabling deep learning models to extract implicit correlations between channels. Extensive experiments on five benchmark databases demonstrate that our method significantly outperforms state-of-the-art (SOTA) models, achieving accuracies of 87.0% on NinaProDB1 and 82.2% on NinaProDB2.
Introduction
Decoding human intent from muscle activity is a cornerstone of advanced prosthetics and human-computer interfaces (HCI). Surface electromyography (sEMG) records the electrical potential generated by muscle cells during contraction. However, these signals are notoriously difficult to decode because they are noisy and vary significantly between individuals.
Traditional deep learning approaches often treat sEMG data as static images for CNN processing, focusing on spatial relationships between electrodes. Yet, sEMG is fundamentally a time-series signal where the temporal sequence of muscle firing is as critical as the spatial distribution. This paper addresses this gap by proposing a hybrid architecture that integrates spatial and temporal modeling with an attention mechanism.
Methodology
The proposed framework introduces three key innovations to improve gesture recognition performance:
1. Hybrid CNN-RNN Architecture
The model utilizes a 7-layer CNN to extract high-level spatial features from sEMG data. These spatial features are then passed to a Long Short-Term Memory (LSTM) network—a type of Recurrent Neural Network (RNN). By incorporating an RNN component, the model maintains a "memory" of previous signal states, effectively capturing the dynamic progression of a gesture over time.
2. Attention Mechanism
Recognizing that not every millisecond of a muscle contraction is equally informative, the researchers integrated an attention layer. This mechanism assigns higher weights to the most discriminative segments of the signal, allowing the model to ignore noise at the onset and offset of movements and focus on the peak informative period of the contraction.
3. Feature-Signal-Image Representation
A major contribution of this work is the "feature-signal-image" representation. Instead of using raw signal data, the authors calculate a set of traditional handcrafted features (the Phinyomark set) and arrange them into a specific image format. This hybrid approach leverages the strengths of classical feature engineering to provide the CNN with structured data, facilitating the extraction of implicit correlations between sparse muscle channels that are often lost in raw data.
Experimental Results
The architecture was rigorously tested against five major sEMG benchmark databases: NinaProDB1, NinaProDB2, BioPatRec26MOV, CapgMyo-DBa, and csl-hdemg. The results demonstrate a substantial leap over existing state-of-the-art (SOTA) performance:
- NinaProDB1: 87.0% accuracy (+9.2% over SOTA).
- NinaProDB2: 82.2% accuracy (+3.5% over SOTA).
- csl-hdemg: 94.5% accuracy (+5.2% over SOTA).
Beyond accuracy, the model demonstrates real-time viability. For a gesture recognition system to feel natural, latency must remain below 300ms. The proposed model processes a sample in approximately 3ms on a GPU and 100-300ms on a CPU, making it suitable for practical prosthetic applications.
Discussion and Conclusion
The success of the hybrid CNN-RNN model underscores the importance of temporal context in sEMG decoding. The findings suggest that deep learning benefits significantly from structured feature inputs rather than raw data alone, as the "feature-signal-image" representation consistently outperformed raw-image inputs.
Despite these advancements, inter-subject variability remains a persistent challenge. While the model excels in within-subject testing, generalizing to new users (Leave-One-Subject-Out) requires further research into domain adaptation. Future work will explore multi-modal fusion, such as combining sEMG with Inertial Measurement Units (IMUs), to further enhance the robustness and context-awareness of gesture recognition systems.
Summary updated