1
|
Lee S, Jung S, Ahn S, Cho H, Moon S, Park JH. Comparison of Neural Network Structures for Identifying Shockable Rhythm During Cardiopulmonary Resuscitation. J Clin Med 2025; 14:738. [PMID: 39941409 PMCID: PMC11818625 DOI: 10.3390/jcm14030738] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/26/2024] [Revised: 12/30/2024] [Accepted: 01/22/2025] [Indexed: 02/16/2025] Open
Abstract
Background/Objectives: Minimizing interruptions in chest compressions is very important when resuscitating patients with cardiac arrest. Recently, research has analyzed electrocardiograms (ECGs) during chest compressions using convolutional neural networks (CNNs). This study aimed to compare the accuracy of deeper neural networks and more advanced structures. Methods: ECGs with chest compression artifacts were obtained from patients who visited the emergency department of Korea University Ansan Hospital from September 2019 to February 2024. We compared the accuracy of a deeper CNN, long short-term memory (LSTM), and a CNN with an attention mechanism and residual block against a reference model. The input of the model was 5 s ECG segments with compression artifacts, and the output was the probability that the ECG with the artifacts was a shockable rhythm. Results: A total of 1889 ECGs with compression artifacts from 172 patients were included in this study. There were 969 ECGs annotated as shockable and 920 as non-shockable. The area under the receiver operating characteristic curve (AUROC) of the reference model was 0.8672. The AUROCs of the deeper CNN for five and seven layers were 0.7374 and 0.6950, respectively. The AUROCs of LSTM and bidirectional LSTM were 0.7719 and 0.8287, respectively. The AUROC of the CNN with the attention mechanism and residual block was 0.7759. Conclusions: CNNs with deeper layers or those incorporating attention mechanisms, residual blocks, and LSTM architectures did not exhibit better accuracy. To improve the model accuracy, a larger dataset or advanced augmentation techniques may be required, rather than complicating the structure of the model.
Collapse
Affiliation(s)
- Sukyo Lee
- Department of Emergency Medicine, Korea University Ansan Hospital, Ansan-si 15355, Republic of Korea; (S.L.); (S.A.); (H.C.); (S.M.)
| | - Sumin Jung
- Core Research & Development Center, Korea University Ansan Hospital, Ansan-si 15355, Republic of Korea;
| | - Sejoong Ahn
- Department of Emergency Medicine, Korea University Ansan Hospital, Ansan-si 15355, Republic of Korea; (S.L.); (S.A.); (H.C.); (S.M.)
| | - Hanjin Cho
- Department of Emergency Medicine, Korea University Ansan Hospital, Ansan-si 15355, Republic of Korea; (S.L.); (S.A.); (H.C.); (S.M.)
| | - Sungwoo Moon
- Department of Emergency Medicine, Korea University Ansan Hospital, Ansan-si 15355, Republic of Korea; (S.L.); (S.A.); (H.C.); (S.M.)
| | - Jong-Hak Park
- Department of Emergency Medicine, Korea University Ansan Hospital, Ansan-si 15355, Republic of Korea; (S.L.); (S.A.); (H.C.); (S.M.)
| |
Collapse
|
2
|
Ahn S, Jung S, Park JH, Cho H, Moon S, Lee S. Artificial intelligence for predicting shockable rhythm during cardiopulmonary resuscitation: In-hospital setting. Resuscitation 2024; 202:110325. [PMID: 39029581 DOI: 10.1016/j.resuscitation.2024.110325] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/17/2024] [Revised: 07/10/2024] [Accepted: 07/12/2024] [Indexed: 07/21/2024]
Abstract
AIM OF THE STUDY This study aimed to develop an artificial intelligence (AI) model capable of predicting shockable rhythms from electrocardiograms (ECGs) with compression artifacts using real-world data from emergency department (ED) settings. Additionally, we aimed to explore the black box nature of AI models, providing explainability. METHODS This study is retrospective, observational study using a prospectively collected database. Adult patients who presented to the ED with cardiac arrest or experienced cardiac arrest in the ED between September 2021 and February 2024 were included. ECGs with a compression artifact of 5 s before every rhythm check were used for analysis. The AI model was designed based on convolutional neural networks. The ECG data were assigned into training, validation, and testing sets on a per-patient basis to ensure that ECGs from the same patient did not appear in multiple sets. Gradient-weighted class activation mapping was employed to demonstrate AI explainability. RESULTS A total of 1,889 ECGs with compression artifacts from 172 patients were used. The area under the receiver operating characteristic curve (AUROC) for shockable rhythm prediction was 0.8672 (95% confidence interval [CI]: 0.8161-0.9122). The AUROCs for manual and mechanical compression were 0.8771 (95% CI: 0.8054-0.9408) and 0.8466 (95% CI: 0.7630-0.9138), respectively. CONCLUSION This study was the first to accurately predict shockable rhythms during compression using an AI model trained with actual patient ECGs recorded during resuscitation. Furthermore, we demonstrated the explainability of the AI. This model can minimize interruption of cardiopulmonary resuscitation and potentially lead to improved outcomes.
Collapse
Affiliation(s)
- Sejoong Ahn
- Department of Emergency Medicine, Korea University Ansan Hospital, 15355 Ansan-si, Republic of Korea
| | - Sumin Jung
- Core Research & Development Center, Korea University Ansan Hospital, 15355 Ansan-si, Republic of Korea
| | - Jong-Hak Park
- Department of Emergency Medicine, Korea University Ansan Hospital, 15355 Ansan-si, Republic of Korea
| | - Hanjin Cho
- Department of Emergency Medicine, Korea University Ansan Hospital, 15355 Ansan-si, Republic of Korea
| | - Sungwoo Moon
- Department of Emergency Medicine, Korea University Ansan Hospital, 15355 Ansan-si, Republic of Korea
| | - Sukyo Lee
- Department of Emergency Medicine, Korea University Ansan Hospital, 15355 Ansan-si, Republic of Korea.
| |
Collapse
|
3
|
Nejad MPS, Kargin V, Hajeb-M S, Hicks D, Valentine M, Chon KH. Enhancing the accuracy of shock advisory algorithms in automated external defibrillators during ongoing cardiopulmonary resuscitation using a cascade of CNNEDs. Comput Biol Med 2024; 172:108180. [PMID: 38452474 DOI: 10.1016/j.compbiomed.2024.108180] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/16/2023] [Revised: 01/10/2024] [Accepted: 02/18/2024] [Indexed: 03/09/2024]
Abstract
Delivery of continuous cardiopulmonary resuscitation (CPR) plays an important role in the out-of-hospital cardiac arrest (OHCA) survival rate. However, to prevent CPR artifacts being superimposed on ECG morphology data, currently available automated external defibrillators (AEDs) require pauses in CPR for accurate analysis heart rhythms. In this study, we propose a novel Convolutional Neural Network-based Encoder-Decoder (CNNED) structure with a shock advisory algorithm to improve the accuracy and reliability of shock versus non-shock decision-making without CPR pause in OHCA scenarios. Our approach employs a cascade of CNNEDs in conjunction with an AED shock advisory algorithm to process the ECG data for shock decisions. Initially, a CNNED trained on an equal number of shockable and non-shockable rhythms is used to filter the CPR-contaminated data. The resulting filtered signal is then fed into a second CNNED, which is trained on imbalanced data more tilted toward the specific rhythm being analyzed. A reliable shock versus non-shock decision is made when both classifiers from the cascade structure agree, while segments with conflicting classifications are labeled as indeterminate, indicating the need for additional segments to analyze. To evaluate our approach, we generated CPR-contaminated ECG data by combining clean ECG data with 52 CPR samples. We used clean ECG data from the CUDB, AFDB, SDDB, and VFDB databases, to which 52 CPR artifact cases were added, while a separate test set provided by the AED manufacturer Defibtech LLC was used for performance evaluation. The test set comprised 20,384 non-shockable CPR-contaminated segments from 392 subjects, as well as 3744 shockable CPR-contaminated samples from 41 subjects with coarse ventricular fibrillation (VF) and 31 subjects with rapid ventricular tachycardia (rapid VT). We observed improvements in rhythm analysis using our proposed cascading CNNED structure when compared to using a single CNNED structure. Specifically, the specificity of the proposed cascade of CNNED structure increased from 99.14% to 99.35% for normal sinus rhythm and from 96.45% to 97.22% for other non-shockable rhythms. Moreover, the sensitivity for shockable rhythm detection increased from 90.90% to 95.41% for ventricular fibrillation and from 82.26% to 87.66% for rapid ventricular tachycardia. These results meet the performance thresholds set by the American Heart Association and demonstrate the reliable and accurate analysis of heart rhythms during CPR using only ECG data without the need for CPR interruptions or a reference signal.
Collapse
Affiliation(s)
| | | | - Shirin Hajeb-M
- Biomedical engineering department, University of Connecticut, Storrs, CT, 06269, USA; Philips Healthcare, Bothell, WA, 98021, USA.
| | | | | | - K H Chon
- Biomedical engineering department, University of Connecticut, Storrs, CT, 06269, USA.
| |
Collapse
|
4
|
Rahman MM, Albeverio S, Kagawa T, Kawasaki S, Okai T, Oya H, Yahagi Y, Yoshida MW. High accuracy distinction of shockable and non-shockable arrhythmias in abnormal classes through wavelet transform with pseudo differential like operators. Sci Rep 2023; 13:9513. [PMID: 37308508 DOI: 10.1038/s41598-023-36463-z] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/29/2022] [Accepted: 06/04/2023] [Indexed: 06/14/2023] Open
Abstract
Arrhythmia is an abnormal rhythm of the heart which leads to sudden death. Among these arrhythmias, some are shockable, and some are non-shockable arrhythmias with external defibrillation. The automated external defibrillator (AED) is used as the automated arrhythmia diagnosis system and requires an accurate and rapid decision to increase the survival rate. Therefore, a precise and quick decision by the AED has become essential in improving the survival rate. This paper presents an arrhythmia diagnosis system for the AED by engineering methods and generalized function theories. In the arrhythmia diagnosis system, the proposed wavelet transform with pseudo-differential like operators-based method effectively generates a distinguishable scalogram for the shockable and non-shockable arrhythmia in the abnormal class signals, which leads to the decision algorithm getting the best distinction. Then, a new quality parameter is introduced to get more details by quantizing the statistical features on the scalogram. Finally, design a simple AED shock and non-shock advice method by following this information to improve the precision and rapid decision. Here, an adequate topology (metric function) is adopted to the space of the scatter plot, where we can give different scales to select the best area of the scatter plot for the test sample. As a consequence, the proposed decision method gives the highest accuracy and rapid decision between shockable and non-shockable arrhythmias. The proposed arrhythmia diagnosis system increases the accuracy to 97.98%, with a gain of 11.75% compared to the conventional approach in the abnormal class signals. Therefore, the proposed method contributes an additional 11.75% possibility for increasing the survival rate. The proposed arrhythmia diagnosis system is general and could be applied to distinguish different arrhythmia-based applications. Also, each contribution could be used independently in various applications.
Collapse
Affiliation(s)
- Md Masudur Rahman
- Graduate School of Engineering, Kanagawa University, Yokohama, Japan.
| | - Sergio Albeverio
- Inst. Angewandte Mathematik, and HCM, University of Bonn, Bonn, Germany
| | - Toshinao Kagawa
- School of General Education and Management Studies, Suwa University of Science, Nagano, Japan
| | - Shuji Kawasaki
- Faculty of Science and Engineering, Iwate University, Iwate, Japan
| | - Takayuki Okai
- Faculty of Information Engineering, Tokyo City University, Tokyo, Japan
| | - Hidetoshi Oya
- Faculty of Information Engineering, Tokyo City University, Tokyo, Japan
| | - Yumi Yahagi
- Department of Information Systems, Tokyo City University, Tokyo, Japan
| | - Minoru W Yoshida
- Graduate School of Engineering, Kanagawa University, Yokohama, Japan
| |
Collapse
|
5
|
Krasteva V, Didon JP, Ménétré S, Jekova I. Deep Learning Strategy for Sliding ECG Analysis during Cardiopulmonary Resuscitation: Influence of the Hands-Off Time on Accuracy. SENSORS (BASEL, SWITZERLAND) 2023; 23:s23094500. [PMID: 37177703 PMCID: PMC10181605 DOI: 10.3390/s23094500] [Citation(s) in RCA: 3] [Impact Index Per Article: 1.5] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Received: 04/03/2023] [Revised: 04/29/2023] [Accepted: 05/03/2023] [Indexed: 05/15/2023]
Abstract
This study aims to present a novel deep learning algorithm for a sliding shock advisory decision during cardiopulmonary resuscitation (CPR) and its performance evaluation as a function of the cumulative hands-off time. We retrospectively used 13,570 CPR episodes from out-of-hospital cardiac arrest (OHCA) interventions reviewed in a period of interest from 30 s before to 10 s after regular analysis of automated external defibrillators (AEDs). Three convolutional neural networks (CNNs) with raw ECG input (duration of 5, 10, and 15 s) were applied for the shock advisory decision during CPR in 26 sequential analyses shifted by 1 s. The start and stop of chest compressions (CC) can occur at arbitrary times in sequential slides; therefore, the sliding hands-off time (sHOT) quantifies the cumulative CC-free portion of the analyzed ECG. An independent test with CPR episodes in 393 ventricular fibrillations (VF), 177 normal sinus rhythms (NSR), 1848 other non-shockable rhythms (ONR), and 3979 asystoles (ASYS) showed a substantial improvement of VF sensitivity when increasing the analysis duration from 5 s to 10 s. Specificity was not dependent on the ECG analysis duration. The 10 s CNN model presented the best performance: 92-94.4% (VF), 92.2-94% (ASYS), 96-97% (ONR), and 98.2-99.5% (NSR) for sliding decision times during CPR; 98-99% (VF), 98.2-99.8% (ASYS), 98.8-99.1 (ONR), and 100% (NSR) for sliding decision times after end of CPR. We identified the importance of sHOT as a reliable predictor of performance, accounting for the minimal sHOT interval of 2-3 s that provides a reliable rhythm detection satisfying the American Heart Association (AHA) standards for AED rhythm analysis. The presented technology for sliding shock advisory decision during CPR achieved substantial performance improvement in short hands-off periods (>2 s), such as insufflations or pre-shock pauses. The performance was competitive despite 1-2.8% point lower ASYS detection during CPR than the standard requirement (95%) for non-noisy ECG signals. The presented deep learning strategy is a basis for improved CPR practices involving both continuous CC and CC with insufflations, associated with minimal CC interruptions for reconfirmation of non-shockable rhythms (minimum hands-off time) and early treatment of VF (minimal pre-shock pauses).
Collapse
Affiliation(s)
- Vessela Krasteva
- Institute of Biophysics and Biomedical Engineering, Bulgarian Academy of Sciences, Acad. G. Bonchev Str. Bl 105, 1113 Sofia, Bulgaria
| | | | - Sarah Ménétré
- Schiller Médical, 4 Rue Louis Pasteur, 67160 Wissembourg, France
| | - Irena Jekova
- Institute of Biophysics and Biomedical Engineering, Bulgarian Academy of Sciences, Acad. G. Bonchev Str. Bl 105, 1113 Sofia, Bulgaria
| |
Collapse
|
6
|
Zuo F, Dai C, Wei L, Gong Y, Yin C, Li Y. Real-time amplitude spectrum area estimation during chest compression from the ECG waveform using a 1D convolutional neural network. Front Physiol 2023; 14:1113524. [PMID: 37153217 PMCID: PMC10157479 DOI: 10.3389/fphys.2023.1113524] [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: 12/05/2022] [Accepted: 04/10/2023] [Indexed: 05/09/2023] Open
Abstract
Introduction: Amplitude spectrum area (AMSA) is a well-established measure than can predict defibrillation outcome and guiding individualized resuscitation of ventricular fibrillation (VF) patients. However, accurate AMSA can only be calculated during cardiopulmonary resuscitation (CPR) pause due to artifacts produced by chest compression (CC). In this study, we developed a real-time AMSA estimation algorithm using a convolutional neural network (CNN). Methods: Data were collected from 698 patients, and the AMSA calculated from the uncorrupted signals served as the true value for both uncorrupted and the adjacent corrupted signals. An architecture consisting of a 6-layer 1D CNN and 3 fully connected layers was developed for AMSA estimation. A 5-fold cross-validation procedure was used to train, validate and optimize the algorithm. An independent testing set comprised of simulated data, real-life CC corrupted data, and preshock data was used to evaluate the performance. Results: The mean absolute error, root mean square error, percentage root mean square difference and correlation coefficient were 2.182/1.951 mVHz, 2.957/2.574 mVHz, 22.887/28.649% and 0.804/0.888 for simulated and real-life testing data, respectively. The area under the receiver operating characteristic curve regarding predicting defibrillation success was 0.835, which was comparable to that of 0.849 using the true value of the AMSA. Conclusions: AMSA can be accurately estimated during uninterrupted CPR using the proposed method.
Collapse
Affiliation(s)
- Feng Zuo
- Department of Biomedical Engineering and Imaging Medicine, Army Medical University, Chongqing, China
| | - Chenxi Dai
- Department of Biomedical Engineering and Imaging Medicine, Army Medical University, Chongqing, China
- State Key Laboratory of Pathogen and Biosecurity, Beijing Institute of Microbiology and Epidemiology, Beijing, China
| | - Liang Wei
- Department of Biomedical Engineering and Imaging Medicine, Army Medical University, Chongqing, China
| | - Yushun Gong
- Department of Biomedical Engineering and Imaging Medicine, Army Medical University, Chongqing, China
| | - Changlin Yin
- Department of Intensive Care, Southwest Hospital, Army Medical University, Chongqing, China
| | - Yongqin Li
- Department of Biomedical Engineering and Imaging Medicine, Army Medical University, Chongqing, China
- *Correspondence: Yongqin Li,
| |
Collapse
|
7
|
Gong Y, Wei L, Yan S, Zuo F, Zhang H, Li Y. Transfer learning based deep network for signal restoration and rhythm analysis during cardiopulmonary resuscitation using only the ECG waveform. Inf Sci (N Y) 2023. [DOI: 10.1016/j.ins.2023.01.055] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 01/12/2023]
|
8
|
Brown G, Conway S, Ahmad M, Adegbie D, Patel N, Myneni V, Alradhawi M, Kumar N, Obaid DR, Pimenta D, Bray JJH. Role of artificial intelligence in defibrillators: a narrative review. Open Heart 2022; 9:openhrt-2022-001976. [PMID: 35790317 PMCID: PMC9258481 DOI: 10.1136/openhrt-2022-001976] [Citation(s) in RCA: 11] [Impact Index Per Article: 3.7] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 01/31/2022] [Accepted: 05/17/2022] [Indexed: 02/01/2023] Open
Abstract
Automated external defibrillators (AEDs) and implantable cardioverter defibrillators (ICDs) are used to treat life-threatening arrhythmias. AEDs and ICDs use shock advice algorithms to classify ECG tracings as shockable or non-shockable rhythms in clinical practice. Machine learning algorithms have recently been assessed for shock decision classification with increasing accuracy. Outside of rhythm classification alone, they have been evaluated in diagnosis of causes of cardiac arrest, prediction of success of defibrillation and rhythm classification without the need to interrupt cardiopulmonary resuscitation. This review explores the many applications of machine learning in AEDs and ICDs. While these technologies are exciting areas of research, there remain limitations to their widespread use including high processing power, cost and the ‘black-box’ phenomenon.
Collapse
Affiliation(s)
- Grace Brown
- Cardiology Department, Royal Free Hospital, London, UK
| | - Samuel Conway
- Cardiology Department, Royal Free Hospital, London, UK
| | - Mahmood Ahmad
- Medical Sciences, University College London, London, UK
| | - Divine Adegbie
- Cardiology Department, East and North Hertfordshire NHS Trust, Stevenage, Hertfordshire, UK
| | - Nishil Patel
- Cardiology Department, North Middlesex University Hospital, London, UK
| | | | | | - Niraj Kumar
- Institute of Cardiovascular Science, University College London, London, UK.,Cardiology Department, Barts Health NHS Trust, London, UK
| | - Daniel R Obaid
- Institute of Life Sciences, Swansea University, Swansea, UK
| | - Dominic Pimenta
- Cardiology Department, Richmond Research Institute, London, UK
| | - Jonathan J H Bray
- Cardiff University College of Biomedical and Life Sciences, Cardiff, UK
| |
Collapse
|