Papers
Topics
Authors
Recent
Search
2000 character limit reached

Domain-Adapted Fine-Tuning of ECG Foundation Models for Multi-Label Structural Heart Disease Screening

Published 25 Apr 2026 in cs.LG | (2604.23385v1)

Abstract: Transthoracic echocardiography is the reference standard for confirming structural heart disease (SHD), but first-line screening is limited by cost, workflow burden, and specialist availability. We evaluated whether open pretrained electrocardiogram (ECG) foundation models can support echo-confirmed multi-label SHD detection using the public EchoNext Mini-Model benchmark. Six echocardiography-derived abnormalities were targeted: reduced left ventricular ejection fraction, increased left ventricular wall thickness, aortic stenosis, mitral regurgitation, tricuspid regurgitation, and right ventricular systolic dysfunction. Under a common pipeline, we compared engineered ECG features with gradient boosting, end-to-end waveform learning from scratch, and transfer from open ECG foundation models. We then applied in-domain self-supervised adaptation of an ECG foundation model (ECG-FM) on EchoNext waveforms followed by selective supervised fine-tuning, and evaluated trade-offs between discrimination and adaptation cost. Adapted ECG-FM models achieved the best overall performance: peak macro-AUROC 0.8509 and macro-AUPRC 0.4297, while a parameter-efficient operating point preserved AUROC (0.8501) and attained the highest fixed-threshold macro-F1 0.3691. Late fusion with covariates did not improve threshold-independent discrimination, and evaluated LoRA, alternative backbones, and mixture-of-foundations strategies did not surpass the best adapted single-backbone models. These results indicate that for ECG-based case finding and echocardiography triage, combining target-domain self-supervised adaptation with selective supervised updating of a pretrained ECG backbone is the most effective transfer strategy.

Summary

  • The paper demonstrates that domain-adapted partial fine-tuning of ECG foundation models yields superior multi-label SHD detection performance.
  • It compares various transfer strategies, including frozen backbones, full adaptation, and parameter-efficient methods, using a large ECG dataset paired with echocardiographic labels.
  • Results highlight an efficiency–performance trade-off with macro-AUROC of 0.8509, emphasizing scalable, low-cost ECG screening for structural heart disease.

Domain-Adapted Fine-Tuning of ECG Foundation Models for Multi-Label SHD Screening

Introduction and Motivation

Structural heart disease (SHD) encompasses a spectrum of cardiac abnormalities detectable via transthoracic echocardiography (TTE), the clinical reference standard. The prohibitive cost and logistical constraints of TTE motivate the use of electrocardiography (ECG) as a scalable noninvasive screening modality. Recent advances in deep learning, particularly in self-supervised foundation models (FMs) for ECG analysis, have suggested the potential of transfer learning to improve prediction of echocardiographically confirmed SHD from routine 12-lead ECGs. However, there remains uncertainty regarding optimal transfer strategies: the balance between freezing pretrained backbones, selective fine-tuning, utilization of in-domain self-supervised adaptation, and the practical implications for discrimination performance versus adaptation cost.

The paper presents a rigorous empirical analysis of transfer strategies using open ECG foundation models, with a benchmark on the public EchoNext Mini-Model cohort. It evaluates six echocardiographically defined endpoints, comparing engineered-feature gradient boosting models, randomly initialized end-to-end DEEPNNs, and multiple transfer learning configurations including full/frozen backbone approaches, partial fine-tuning, parameter-efficient adaptations (LoRA), late-fusion with covariates, and backbone/ensemble variations. The framework is summarized below. Figure 1

Figure 1: Methodological pipeline for multi-label SHD detection from 12-lead ECGs, delineating data provenance, endpoint derivation, model configurations, and key ablations.

Experimental Design and Benchmarks

Dataset and Task Definition

All experiments utilize the EchoNext Mini-Model v1.1.0 release: a large, publicly available dataset of 100,000 de-identified ECGs paired with echocardiography-derived SHD annotations. Each 12-lead, 10s ECG (sampled at 250 Hz) is preprocessed per the public benchmark, with additional tabular covariates (e.g., age, ventricular rate, PR interval) incorporated in selected fusion experiments. The six primary endpoints span ventricular systolic dysfunction, left ventricular hypertrophy, aortic stenosis, mitral regurgitation, tricuspid regurgitation, and right ventricular systolic dysfunction, all defined via standardized thresholds.

The task is cast as multi-label classification: D={(wi,ui,yi)}i=1N\mathcal{D} = \{(w_i, u_i, y_i)\}_{i=1}^N, with wiw_i as waveform (12×250012\times2500 matrix), uiu_i as covariates, and yiy_i a $6$-dimensional binary vector.

