atlas

Research map / Time series / Foundation models for time series

Reading Your Heart: Learning ECG Words and Sentences via Pre-training ECG Language Model

ICLR 2025 · Time series › Foundation models for time series · approach: Time series classification · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Treats heartbeats as words and rhythms as sentences, using a QRS-based tokenizer, a VQ heartbeat vocabulary of 8,192 codes, and masked ECG-sentence pre-training (HeartLang) for self-supervised ECG representation learning.

Problem

Existing ECG self-supervised learning methods treat ECG as ordinary time series with fixed-size windows, ignoring heartbeat morphology, rhythm structure, and latent semantic relations between heartbeats.

Approach

Segment ECG at QRS complexes into heartbeat "words" and assemble them into rhythm "sentences"; learn a discrete heartbeat vocabulary via vector-quantized reconstruction, then pre-train a transformer by masking heartbeats and predicting their vocabulary indices.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use HeartLang instead of the strongest listed eSSL baselineHeartLang · PTB-XL Superclass, Subclass, Form, and Rhythm (1% and 100% training data)macro AUC: average macro AUC improvement of 8.14Helped
Use HeartLang instead of the strongest listed eSSL baselineHeartLang · CPSC2018macro AUCHurt
Use HeartLang instead of the strongest listed eSSL baselineHeartLang · CSN 100% training datamacro AUCHelped
Replace fixed-size, fixed-step windows with heartbeat-as-word QRS segmentation (ablation)HeartLang · PTB-XL Superclass, Subclass, Form, and Rhythmmacro AUC: 12.52; 7.71; 7.01; 3.81; 8.62; 10.58; -1.24; -1.53; 4.20; 6.26; 2.14; 4.29Mixed
Add ECG vocabulary instead of reconstructing masked segments with MSE (ablation)HeartLang · PTB-XL Superclass, Subclass, Form, and Rhythmmacro AUCHelped
Add masked ECG sentence pre-training (ablation)HeartLang · PTB-XL downstream tasksmacro AUCHelped
Add spatio-temporal embeddings (ablation)HeartLang · PTB-XL downstream tasksmacro AUCHelped
Add spatial embedding (ablation)HeartLang · PTB-XL downstream tasksmacro AUCHelped
Add temporal embedding (ablation)HeartLang · PTB-XL downstream tasksmacro AUCHelped
Increase ECG vocabulary size from 64 to 8192 (ablation)HeartLang · PTB-XL Superclass, Subclass, Form, and Rhythmmacro AUC: 3.05; 1.87; 1.29; 3.71; 3.39; 2.03; 1.60; 1.00; 4.54; 3.67; 0.91; 1.83Helped
Use 12 leads instead of 1 lead (ablation)HeartLang · PTB-XL Superclass, Subclass, Form, and Rhythmmacro AUCMixed

Surprising findings

Limitations

Experimental setup

Datasets: MIMIC-IV-ECG PTB-XL CPSC2018 Chapman-Shaoxing-Ningbo

Benchmarks: PTB-XL CPSC2018 Chapman-Shaoxing-Ningbo

Metrics: macro AUC

Baselines: SimCLR BYOL BarlowTwins MoCo-v3 SimSiam TS-TCC CLOCS ASTCL CRT ST-MEM

Builds on: VQ-NSP MERL BERT-style masked prediction

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy