Global and Local Contrastive Learning for Joint Representations from Cardiac MRI and ECG
Not on the map. Why?
Abstract (arXiv)
An electrocardiogram (ECG) is a widely used, cost-effective tool for detecting electrical abnormalities in the heart. However, it cannot directly measure functional parameters, such as ventricular volumes and ejection fraction, which are crucial for assessing cardiac function. Cardiac magnetic resonance (CMR) is the gold standard for these measurements, providing detailed structural and functional insights, but is expensive and less accessible. To bridge this gap, we propose PTACL (Patient and Temporal Alignment Contrastive Learning), a multimodal contrastive learning framework that enhances ECG representations by integrating spatio-temporal information from CMR. PTACL uses global patient-level contrastive loss and local temporal-level contrastive loss. The global loss aligns patient-level representations by pulling ECG and CMR embeddings from the same patient closer together, while pushing apart embeddings from different patients. Local loss enforces fine-grained temporal alignment within each patient by contrasting encoded ECG segments with corresponding encoded CMR frames. This approach enriches ECG representations with diagnostic information beyond electrical activity and transfers more insights between modalities than global alignment alone, all without introducing new learnable weights. We evaluate PTACL on paired ECG-CMR data from 27,951 subjects in the UK Biobank. Compared to baseline approaches, PTACL achieves better performance in two clinically relevant tasks: (1) retrieving patients with similar cardiac phenotypes and (2) predicting CMR-derived cardiac function parameters, such as ventricular volumes and ejection fraction. Our results highlight the potential of PTACL to enhance non-invasive cardiac diagnostics using ECG. The code is available at: https://github.com/alsalivan/ecgcmr
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 20 of its 34 references that are in the map. First posted on arXiv 24 Jun 2025.
Builds on
20 of 34 references.
References · 20
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2020Supervised Contrastive Learningcited by 2,829
- 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,322
- 2020Contrastive Learning of Medical Visual Representations from Paired Images and Textcited by 641
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
- 2022MedCLIP: Contrastive Learning from Unpaired Medical Images and Textcited by 570
- 2022Masked Autoencoders As Spatiotemporal Learnerscited by 429
- 2021Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysiscited by 422
- 2022X-CLIP: End-to-End Multi-grained Contrastive Learning for Video-Text Retrievalcited by 280
- 2022Masked Autoencoders that Listencited by 273
8 more
- 2021TACo: Token-aware Cascade Contrastive Learning for Video-Text Alignmentcited by 102
- 2024Guiding Masked Representation Learning to Capture Spatio-Temporal Relationship of Electrocardiogramcited by 84
- 2021Joint Learning of Localized Representations from Medical Images and Reportscited by 81
- 2022MAEEG: Masked Auto-encoder for EEG Representation Learningcited by 62
- 2022Breaking with Fixed Set Pathology Recognition through Report-Guided Contrastive Trainingcited by 26
- 2024AMAES: Augmented Masked Autoencoder Pretraining on Public Brain MRI Data for 3D-Native Segmentationcited by 17
- 2024Whole Heart 3D+T Representation Learning Through Sparse 2D Cardiac MR Imagescited by 9
- 2023Unsupervised Pre-Training Using Masked Autoencoders for ECG Analysiscited by 7
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Echo2ECG: Enhancing ECG Representations with Cardiac Morphology from Multi-View Echoscited by 2
- 2026Opportunistic Cardiac Health Assessment: Estimating Phenotypes from Localizer MRI through Multi-Modal Representationscited by 0
- 2026Pathology-Aware Multi-View Contrastive Learning for Patient-Independent ECG Reconstructioncited by 0
- 2026Leveraging Cardiac Imaging to Improve ECG-Based Detection of Chagas Disease in Resource-Constrained Settingscited by 0
- 2026NOAH: Learning the Full Patient Journey. A Longitudinal Multimodal Time-Aware Model for Representation and Forecastingcited by 0
- 2026Focus, Align, and Diffuse: Time-Series-Aware Keyframe Diffusion for Cardiac Dynamic Synthesis from Sparse Observationscited by 0
- 2026Focus, Align, and Diffuse: Time-Series-Aware Keyframe Diffusion for Cardiac Dynamic Synthesis from Sparse Observations13 Oct 2026
- 2026NOAH: Learning the Full Patient Journey. A Longitudinal Multimodal Time-Aware Model for Representation and Forecasting8 Sep 2026
- 2026Leveraging Cardiac Imaging to Improve ECG-Based Detection of Chagas Disease in Resource-Constrained Settings8 Sep 2026
- 2026Pathology-Aware Multi-View Contrastive Learning for Patient-Independent ECG Reconstruction18 Mar 2026
- 2026Opportunistic Cardiac Health Assessment: Estimating Phenotypes from Localizer MRI through Multi-Modal Representations13 Mar 2026
- 2026Echo2ECG: Enhancing ECG Representations with Cardiac Morphology from Multi-View Echos9 Mar 2026