All models

ECGFounder

A stage-wise convolutional network that maps a 12-lead ECG to 150 diagnostic labels, trained on over 10 million ECGs.

Neuroscience signals · 427 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
30.8M
Operations
427
Framework
PyTorch
Recurrent
No
Published
NEJM AI 2025
Cited by
2 (as of 29 October 2026)
Authors
Jun Li, Aaron Aguirre, Junior Moura and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16265
Graph hash
77dae86fa2738ee3e70836aa08e0e7d4b9dbd86782fbce3042227bd9052f1f16
Skeleton hash
70dc71666a48f99627315a402d9a522fff1a3e27caae4fe5cdf7001d59ecb495
Architecture hash
b84f2ef16fa7cf05b9af7516d3cd2fb2b32f6c9f5987beb125de69de5e2a042c
Diagram SHA-256
9ea8c3d3cabde63e713491bb2f47362648403281bb3318e4187c10e258e42ce0
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

ECGFounder is a foundation model for electrocardiograms (ECGs), designed to work out of the box as a diagnostic classifier and to be fine-tuned for downstream tasks. It was trained on over 10 million ECGs with 150 label categories from the Harvard-Emory ECG Database. The labels are real-world annotations from cardiology experts.

The architecture is based on the authors' earlier Net1D, which is built on top of the RegNet image classification architecture. Training is multi-label, because an ECG diagnosis often consists of several diagnostic labels. Since the annotations are incomplete, the authors use a positive unlabeled (PU) learning method. Under it, an unlabeled category is not assumed to be negative, as conventional multi-label methods assume by default.

The training ECGs are predominantly 10-second, 12-lead clinical recordings. The authors also trained a model for wearable devices that takes the lead I signal extracted from the 12-lead data. On internal validation sets the paper reports AUROC exceeding 0.95 for eighty diagnoses. After fine-tuning, it reports surpassing baseline methods by 3 to 5 points in AUROC in demographic analysis, clinical event detection and cross-modality cardiac rhythm diagnosis.

Key idea. The authors trained ECGFounder on over 10 million expert-annotated ECGs with 150 label categories, as a model usable both out of the box and fine-tuned for downstream tasks.

  • ECGFounder
  • ECG foundation model
  • electrocardiogram
  • ECG classification
  • 12-lead ECG
  • single-lead ECG
  • Harvard-Emory ECG Database
  • cardiovascular diagnosis
  • HEEDB

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{li2025electrocardiogramfoundationmodelbuilt,
      title={An Electrocardiogram Foundation Model Built on over 10 Million Recordings with External Evaluation across Multiple Domains}, 
      author={Jun Li and Aaron Aguirre and Junior Moura and Che Liu and Lanhai Zhong and Chenxi Sun and Gari Clifford and Brandon Westover and Shenda Hong},
      year={2025},
      eprint={2410.04133},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2410.04133}, 
}