arXiv:2609.08582cs.LGSep 2026

Manuscript Offprint

arXiv:2609.08582

Leveraging Cardiac Imaging to Improve ECG-Based Detection of Chagas Disease in Resource-Constrained Settings

Laura Alvarez-Florez, Daniel Uyterlinde, Samuel Ruipérez-Campillo, Lukas P. A. Arts, Folkert W. Asselbergs, Fleur V. Y. Tjong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Laura Alvarez-Florez1,2,3∗^{1,2,3*} Daniel Uyterlinde3∗^{3*}, Samuel Ruipérez-Campillo5^{5}, Lukas P. A. Arts3,4^{3,4}, Folkert W. Asselbergs3,4^{3,4}, and Fleur V. Y. Tjong3,4^{3,4}

1^{1} Department of Biomedical Engineering and Physics, Amsterdam University Medical Center, The Netherlands

2^{2} Quantitative Healthcare Analysis Group, University of Amsterdam, The Netherlands

3^{3} Department of Clinical and Experimental Cardiology, Amsterdam University Medical Center, The Netherlands

4^{4} Amsterdam Cardiovascular Sciences, Amsterdam University Medical Center, The Netherlands

5^{5} Department of Computer Science, ETH Zurich, Switzerland

  • These authors contributed equally to this work.

Corresponding author: l.alvarezflorez@amsterdamumc.nl

Abstract. Chagas disease is a major cause of cardiomyopathy in Latin America. Cardiac magnetic resonance (CMR) imaging can characterize its structural abnormalities, but scanners and expert readers remain scarce in endemic regions. Electrocardiography (ECG) is inexpensive and widely available, yet structural disease must be inferred indirectly from electrical signals. We propose to transfer CMR-derived structural knowledge to ECG through contrastive pre-training. Using 63,193 paired ECG–CMR examinations from the UK Biobank, we align an ECG encoder with a clinically grounded CMR embedding space using an asymmetric InfoNCE objective. Despite seeing no Chagas cases during pre-training, the resulting representation improves ECG-based Chagas detection. Across CODE-15% and SaMi-Trop, a frozen linear probe achieves an AUROC of 0.851 and sensitivity at the top 5% of predicted risk (Top5%-TPR) of 0.427 in five-fold cross-validation, compared with 0.827 and 0.377 for an unaligned ECG-FM baseline. On the PhysioNet/CinC 2025 Challenge test set, our model obtains the highest AUROC on SaMi-Trop-3 and the best ELSA-Brasil challenge score among the three top-performing methods, indicating that imaging-supervised ECG representations can generalize to populations and settings beyond the pre-training distribution.

Keywords: Chagas disease · Electrocardiogram · Cardiac Magnetic Resonance Imaging · Contrastive Multimodal Learning · Resource-Constrained Diagnostics

Figure

Fig. 1. Overview of the proposed method for ECG prediction of Chagas disease.

1 Introduction

Cardiac magnetic resonance (CMR) imaging is widely regarded as the reference standard for assessing cardiac structure and function and for phenotyping cardiovascular disease [14]. Yet the cost, infrastructure, and specialist expertise it demands place it out of reach for routine use in much of the world: Latin America, South-East Asia, and Africa have roughly 4-, 15-, and up to 30-fold fewer MRI scanners per capita respectively compared to European countries [2, 9]. The 12-lead electrocardiogram (ECG), by contrast, is inexpensive, portable, and available across nearly all healthcare settings. As a result, much of the world's cardiovascular disease burden, particularly in low- and middle-income countries (LMICs), is assessed with a modality that records the heart's electrical activity but reflects its underlying structure and function only indirectly.

This disparity in cardiac assessment is consequential for Chagas cardiomyopathy. Caused by Trypanosoma cruzi infection, Chagas disease is a neglected tropical disease and a leading cause of non-ischemic cardiomyopathy in Latin America [6]. Its manifestation is fundamentally structural, characterized by myocardial fibrosis, ventricular remodeling, and progressive ventricular dysfunction [6]. These abnormalities can be directly visualized with CMR, yet, access to the imaging modalities capable of directly characterizing these structural abnormalities remains limited in many affected and endemic regions.

One promising approach to narrowing this gap is multimodal representation learning, where paired ECG and CMR examinations are used to teach ECG models about cardiac structure and function without requiring imaging at deployment. Several studies have demonstrated that contrastive alignment between ECG and CMR representations yields ECG encoders that outperform ECG-only self-supervised approaches on downstream cardiovascular prediction tasks [4, 19, 1, 5, 17]. By learning from paired ECG and imaging, these approaches encourage ECG representations to capture aspects of cardiac structure and function that are otherwise only directly observable through imaging. However, their evaluation has largely been restricted to populations and disease distributions similar to those used during model development, predominantly in European and North American cohorts. It therefore remains unknown whether the structural representations transfer under domain shift, and in particular, whether they retain diagnostic value for diseases whose patients and imaging are entirely absent from the pre-training data.

In this work, we propose ECG-CMR contrastive pre-training as a mechanism for transferring structural cardiac knowledge from imaging populations to ECG-based diagnosis in imaging-scarce settings. We pre-train an ECG encoder by contrastive alignment against paired ECG-CMR examinations from the UK Biobank [18], and subsequently fine-tune the resulting representation on Chagas disease detection. Because CMR is required only during pre-training, deployment relies exclusively on ECG, preserving applicability in resource-constrained settings. Importantly, Chagas disease is absent from the paired ECG-CMR cohorts used in the training data, providing a stringent test of whether structural cardiac information learned from imaging can be transferred through ECG representations to a distinct disease never observed during learning.

We make three contributions. First, we propose an imaging-supervised ECG pre-training framework that distills structural cardiac information from paired ECG-CMR data into deployable ECG representations. Second, we demonstrate that this structural information transfers to Chagas disease detection despite the complete absence of Chagas patients and Chagas-related imaging during pre-training. Third, we validate the approach on the PhysioNet/Computing in Cardiology 2025 Chagas Disease Detection Challenge benchmark [15], achieving competitive performance while outperforming strong ECG-only baselines. Together, our findings suggest that structural cardiac knowledge acquired from imaging cohorts can be distilled into ECG representations and transferred to other diseases, populations, and healthcare settings beyond those observed during pre-training, providing a pathway toward more equitable and accessible cardiovascular diagnoses.

References (21)