1
|
Ullah H, Heyat MBB, Akhtar F, Muaad AY, Ukwuoma CC, Bilal M, Miraz MH, Bhuiyan MAS, Wu K, Damaševičius R, Pan T, Gao M, Lin Y, Lai D. An Automatic Premature Ventricular Contraction Recognition System Based on Imbalanced Dataset and Pre-Trained Residual Network Using Transfer Learning on ECG Signal. Diagnostics (Basel) 2022; 13:diagnostics13010087. [PMID: 36611379 PMCID: PMC9818233 DOI: 10.3390/diagnostics13010087] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/06/2022] [Revised: 12/05/2022] [Accepted: 12/23/2022] [Indexed: 12/29/2022] Open
Abstract
The development of automatic monitoring and diagnosis systems for cardiac patients over the internet has been facilitated by recent advancements in wearable sensor devices from electrocardiographs (ECGs), which need the use of patient-specific approaches. Premature ventricular contraction (PVC) is a common chronic cardiovascular disease that can cause conditions that are potentially fatal. Therefore, for the diagnosis of likely heart failure, precise PVC detection from ECGs is crucial. In the clinical settings, cardiologists typically employ long-term ECGs as a tool to identify PVCs, where a cardiologist must put in a lot of time and effort to appropriately assess the long-term ECGs which is time consuming and cumbersome. By addressing these issues, we have investigated a deep learning method with a pre-trained deep residual network, ResNet-18, to identify PVCs automatically using transfer learning mechanism. Herein, features are extracted by the inner layers of the network automatically compared to hand-crafted feature extraction methods. Transfer learning mechanism handles the difficulties of required large volume of training data for a deep model. The pre-trained model is evaluated on the Massachusetts Institute of Technology-Beth Israel Hospital (MIT-BIH) Arrhythmia and Institute of Cardiological Technics (INCART) datasets. First, we used the Pan-Tompkins algorithm to segment 44,103 normal and 6423 PVC beats, as well as 106,239 normal and 9987 PVC beats from the MIT-BIH Arrhythmia and IN-CART datasets, respectively. The pre-trained model employed the segmented beats as input after being converted into 2D (two-dimensional) images. The method is optimized with the using of weighted random samples, on-the-fly augmentation, Adam optimizer, and call back feature. The results from the proposed method demonstrate the satisfactory findings without the using of any complex pre-processing and feature extraction technique as well as design complexity of model. Using LOSOCV (leave one subject out cross-validation), the received accuracies on MIT-BIH and INCART are 99.93% and 99.77%, respectively, suppressing the state-of-the-art methods for PVC recognition on unseen data. This demonstrates the efficacy and generalizability of the proposed method on the imbalanced datasets. Due to the absence of device-specific (patient-specific) information at the evaluating stage on the target datasets in this study, the method might be used as a general approach to handle the situations in which ECG signals are obtained from different patients utilizing a variety of smart sensor devices.
Collapse
Affiliation(s)
- Hadaate Ullah
- State Key Laboratory of Electronic Thin Films and Integrated Devices, School of Materials and Energy, University of Electronic Science and Technology of China, Chengdu 610054, China
| | - Md Belal Bin Heyat
- IoT Research Center, College of Computer Science and Software Engineering, Shenzhen University, Shenzhen 518060, China
- Correspondence: (M.B.B.H.); (R.D.); (Y.L.); (D.L.)
| | - Faijan Akhtar
- School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China
| | | | - Chiagoziem C. Ukwuoma
- School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China
| | - Muhammad Bilal
- College of Pharmacy, Liaquat University of Medical and Health Sciences, Jamshoro 76090, Pakistan
| | - Mahdi H. Miraz
- School of Computing and Data Science, Xiamen University Malaysia, Bandar Sunsuria, Sepang 43900, Malaysia
- School of Computing, Glyndŵr University, Wrexham LL11 2AW, UK
| | | | - Kaishun Wu
- IoT Research Center, College of Computer Science and Software Engineering, Shenzhen University, Shenzhen 518060, China
| | - Robertas Damaševičius
- Department of Software Engineering, Kaunas University of Technology, 44249 Kaunas, Lithuania
- Correspondence: (M.B.B.H.); (R.D.); (Y.L.); (D.L.)
| | - Taisong Pan
- State Key Laboratory of Electronic Thin Films and Integrated Devices, School of Materials and Energy, University of Electronic Science and Technology of China, Chengdu 610054, China
| | - Min Gao
- State Key Laboratory of Electronic Thin Films and Integrated Devices, School of Materials and Energy, University of Electronic Science and Technology of China, Chengdu 610054, China
| | - Yuan Lin
- State Key Laboratory of Electronic Thin Films and Integrated Devices, School of Materials and Energy, University of Electronic Science and Technology of China, Chengdu 610054, China
- Medico-Engineering Corporation on Applied Medicine Research Center, University of Electronic Science and Technology of China, Chengdu 610054, China
- Correspondence: (M.B.B.H.); (R.D.); (Y.L.); (D.L.)
| | - Dakun Lai
- Biomedical Imaging and Electrophysiology Laboratory, School of Electronic Science and Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China
- Correspondence: (M.B.B.H.); (R.D.); (Y.L.); (D.L.)
| |
Collapse
|
2
|
Premature Ventricular Contraction Recognition Based on a Deep Learning Approach. JOURNAL OF HEALTHCARE ENGINEERING 2022; 2022:1450723. [PMID: 35378947 PMCID: PMC8976634 DOI: 10.1155/2022/1450723] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 02/03/2022] [Revised: 02/25/2022] [Accepted: 02/28/2022] [Indexed: 11/18/2022]
Abstract
Electrocardiogram signal (ECG) is considered a significant biological signal employed to diagnose heart diseases. An ECG signal allows the demonstration of the cyclical contraction and relaxation of human heart muscles. This signal is a primary and noninvasive tool employed to recognize the actual life threat related to the heart. Abnormal ECG heartbeat and arrhythmia are the possible symptoms of severe heart diseases that can lead to death. Premature ventricular contraction (PVC) is one of the most common arrhythmias which begins from the lower chamber of the heart and can cause cardiac arrest, palpitation, and other symptoms affecting all activities of a patient. Nowadays, computer-assisted techniques reduce doctors' burden to assess heart arrhythmia and heart disease automatically. In this study, we propose a PVC recognition based on a deep learning approach using the MIT-BIH arrhythmia database. Firstly, 10 heartbeat and statistical features including three morphological features (RS amplitude, QR amplitude, and QRS width) and seven statistical features are computed for each signal. The extraction process of these features is conducted for 20 s of ECG data that create a feature vector. Next, these features are fed into a convolutional neural network (CNN) to find unique patterns and classify them more effectively. The obtained results prove that our pipeline improves the diagnosis performance more effectively.
Collapse
|
3
|
JANG SEOKWOO, LEE SANGHONG. DETECTION OF VENTRICULAR FIBRILLATION USING WAVELET TRANSFORM AND PHASE SPACE RECONSTRUCTION FROM ECG SIGNALS. J MECH MED BIOL 2021. [DOI: 10.1142/s0219519421400364] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/18/2022]
Abstract
This study proposes the detection of ventricular fibrillation (VF) by wavelet transforms (WTs) and phase space reconstruction (PSR) from electrocardiogram (ECG) signals. A neural network with weighted fuzzy memberships (NEWFM) is used to detect VF as a classifier. In the first step, the WT was used to remove noise in ECG signals. In the second step, coordinates were mapped from the wavelet coefficients by the PSR. In the final step, NEWFM used the mapped coordinates-based features as inputs. The NEWFM has the bounded sum of weighted fuzzy memberships (BSWFM) that can easily appear the distinctness between the normal sinus rhythm (NSR) and VF in the graphical characteristics. The BSWFM can easily be set up in a portable automatic external defibrillator (AED) to detect VF in an emergency.
Collapse
Affiliation(s)
- SEOK-WOO JANG
- Department of Software, Anyang University, Anyang-si, Republic of Korea
| | - SANG-HONG LEE
- Department of Computer Science & Engineering, Anyang University, Anyang-si, Republic of Korea
| |
Collapse
|
4
|
Wang J. Automated detection of premature ventricular contraction based on the improved gated recurrent unit network. COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE 2021; 208:106284. [PMID: 34304005 DOI: 10.1016/j.cmpb.2021.106284] [Citation(s) in RCA: 4] [Impact Index Per Article: 1.3] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 02/20/2021] [Accepted: 07/11/2021] [Indexed: 06/13/2023]
Abstract
BACKGROUND AND OBJECTIVE Premature ventricular contraction (PVC) is the common arrhythmia disease, affecting thousands of individuals worldwide. However, the traditional PVC detection is cumbersome by visually inspecting electrocardiogram (ECG) signals. METHODS In this work, we specially propose an improved gated recurrent unit (IGRU) by setting a scale parameter into existing bidirectional GRU (BGRU) model for PVC signals recognition, which is used to alleviate the problem of information redundancy in BGRU. To verify the effectiveness, IGRU model will be embedded into a convolutional network frame and existing GRU and BGRU models are employed as control groups for a fair comparison. RESULTS The results exhibit that the model attains better model performance than control groups and several state-of-the-art algorithms with the accuracy of 98.3% and 97.9% with the MIT-BIH arrhythmia database and China Physiological Signal Challenge 2018 database. Besides, motivated from the waveform characteristics of ECG signals in PVC, the proposed model can provide certain physiological interpretability for physicians and researchers. CONCLUSIONS To our knowledge, this is the first attempt to re-design the existing GRU network for ECG signals classification, thus exhibiting great application potentials especially in lightweight equipment such as mobile phone and camera.
Collapse
Affiliation(s)
- Jibin Wang
- School of Mathematics, Tianjin University, Tianjin 300354, China.
| |
Collapse
|
6
|
Yu J, Wang X, Chen X, Guo J. Automatic Premature Ventricular Contraction Detection Using Deep Metric Learning and KNN. BIOSENSORS 2021; 11:69. [PMID: 33806367 PMCID: PMC8000997 DOI: 10.3390/bios11030069] [Citation(s) in RCA: 10] [Impact Index Per Article: 3.3] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 01/26/2021] [Revised: 02/22/2021] [Accepted: 02/26/2021] [Indexed: 11/24/2022]
Abstract
Premature ventricular contractions (PVCs), common in the general and patient population, are irregular heartbeats that indicate potential heart diseases. Clinically, long-term electrocardiograms (ECG) collected from the wearable device is a non-invasive and inexpensive tool widely used to diagnose PVCs by physicians. However, analyzing these long-term ECG is time-consuming and labor-intensive for cardiologists. Therefore, this paper proposed a simplistic but powerful approach to detect PVC from long-term ECG. The suggested method utilized deep metric learning to extract features, with compact intra-product variance and separated inter-product differences, from the heartbeat. Subsequently, the k-nearest neighbors (KNN) classifier calculated the distance between samples based on these features to detect PVC. Unlike previous systems used to detect PVC, the proposed process can intelligently and automatically extract features by supervised deep metric learning, which can avoid the bias caused by manual feature engineering. As a generally available set of standard test material, the MIT-BIH (Massachusetts Institute of Technology-Beth Israel Hospital) Arrhythmia Database is used to evaluate the proposed method, and the experiment takes 99.7% accuracy, 97.45% sensitivity, and 99.87% specificity. The simulation events show that it is reliable to use deep metric learning and KNN for PVC recognition. More importantly, the overall way does not rely on complicated and cumbersome preprocessing.
Collapse
Affiliation(s)
- Junsheng Yu
- School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China; (J.Y.); (J.G.)
| | - Xiangqing Wang
- School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China; (J.Y.); (J.G.)
| | - Xiaodong Chen
- Queen Mary, University of London, London E1 4NS, UK;
| | - Jinglin Guo
- School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China; (J.Y.); (J.G.)
| |
Collapse
|
7
|
He K, Zhong G, Ding X, Yang C. Recognition of Premature Ventricular Contraction Beat from 12Lead ECG Based on A Novel Detection Function of QRS Onset. ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY. IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY. ANNUAL INTERNATIONAL CONFERENCE 2020; 2020:349-352. [PMID: 33018000 DOI: 10.1109/embc44109.2020.9175775] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 06/11/2023]
Abstract
Premature ventricular contraction (PVC) is associated to the risk of ventricular dysfunction and cardiovascular events. Its diagnosis depends on a long-time monitoring, and computational tools for PVC recognition can provide significant assistance to specialists. For this purpose, we present an automatic algorithm for the recognition PVC beat based on long-term 12-lead ECG.A total of 249 patients with PVC were included in this study. Initially, a novel QRS onset detection function was used to automatically extract QRS complexes from massive original ECG data. Then, non-personalized but shared QRS-width features of 12-lead QRS complexes were extracted and fed to a binary classifier based on SVM. In order to verify the model, 17, 512 normal beats and 17, 690 PVC beats extracted from 35 patients were used for training, and another 215 normal beats and 291 PVC beats selected randomly from the remaining 214 patients were used for testing.As a result, the achieved accuracy, sensitivity, specificity in training data and testing data are 98.9%, 98.3%, 99.5% and 97.2%, 97.7%, 96.7%, respectively. The high accuracy of PVC recognition makes it promising to be an efficient technique being used in clinical settings to automatically analyze huge ECG data so as to replace the tedious manual interpretation.
Collapse
|
8
|
He K, Nie Z, Zhong G, Yang C, Sun J. Localization of origins of premature ventricular contraction in the whole ventricle based on machine learning and automatic beat recognition from 12-lead ECG. Physiol Meas 2020; 41:055007. [PMID: 32252035 DOI: 10.1088/1361-6579/ab86d7] [Citation(s) in RCA: 7] [Impact Index Per Article: 1.8] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/11/2022]
Abstract
OBJECTIVE The localization of origins of premature ventricular contraction (PVC) is the key factor for the success of ablation of ventricular arrhythmias. Existing methods rely heavily on manual extraction of PVC beats, which limits their application to the automatic PVC recognition from long-term data recorded by ECG monitors before and during operation. In addition, research identifying PVC sources in the whole ventricle have not been reported. The purpose of this study was to validate the feasibility of localization of origins of PVC in the whole ventricle and to explore an automatic algorithm for recognition of PVC beats based on long-term 12-lead ECG. APPROACH This study included 249 patients with spontaneous PVCs or pacing-induced PVCs. A novel algorithm was used to automatically extract PVC beats from a massive amount of original ECG data, which was collected by different acquisition devices. After clustering and labelling, 374 sample groups, each containing dozens to hundreds of PVC beats, formed the entire dataset of 11 categories corresponding to 11 regions of PVC origins in the whole ventricle. To choose the best classification model for the current task, four machine learning methods, support vector machine (SVM), random forest (RF), gradient-boosting decision tree (GBDT) and Gaussian naïve Bayes (GNB), were compared by randomly selecting 70% of the entire dataset (sample groups = 257) for training and the remaining 30% (sample groups = 117) for testing. The average performance of each model was estimated by the bootstrap method using 1000 resampling trials. MAIN RESULTS For PVC beat recognition, the achieved testing accuracy, sensitivity and specificity is 97.6%, 98.3% and 96.7%, respectively. For localization purpose, the achieved testing accuracy varies slightly from 70.7% to 74.1% among four classifiers, and when neighboring regions were combined, the testing rank accuracy is improved to a range of 91.5% to 93.2%. SIGNIFICANCE The proposed algorithm can automatically recognize PVC beats and map them to one of the 11 regions in the whole ventricle. Owing to the high accuracy of PVC beat recognition and the capability to target the potential PVC origins in multi regions, it is expected to be a predominant technique being used in clinical settings to automatically analyze huge ECG data before and during operation so as to replace the tedious manual identification.
Collapse
Affiliation(s)
- Kaiyue He
- Department of Electronic Engineering, Fudan University, Shanghai 200433, People's Republic of China. Authors contributed equally to this work
| | | | | | | | | |
Collapse
|