# Early Prediction of Cardiac Arrest Based on Time-Series Vital Signs Using Deep Learning: Retrospective Study

**Authors:** Yong Li, Lei Lv, Xia Wang

PMC · DOI: 10.2196/78484 · JMIR Formative Research · 2026-01-09

## TL;DR

This study introduces a deep learning model called TrGRU that predicts cardiac arrest using vital signs, achieving high accuracy and sensitivity with strong generalization across datasets.

## Contribution

The novel TrGRU model combines transformer and GRU architectures to improve cardiac arrest prediction with high sensitivity and generalization.

## Key findings

- TrGRU achieved 0.904 accuracy, 0.859 sensitivity, and 0.957 AUROC in predicting cardiac arrest.
- External validation on eICU-CRD showed 0.813 sensitivity and 0.920 AUROC, demonstrating strong generalization.
- The model outperformed previous studies in predictive performance and false-alarm rates.

## Abstract

Cardiac arrest (CA), characterized by an extremely high mortality rate, remains one of the most pressing global public health challenges. It not only causes a substantial strain on health care systems but also severely impacts individual health outcomes. Clinical evidence demonstrates that early identification of CA significantly reduced the mortality rate. However, the developed CA prediction models exhibit limitations such as low sensitivity and high false alarm rates. Moreover, issues with model generalization remain insufficiently addressed.

The aim of this study was to develop a real-time prediction method based on clinical vital signs, using patient vital sign data from the past 2 hours to predict whether CA would occur within the next 1 hour at 5-minute intervals, thereby enabling timely and accurate prediction of CA events. Additionally, the eICU-CRD dataset was used for external validation to assess the model’s generalization capability.

We reviewed and analyzed 4063 patients from the MIMIC-III waveform database, extracting 6 features to develop a deep learning–based CA prediction model named TrGRU. To further enhance performance, statistical features based on a sliding window were also constructed. The TrGRU model was developed using a combination of transformer and gated recurrent unit architectures. The primary evaluation metrics for the model included accuracy, sensitivity, area under the receiver operating characteristic curve (AUROC), and area under the precision-recall curve (AUPRC), with generalization capability validated using the eICU-CRD dataset.

The proposed model yielded an accuracy of 0.904, sensitivity of 0.859, AUROC of 0.957, and AUPRC of 0.949. The results showed that the predictive performance of TrGRU was superior to that of the models reported in previous studies. External validation using the eICU-CRD achieved a sensitivity of 0.813, an AUROC of 0.920, and an AUPRC of 0.848, indicating excellent generalization capability.

The proposed model demonstrates high sensitivity and a low false-alarm rate, enabling clinical health care providers to predict CA events in a more timely and accurate manner. The adopted meta-learning approach effectively enhances the model’s generalization capability, showcasing its promising clinical application.

## Linked entities

- **Diseases:** cardiac arrest (MONDO:0000745)

## Full-text entities

- **Diseases:** CRD (OMIM:120970), CA (MESH:D006323)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12831106/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12831106/full.md

## References

32 references — full list in the complete paper: https://tomesphere.com/paper/PMC12831106/full.md

---
Source: https://tomesphere.com/paper/PMC12831106