The automatic detection of pulse during out-of-hospital cardiac arrest (OHCA) is necessary for the early recognition of the arrest and the detection of return of spontaneous circulation (end of the arrest). The only signal available in every single defibrillator and valid for the detection of pulse is the electrocardiogram (ECG). In this study we propose two deep neural network (DNN) architectures to detect pulse using short ECG segments (5 s), i.e., to classify the rhythm into pulseless electrical activity (PEA) or pulse-generating rhythm (PR). A total of 3914 5-s ECG segments, 2372 PR and 1542 PEA, were extracted from 279 OHCA episodes. Data were partitioned patient-wise into training (80%) and test (20%) sets. The first DNN architecture was a fully convolutional neural network, and the second architecture added a recurrent layer to learn temporal dependencies. Both DNN architectures were tuned using Bayesian optimization, and the results for the test set were compared to state-of-the art PR/PEA discrimination algorithms based on machine learning and hand crafted features. The PR/PEA classifiers were evaluated in terms of sensitivity (Se) for PR, specificity (Sp) for PEA, and the balanced accuracy (BAC), the average of Se and Sp. The Se/Sp/BAC of the DNN architectures were 94.1%/92.9%/93.5% for the first one, and 95.5%/91.6%/93.5% for the second one. Both architectures improved the performance of state of the art methods by more than 1.5 points in BAC.
30 March 2017 in IEEE Transactions on Biomedical Engineering
Objective: There is a need to monitor the heart rhythm in resuscitation to improve treatment quality. Resuscitation rhythms are categorized into: ventricular tachycardia (VT), ventricular fibrillation (VF), pulseless electrical activity (PEA), asystole (AS), and pulse-generating rhythm (PR). Manual annotation of rhythms is time-consuming and infeasible for large datasets. Our objective was to develop ECG-based algorithms for the retrospective and automatic classification of resuscitation cardiac rhythms. Methods: The dataset consisted of 1631 3-s ECG segments with clinical rhythm annotations, obtained from 298 out-of-hospital cardiac arrest patients. In total, 47 wavelet- and time-domain-based features were computed from the ECG. Features were selected using a wrapper-based feature selection architecture. Classifiers based on Bayesian decision theory, k-nearest neighbor, k-local hyperplane distance nearest neighbor, artificial neural network (ANN), and ensemble of decision trees were studied. Results: The best results were obtained for ANN classifier with Bayesian regularization backpropagation training algorithm with 14 features, which forms the proposed algorithm. The overall accuracy for the proposed algorithm was 78.5%. The sensitivities (and positive-predictive-values) for AS, PEA, PR, VF, and VT were 88.7% (91.0%), 68.9% (70.4%), 65.9% (69.0%), 86.2% (83.8%), and 78.8% (72.9%), respectively. Conclusions: The results demonstrate that it is possible to classify resuscitation cardiac rhythms automatically, but the accuracy for the organized rhythms (PEA and PR) is low. Significance: We have made an important step toward making classification of resuscitation rhythms more efficient in the sense of minimal feedback from human experts.
Early recognition of ventricular fibrillation (VF) and electrical therapy are key for the survival of out-of-hospital cardiac arrest (OHCA) patients treated with automated external defibrillators (AED). AED algorithms for VF-detection are customarily assessed using Holter recordings from public electrocardiogram (ECG) databases, which may be different from the ECG seen during OHCA events. This study evaluates VF-detection using data from both OHCA patients and public Holter recordings. ECG-segments of 4-s and 8-s duration were analyzed. For each segment 30 features were computed and fed to state of the art machine learning (ML) algorithms. ML-algorithms with built-in feature selection capabilities were used to determine the optimal feature subsets for both databases. Patient-wise bootstrap techniques were used to evaluate algorithm performance in terms of sensitivity (Se), specificity (Sp) and balanced error rate (BER). Performance was significantly better for public data with a mean Se of 96.6%, Sp of 98.8% and BER 2.2% compared to a mean Se of 94.7%, Sp of 96.5% and BER 4.4% for OHCA data. OHCA data required two times more features than the data from public databases for an accurate detection (6 vs 3). No significant differences in performance were found for different segment lengths, the BER differences were below 0.5-points in all cases. Our results show that VF-detection is more challenging for OHCA data than for data from public databases, and that accurate VF-detection is possible with segments as short as 4-s.
Early defibrillation by an automated external defibrillator (AED) is key for the survival of out-of-hospital cardiac arrest (OHCA) patients. ECG feature extraction and machine learning have been successfully used to detect ventricular fibrillation (VF) in AED shock decision algorithms. Recently, deep learning architectures based on 1D Convolutional Neural Networks (CNN) have been proposed for this task. This study introduces a deep learning architecture based on 1D-CNN layers and a Long Short-Term Memory (LSTM) network for the detection of VF. Two datasets were used, one from public repositories of Holter recordings captured at the onset of the arrhythmia, and a second from OHCA patients obtained minutes after the onset of the arrest. Data was partitioned patient-wise into training (80%) to design the classifiers, and test (20%) to report the results. The proposed architecture was compared to 1D-CNN only deep learners, and to a classical approach based on VF-detection features and a support vector machine (SVM) classifier. The algorithms were evaluated in terms of balanced accuracy (BAC), the unweighted mean of the sensitivity (Se) and specificity (Sp). The BAC, Se, and Sp of the architecture for 4-s ECG segments was 99.3%, 99.7%, and 98.9% for the public data, and 98.0%, 99.2%, and 96.7% for OHCA data. The proposed architecture outperformed all other classifiers by at least 0.3-points in BAC in the public data, and by 2.2-points in the OHCA data. The architecture met the 95% Sp and 90% Se requirements of the American Heart Association in both datasets for segment lengths as short as 3-s. This is, to the best of our knowledge, the most accurate VF detection algorithm to date, especially on OHCA data, and it would enable an accurate shock no shock diagnosis in a very short time.
13 January 2009 in IEEE Transactions on Biomedical Engineering
Cardiopulmonary resuscitation (CPR) artifacts caused by chest compressions and ventilations interfere with the rhythm diagnosis of automated external defibrillators (AED). CPR must be interrupted for a reliable diagnosis. However, pauses in chest compressions compromise the defibrillation success rate and reduce perfusion of vital organs. The removal of the CPR artifacts would enable compressions to continue during AED rhythm analysis, thereby increasing the likelihood of resuscitation success. We have estimated the CPR artifact using only the frequency of the compressions as additional information to model it. Our model of the artifact is adaptively estimated using a least mean-square (LMS) filter. It was tested on 89 shockable and 292 nonshockable ECG samples from real out-of-hospital sudden cardiac arrest episodes. We evaluated the results using the shock advice algorithm of a commercial AED. The sensitivity and specificity were above 95% and 85%, respectively, for a wide range of working conditions of the LMS filter. Our results show that the CPR artifact can be accurately modeled using only the frequency of the compressions. These can be easily registered after small changes in the hardware of the CPR compression pads.