Enhancing ECG Classification Generalization Through Unified Multi-Dataset Training
Atrial fibrillation (AF) is one of the most prevalent and clinically significant cardiac arrhythmias, and electrocardiography (ECG) is widely used for its detection. However, existing models often exhibit performance degradation when applied to unseen data due to dataset-specific biases and distributional shifts. This limited generalization remains a major obstacle to reliable clinical deployment. To address this, we propose a multi-dataset ECG classification framework designed to improve cross-dataset robustness. The model employs supervised contrastive learning and layer-wise normalization to stabilize training and mitigate the influence of domain-specific variations. The proposed approach was evaluated under a Leave-One-Dataset-Out setting, achieving an average <i>accuracy</i> of 97.5% and an <i>F1-score</i> of 89.3%. It consistently demonstrated superior performance compared with single-dataset training and naïve multi-dataset aggregation. These results indicate that the proposed framework can contribute to more stable automated AF detection across diverse clinical environments.
Authors
- Miyoung Shin (ORCID: https://orcid.org/0000-0002-4850-6014)
- Minchan Kim
Institutions
- Kyungpook National University (KR)
Publication Details
- Journal
- Sensors
- Published
- 2026-03-13
- DOI
- https://doi.org/10.3390/s26061830
- Primary Topic
- ECG Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Research Foundation
- National Research Foundation of Korea