| Literature DB >> 35336500 |
Bambang Tutuko1, Muhammad Naufal Rachmatullah1, Annisa Darmawahyuni1, Siti Nurmaini1, Alexander Edo Tondas2, Rossi Passarella1, Radiyati Umi Partan3, Ahmad Rifai1, Ade Iriani Sapitri1, Firdaus Firdaus1.
Abstract
Physicians manually interpret an electrocardiogram (ECG) signal morphology in routine clinical practice. This activity is a monotonous and abstract task that relies on the experience of understanding ECG waveform meaning, including P-wave, QRS-complex, and T-wave. Such a manual process depends on signal quality and the number of leads. ECG signal classification based on deep learning (DL) has produced an automatic interpretation; however, the proposed method is used for specific abnormality conditions. When the ECG signal morphology change to other abnormalities, it cannot proceed automatically. To generalize the automatic interpretation, we aim to delineate ECG waveform. However, the output of delineation process only ECG waveform duration classes for P-wave, QRS-complex, and T-wave. It should be combined with a medical knowledge rule to produce the abnormality interpretation. The proposed model is applied for atrial fibrillation (AF) identification. This study meets the AF criteria with RR irregularities and the absence of P-waves in essential oscillations for even more accurate identification. The QT database by Physionet is utilized for developing the delineation model, and it validates with The Lobachevsky University Database. The results show that our delineation model works properly, with 98.91% sensitivity, 99.01% precision, 99.79% specificity, 99.79% accuracy, and a 98.96% F1 score. We use about 4058 normal sinus rhythm records and 1804 AF records from the experiment to identify AF conditions that are taken from three datasets. The comprehensive testing has produced higher negative predictive value and positive predictive value. This means that the proposed model can identify AF conditions from ECG signal delineation. Our approach can considerably contribute to AF diagnosis with these results.Entities:
Keywords: convolutional neural network; delineation; electrocardiogram; long-short term memory
Mesh:
Year: 2022 PMID: 35336500 PMCID: PMC8953093 DOI: 10.3390/s22062329
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The proposed framework with ECG the delineation approach and AF identification. Automated ECG signal delineation is developed with convolutional layers as feature extraction and Bi-LSTM as a classifier.
The data distribution for the delineation and identification process.
| Database | Records | Description | Frequency Sampling |
|---|---|---|---|
| Delineation Model | |||
| QTDB | 10 subjects NSR | Training/validation | 250–500 Hz |
| 15 subjects Arrhythmias | Training/validation | ||
| Two subjects NSR | Testing | ||
| LUDB | 200 subjects for NSR, tachycardia, bradycardia, arrhythmia, irregular rhythm, AF, atrial flutter | Other data set for model validated | 500 Hz |
| Medical knowledge-based learning | |||
| PhysioNet/CinC Challenge 2017 database | 5154 subjects NSR | AF identification | 300 Hz |
| 771 subjects AF | |||
| The China Physiological Signal Challenge 2018 database | 918 subjects NSR | AF identification | 500 Hz |
| 1098 subjects AF | |||
| ECG recordings from Mohammad Hoesin Indonesian Hospital. | 78 subjects NSR | AF identification | 300 Hz |
The ECG beat segmentation to develop the delineation model.
| Data | Training (Beats) | Validation (Beats) | Testing (Beats) |
|---|---|---|---|
| QTDB | 14,376 | 1639 | 100 |
| LUDB | 1096 | 122 | - |
Figure 2The result of the feature map from convolutional layers. (a) Convolution 1 (370, 8). (b) Convolution 2 (370, 16). (c) Convolution 3 (370, 32). (d) Convolution 4 (370, 64).
The structure of the proposed CNNs-Bi-LSTM architecture.
| Layer | Input | Filter | Kernel | Output | Feature |
|---|---|---|---|---|---|
| Input | 370, 1 | - | - | - | ECG amplitude for one beat |
| Convolution 1 | 370 × 1 | 8 | 3 × 1, stride 1 | 370 × 8 | 8 feature maps |
| Convolution 2 | 370 × 8 | 16 | 3 × 1, stride 1 | 370 × 16 | 16 feature maps |
| Convolution 3 | 370 × 16 | 32 | 3 × 1, stride 1 | 370 × 32 | 32 feature maps |
| Convolution 4 | 370 × 32 | 64 | 3 × 1, stride 1 | 370 × 64 | 64 feature maps |
| Bi-LSTM | 370 × 64 | - | - | 370 × 1024 | Two directions of feature data |
| Output | - | - | 370 × 5 | 370 nodes with five classes |
Figure 3Example of ECG signal: (a) normal rhythm as NSR and (b) abnormal rhythm as AF.
Figure 4Model evaluation for the training process in normal ECG waveform.
Figure 5Model evaluation for the validation process in normal ECG waveform.
Delineation results in an intra–inter patient with NSR, arrhythmia, and various conditions using the QTDB and the LUDB.
| Database | Records | Scenario | Classification Performance (%) | ||||
|---|---|---|---|---|---|---|---|
| Sen. | Prec. | Spec. | Acc. | F1-Score | |||
| QTDB | 10 | Intra-patient (NSR) | 98.91 | 99.01 | 99.79 | 99.79 | 98.96 |
| 15 | Intra-patient (Arrythmia) | 97.44 | 97.53 | 99.57 | 99.31 | 97.48 | |
| 2 | Inter-patient (NSR) | 89.90 | 94.30 | 97.86 | 97.33 | 91.70 | |
| LUDB | 200 | Intra-patient | 95.61 | 95.93 | 99.18 | 98.77 | 95.76 |
Note: Sensitivity (Sen.), Precision (Prec.), Specificity (Spec.), Accuracy (Acc.).
Figure 6Confusion matrices for QTDB’s (a) inter-patient and (b) arrhythmia conditions, and (c) LUDB’s intra-patient.
Figure 7Model evaluation based on precision–recall (P–R) curves. (a) intra-patient data. (b) inter-patient data.
Figure 8A sample of one-beat ECG signal delineation results for (a) intra-patient and (b) inter-patient in NSR data. Each figure represents the QTDB ground truth (top figure) and CNNs-Bi-LSTM (bottom figure).
Figure 9The four-beat sample of ECG-signal delineation in (a) NSR and (b) arrhythmia.
The three LSTM architectures with the best result.
| Architecture | Performance (%) | ||||
|---|---|---|---|---|---|
| Sen. | Prec. | Spec. | Acc. | F1-Score | |
| Uni-LSTM | 98.71 | 98.80 | 99.75 | 99.64 | 98.75 |
| Bi-LSTM | 98.84 | 98.97 | 99.68 | 99.68 | 98.91 |
| Convolutional-Bi-LSTM | 98.91 | 99.01 | 99.79 | 99.79 | 98.96 |
Note: Sensitivity (Sen.), Precision (Prec.), Specificity (Spec.), Accuracy (Acc.).
Comparison with other delineation using deep learning model with the same QTDB records.
| Architecture | Detection | Performance (%) | ||||
|---|---|---|---|---|---|---|
| Sen. | Prec. | Spec. | Acc. | F1-Score | ||
| Convolutional LSTM [ | P-wave, QRS-complex, T-wave, and No wave | 97.95 | 95.68 | - | - | 96.78 |
| Convolutional Neural Network-UNet [ | P-wave, QRS-complex, and T-wave | 99.51 | 95.83 | - | - | - |
| Convolutional Long Short-Term Memory [ | P-wave, QRS-complex, and T-wave | 94.47 | 94.19 | - | 94.75 | 94.66 |
| Convolutional Neural Network [ | QRS-complex | 99.97 | 99.99 | - | - | 99.98 |
| Convolutional Neural Network [ | QRS-complex | 99.10 | 99.00 | - | - | - |
| Proposed model | P-wave, QRS-complex, T-wave, and Isoelectric line (no-wave) | 98.91 | 99.01 | 99.79 | 99.79 | 98.96 |
Note: Sensitivity (Sen.), Precision (Prec.), Specificity (Spec.), Accuracy (Acc.).