ExChanGeAI: An End-to-End Platform and Efficient Foundation Model for Electrocardiogram Analysis and Fine-tuning
Lucas Bickmann, Lucas Plagwitz, Antonius Büscher, Lars Eckardt, Julian Varghese
TL;DR
ExChanGeAI delivers an end-to-end, open-source platform for ECG analysis that streamlines data handling, visualization, and privacy-preserving fine-tuning while enabling cross-instance model exchange via ONNX. The authors introduce CardX, a lightweight ECG foundation model based on a Mixture-of-Architectures design trained on diverse, large-scale ECG datasets, and demonstrate its robust performance and efficiency across multiple external test sets. Across intra- and inter-dataset evaluations, CardX often achieves top or near-top F1 scores with substantially fewer parameters and FLOPs than heavier foundation models, highlighting the importance of empirical validation in data-limited clinical settings. The work emphasizes open science and reproducibility, showing that end-to-end platforms can democratize access to advanced ECG analysis without sacrificing performance or privacy, though it also notes limitations related to data quality, infrastructure, and domain shift.
Abstract
Electrocardiogram data, one of the most widely available biosignal data, has become increasingly valuable with the emergence of deep learning methods, providing novel insights into cardiovascular diseases and broader health conditions. However, heterogeneity of electrocardiogram formats, limited access to deep learning model weights and intricate algorithmic steps for effective fine-tuning for own disease target labels result in complex workflows. In this work, we introduce ExChanGeAI, a web-based end-to-end platform that streamlines the reading of different formats, pre-processing, visualization and custom machine learning with local and privacy-preserving fine-tuning. ExChanGeAI is adaptable for use on both personal computers and scalable to high performance server environments. The platform offers state-of-the-art deep learning models for training from scratch, alongside our novel open-source electrocardiogram foundation model CardX, pre-trained on over one million electrocardiograms. Evaluation across three external validation sets, including an entirely new testset extracted from routine care, demonstrate the fine-tuning capabilities of ExChanGeAI. CardX outperformed the benchmark foundation model while requiring significantly fewer parameters and lower computational resources. The platform enables users to empirically determine the most suitable model for their specific tasks based on systematic validations.The code is available at https://imigitlab.uni-muenster.de/published/exchangeai .
