arXiv:2609.09971cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09971

Deep Neural Networks for Learning Intent from sEMG Signals to Support Hardware Devices for Post-Stroke Neurorehabilitation

Zakariyya Brewster, Divy Wadhwani, Emily Yan, Aidan Wang, Karma Namgyal, Shuting Xie, Markiyan Konyk, Tala Abdelmaguid

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zakariyya Brewster* Department of Engineering Science University of Toronto Emily Yan Department of Computer Science University of Toronto Karma Namgyal Department of Electrical & Computer Engineering University of Toronto Markiyan Konyk Department of Engineering Science University of Toronto

Divy Wadhwani Computer and Mathematical Sciences University of Toronto Scarborough Aidan Wang Computer Science and Cognitive Science University of Toronto Shuting Xie Department of Computer Science University of Toronto Tala Abdelmaguid Department of Computer Engineering University of Toronto

September 2026

Abstract

Finger-specific motor intent is a clinically meaningful control signal for post-stroke neurorehabilitation, where residual muscle activity may remain measurable despite weak or incomplete movement. We study five-finger multilabel intent decoding from impaired-arm high-density surface electromyography (sEMG) in PhysioMio, a bilateral longitudinal dataset collected from stroke patients [10]. A common processing protocol aligns movement labels, applies 20–450 Hz Butterworth filtering and Symlet-4 wavelet denoising, segments overlapping 200 ms windows, and extracts twelve time- and frequency-domain descriptors per channel. Direct LSTM, CNN, and GNN baselines reveal complementary behavior: the LSTM attains the highest subset accuracy (0.545), whereas the GNN attains the highest macro F1 (0.706) and macro AUPRC (0.776). Architecture search then identifies CNN-Large as the strongest single-split CNN, with 0.593 subset accuracy and 0.714 macro F1, while CNN-Micro provides a compact architecture for embedded inference. To match a four-sensor hardware design, we retrain CNN-Micro using channels associated with ECRB, ECRL, FDS, and FDP and exclude the ground electrode from model input. Across five seeds, cross-channel knowledge distillation improves the four-channel student over direct training, reaching 0.5219±0.01140.5219 \pm 0.0114 subset accuracy, 0.7612±0.00380.7612 \pm 0.0038 finger accuracy, and 0.6095±0.00580.6095 \pm 0.0058 macro F1. The selected 123K-parameter model accepts nine windows of 48 features and has been exported to ONNX. These results establish a reproducible software path from post-stroke sEMG to compact five-finger intent prediction for subsequent hardware-in-the-loop evaluation.

1 Introduction

Stroke frequently disrupts the descending motor pathways needed for coordinated hand opening, grasping, and individuated finger control. For patients with residual forearm muscle activity, surface

*All authors contributed equally to this work.

electromyography (sEMG) offers a non-invasive sensing modality through which intended movement can be estimated even when visible motion is weak or incomplete [15, 21, 5]. Reliable finger-intent decoding is therefore a central software problem for rehabilitation devices that aim to provide timely assistance, feedback, or task-specific practice.

The decoding problem is difficult because post-stroke sEMG differs substantially from healthy-limb gesture-recognition benchmarks. Paretic recordings are affected by abnormal co-contraction, altered recruitment patterns, fatigue, sensor placement, and impairment severity. In addition, the intended output for rehabilitation is often not a single gesture class but a multi-finger activation pattern suitable for controlling or cueing assistive hardware. A useful model must therefore be evaluated together with the signal-processing and labeling decisions that define the task.

This paper studies that problem as a hardware-aware machine-learning question: how can impaired-arm HD-sEMG be transformed into five-finger intent estimates with models small enough to support responsive Raspberry Pi 5 rehabilitation hardware? The study evaluates the full decoding chain from label alignment and signal processing through model-family comparison, transfer learning, and compact CNN selection. This framing is deliberately tied to embedded rehabilitation use, because a clinically useful decoder must balance prediction quality with model size, latency, and deployability.

Our study is organized around three questions. First, when LSTM, CNN, and GNN decoders are trained on the same PhysioMio-derived feature representation, which inductive biases are most useful for multilabel finger-intent prediction? Second, after the baseline comparison, how much can decoding performance be improved through compact CNN architecture search, ResNet teacher references, and healthy-to-impaired transfer learning? Third, how much predictive performance is retained when the high-density representation is reduced to four active channels compatible with the planned sensing hardware, and can cross-channel knowledge distillation narrow that loss?

The central contribution is the formulation and evaluation of post-stroke HD-sEMG finger-intent decoding as a single hardware-aware research problem. We define a reproducible sEMG-to-finger-intent workflow for PhysioMio recordings, including label alignment, filtering, denoising, windowed feature extraction, patient-level splits, and shared tensor adaptation. We compare LSTM, CNN, and GNN predictors under this common formulation and report both aggregate and finger-wise multilabel metrics. We evaluate an optimized CNN student family against internal ResNet teachers and quantify healthy-to-impaired transfer behavior. Finally, we construct and evaluate a four-active-channel CNN-Micro through direct training, full-to-reduced-channel transfer initialization, and cross-channel knowledge distillation over five random seeds. This last experiment supplies a validated model and explicit input contract for subsequent Raspberry Pi 5 integration while leaving hardware timing and therapeutic evaluation to dedicated studies.

References (19)