Foundation model

CLEF

From “CLEF: Clinically-Guided Contrastive Learning for Electrocardiogram Foundation Models”
Year
2025
Form factor
Clinical 12lead leadI proxy
Shu, Yuxuan et al., "CLEF: Clinically-Guided Contrastive Learning for Electrocardiogram Foundation Models", arXiv:2512.02180, CC BY-NC-ND 4.0
PreprintFirst posted: Dec 1, 2025Added to atlas: Sep 26, 2026Source

Activity counts measure attention, not model quality. Missing counts are unknown. Publication status follows the linked source; a listed venue alone does not confirm peer review.

CLEF is a foundation model for single-lead ECG trained with contrastive learning guided by patient risk scores derived from clinical metadata. It was pretrained on 12-lead ECGs from 161K patients in MIMIC-IV-ECG and tested on 18 classification and regression tasks across 7 held-out datasets. It improved average AUROC by at least 2.6% and cut regression error by at least 3.2% compared with self-supervised baselines, and weights are released in small, base and large sizes.

Method
clinically-guided contrastive pretraining
Signals
ECG
Pretraining data
MIMIC-IV-ECG, 161K patients
Evaluation
18 tasks, 7 held-out datasets
Weights
small / base / large (GitHub, Zenodo)
Paper
arXiv 2512.02180
Year
2025
At a glance
Type
Foundation model
Modalities
ECG
Form factor
Clinical 12lead leadI proxy
Parameters
Not reported
Architecture
Not reported
Venue
arXiv preprint 2025-12
Year
2025
DOI
Not reported
Weights
Open
Licence
Not reported
Caveats
Not reported
Datasets
Added
Sep 26, 2026
Updated
Oct 17, 2026

Abstract

The electrocardiogram (ECG) is a key diagnostic tool in cardiovascular health. Single-lead ECG recording is integrated into both clinical-grade and consumer wearables. While self-supervised pretraining of foundation models on unlabeled ECGs improves diagnostic performance, existing approaches do not incorporate domain knowledge from clinical metadata. We introduce a novel contrastive learning approach that utilizes an established clinical risk score to adaptively weight negative pairs: clinically-guided contrastive learning. It aligns the similarities of ECG embeddings with clinically meaningful differences between subjects, with an explicit mechanism to handle missing metadata. On 12-lead ECGs from 161K patients in the MIMIC-IV dataset, we pretrain single-lead ECG foundation models at three scales, collectively called CLEF, using only routinely collected metadata without requiring per-sample ECG annotations. We evaluate CLEF on 18 clinical classification and regression tasks across 7 held-out datasets, and benchmark against 5 foundation model baselines and 3 self-supervised algorithms. When pretrained on 12-lead ECG data and tested on lead-I data, CLEF outperforms self-supervised foundation model baselines: the medium-sized CLEF achieves average AUROC improvements of at least 2.6% in classification and average reductions in MAEs of at least 3.2% in regression. Comparing with existing self-supervised learning algorithms, CLEF improves the average AUROC by at least 1.8%. Moreover, when pretrained only on lead-I data for classification tasks, CLEF performs comparably to the state-of-the-art ECGFounder, which was trained in a supervised manner. Overall, CLEF enables more accurate and scalable single-lead ECG analysis, advancing remote health monitoring. Code and pretrained CLEF models are available at: github.com/Nokia-Bell-Labs/ecg-foundation-model.

Verbatim fromarXiv· arXiv metadata (abstracts are released under CC0)

How it works

How CLEF works: Input signals → Foundation model → Downstream tasksInput signals: ECG (Electrocardiogram). Dataset: MIMIC-IV-ECG. Foundation model: CLEF (Contrastive learning).Input signalsECG: ElectrocardiogramECGElectrocardiogramDataset: MIMIC-IV-ECGDatasetMIMIC-IV-ECGFoundation modelCLEFContrastive learning

Datasets linked in the hub; pretraining vs evaluation roles follow the paper.

Inputs
ECG
Approach
ECG · Nokia Bell Labs · contrastive

Datasets used· 1

Papers· 1

Authors· 5

Cite this model

Cite the publication recorded for this model. Check it against the publisher before submitting.

CLEF: Clinically-Guided Contrastive Learning for Electrocardiogram Foundation Models. (2025). arXiv preprint 2025-12. https://doi.org/10.48550/arXiv.2512.02180
@misc{clef2025clef,
  title         = {{CLEF: Clinically-Guided Contrastive Learning for Electrocardiogram Foundation Models}},
  year          = {2025},
  howpublished  = {arXiv preprint 2025-12},
  doi           = {10.48550/arXiv.2512.02180},
  eprint        = {2512.02180},
  archivePrefix = {arXiv}
}

History

  1. Record updated

  2. Added to the ChatPPG research hub