TransECG-SSL: Hybrid Self-Supervised Representation Learning for ECG Arrhythmia Classification
Ahtisham Ayyub, Fasih Haider, Muhammad Rehan Usman, Saturnino Luz, Christos Politis, Muhammad Arslan Usman
Key points
From the paper's conclusion- These findings demonstrate the potential of label-efficient self-supervised learning for cross-dataset ECG representation transfer while highlighting persistent limitations from domain shift and class imbalance.
Abstract
Cross-dataset generalisation remains a major challenge for automated electrocardiogram (ECG) arrhythmia classification because of differences in patient populations, acquisition protocols, annotation practices, and class distributions. Learning representations that remain informative across independent datasets could reduce reliance on dataset-specific labelled data. We propose TransECG-SSL, a self-supervised framework for transferable heartbeat representation learning from unlabelled ECG data. A Transformer encoder is pretrained using a hybrid objective combining masked signal reconstruction and contrastive learning, then frozen and evaluated by linear probing under patient-disjoint evaluation. Experiments across three public ECG databases and seven source--target settings show that Hybrid SSL consistently outperforms randomly initialised Transformers and achieves higher balanced accuracy than architecture-matched source-supervised pretraining. Reconstruction-only SSL remains competitive with Hybrid SSL, whereas contrastive-only pretraining performs substantially worse, highlighting the importance of masked reconstruction for transferability. Cross-dataset transfer nevertheless reduces balanced accuracy relative to target-specific self-supervised pretraining, while minority arrhythmia classes remain challenging under severe class imbalance. These findings demonstrate the potential of label-efficient self-supervised learning for cross-dataset ECG representation transfer while highlighting persistent limitations from domain shift and class imbalance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RhythmX™: An Interpretable Self-Supervised Contrastive Learning Framework for Heartbeat ClassificationTechnologies · 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
- PACE-ECG: Patient-Aware Contrastive ECG Pretraining; Leveraging Longitudinal Structure for Transferable RepresentationsarXiv · 2026
- LeadWeaver: Topology-Aware Masked-Lead Modeling for Robust 12-Lead ECG DiagnosisbioRxiv · 2026
- A hybrid learning framework for automated multiclass electrocardiogram classification with SimCardioNetScientific Reports · 2026