| Literature DB >> 36008568 |
Fangzhou Xu1, Peng Ji1, Shuwang Zhou2, Jiahao Li3, Shao-Peng Pang4, Minglei Shu5.
Abstract
Electrocardiogram (ECG) is mostly used for the clinical diagnosis of cardiac arrhythmia due to its simplicity, non-invasiveness, and reliability. Recently, many models based on the deep neural networks have been applied to the automatic classification of cardiac arrhythmia with great success. However, most models independently extract the internal features of each lead in the 12-lead ECG during the training phase, resulting in a lack of inter-lead features. Here, we propose a general model based on the two-dimensional ECG and ResNet with detached squeeze-and-excitation modules (DSE-ResNet) to realize the automatic classification of normal rhythm and 8 cardiac arrhythmias. The original 12-lead ECG is spliced into a two-dimensional plane like a grayscale picture. DSE-ResNet is used to simultaneously extract the internal and inter-lead features of the two-dimensional ECG. Furthermore, an orthogonal experiment method is used to optimize the hyper-parameters of DSE-ResNet and a multi-model voting strategy is used to improve classification performance. Experimental results based on the test set of China Physiological Signal Challenge 2018 (CPSC2018) show that our model has average [Formula: see text] for classifying normal rhythm and 8 cardiac arrhythmias. Meanwhile, compared with the state-of-art model in CPSC2018, our model achieved the best [Formula: see text] in 2 sub-abnormal types. This shows that the model based on the two-dimensional ECG and DSE-ResNet has advantage in detecting some cardiac arrhythmias and has the potential to be used as an auxiliary tool to help doctors perform cardiac arrhythmias analysis.Entities:
Mesh:
Year: 2022 PMID: 36008568 PMCID: PMC9411603 DOI: 10.1038/s41598-022-18664-0
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.996
Data profile.
| No. | Type | Record | Time length | Training set | Small test set | Hidden test set | ||
|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | ||||||
| 1 | Normal | 918 | 15.43 | 10 | 64 | 895 | 69 | 394 |
| 2 | AF | 1098 | 15.04 | 9 | 74 | 1112 | 79 | 466 |
| 3 | I-AVB | 704 | 14.27 | 10 | 54 | 695 | 45 | 295 |
| 4 | LBBB | 207 | 14.94 | 9 | 65 | 203 | 15 | 97 |
| 5 | RBBB | 1695 | 14.62 | 10 | 118 | 1691 | 124 | 756 |
| 6 | PAC | 574 | 19.43 | 9 | 74 | 546 | 47 | 250 |
| 7 | PVC | 653 | 20.92 | 6 | 144 | 826 | 44 | 276 |
| 8 | STD | 826 | 15.50 | 8 | 138 | 825 | 58 | 340 |
| 9 | STE | 202 | 17.15 | 10 | 60 | 216 | 19 | 80 |
| Total | 6877 | 15.95 | 6 | 144 | 7117 | 500 | 2954 | |
Figure 1Two-dimensional and expend dimension process.
Figure 2Structure of DSE-ResNet.
Figure 3Compare the scores of the models with and without age and gender. The 10 subgraphs used models with different hyper-parameter combinations. Table 2 shows these hyper-parameter combinations.
Orthogonal table of hyper-parameters.
| No. | Learning rate | Dropout | Momentum |
|---|---|---|---|
| 1 | 0.1 | 0.8 | 0.5 |
| 2 | 0.15 | 0.3 | 0.9 |
| 3 | 0.05 | 0.5 | 0.5 |
| 4 | 0.15 | 0.8 | 0.7 |
| 5 | 0.05 | 0.3 | 0.7 |
| 6 | 0.1 | 0.5 | 0.9 |
| 7 | 0.15 | 0.3 | 0.5 |
| 8 | 0.05 | 0.8 | 0.9 |
| 9 | 0.1 | 0.3 | 0.7 |
| 10 | 0.15 | 0.5 | 0.7 |
Figure 4Power spectral density curves obtained by applying Welch with different windows and different window lengths. Windows include Blackman window, Hanning window, and Triangular window. And window lengths include 256, 512, and 1024. (a) Power spectral density curve of the lead I signal of the abnormal sample before filtering. (b) Power spectral density curve of the lead I signal of the abnormal sample after filtering. Each subplot uses the same window length and a different window.
Figure 5Data pre-processing.
Comparison of scores between the ensemble model and the single optimal models on the small number of test set.
| No. | Average | Normal rhythm and 8 cardiac arrhythmias | 4 sub-abnormal types | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Normal | AF | I-AVB | LBBB | RBBB | PAC | PVC | STD | STE | AF | Block | PC | ST | ||
| 1 | 0.783 | 0.739 | 0.962 | 0.846 | 0.786 | 0.912 | 0.742 | 0.854 | 0.659 | 0.545 | 0.962 | 0.885 | 0.793 | 0.629 |
| 2 | 0.816 | 0.963 | 0.845 | 0.938 | 0.922 | 0.683 | 0.830 | 0.750 | 0.595 | 0.963 | 0.903 | 0.761 | 0.709 | |
| 3 | 0.810 | 0.745 | 0.955 | 0.821 | 0.970 | 0.928 | 0.682 | 0.860 | 0.730 | 0.595 | 0.955 | 0.905 | 0.773 | 0.695 |
| 4 | 0.776 | 0.738 | 0.933 | 0.824 | 0.938 | 0.915 | 0.692 | 0.806 | 0.742 | 0.400 | 0.933 | 0.896 | 0.747 | 0.688 |
| 5 | 0.835 | 0.787 | 0.954 | 0.876 | 0.938 | 0.744 | 0.763 | 0.606 | 0.954 | 0.826 | 0.728 | |||
| 6 | 0.824 | 0.783 | 0.919 | 0.851 | 0.938 | 0.932 | 0.738 | 0.892 | 0.761 | 0.600 | 0.919 | 0.912 | 0.814 | 0.727 |
| 7 | 0.817 | 0.763 | 0.830 | 0.941 | 0.938 | 0.736 | 0.876 | 0.762 | 0.541 | 0.911 | 0.807 | 0.704 | ||
| 8 | 0.780 | 0.743 | 0.938 | 0.804 | 0.811 | 0.902 | 0.710 | 0.870 | 0.686 | 0.556 | 0.938 | 0.867 | 0.789 | 0.652 |
| 9 | 0.832 | 0.760 | 0.938 | 0.857 | 0.941 | 0.931 | 0.742 | 0.914 | 0.629 | 0.938 | 0.914 | 0.824 | 0.743 | |
| 10 | 0.828 | 0.787 | 0.942 | 0.909 | 0.919 | 0.742 | 0.864 | 0.778 | 0.606 | 0.942 | 0.914 | 0.802 | ||
| EM | 0.787 | 0.949 | 0.870 | 0.935 | 0.897 | 0.748 | 0.949 | 0.922 | 0.729 | |||||
Significant values are in bold.
Figure 6Training/validation set loss and accuracy curve for CPSC2018.
Figure 7Confusion matrix.
Other performance metrics of the DSE-ResNet on CPSC2018 hidden test set.
| Metrics | Average | Normal rhythm and 8 cardiac arrhythmias | 4 sub-abnormal types | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Normal | AF | I-AVB | LBBB | RBBB | PAC | PVC | STD | STE | AF | Block | PC | ST | ||
| 0.965 | 0.936 | 0.978 | 0.972 | 0.962 | 0.954 | 0.963 | 0.946 | 0.979 | 0.978 | 0.946 | 0.943 | 0.930 | ||
| 0.845 | 0.725 | 0.869 | 0.931 | 0.927 | 0.739 | 0.877 | 0.828 | 0.766 | 0.940 | 0.912 | 0.806 | 0.819 | ||
| 0.803 | 0.898 | 0.887 | 0.853 | 0.934 | 0.772 | 0.763 | 0.723 | 0.450 | 0.947 | 0.914 | 0.768 | 0.671 | ||
| 0.979 | 0.942 | 0.986 | 0.983 | 0.972 | 0.972 | 0.987 | 0.978 | 0.996 | 0.986 | 0.952 | 0.970 | 0.975 | ||
Significant values are in bold.
Comparison of scores with the top five models in CPSC2018.
| Model | Average | ||||
|---|---|---|---|---|---|
| Our model | 0.817 | 0.786 | 0.738 | ||
| Chen et al.[ | 0.933 | 0.899 | |||
| Cai et al.[ | 0.830 | 0.931 | 0.912 | 0.817 | 0.761 |
| He et al.[ | 0.806 | 0.914 | 0.879 | 0.801 | 0.742 |
| Yu et al.[ | 0.802 | 0.918 | 0.890 | 0.789 | 0.718 |
| Yan et al.[ | 0.791 | 0.924 | 0.882 | 0.779 | 0.709 |
Significant values are in bold.
Comparison for classification performance of previous works and ours evaluated on the CPSC2018 hidden test set.
| Work | Model | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Normal | AF | I-AVB | LBBB | RBBB | PAC | PVC | STD | STE | Average | ||
| Yao et al.[ | CNN + LSTM | 0.753 | 0.900 | 0.809 | 0.874 | 0.922 | 0.638 | 0.832 | 0.762 | 0.462 | 0.772 |
| Liu et al.[ | CNN + Expert feature | 0.91 | 0.87 | 0.87 | 0.91 | 0.63 | 0.82 | 0.81 | |||
| Liu et al.[ | CNN | 0.80 | 0.89 | 0.87 | 0.77 | 0.90 | 0.65 | 0.79 | 0.80 | 0.56 | 0.78 |
| Wang et al.[ | CNN + Attention | 0.79 | 0.93 | 0.85 | 0.86 | 0.93 | 0.75 | 0.85 | 0.80 | 0.56 | 0.813 |
| Yao et al.[ | CNN + LSTM + Attention | 0.789 | 0.920 | 0.850 | 0.872 | 0.736 | 0.789 | 0.556 | 0.812 | ||
| Our model | CNN + Channel Attention + ensemble model | 0.803 | 0.931 | 0.816 | 0.72 | 0.567 | |||||
Significant values are in bold.