Unlocking the diagnostic potential of electrocardiograms through information transfer from cardiac magnetic resonance imaging

Özgün Turgut, Philip Müller, Paul Hager, Suprosanna Shit, Sophie Starck, Martin J. Menten, Eimo Martens, Daniel Rueckert · DOI

TL;DR

This paper introduces a novel deep learning approach that leverages cardiac magnetic resonance imaging (CMR) to significantly enhance the diagnostic capabilities of electrocardiograms (ECG). By transferring knowledge from CMR to ECG representations, the method enables more accurate prediction of cardiovascular diseases and cardiac phenotypes using only ECG data, making advanced cardiac screening more accessible and cost-effective.

What Problem Does This Paper Address?

Cardiovascular diseases (CVDs) are a leading cause of mortality, and while ECG is a widely available and cost-effective diagnostic tool, its ability to precisely classify and spatially localize CVD is limited. Cardiac MRI (CMR) offers detailed structural information and is considered the gold standard for diagnosis, but its high cost and long scan times restrict its routine clinical use. This creates a gap: how can we harness the rich information from CMR to improve the diagnostic power of the ubiquitous ECG, thereby enabling more accessible and comprehensive cardiac screening?

Methods

The authors propose a two-stage self-supervised pre-training strategy:

  1. Masked Data Modeling (MDM): They first train a signal encoder (based on a Transformer architecture) on a large dataset of unlabeled 12-lead ECGs. MDM involves masking a significant portion of the ECG signal and training the model to reconstruct the missing parts. This process helps the encoder learn robust, information-dense ECG representations by eliminating redundancy.
  2. Multimodal Contrastive Learning (MMCL): Following MDM, they introduce multimodal contrastive learning to transfer domain-specific information from CMR imaging to the ECG representations. This involves training unimodal encoders for both ECG and CMR, projecting their representations into a shared latent space, and then optimizing a contrastive loss (CLIP loss) to align representations of paired ECG-CMR data while pushing apart unpaired ones. This step explicitly teaches the ECG encoder to capture information relevant to CMR features.

For inference, the pre-trained signal encoder is fine-tuned on labeled data to predict specific cardiovascular disease risks (CAD, AF, DM) and various cardiac imaging phenotypes (e.g., left ventricular volumes, ejection fraction, wall thickness). A patch-based interpretability module is also introduced to visualize the correlation between ECG representations and specific regions of CMR images, offering qualitative insights into the information transfer.

Datasets

The primary dataset used is the UK Biobank, comprising 40,044 subjects with paired 12-lead ECG and CMR imaging data. This dataset was split into 28,030 training, 6,007 validation, and 6,007 testing pairs for the main experiments.

For disease prediction tasks, fine-tuning was performed on balanced subsets of the training data to address class imbalance. For cardiac phenotype prediction, a subset of 13,262 subjects with extracted phenotypes was used.

Key Insights and Ideas

  • ECG's Hidden Potential: The core idea is that ECG, despite its limitations, contains latent information that can be unlocked by leveraging richer modalities like CMR.
  • MDM for Redundancy Removal: Masked data modeling is highly effective for ECG because it's inherently redundant. By forcing the model to reconstruct masked segments, it learns to capture the most salient features.
  • CMR as a "Teacher" for ECG: Multimodal contrastive learning acts as a teacher-student mechanism, where CMR provides the "ground truth" for what important cardiac information looks like, guiding the ECG encoder to learn similar representations.
  • General-Purpose ECG Representations: The goal is not just to predict one specific condition but to learn ECG representations that are versatile and can be applied to a broad range of downstream tasks (disease risk and phenotype prediction).
  • Interpretability Matters: Visualizing the learned representations helps confirm that the model is indeed transferring relevant information from specific CMR regions to ECG.

Key Results

  • Superior Disease Prediction: The proposed multimodal pre-trained model (MMCL w/ MDM) significantly outperformed supervised baselines and other self-supervised unimodal methods in predicting the risk of CAD, AF, and DM using only ECG data. For example, it achieved ROC AUC scores of 73.00% for CAD, 74.11% for AF, and 75.56% for DM, outperforming the best unimodal MAE baseline by up to 12.19% for risk prediction.
  • Accurate Phenotype Prediction: The model also demonstrated strong performance in predicting various cardiac imaging phenotypes from ECG alone, with Pearson's correlation coefficients (r) up to 0.73 and R² values up to 0.597, significantly outperforming previous multimodal approaches.
  • Qualitative Evidence: The interpretability module showed that the learned ECG representations correlate with specific regions of interest in CMR images, such as the left ventricle, confirming effective information transfer.
  • Robustness in Low-Data Regimes: The approach maintained competitive performance even when fine-tuned with only 10% or 1% of the training data, highlighting its efficiency in data-scarce scenarios.

Limitations and Future Work

  • Data Dependency: The pre-training requires paired ECG and CMR data, which are not readily available outside of large biobanks.
  • Population Bias: The UK Biobank dataset primarily consists of white subjects, limiting the generalizability to other ethnicities. The study also mainly includes healthy subjects, with investigated diseases being low frequency.
  • Future Work: The authors suggest investigating local alignment between ECG time points and CMR imaging frames. They also propose exploring the model's behavior with more balanced datasets across ethnicities and a broader range of patient demographics. Further research into how to best leverage multimodal pre-training for unimodal CMR analysis is also suggested.

Summary updated

BibTeX
@article{turgut2025unlocking,
  author = {Özgün Turgut and Philip Müller and Paul Hager and Suprosanna Shit and Sophie Starck and Martin J. Menten and Eimo Martens and Daniel Rueckert},
  title = {{Unlocking the diagnostic potential of electrocardiograms through information transfer from cardiac magnetic resonance imaging}},
  journal = {Medical Image Analysis},
  year = {2025},
  doi = {10.1016/j.media.2024.103451},
}
Figure