| Literature DB >> 33343853 |
Peng Lu1,2, Hao Xi2,3, Bing Zhou2,3, Hongpo Zhang2,4, Yusong Lin2,5, Liwei Chen1, Yang Gao2,3, Yabin Zhang2,3, Yanhua Hu2,3.
Abstract
Electrocardiogram (ECG) contains the rhythmic features of continuous heartbeat and morphological features of ECG waveforms and varies among different diseases. Based on ECG signal features, we propose a combination of multiple neural networks, the multichannel parallel neural network (MLCNN-BiLSTM), to explore feature information contained in ECG. The MLCNN channel is used in extracting the morphological features of ECG waveforms. Compared with traditional convolutional neural network (CNN), the MLCNN can accurately extract strong relevant information on multilead ECG while ignoring irrelevant information. It is suitable for the special structures of multilead ECG. The Bidirectional Long Short-Term Memory (BiLSTM) channel is used in extracting the rhythmic features of ECG continuous heartbeat. Finally, by initializing the core threshold parameters and using the backpropagation algorithm to update automatically, the weighted fusion of the temporal-spatial features extracted from multiple channels in parallel is used in exploring the sensitivity of different cardiovascular diseases to morphological and rhythmic features. Experimental results show that the accuracy rate of multiple cardiovascular diseases is 87.81%, sensitivity is 86.00%, and specificity is 87.76%. We proposed the MLCNN-BiLSTM neural network that can be used as the first-round screening tool for clinical diagnosis of ECG.Entities:
Year: 2020 PMID: 33343853 PMCID: PMC7728482 DOI: 10.1155/2020/8889483
Source DB: PubMed Journal: J Healthc Eng ISSN: 2040-2295 Impact factor: 2.682
Figure 1Correlation of 12-lead ECG.
Figure 2(a) 8-neighborhood structure (N8(p)) of each pixel in 2D digital image; (b) 4-neighborhood structure (N4(p)) of each sampling point in multilead ECG.
Figure 3Convolution operation of MLCNN neural network.
Figure 4An illustration of the proposed MLCNN-BiLSTM architecture.
Figure 5The BiLSTM neural network cell structure.
Experimental data statistics.
| Diseases | Train set | Validation set | Test set | Total |
|
| ||||
| Normal | 86496 | 10812 | 10812 | 108120 |
| Atrial arrhythmia | 12329 | 1541 | 1541 | 15411 |
| Ventricular arrhythmia | 4600 | 575 | 575 | 5750 |
| Myocardial infarction | 488 | 61 | 61 | 610 |
| Ventricular hypertrophy | 10468 | 1309 | 1309 | 13086 |
| Atrial hypertrophy | 91 | 12 | 12 | 115 |
| Total | 114472 | 14310 | 14310 | 143092 |
Algorithm 1Preliminary processing of ECG.
Algorithm 2R-peak detection algorithm based on wavelet coefficients.
Figure 6The framework of the data preprocessing algorithm.
Figure 7The ECG signal with and without noise removal. ((a) and (b)) Original ECG signal and spectrum map. ((c) and (d)) ECG signal and spectrum map after preliminary processing. ((e) and (f)) ECG signal and spectrum map without noise.
Algorithm 3Training of MLCNN-BiLSTM model based classifier.
Detailed parameters used for all the layers of proposed model.
| Channel | Layer | Layer name | Kernel × unit | Other layer parameters |
|
| ||||
| MLCNN | 1 | Conv2D | 5 × 32 | Strides = 1, padding = 2 |
| 2 | Batch norm. | — | — | |
| 3 | ReLU | — | — | |
| 4 | Max pooling 2D | 2 | Strides = 2 | |
| 5 | Conv2D | 5 × 64 | Strides = 1, padding = 2 | |
| 6 | Batch norm. | — | — | |
| 7 | ReLU | — | — | |
| 8 | Max pooling 2D | 2 | Strides = 2 | |
| 9 | Conv2D | 5 × 128 | Strides = 1, padding = 2 | |
| 10 | Batch norm. | — | — | |
| 11 | ReLU | — | — | |
| 12 | Max pooling 2D | 2 | Strides = 2 | |
| 13 | Linear | 256 | ReLU, dropout | |
|
| ||||
| BiLSTM | 1 | BiLSTM | — | Hidden size = 128 |
|
| ||||
| — | 1 | Channel fusion | — |
|
| 2 | Linear | 512 | ReLU, dropout | |
| 3 | Linear | 128 | ReLU, dropout | |
| 4 | Linear | 64 | ReLU, dropout | |
Related parameter settings for the model proposed in this study.
| Parameter | Value |
|
| |
| Learning rate | 0.001 |
| Batch size | 128 |
| BiLSTM cell size | 128 |
| Convolution kernel size | (5,5) |
| Epochs | 100 |
| Optimizer | Adam |
| Cost function | Softmax |
|
| 0.7 |
Figure 8Training of the MLCNN-BiLSTM. (a) Loss curve. (b) Accuracy curve.
Classification performance of different classes.
| Diseases | TP | TN | FP | FN | ACC (%) | SE (%) | SP (%) |
|
| |||||||
| Normal | 9897 | 2707 | 305 | 1401 | 88.08 | 87.60 | 89.87 |
| Atrial arrhythmia | 1076 | 11481 | 1551 | 202 | 87.75 | 84.19 | 88.10 |
| Ventricular arrhythmia | 530 | 12021 | 1659 | 100 | 87.71 | 84.13 | 87.87 |
| Myocardial infarction | 48 | 12451 | 1786 | 25 | 87.34 | 65.75 | 87.46 |
| Ventricular hypertrophy | 1007 | 11435 | 1553 | 315 | 86.95 | 76.17 | 88.04 |
| Atrial hypertrophy | 7 | 12447 | 1854 | 2 | 87.03 | 77.78 | 87.04 |
Classification performance of different optimizer.
| Optimizer | ACC (%) | SE (%) | SP (%) |
|
| |||
| Adam | 87.81 | 86.00 | 87.76 |
| SGD | 86.02 | 83.87 | 85.48 |
Classification performance of different batch size.
| Batch Size | ACC (%) | SE (%) | SP (%) |
|
| |||
| 32 | 77.75 | 73.48 | 75.60 |
| 64 | 87.43 | 85.58 | 85.42 |
| 128 | 87.81 | 86.00 | 87.76 |
| 256 | 87.53 | 82.48 | 84.33 |
Classification performance of different convolution kernel size.
| Convolution kernel size | ACC (%) | SE (%) | SP (%) |
|
| |||
| (3,3) | 84.76 | 82.59 | 84.86 |
| (5,5) | 87.81 | 86.60 | 87.63 |
| (7,7) | 87.81 | 86.00 | 87.76 |
| (9,9) | 87.23 | 86.56 | 86.09 |
Classification performance of different ɑ.
|
| ACC (%) | SE (%) | SP (%) |
|
| |||
| 0.4 | 81.30 | 77.64 | 73.36 |
| 0.5 | 85.71 | 80.77 | 82.95 |
| 0.6 | 87.07 | 86.25 | 86.96 |
| 0.7 | 87.81 | 86.00 | 87.76 |
| 0.8 | 86.94 | 85.15 | 85.54 |
Classification performance of different convolution kernel size.
| ECG data | ACC (%) | SE (%) | SP (%) |
|
| |||
| Raw ECG data | 85.53 | 84.71 | 85.23 |
| Preprocessed ECG data | 87.81 | 86.00 | 87.76 |
Comparison of experimental results with other models.
| Model | ACC (%) | SE (%) | SP (%) |
|
| |||
| BiLSTM | 67.70 | 74.36 | 76.34 |
| CNN | 83.57 | 79.32 | 81.89 |
| MLCNN | 85.01 | 81.93 | 85.82 |
| MLCNN-BiLSTM (without | 85.37 | 82.67 | 87.42 |
| MLCNN-BiLSTM | 87.81 | 86.00 | 87.76 |
Figure 9Visualization of the learned feature vectors. N# corresponds to the normal cases; AA# corresponds to the atrial arrhythmia cases patient; VA# corresponds to the ventricular arrhythmia cases patient; MI# corresponds to the myocardial infarction cases patient; VH# corresponds to the ventricular hypertrophy cases patient; AH# corresponds to the atrial hypertrophy cases patient.
Summary of recent ECG classification methods on CCDD database.
| Literature | Method | Classes | ACC (%) | SE (%) | SP (%) |
|
| |||||
| Jin and Dong [ | LCNN-A, LCNN-B, Bayesian | 2 | 85.08 | 82.38 | 87.21 |
| Zhou et al. [ | LCNN, rules inference | 2 | 97.87 | 87.94 | 98.02 |
| Zhou et al. [ | LCNN, LSTM, rules inference | 2 | 99.41 | 97.59 | 99.54 |
| Wang et al. [ | CNN, BRNN | 2 | 87.69 | 75.52 | 76.32 |
| Jin and Dong [ | DNN, ensemble learning | 2 | 84.84 | 80.23 | 86.86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|