Sequential Decoding of Intramuscular EMG Signals via Estimation of a Markov Model

Jonathan Monsifrot, Éric Le Carpentier, Yannick Aoustin, Dario FarinaIEEE Transactions on Neural Systems and Rehabilitation Engineering 2014

TL;DR

This paper introduces a novel online algorithm for decoding intramuscular EMG signals by modeling motor neuron activity as a Hidden Markov Model (HMM). This method allows for real-time estimation of motor neuron firing patterns and their signal shapes, paving the way for more intuitive and responsive human-machine interfaces.

What Problem Does This Paper Address?

Intramuscular Electromyography (iEMG) signals offer a direct window into the electrical activity of motor neurons (MNs) that control muscle movement. Traditionally, analyzing these signals to identify individual MN activity (EMG decomposition) has been an offline process, requiring expert intervention and significant computational time. This makes it unsuitable for real-time applications like advanced prosthetics or exoskeletons, where immediate feedback and control are crucial. The challenge lies in accurately and efficiently decoding these complex signals, which are a superposition of many individual motor unit action potentials (MUAPs) and are embedded in noise, all while operating sequentially on incoming data.

Methods

The core of this work is a sequential decoding algorithm based on a Hidden Markov Model (HMM). The iEMG signal is modeled as a sum of multiple independent "spike trains," each representing the firing of a motor neuron. These spike trains are convolved with the motor unit action potential (MUAP) shape and corrupted by noise.

Key methodological contributions include:

  • Physiological Modeling: The model leverages the physiological understanding that motor neuron firing is not entirely random. The time intervals between spikes (inter-spike intervals) for each neuron are modeled using a discrete Weibull distribution, which captures the refractory period and firing regularity.
  • Bayes Filtering for Online Estimation: A Bayes filter is employed to recursively estimate the model parameters online. This means the algorithm processes data sample by sample, updating its estimates as new data arrives, without needing to store the entire signal.
  • Joint Estimation: The algorithm jointly estimates:
  • The parameters of the Weibull distribution for each motor neuron's firing pattern.
  • The shape of the MUAP (impulse response) for each neuron.
  • The firing instants (spike trains) of each neuron.
  • Handling Superposition and Unknown Shapes: The HMM framework, combined with the Bayes filter, is designed to disentangle overlapping MUAPs and estimate their shapes even when they are not perfectly known beforehand (though a rough initial estimate is required).
  • Adaptive Filtering: To handle potential time-varying nature of MUAP shapes and firing rates, an adaptive filtering approach is used, incorporating a forgetting factor to adjust the filter's responsiveness.

Datasets

The paper utilizes two types of datasets for evaluation:

  • Simulated Signals: These were generated using the proposed HMM framework, allowing for precise control over ground truth parameters (firing instants, MUAP shapes, noise levels). This is crucial for validating the algorithm's performance against known targets.
  • Experimental iEMG Signals: Data was recorded from the extensor digitorum muscle of a healthy subject during isometric contractions. This real-world data allows for assessment of the algorithm's performance in a more complex and noisy environment. The experimental data was compared against a reference decomposition performed by an expert using the EMGLAB tool.

Key Insights and Ideas

  • Online EMG Decomposition is Feasible: The paper demonstrates that it's possible to perform complex EMG decomposition in real-time, moving beyond the limitations of offline analysis. This is a significant step towards practical applications.
  • Physiologically Motivated Models Improve Accuracy: Using a discrete Weibull distribution for inter-spike intervals, which reflects biological constraints like the refractory period, leads to more accurate modeling of motor neuron activity.
  • Bayes Filtering is Powerful for Sequential Estimation: The recursive nature of Bayes filtering allows for efficient online updates of complex model parameters, even in the presence of noise and overlapping signals.
  • Joint Estimation of Firing and Shape is Key: By simultaneously estimating both the firing patterns and the signal shapes, the algorithm can better disentangle individual motor unit contributions.
  • Potential for Intuitive Human-Machine Interfaces: The ability to decode motor neuron activity in real-time opens doors for more natural and intuitive control of prosthetic limbs, exoskeletons, and other assistive technologies.

Key Results

  • High Detection and Classification Rates: For simulated signals, the algorithm achieved detection and classification rates above 95%. For experimental signals, performance was also strong, with detection sensitivity and positive predictivity generally above 90% (though some classes showed slightly lower performance due to MUAP similarity).
  • Accurate Signal Reconstruction: The NRMSE (Normalized Root Mean Square Error) for both simulated and experimental signals was very close to the normalized noise standard deviation, indicating a high quality of signal reconstruction.
  • Effective Tracking of Dynamic Parameters: The algorithm demonstrated the ability to track changes in motor neuron firing rates and MUAP shapes over time, even with simulated jumps in parameters.
  • Convergence of Firing Rates: Estimated discharge rates for both simulated and experimental signals converged quickly to their true values, typically within 1-1.5 seconds, demonstrating the algorithm's adaptivity.

Limitations and Future Work

  • Assumption of Known Number of Motor Neurons: The current implementation assumes the number of active motor neurons is known beforehand. The authors acknowledge this as a limitation and plan to address it in future work using a birth-and-death technique to dynamically manage the number of sources.
  • Initial MUAP Shape Estimation: While the algorithm can refine MUAP shapes, it still requires a rough initial estimate. Developing a fully automated procedure for this initial estimation is a future goal.
  • Computational Complexity: The computational complexity is cubic with respect to the number of sources. The authors suggest that this can be significantly reduced by implementing an ensemble Kalman filter (EnKF) and utilizing parallel computation (e.g., on GPUs).
  • Double Discharges: The model does not explicitly account for double discharges (two spikes from the same neuron occurring very close together), which can lead to decreased performance in experimental data.
  • Link to Force/Kinematics: The current work focuses on signal decomposition. Future work will aim to derive the link between this decomposition and the actual force or kinematics being produced, which is essential for control applications.

Summary updated

Abstract

This paper addresses the sequential decoding of intramuscular single-channel electromyographic (EMG) signals to extract the activity of individual motor neurons. A hidden Markov model is derived from the physiological generation of the EMG signal. The EMG signal is described as a sum of several action potentials (wavelet) trains, embedded in noise. For each train, the time interval between wavelets is modeled by a process that parameters are linked to the muscular activity. The parameters of this process are estimated sequentially by a Bayes filter, along with the firing instants. The method was tested on some simulated signals and an experimental one, from which the rates of detection and classification of action potentials were above 95% with respect to the reference decomposition. The method works sequentially in time, and is the first to address the problem of intramuscular EMG decomposition online. It has potential applications for man-machine interfacing based on motor neuron activities.
BibTeX
@article{monsifrot2014sequential,
  author = {Jonathan Monsifrot and Éric Le Carpentier and Yannick Aoustin and Dario Farina},
  title = {{Sequential Decoding of Intramuscular EMG Signals via Estimation of a Markov Model}},
  journal = {IEEE Transactions on Neural Systems and Rehabilitation Engineering},
  year = {2014},
  doi = {10.1109/tnsre.2014.2316547},
}
Figure