Self-Supervised Pre-Training with Joint-Embedding Predictive Architecture Boosts ECG Classification Performance
About
Accurate diagnosis of heart arrhythmias requires the interpretation of electrocardiograms (ECG), which capture the electrical activity of the heart. Automating this process through machine learning is challenging due to the need for large annotated datasets, which are difficult and costly to collect. To address this issue, transfer learning is often employed, where models are pre-trained on large datasets and fine-tuned for specific ECG classification tasks with limited labeled data. Self-supervised learning has become a widely adopted pre-training method, enabling models to learn meaningful representations from unlabeled datasets. In this work, we explore the joint-embedding predictive architecture (JEPA) for self-supervised learning from ECG data. Unlike invariance-based methods, JEPA does not rely on hand-crafted data augmentations, and unlike generative methods, it predicts latent features rather than reconstructing input data. We create a large unsupervised pre-training dataset by combining ten public ECG databases, amounting to over one million records. We pre-train Vision Transformers using JEPA on this dataset and fine-tune them on various PTB-XL benchmarks. Our results show that JEPA outperforms existing invariance-based and generative approaches, achieving an AUC of 0.945 on the PTB-XL all statements task. JEPA consistently learns the highest quality representations, as demonstrated in linear evaluations, and proves advantageous for pre-training even in the absence of additional data.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Arrhythmia Classification | PhysioNet Challenge Extreme Tachycardia ETC 2015 (test) | TPR65 | 20 | |
| Multi-class classification | PTB-XL (test) | Macro AUC92.8 | 13 | |
| Multi-class classification | PTB-XL | Macro AUC0.935 | 13 | |
| Multi-class classification | CPSC 2018 (test) | Macro AUC97.6 | 12 | |
| Multi-class classification | CPSC 2018 | Macro AUC0.983 | 12 | |
| Ventricular tachycardia detection | MIMIC VT II | TPR82.2 | 11 | |
| Ventricular tachycardia detection | Challenge VT 2015 (N=343) | TPR57.28 | 11 | |
| Ventricular tachycardia detection | VTaC (N=5037) | TPR76.35 | 11 | |
| Arrhythmia Classification | PhysioNet Challenge Asystole ASY 2015 (test) | TPR65 | 10 | |
| Arrhythmia Classification | PhysioNet Challenge Ventricular Flutter/Fibrillation 2015 (test) | TPR0.00e+0 | 10 |