Attention-Based Convolutional Neural Network Model for Human Lower Limb Activity Recognition using sEMG
M. Mollahossein, F.H. Daryakenari, M.H. Rohban, G.R. Vossoughi · 2025
Read Attention-Based Convolutional Neural Network Model for Human Lower Limb Activity Recognition using sEMG by M. Mollahossein, F.H. Daryakenari, M.H. Rohban, G.R. Vossoughi (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-06624.txt.
Introduction
Mojtaba Mollahossein and three co-authors build a featherweight neural network that reads leg movements from muscle signals, in this 2025 arXiv paper. The model takes surface electromyography from several channels and sorts walking, standing knee bends, and sitting knee extensions. An attention block helps it weigh the channels that matter.
With only about sixty-three thousand parameters and no heavy preprocessing, the network is built for real-time use on small hardware. Leaving one subject out at a time during training kept it honest about new wearers. It scored about eighty-seven percent on validation and eighty-five percent on held-out tests. The authors aim it at controllers for assistive robots and rehab devices.
Catalog record
| CREATOR | M. Mollahossein, F.H. Daryakenari, M.H. Rohban, G.R. Vossoughi |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 29 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-06624
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Attention-Based Convolutional Neural Network Model for Human Lower Limb Activity Recognition using sEMG M. Mollahossein, F.H. Daryakenari, M.H. Rohban, G.R. Vossoughi Abstract Accurate classification of lower limb movements using surface electromyography (sEMG) signals plays a crucial role in assistive robotics and rehabilitation systems. In this study, we present a lightweight attention-based deep neural network (DNN) for real-time movement classification using multi-channel sEMG data from the publicly available BASAN dataset. The proposed model consists of only 62,876 parameters and is designed without the need for computationally expensive preprocessing, making it suitable for real-time deployment. We employed a leave-one-out validation strategy to ensure generalizability across subjects, and evaluated the model on three movement classes: walking, standing with knee flexion, and sitting with knee extension. The network achieved 86.74% accuracy on the validation set and 85.38% on the test set, demonstrating strong classification performance under realistic conditions. Comparative analysis with existing models in the literature highlights the efficiency and effectiveness of our approach, especially in scenarios where computational cost and real-time response are critical. The results indicate that the proposed model is a promising candidate for integration into upper-level controllers in human-robot interaction systems. I Introduction Surface Electromyography (sEMG) signals have been widely utilized in various applications, including human-machine interaction, neuromuscular disease diagnosis, and rehabilitation. One of their most significant applications is lower limb activity recognition, which plays a crucial role in healthcare monitoring, active and assistive systems, and tele-immersion [ 1 ] . Human activity recognition can be performed using either visual or wearable sensors [ 2 ] . Wearable sensors are placed directly on the subject’s body, whereas visual sensors, such as cameras, do not require physical attachment. However, wearable sensors are often preferred due to privacy concerns associated with visual sensors [ 3 ] . With advancements in wearable sensor technology, various devices, such as accelerometers, EMG electrodes, gyroscopes, and barometers, have become available for human motion analysis. Among these, EMG sensors are particularly advantageous as they provide direct insights into muscle activation, allowing for more accurate movement recognition compared to other wearable sensors. However, sEMG signals are inherently complex due to their intrinsic characteristics and susceptibility to various sources of noise. These signals are typically acquired using surface electrodes placed on the skin, which leads to indirect measurement of the underlying muscle activity. This indirect nature makes the signals highly vulnerable to noise, particularly from motion artifacts caused by muscle movement during activity, as well as muscle cross-talk—a result of the close proximity of adjacent muscles. In recent years, human activity classification using sEMG signals has gained increasing attention. However, the presence of noise in EMG signals remains a significant challenge. Common noise sources include ambient interference, motion artifacts, signal instability, and cross-talk between muscle groups. While certain preprocessing techniques can help reduce noise[4], advanced noise cancellation methods are often necessary to achieve high classification accuracy. Several studies have employed various techniques to reduce noise in sEMG signals, including wavelet denoising [ 4 ] , Independent Component Analysis (ICA) , and Empirical Mode Decomposition (EMD) [ 5 ] . After denoising, the processed signals are typically fed into a classifier. However, some studies opt to use raw sEMG data (including noise) to reduce computational complexity and processing time [8]. This approach makes the classifier more suitable for real-time applications, as it eliminates the need for a time-consuming preprocessing stage. To do this, a classification modeling method that is robust to noise is needed. With recent advancements in deep learning (DL), DL architectures have emerged as effective tools for designing robust high-level controllers based on sEMG signals [ 6 ] . As demonstrated in our previous work [ 6 ] , Convolutional Neural Networks (CNNs) [ 7 ] are particularly well-suited for this purpose, due to their ability to automatically extract meaningful features from raw sensory data. Although CNNs are traditionally used for processing two-dimensional data such as images, they have also proven highly effective for analyzing one-dimensional signals, including sEMG. Even in applications where the primary goal is regression, such as predicting a system’s next state, CNNs can extract relevant features directly from raw input signals without the need for handcrafted preprocessing. For instance, in [ 8 ] , raw sEMG signals are first processed by a CNN, which extracts spatial features before feeding them into a Recurrent Neural Network (RNN) to predict joint angles. This highlights the versatility of CNN-based architectures for both classification and regression tasks in human-robot interaction and control systems. Although deep learning (DL) methods have shown great potential, real-time applications require a trade-off between model accuracy and computational efficiency. In many cases, lower-accuracy models are preferred over highly accurate but computationally expensive ones, particularly for real-time scenarios. To enhance the classification performance of DL methods, dimensionality reduction techniques are often applied before feeding sEMG signals into neural networks. These techniques help extract lower-dimensional informative features, improving both accuracy and efficiency. Some commonly used methods include Linear Discriminant Analysis (LDA), Principal Component Analysis (PCA), Locally Linear Embedding (LLE), Rank-Preserving Discriminant Analysis, and Laplacian Eigenmaps [ 5 ] . One of the key advantages of DL techniques is their ability to automate both feature extraction and dimensionality reduction, eliminating the need for manual preprocessing. While one might argue that deep learning models are more complex than shallow networks, they offer improved robustness by learning high-level representations directly from raw signals. Notably, CNNs [ 4 ] , Long Short-Term Memory (LSTM) networks [ 9 ] , and Deep Belief Networks (DBNs) [ 10 ] have all been utilized for action recognition using sEMG signals [4], demonstrating promising results in this field. In addition to these well-known DL architectures, Attention Mechanisms were able to create a intra and inter data relation in DL methods. The Attention Mechanism (AM) [ 11 ] is an additional layer in neural networks that enhances model performance by selectively focusing on the most relevant features. When strategically placed within the network, AM can improve training efficiency and, in some cases, enhance interpretability [ 12 ] . With all the advances in incorporating DL modeling methods into human activity recognition, there still exists a major vague spot in previous studies. This vague spot is that in most of the previous studies they often fail to specify whether validation and test datasets contain subjects seen during the training phase. When a model is evaluated on completely unseen subjects, performance can degrade significantly. One approach to address this issue is the leave-one-out method [ 13 ] , where one subject is excluded from the training set and used exclusively for testing. This method provides a more realistic assessment of a model’s generalizability to new subjects. In this study, we aim to design an Attention-Based Deep Neural Network with a low number of parameters, making it efficient for real-time applications while achieving acceptable accuracy on validation and test sets. To accomplish this, we will use an open-source dataset containing nomal subject and subjects with lower-limb abnormalities to train our model for three classes of human movement. For training, validation, and testing, we will employ a leave-one-out strategy to ensure the reported results are as generalizable as possible. Finally, our method’s performance will be compared with similar approaches.