Model Families

  • Engineered Feature Baseline (A): Extraction of 166 engineered ECG descriptors with per-endpoint gradient boosting (XGBoost) classifiers.
  • Random Initialization Baseline (B): 1D-ResNet18 trained end-to-end on waveforms.
  • Adapted ECG-FM (C): Open ECG-FM backbone, continued self-supervised adaptation on EchoNext training data (wav2vec 2.0-style), followed by supervised probing with a frozen backbone.
  • Partial Fine-Tuning: Following domain-specific SSL, upper bb transformer layers (with L=12L=12, b∈{1,5,9,12}b\in\{1,5,9,12\}), and in some cases convolutional stack, are fine-tuned while the rest of the model is frozen.
  • Ablations: LoRA-based parameter-efficient updates, late-fusion of tabular covariates, alternative backbones (ECGFounder, HuBERT-ECG), mixture-of-experts (MoFM), and task-decomposed training.

Results

Main Performance Outcomes

Adapted ECG-FM models with partial supervised fine-tuning consistently yielded the highest discrimination metrics on held-out test sets. Maximal macro-AUROC (0.8509), macro-AUPRC (0.4297), and thresholded macro-F1 (0.3691) were achieved with only a subset (b=5b=5 or wiw_i0) of the transformer backbone adapted, representing a strong efficiency–performance trade-off. End-to-end randomly initialized deep models and frozen-backbone probes outperformed engineered-feature baselines, but not to the extent of selective adaptation. Updating the full model (including the convolutional frontend) provided no additional benefit, revealing redundancy in fully end-to-end adaptation. Notably, the frozen, in-domain SSL-adapted ECG-FM probe alone performed nearly as well as the ResNet1D baseline, demonstrating the strength of foundational representations.

Select ablation results demonstrated:

  • Late fusion of additional covariates did not improve AUROC or AUPRC, indicating the latent waveform representation captures most predictive signal.
  • LoRA parameter-efficient adaptation (rank-16) substantially reduced trainable parameter count (to wiw_i1M) but did not match the discrimination of partial fine-tuning.
  • Alternative backbones (ECGFounder, HuBERT-ECG) and mixtures-of-backbones (MoFM) did not surpass the best ECG-FM configuration and, in some metrics, slightly degraded AUROC and F1.
  • Unified multi-label models outperformed ensembles of task-specific binary classifiers on macro-F1 (0.3691 vs 0.2769) and macro-AUPRC.
  • All-negative label downsampling altered thresholded F1 rather than threshold-independent discrimination, primarily affecting calibration rather than overall discrimination.

Feature Importance in Engineered Baseline

Engineered features prioritizing morphology, multi-lead statistical relationships, and beat-to-beat variability contributed most to downstream discrimination (see Figure 2). However, performance plateaued after wiw_i260 features, with diminishing returns from expanding feature sets. Figure 2

Figure 2: AUROC as a function of incremental feature count (left), and top 10 engineered feature importances (right) highlighting morphology, multi-lead, and beat-to-beat descriptors.

Latent Representation Analysis

Qualitative t-SNE visualization of foundation model embeddings (Figure 3) revealed considerable class mixing: false positives and false negatives from all SHD endpoints scattered widely with no clear cluster boundaries. This confirms the inherent difficulty of ECG-based SHD detection at an individual-instance level and the lack of simple separability in foundation model latent spaces, even post-adaptation. Figure 3

Figure 3: t-SNE projection of foundation model embeddings, with false positive/negative errors (colored) showing no clear segregation, reflecting the challenge of SHD detection from ECG alone.

Implications and Future Directions

This controlled analysis provides evidence that domain-adapted partial fine-tuning of open ECG foundation models is the most effective and resource-efficient strategy for multi-label SHD detection from routine ECGs, at least under current data and benchmark constraints. The marginal benefit of parameter-efficient adapters, auxiliary clinical covariates, and ensemble/mixed-backbone architectures is limited, emphasizing the primacy of waveform-based foundation models coupled with in-domain adaptation.

While these results highlight efficient transfer strategies for benchmarking, several clinical and methodological limitations persist:

  • The dataset derives from a single health system without broad external validation.
  • Labels are generated by structured report abstraction and imposed linkage rules, introducing possible misalignment between ECG and disease manifestation.
  • Multi-label tasks outperform purely binary ensembles, but endpoint-specific calibration, subgroup performance, and thresholding for deployment remain outstanding clinical challenges.

Continued research should focus on expanded, multi-institutional external validation, assessment of calibration and subgroup invariance, and workflow integration to understand real-world impact. There is substantial opportunity for comparative analysis of additional open-source ECG FMs and domain-agnostic self-supervised adaptation techniques, especially as public datasets with paired echocardiography and ECG expand.

Conclusion

Domain-adapted selective supervised fine-tuning of pretrained ECG foundation models provides superior performance for multi-label detection of moderate-or-greater SHD from standard 12-lead ECGs when compared to both classical machine learning and full or frozen backbone approaches. These findings establish a best-practice protocol for foundation model utilization in clinically relevant cardiac screening benchmarks and inform future multi-modal and multi-center research aimed at enhancing accessible, low-cost SHD triage systems (2604.23385).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.