Detection of myocardial infarction using Shannon energy envelope, FA-MVEMD and deterministic learning

Wei Zeng, Liangmin Shan, Chengzhi Yuan, Shaoyi DuComplex 2024

Abstract

Myocardial infarction (MI) poses a significant clinical challenge, necessitating expeditious and precise detection to mitigate potentially fatal outcomes. Current MI diagnosis predominantly relies on electrocardiography (ECG); however, it is fraught with limitations, including inter-observer variability and a reliance on expert interpretation. This study introduces an automated MI detection framework that capitalizes on hybrid signal processing methodologies and deterministic learning theory. The initial step involves the extraction of the Shannon energy envelope (SEE) and its derivative from a single-lead ECG. Integration of the SEE into the ECG’s phase portrait provides a means to capture the underlying nonlinear system dynamics. Subsequently, the application of fast and adaptive multivariate empirical mode decomposition (FA-MVEMD) yields discriminative features originating from the most energetically dominant intrinsic mode components (IMFs) within the SEE. Profound dissimilarities are discernible between ECG signals recorded from healthy subjects and those afflicted with MI. In the subsequent phase, deterministic learning theory, implemented through neural networks, is employed to facilitate the classification of ECG signals into two distinct groups. The method’s efficacy is meticulously evaluated using the PTB diagnostic ECG database, resulting in a noteworthy average classification accuracy of 99.21% within a tenfold cross-validation framework. In summation, the findings affirm that the proposed features not only complement conventional ECG attributes but also align closely with the underlying dynamics of the ECG system, ultimately fortifying the automatic detection of MI.

Introduction

Myocardial Infarction (MI), commonly known as a heart attack, requires rapid diagnosis to prevent irreversible cardiac damage. While the electrocardiogram (ECG) is the primary diagnostic tool, manual interpretation is subjective and expert-dependent. Automated systems often struggle with noise or fail to capture the complex, nonlinear nature of cardiac electrical activity. This research proposes a hybrid framework that models the heart as a nonlinear dynamical system to improve detection accuracy and robustness.

Methodology

The proposed system utilizes a multi-stage pipeline designed to extract deep dynamical features from single-lead ECG signals.

Signal Preprocessing and SEE Extraction

Raw ECG signals are often contaminated by baseline wander and high-frequency noise. The framework first denoises the signal to preserve essential morphological features.

Initial vs. denoised ECG signal showing the reduction of noise and baseline wander.

Following denoising, the Shannon Energy Envelope (SEE) and its derivative are calculated. Unlike standard energy methods, SEE emphasizes medium-intensity components while suppressing noise spikes, which is critical for identifying subtle pathological changes in the ECG waveform.

Feature Extraction via FA-MVEMD

To capture the system's dynamics, the SEE is plotted against its derivative to create a phase portrait. This representation is then decomposed using Fast and Adaptive Multivariate Empirical Mode Decomposition (FA-MVEMD). This technique extracts Intrinsic Mode Functions (IMFs) that are scale-aligned across the multivariate signal, preventing "mode mixing" and ensuring that the features represent consistent physical phenomena.

Deterministic Learning

The core of the classification engine is Deterministic Learning (DL) implemented via Radial Basis Function (RBF) neural networks. Rather than simple pattern recognition, the DL approach identifies the underlying nonlinear dynamics (the "differential equations") of the cardiac system. This allows the model to distinguish between the stable dynamics of a healthy heart and the altered dynamics of an infarcted one.

Flowchart of the proposed framework, detailing (a) the training process for modeling system dynamics and (b) the classification process for MI detection.

Experimental Results

The framework was validated using the PTB Diagnostic ECG Database, which contains 549 records from 290 subjects. Due to the inherent class imbalance (367 MI vs. 78 Normal), the Synthetic Minority Over-sampling Technique (SMOTE) was applied to the training set.

Using 10-fold cross-validation, the system achieved:

  • Accuracy: 99.21%
  • Sensitivity: 99.18%
  • Specificity: 99.23%

These results demonstrate that the combination of SEE-based dynamics and deterministic learning significantly outperforms traditional feature engineering and standard deep learning architectures like CNNs or LSTMs.

Discussion and Conclusion

The study highlights the importance of modeling the heart's physics rather than just its visual morphology. By focusing on the Shannon Energy Envelope and system dynamics, the framework achieves high resilience to clinical noise. While the training phase is computationally intensive (requiring approximately 216 seconds on high-end hardware), the inference time is negligible (0.4s), making it suitable for real-time monitoring.

Future research will focus on extending this multivariate approach to 12-lead ECG systems and optimizing the algorithm for deployment on resource-constrained wearable devices, potentially enabling early MI detection outside of clinical settings.

Summary updated

BibTeX
@inproceedings{zeng2024detection,
  author = {Wei Zeng and Liangmin Shan and Chengzhi Yuan and Shaoyi Du},
  title = {{Detection of myocardial infarction using Shannon energy envelope, FA-MVEMD and deterministic learning}},
  booktitle = {Complex},
  year = {2024},
  doi = {10.1007/s40747-024-01419-x},
}
Figure