Abstract
Surface electromyography (sEMG) is a widely employed bio-signal that captures human muscle activity via electrodes placed on the skin. Several studies have proposed methods to remove sEMG contaminants, as non-invasive measurements render sEMG susceptible to various contaminants. However, these approaches often rely on heuristic-based optimization and are sensitive to the contaminant type. A more potent, robust, and generalized sEMG denoising approach should be developed for various healthcare and human-computer interaction applications. This paper proposes a novel neural network (NN)-based sEMG denoising method called TrustEMG-Net. It leverages the potent nonlinear mapping capability and data-driven nature of NNs. TrustEMG-Net adopts a denoising autoencoder structure by combining U-Net with a Transformer encoder using a representation-masking approach. The proposed approach is evaluated using the Ninapro sEMG database with five common contamination types and signal-to-noise ratio (SNR) conditions. Compared with existing sEMG denoising methods, TrustEMG-Net achieves exceptional performance across the five evaluation metrics, exhibiting a minimum improvement of 20%. Its superiority is consistent under various conditions, including SNRs ranging from -14 to 2 dB and five contaminant types. An ablation study further proves that the design of TrustEMG-Net contributes to its optimality, providing high-quality sEMG and serving as an effective, robust, and generalized denoising solution for sEMG applications.
Introduction
Surface electromyography (sEMG) is a cornerstone for prosthetic control, rehabilitation, and human-computer interaction. However, because electrodes are placed on the skin, the recorded signals are notoriously noisy, contaminated by heartbeats (ECG), power line interference (PLI), motion artifacts, and electronic noise.
Existing denoising methods face significant challenges. Traditional digital filters may inadvertently remove essential muscle signal components. Heuristic methods like Empirical Mode Decomposition (EMD) are computationally intensive and require manual tuning. Furthermore, many advanced techniques necessitate multiple sensors. TrustEMG-Net addresses these issues by providing a robust, single-channel, data-driven solution capable of automatically handling diverse noise types.
Methods: The TrustEMG-Net Architecture
TrustEMG-Net is structured as a Denoising Autoencoder (DAE) that synergizes the strengths of convolutional and attention-based architectures.
The architecture consists of three primary components:
- U-Net Backbone: 1D convolutions capture local temporal patterns of muscle firing. Skip connections preserve fine-grained details during the encoding-decoding process.
- Transformer Bottleneck: At the most compressed layer, a Transformer encoder utilizes self-attention to capture global dependencies, allowing the model to recognize periodic noise like heartbeats or power line hum.
- Representation-Masking (RM): This core innovation uses the Transformer to predict a mask (values 0 to 1) that is element-wise multiplied by the U-Net’s latent features. This "feature gatekeeping" selectively silences noise while preserving clean muscle data, proving more effective than direct signal reconstruction.
Experimental Setup
The model was trained and evaluated using the Ninapro DB2 database (40 subjects) for clean signals. Real-world noise was sourced from the MIT-BIH Noise Stress Test and Normal Sinus Rhythm databases, alongside simulated PLI and white Gaussian noise. TrustEMG-Net was benchmarked against five methods, including IIR filters, Template Subtraction, and decomposition techniques (EMD, CEEMDAN, VMD).
Key Results and Discussion
TrustEMG-Net demonstrated a minimum 20% improvement in signal reconstruction quality over all existing methods. Its performance remained robust even at extreme noise levels (SNR of -14 dB).
The model is "noise-agnostic," identifying and removing five different contaminant types simultaneously without prior knowledge of the noise source. Beyond visual cleanliness, the denoised signals preserved critical clinical features such as Average Rectified Value (ARV) and Mean Frequency (MF) with significantly lower error rates. Furthermore, TrustEMG-Net offers faster inference than iterative decomposition methods like VMD, making it more suitable for real-time applications.
Conclusion and Future Work
TrustEMG-Net provides a generalized, robust solution for sEMG denoising. While highly effective on synthetic mixtures of real-world signals, future work will focus on validation with "naturally" noisy data and testing its impact on downstream tasks like gesture recognition. Additionally, model optimization (pruning/quantization) is planned to enable deployment on low-power wearable devices and embedded prosthetic systems.
Summary updated