Skip to content
Open access

A unified 12-lead ECG-language model for interpretation and clinical-endpoint prediction

Jul 2026 · medRxiv · 0 citations
Medicine

TL;DR

DeepECG-Tok is presented, which reframes ECG interpretation as a unified instruction-following problem and establishes discrete ECG tokenization as a foundation for general-purpose models that generate clinically useful interpretations and answer diverse questions directly from cardiac waveforms.

Abstract

Automated electrocardiogram (ECG) interpretation has advanced, yet most systems remain narrow classifiers that emit fixed labels rather than the narratives or endpoint-specific answers clinicians need. Generative approaches could instead produce rich narratives, but are constrained by the gap between continuous biosignals and discrete language tokens. Here we present DeepECG-Tok, which reframes ECG interpretation as a unified instruction-following problem. A residual vector-quantization tokenizer (QINCo) maps 12-lead waveforms to language-model-compatible tokens. Its frozen embeddings achieved a macro-averaged area under the receiver operating characteristic curve (AUROC) of 0.96 for 77-condition classification, outperforming supervised and self-supervised baselines. Aligned with a large language model, a single instruction-tuned model performed ECG interpretation, structured reporting and clinical endpoint prediction, including left ventricular ejection fraction, structural heart disease and atrial fibrillation risk, using 7.27 million question answer pairs. Endpoint classifiers using the frozen tokenizer transferred without retraining to four external cohorts, retaining AUROCs of 0.88--0.90. Evaluated end to end using an ontology-grounded large language model as a judge, which achieved a mean agreement (Cohen's K) of 0.82 against two cardiologists, the unified instruction-tuned model scored 0.71 internally and 0.50--0.53 in the same external cohorts. In a blinded reader study, board-certified cardiologists and residents rated its free-text reports comparably to reference clinician reports, with a paired win-tie-loss distribution of 32:35:33 and a forced-choice preference of 0.53 among decided cases, with no significant difference between the model and reference reports in either comparison. These findings establish discrete ECG tokenization as a foundation for general-purpose models that generate clinically useful interpretations and answer diverse questions directly from cardiac waveforms.

Read PDF

Similar papers

Open access Aug 2026

AI-Assisted Multilabel Diagnosis of 12-Lead Electrocardiograms Using an Interpretable Stacked Deep Learning Model with External Validation

A compact and interpretable framework for five-superclass multi-label ECG diagnosis that integrates leakage-aware development, threshold-controlled testing, frozen external validation, and multimethod interpretability is developed.

A. Tassaddiq, Aiman J. Albarakati, Rabab Alharbi et al. · 0 citations
Review Open access Sep 2026

Large language models as integrative intelligence for multimodal cardiovascular decision support

This review clarifies the emerging role of LLMs in cardiovascular medicine and proposes a physician-supervised framework for safe multimodal clinical integration as a testable translational framework for combining specialized AI, multimodal models, evidence retrieval, and human clinical judgment.

P. Mitrović · 0 citations
Open access Sep 2026

Label-efficient cross-population transfer learning for electrocardiographic risk stratification: evaluation across German, Chinese and US cohorts

Background Electrocardiography (ECG) is the most widely deployed cardiac screening modality, but demographic, acquisition and label-space heterogeneity across cohorts obstructs clinical translation. Cross-population studies rarely quantify which conditions transfer, how much target labelling is needed, or whether the a...

Yan Wang, Yang Lu · 0 citations
Review 2026

Mamba—GCN: Fusion Framework for Interpretable Arrhythmia Diagnosis Using 12-Lead ECG Signals

It is demonstrated that hybrid spatio-temporal architectures can achieve diagnostic performance comparable to strong convo-lutional baselines while offering significantly improved trans-parency through a quantitative comparison of representative models and visual analysis of performance—interpretability trade-offs.

Rhivu Dutta, N. Suma · 0 citations
#small language model Open access Sep 2026

A tri-modal, offline, and explainable framework for 12-lead electrocardiogram interpretation: fusing deterministic rules, a local residual network, and an agentic vision-language model.

OBJECTIVE Automated electrocardiogram (ECG) interpretation is increasingly delivered as cloud deep-learning services, trading data sovereignty, auditability and robustness for accuracy. This study tests whether an offline, explainable framework can remove that trade-off. Approach. Three independent interpreters feed a...

M. M. R. Khan Mamun · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.