Abstract
This paper investigates the detection of real-time domain shifts (concept drift) in surface electromyography (sEMG) signals using data stream learning techniques. sEMG is a critical technology for prosthetic control and human-computer interaction, yet its inherent non-stationarity—driven by fatigue, electrode displacement, and physiological changes—poses a significant challenge for long-term model reliability. By evaluating standard statistical drift detectors on sEMG data, we reveal that current algorithms suffer from extremely high false positive rates due to the wild, natural fluctuations of muscle signals. Our findings highlight a critical gap in the field and call for specialized streaming algorithms tailored to the unique characteristics of biological data.
Introduction
Surface Electromyography (sEMG) is a primary modality for capturing muscle activity in prosthetics, rehabilitation, and human-computer interaction. However, sEMG signals are notoriously non-stationary. Factors such as muscle fatigue, sweat, and slight electrode displacements cause the underlying data distribution to change over time—a phenomenon known as domain shift or concept drift.
In machine learning terms, a model trained on a user's morning muscle signals might perform poorly by the afternoon. To maintain performance without requiring frequent manual recalibration, systems must be capable of detecting these shifts in real-time from a continuous data stream. This study evaluates the efficacy of applying off-the-shelf data stream drift detectors to unsupervised EMG data, identifying the fundamental limitations of current statistical approaches.
Methodology
The researchers employed a multi-stage approach to analyze and detect domain shifts:
- Preliminary Analysis: Kernel Principal Component Analysis (KPCA) with a cosine kernel was used to visualize feature space distributions. Additionally, Kullback-Leibler (KL) divergence was calculated between a stable reference window and subsequent sliding windows to quantify distributional changes.
- Streaming Pipeline: An unsupervised pipeline was developed for real-time testing. It extracts Root Mean Square (RMS) features, computes windowed slopes via linear regression, and generates a "drift score" based on the Mahalanobis distance from a rolling reference window. This score is then processed by standard detectors, including ADWIN, CUSUM, Page-Hinckley, SEED, and HDDM.
Experimental Setup
The study utilized the DB6 dataset from the Ninapro database, a standard benchmark for myoelectric control. A "domain" was defined as a unique combination of a specific subject, day, and time slot (e.g., morning vs. afternoon sessions), allowing for the analysis of both inter-subject and intra-subject variability.
Results and Discussion
Feature Space Visualization
KPCA visualizations revealed a significant "hemispheric split" in the feature space. As illustrated in the figure below, different subjects exhibit distinct signal distributions for identical gestures. The study also found that a single subject's morning data is often cleanly separable from their afternoon data, confirming that time-of-day is a major factor in domain shift. These results underscore why generalized, multi-subject models are difficult to build without active domain adaptation.
Detector Performance and the i.i.d. Flaw
The most significant finding is the poor performance of standard drift detectors on EMG data. The best-performing algorithms, HDDM_A and HDDM_W, achieved maximum F1 scores of only 0.409 and 0.378, respectively.
Most standard detectors assume that data streams are independent and identically distributed (i.i.d.). However, EMG data is highly temporal and naturally fluctuates even during a single gesture. This mismatch leads to extremely high False Positive Rates (FPR), often exceeding 90% in initial tests. While the Average Detection Delay (ADD) was acceptable (e.g., ~4.7 seconds for HDDM_A), the high sensitivity to normal signal noise remains a primary hurdle for practical application.
Conclusion and Future Work
Current statistical drift detectors are ill-suited for the biological complexities of sEMG signals. Their high sensitivity to natural variance makes them impractical for real-time prosthetic control without significant modification.
Future research should focus on developing incremental non-linear decomposition models that can adapt without massive computational overhead and EMG-specific detectors that account for non-stationary variance. Additionally, sensor fusion—combining EMG with accelerometers or force sensors—may provide the necessary context to distinguish true domain shifts from transient signal noise.
Summary updated