Standard defibrillation
A shock delivered through the standard anterior–lateral pad configuration.
Can the ECG help us understand how a patient will respond to a shock, even while chest compressions are ongoing?
Ventricular fibrillation is a disorganized heart rhythm treated with defibrillation. Yet the response to a shock differs between patients and over the course of a resuscitation.
VF-FM asks whether learned ECG representations can reveal some of that difference. Its central challenge is to retain useful information in a signal distorted by the very compressions keeping circulation going.
The longer-term question is whether that information can help teams choose the timing and strategy of defibrillation more precisely.
405 patients with refractory VF · Cluster-randomized trial
These are outcomes from the published trial after refractory VF—not VF-FM predictions or evidence for selecting a patient’s first shock.
Cheskes et al. · NEJM, 2022A shock delivered through the standard anterior–lateral pad configuration.
A different current pathway, using an anterior–posterior pad configuration.
Two defibrillators delivering shocks in rapid sequence through two pad configurations.
A retrospective model-development study using existing recordings. The five phases below describe the planned work, from general ECG pretraining to strategy-specific predictions and calibration.
We are beginning data preprocessing as the remaining data-sharing agreements are finalized. Model training and validation are the next stages of the study.
Create a general foundation model for single-lead ECG signals. Pretrain a convolutional–Transformer model on diverse ECG recordings using self-supervised learning to learn reusable representations of electrical activity across rhythms and recording conditions.
What this phase asksCan self-supervised learning produce a general foundation model for single-lead ECG signals?
Previously collected recordings; no new patient enrollment in this phase.
Organized activity with evidence of perfusion, distinguished from VF termination alone.
Four-second windows, compared with segments recorded during pauses.
The protocol connects general ECG learning with prehospital recordings and randomized defibrillation strategies. Cohort sizes below are planning figures; the final usable sample depends on access, linkage and signal quality.
PTB-XL · MIMIC-IV · Chapman · CODE-15 · MIT-BIH · I-CARE
Self-supervised pretraining across rhythms and recording conditions.
Montréal · Prehospital resuscitation
Adaptation to VF and chest-compression artifacts using ECG and impedance.
Amsterdam · Out-of-hospital cardiac arrest
Annotated standard shocks for response prediction.
Canada · Randomized defibrillation strategies
Adaptation and evaluation across standard, vector-change and double sequential shocks.
Multiple shocks can belong to the same patient. The smaller alternative-strategy cohorts make transfer learning and uncertainty particularly important.
The proposed shock-outcome analysis includes out-of-hospital cardiac arrest with VF and a recorded pre-shock ECG, with impedance where available. Non-shockable rhythms, traumatic arrests and recordings with missing or corrupted required data are excluded.
The evaluation plan examines discrimination, probability calibration and performance under the conditions in which the model is intended to operate.
Assess discrimination alongside sensitivity, specificity and predictive values. Precision–recall analysis helps describe performance when successful shocks are uncommon.
Use reliability plots and the Brier score to examine agreement between predicted probabilities and observed outcomes.
Compare performance with and without compression artifacts, across model architectures and defibrillation strategies.
Group a patient’s recordings and repeated shocks within the same partition. Examine performance across age and sex, alongside overall results.
A retrospective response model would be a step toward prospective research on whether using its predictions improves resuscitation decisions and outcomes.
Selected clinical and machine-learning studies that inform the project’s question, methods and early experiments.
The DOSE VF trial provides the clinical starting point for studying response to standard, vector-change and double sequential defibrillation.
Cheskes et al. · New England Journal of Medicine · 2022Prior work demonstrated that shock-outcome prediction is possible during CPR. It provides an important reference for evaluating how well VF-FM handles compression artifacts.
Coult et al. · Computers in Biology and Medicine · 2021An open model using contrastive and generative self-supervised learning. Its approach informs the move from general ECG representations to a specific clinical prediction task.
McKeen et al. · arXiv · ECG-FM · 2025 revisionCardially contains recordings from 260 patients, with pre-shock and post-shock waveforms. This public dataset supports early waveform experiments and comparison with published methods.
Benini et al. · Data in Brief · 2021The project brings together resuscitation clinicians, engineers and prehospital researchers across Montréal, Toronto, Amsterdam, Paris and British Columbia.
Université de Montréal
Concordia University
Sunnybrook Centre for Prehospital Medicine
University of Toronto
Two complementary grants support VF-FM. Lawrence Leroux is principal investigator on both awards.
The dissemination plan includes model weights, training code, evaluation scripts and documentation. As the work progresses, this page can bring together research updates, publications and resources for collaborators.
Discuss the research