| Literature DB >> 36134976 |
Ryunosuke Uchiyama1, Yoshifumi Okada2, Ryuya Kakizaki1, Sekito Tomioka1.
Abstract
In recent years, many studies have proposed automatic detection and localization techniques for myocardial infarction (MI) using the 12-lead electrocardiogram (ECG). Most of them applied preprocessing to the ECG signals, e.g., noise removal, trend removal, beat segmentation, and feature selection, followed by model construction and classification based on machine-learning algorithms. The selection and implementation of preprocessing methods require specialized knowledge and experience to handle ECG data. In this paper, we propose an end-to-end convolutional neural network model that detects and localizes MI without such complicated multistep preprocessing. The proposed model executes comprehensive learning for the waveform features of unpreprocessed raw ECG images captured from 12-lead ECG signals. We evaluated the classification performance of the proposed model in two experimental settings: ten-fold cross-validation where ECG images were split randomly, and two-fold cross-validation where ECG images were split into one patient and the other patients. The experimental results demonstrate that the proposed model obtained MI detection accuracies of 99.82% and 93.93% and MI localization accuracies of 99.28% and 69.27% in the first and second settings, respectively. The performance of the proposed method is higher than or comparable to that of existing state-of-the-art methods. Thus, the proposed model is expected to be an effective MI diagnosis tool that can be used in intensive care units and as wearable technology.Entities:
Keywords: 12-lead ECG; convolutional neural network; electrocardiogram; myocardial infarction
Year: 2022 PMID: 36134976 PMCID: PMC9495488 DOI: 10.3390/bioengineering9090430
Source DB: PubMed Journal: Bioengineering (Basel) ISSN: 2306-5354
Figure 1Creation of ECG image sets.
Details of ECG image set for each class.
| Class (Abbreviation) | Number of Subjects | Number of ECG Data | Number of ECG Image Sets |
|---|---|---|---|
| Normal (N) | 51 | 74 | 4837 |
| Anterior (A) | 17 | 47 | 2812 |
| Anterior–Lateral (AL) | 14 | 39 | 2580 |
| Anterior–Septal (AS) | 27 | 77 | 4620 |
| Inferior (I) | 30 | 87 | 5268 |
| Inferior–Lateral (IL) | 23 | 55 | 3315 |
| Inferior–Posterior (IP) | 1 | 1 | 38 |
| Inferior–Posterior–Lateral (IPL) | 8 | 19 | 1118 |
| Lateral (L) | 1 | 3 | 180 |
| Posterior (P) | 1 | 4 | 240 |
| Posterior–Lateral (PL) | 2 | 5 | 300 |
| Total | 175 | 411 | 25,308 |
Figure 2Architecture of proposed CNN model.
Details of the structure of proposed CNN model.
| Layer | Number of Input | Number of ECG Output | Kernel Size | Batch | Activation |
|---|---|---|---|---|---|
| Convolution 1 |
|
|
| True | ReLU |
| Convolution 2 |
|
|
| Ture | ReLU |
| Pooling 1 |
|
|
| False | - |
| Convolution 3 |
|
|
| True | ReLU |
| Convolution 4 |
|
|
| True | ReLU |
| Pooling 2 |
|
|
| False | - |
| Convolution 5 |
|
|
| True | ReLU |
| Convolution 6 |
|
|
| True | ReLU |
| Pooling 3 |
|
|
| False | - |
| The flattened vectors of the 12 leads are concatenated | |||||
| Fully connected 1 | 3456 | 2048 | - | True | ReLU |
| Fully connected 2 | 2048 | 1024 | - | True | ReLU |
| Fully connected 3 | 1024 | 11 | - | False | SoftMax |
| Loss function | Cross-entropy loss | ||||
| Optimizer | Adam | ||||
Confusion matrix for normal and MI classes in Setting 1.
| Predicted Class | |||
|---|---|---|---|
| N | MI | ||
|
|
| 4822 | 15 |
|
| 31 | 20,440 | |
Classification performance of normal and MI classes in Setting 1.
| Index | Score |
|---|---|
| Sensitivity | 0.9985 |
| Specificity | 0.9969 |
| Accuracy | 0.9982 |
Confusion matrix for MI localization and classification accuracy for each class in Setting 1.
| Predicted Class | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N | A | AL | AS | I | IL | IP | IPL | L | P | PL | Accuracy | ||
|
|
| 4818 | 1 | 0 | 5 | 13 | 0 | 0 | 0 | 0 | 0 | 0 | 0.9961 |
|
| 2 | 2782 | 3 | 15 | 7 | 3 | 0 | 0 | 0 | 0 | 0 | 0.9893 | |
|
| 3 | 5 | 2551 | 17 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0.9888 | |
|
| 3 | 11 | 4 | 4590 | 9 | 1 | 0 | 1 | 0 | 1 | 0 | 0.9935 | |
|
| 6 | 5 | 0 | 5 | 5243 | 6 | 0 | 2 | 1 | 0 | 0 | 0.9953 | |
|
| 1 | 1 | 3 | 1 | 14 | 3286 | 0 | 9 | 0 | 0 | 0 | 0.9913 | |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 38 | 0 | 0 | 0 | 0 | 1.0000 | |
|
| 0 | 0 | 1 | 1 | 4 | 6 | 0 | 1106 | 0 | 0 | 0 | 0.9893 | |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 180 | 0 | 0 | 1.0000 | |
|
| 1 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 236 | 0 | 0.9833 | |
|
| 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 297 | 0.9900 | |
|
| 0.9928 | ||||||||||||
Confusion matrix for normal and MI classes in Setting 2.
| Predicted Class | |||
|---|---|---|---|
| N | MI | ||
|
|
| 3718 | 1119 |
|
| 390 | 19,623 | |
Classification performance of normal and MI classes in Setting 2.
| Index | Score |
|---|---|
| Sensitivity | 0.9805 |
| Specificity | 0.7687 |
| Accuracy | 0.9393 |
Confusion matrix for MI localization and classification accuracy for each class in Setting 2.
| Predicted Class | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| N | A | AL | AS | I | IL | IPL | PL | Accuracy | ||
|
|
| 4012 | 24 | 21 | 85 | 515 | 132 | 26 | 22 | 0.8294 |
|
| 91 | 1524 | 646 | 329 | 177 | 45 | 0 | 0 | 0.5420 | |
|
| 79 | 311 | 1692 | 329 | 152 | 16 | 1 | 0 | 0.6558 | |
|
| 156 | 140 | 731 | 3239 | 207 | 145 | 1 | 1 | 0.7011 | |
|
| 471 | 158 | 167 | 75 | 3876 | 429 | 90 | 2 | 0.7358 | |
|
| 118 | 64 | 10 | 113 | 790 | 2098 | 92 | 30 | 0.6329 | |
|
| 16 | 3 | 8 | 0 | 190 | 256 | 622 | 23 | 0.5564 | |
|
| 13 | 0 | 9 | 4 | 59 | 59 | 6 | 150 | 0.5000 | |
|
| 0.6927 | |||||||||
Comparison of classification performance between proposed model and existing methods under Setting 1.
| Author (Year) | Methods | MI Detection Results | MI Localization Results |
|---|---|---|---|
| Arif et al., 2012 [ | k-NN | Sensitivity = 99.97% | Accuracy = 98.8% |
| Specificity = 99.9% | |||
| Safdarian et al., 2014 [ | • Probabilistic Neural Network (PNN) | Accuracy = 94% | Accuracy = 76% |
| • k-NN | |||
| • Multilayer Perceptron (MLP) | |||
| • Naive Bayes Classification | |||
| Sharma et al., 2015 [ | • SVM-Lin | Accuracy = 96% | Accuracy = 99.58% |
| • SVM-RBF | Sensitivity = 93% | ||
| • k-NN | Specificity = 99% | ||
| Acharya et al., 2016 [ | k-NN | Accuracy = 98.8% | Accuracy = 98.74% |
| Sensitivity = 99.45% | Sensitivity = 99.55% | ||
| Specificity = 96.27% | Specificity = 99.16% | ||
| Baloglu et al., 2019 [ | Deep CNN | N/A | Accuracy = 99.78% |
| Sugimoto et al., 2019 [ | • Convolutional autoencoder | Accuracy = 99.87% | Accuracy = 99.88% |
| Sensitivity = 99.91% | Sensitivity = 99.12% | ||
| Specificity = 99.59% | Specificity = 99.92% | ||
| Cao et al., 2022 [ | • SENet | Accuracy = 99.98% | Accuracy = 99.79% |
| Sensitivity = 99.94% | Sensitivity = 99.88% | ||
| Specificity = 99.94% | Specificity = 99.98% | ||
| Proposed model | CNN | Accuracy = 99.82% | Accuracy = 99.28% |
| Sensitivity = 99.85% | Sensitivity = 99.21% | ||
| Specificity = 99.69% | Specificity = 99.61% |
Figure 3Misclassified ECG waveforms: (a) ECG waveform with strong noise; (b) ECG waveform with strong trend; (c) ECG waveform with two beats; and (d) ECG waveform with most of the beat missing.
Comparison of classification performance between our method and the existing methods under Setting 2.
| Author (Year) | Methods | MI Detection Results | MI Localization Results |
|---|---|---|---|
| Fu et al., 2020 [ | MLA-CNN-BiGRU | Accuracy = 96.50% | Accuracy = 62.94% |
| Sensitivity = 97.10% | Sensitivity = 63.97% | ||
| Specificity = 93.34% | Specificity = 63.00% | ||
| Han et al., 2020 [ | ML-ResNet | Accuracy = 95.49% | Accuracy = 55.74% |
| Sensitivity = 94.85% | Sensitivity = 47.58% | ||
| Specificity = 97.37% | Specificity = 55.37% | ||
| Proposed model | CNN | Accuracy = 93.93% | Accuracy = 69.27% |
| Sensitivity = 98.05% | Sensitivity = 65.96% | ||
| Specificity = 76.87% | Specificity = 82.94% |