QECGBERT: A Scalable ECG Foundation Model Based on Self-Supervised Language Learning via VQ-VAE Waveform Tokenization
Aruna Mohan, Burcu Ozek, Or Zilbershot, Fatemeh Afghah
Key points
From the paper's conclusion- The results demonstrate that QECGBERT achieves comparable or superior performance to published benchmarks, offering a scalable, physiologically aware approach to ECG foundation modeling for cardiac diagnosis.
Abstract
AI foundation models play a pivotal role in advancing heart disease diagnosis from electrocardiogram (ECG) data, particularly for rare diseases where the lack of sufficient labeled data hinders supervised learning. However, most self-supervised learning methods treat ECGs as generic sequence or image data without exploiting underlying physiological structure. To address this limitation, we propose QECGBERT, a self-supervised ECG language model that explicitly encodes physiological semantics by tokenizing the P, QRS, T, and isoelectric background waveforms. Vector-quantized variational autoencoder (VQ-VAE) tokenization is applied to each 12-lead ECG, with tokens enriched by continuous waveform features to preserve morphology lost during quantization without increasing sequence length. This design enables compact BERT masked language modeling with short sequences, improving scalability and reducing computational cost relative to long-sequence approaches. QECGBERT applies BERT pre-training to the MIMIC-IV dataset containing over 800,000 unlabeled ECG recordings, and fine-tuning on labeled PTB-XL, CPSC2018, and Chapman--Shaoxing--Ningbo datasets for evaluation. The results demonstrate that QECGBERT achieves comparable or superior performance to published benchmarks, offering a scalable, physiologically aware approach to ECG foundation modeling for cardiac diagnosis.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Foundation Transformer Model with Self-Supervised Learning for ECG-Based Assessment of Cardiac and Coronary FunctionNEJM AI · 2025
- Language-aligned ECG foundation modeling for data-efficient detection of cardiovascular diseasesEuropean Heart Journal · 2026
- Foundation models for electrocardiogram interpretation: clinical implicationsEuropean Heart Journal · 2025
- The Impact of Temporal Context Length and Encoding Strategies on Self-Supervised ECG Representation LearningarXiv · 2026
- HEART: Hierarchical Expert Adaptive Refinement Transformer for ECG Representation LearningarXiv · 2026
- IECG: Weakly-Supervised Interpretability-Enhancing Foundation Model for ElectrocardiogramarXiv · 2026