arXiv:2611.02736cs.LGNov 2026

Manuscript Offprint

arXiv:2611.02736

Feature extraction for LSTM-based finger-joint angle estimation from sEMG

Gerda de Jager, Marelie H Davel, Ian Thomson

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

Gerda de Jager¹[0009-0009-7074-2839], Marelie H Davel¹,²,³[0000-0003-3103-5858], and Ian Thomson¹[0000-0003-3134-8758]

¹ Faculty of Engineering, North-West University, Potchefstroom, South Africa ² Centre for Artificial Intelligence Research, South Africa ³ National Institute for Theoretical and Computational Sciences, South Africa 38357410@mynwu.ac.za {marelie.davel, ian.thomson}@nwu.ac.za

Abstract. Continuous estimation of finger-joint angles from surface electromyography (sEMG) is a promising approach for controlling dexterous myoelectric prostheses. Deep time series models have been applied successfully in this context, typically relying on feature extraction rather than raw signals, given limited subject-specific data. Various time-domain and frequency-domain features can be used, extracted for a given window and step size. This study systematically investigates these three design choices for Long Short-Term Memory (LSTM) regression on the Ninapro DB2 dataset. Window sizes from 300–1200 ms and step sizes from 10–100 ms were evaluated in combination with six time- and frequency-domain features. Models were evaluated using regression performance metrics, inference time, and memory footprint to assess feasibility on embedded microcontroller hardware suitable for a prosthetic device. A 300 ms window with a 100 ms step, paired with either the Mean Absolute Value (MAV) or Root Mean Squared (RMS) feature, yielded the best performance (test PCC of 0.779 ± 0.080 / 0.779 ± 0.085). Window size, step size, and feature choice were found to interact non-trivially: jointly tuning them can improve both accuracy and computational feasibility for real-time, embedded myoelectric control.

Keywords: sEMG · LSTM · Feature extraction · Prosthesis · myoelectric control · Embedded systems.

1 Introduction

Smart prosthetics are able to translate human intention into movement. Such devices rely on electronic components and control systems for actuation, rather than being purely mechanical in nature. For a natural interactive interface and intuitive prosthetic control, an efficient Human Machine Interface (HMI) system is required [8, 11], one that reacts to human intentions quickly and accurately, without placing new physical or mental burdens on the amputee [8, 33]. A practical smart prosthesis control system should therefore have a quick response time, both to reduce perceived lag and to make the prosthesis feel more intuitive to use.

Many smart prostheses, especially those for upper-limb amputees, make use of electromyography (EMG) signals to interpret human intention. These signals are electrical in nature, generated by neuromuscular activity during muscle contraction. EMG signals are widely used in clinical diagnosis, rehabilitation of motor disability, and biomedical applications [9]. EMG sensors are broadly classified into two categories: invasive, using wires inserted beneath the skin and fat to contact muscle directly, and non-invasive, using electrodes placed on the skin's surface. In the field of wearable electronics and prostheses, there has been minimal interest in the use of invasive EMG electrodes. Even though they have excellent spatial selectivity (i.e., demonstrate robustness against cross-talk) and deliver high-quality data, they are invasive and require a specialist to place them [7].

Non-invasive electrodes have gained popularity because they are more comfortable to wear and easy to use [7, 15]. Among these, direct contact electrodes, compared to gel electrodes, have no removable parts and a very low maintenance cost, making them the ideal choice [15]. Surface electromyography (sEMG) signals, captured by non-such invasive electrodes, are widely used for HMI control as they provide abundant information about the subject's movement intentions [11]. The main advantages of sEMG signals over other bio-signals, such as eye movement, are ease of capture and lower data dimensionality [5, 29]. Due to these advantages, sEMG has been applied in various ways, including wheelchair control [21], stroke rehabilitation [1, 22], classification of hand movements [18, 27], and estimation of hand grasping ability [23, 25].

There is an abundance of research on classification of gestures; however in recent years the focus has been slowly shifting towards regression of joint angles to better accommodate amputees. When it comes to prosthetic control, classification systems restrict the user to a limited set of movements (for example, three programmable motions: grasping, pinching, and wrist rotation) and lack continuous and natural gesture movement [16, 20]. In contrast, regression systems enable the smooth, synchronous movement required for daily activities by estimating joint angles in the hand and wrist and allowing the prosthetic to move accordingly [16, 20].

To predict these angles, sEMG signals can be seen as sequences of values, making Recurrent Neural Networks (RNNs) well suited to processing them [14]. One such model often used is the Long Short-Term Memory (LSTM) model [2, 16, 19], originally proposed by Hochreiter and Schmidhuber [17]. This model makes use of gates and internal recursion to dynamically control the time scale [14]. Other architectures that have also been employed for the task of finger angle regression include Temporal Convolutional Networks (TCNs) [8] and Convolutional Neural Network (CNN)-attention models [28, 12].

The input to these models is rarely the raw sEMG data, but rather extracted features [11, 27, 28]. In this context, various Time Domain (TD), Frequency Domain (FD), and joint Time-Frequency Domain (TFD) features have been in-vestigated [18, 27]. Feature extraction relies on a window and a step size. The window defines a contiguous block of data points, typically specified as a time duration or number of samples, from which a feature is extracted. The step size determines how far the window moves along the time axis between extractions, with overlapping windows resulting when the step is smaller than the window. Together, the window size determines how much data is summarised into each feature, and the step size determines the rate at which features are supplied to the model; both have been shown to affect model performance [2, 4].

The window and step size also directly affect the response time of the prosthesis. The window size determines the initial latency before sufficient data has been acquired to generate the first prediction, whereas all subsequent predictions are delayed only by the step size. Farrell and Weir [10] found myoelectric prosthesis performance degrades noticeably when the controller delay exceeds approximately 100–125 ms. For all predictions after the first, the controller delay is the sum of the step size, feature extraction, inference, and prosthesis actuation time. This total should therefore not exceed 125 ms, the upper end of this range. We select a maximum step size of 100 ms, which leaves 25 ms for the remaining three components. The system should have a low memory footprint, allowing a wider range of microcontroller units (MCUs) to be viable for the prosthesis implementation and reducing overall cost. This means smaller model architectures and features with a lower memory requirements are favoured in this work.

This work builds on that of Long et al. [24], whose focus was on improving, via transfer learning, the accuracy of a multi-subject model when applied to an individual subject. To do this, they used a group of baseline models, including an LSTM, alongside their own LSTM aggregation module with multi-scale convolution (LSTA-conv). Their work began with single-subject models and systematically progressed towards multi-subject models.

This work adopts the LSTM architecture for several reasons. As introduced earlier, sEMG signals are naturally represented as sequences, and the LSTM's gating mechanism is well suited to modelling such temporal dependencies [14]. The architecture is also comparatively simple to implement and has been widely adopted for finger-joint angle regression from sEMG, including on the NinaPro dataset used in this work [16, 2, 19, 24], providing a well-established point of comparison. Finally, LSTMs are generally considered more lightweight than more recent attention- or convolution-augmented alternatives [28, 12, 8], making them better suited to the low memory footprint required for embedded, real-time deployment on a prosthetic device.

Related studies employ a range of feature extraction techniques, and some report model training time [2, 4, 16, 24], a metric with little bearing on a deployed prosthesis, since training is completed prior to deployment. Model inference time, which directly affects real-time performance, is reported far less consistently. Similarly, very little information is given in regards to Hyperparameter (HP) tuning [2, 4, 16, 24]. HP tuning is the process of incrementally improving the performance of a model by altering its HPs after most of the essential data cleaning, model design, and training configurations have been completed [13].

We consider LSTM modelling of sEMG for finger-joint angle regression and examine the implications of different window sizes, step sizes, and features. Our contributions are as follows:

  • We investigate the feasibility of using various feature types and extraction parameters (window size, step size, and feature type) in an embedded systems environment with a strict controller delay constraint.
  • We analyse the impact of various combinations of window sizes, step sizes, and features on model performance.
  • We demonstrate the importance of a strict validation protocol and consistent HP tuning for reliable analysis.

References (30)