HeartBeatAI: An Interpretable and Robust Deep Learning Framework for Multi-Label ECG Arrhythmia Detection
About
While Deep Learning (DL) enhances automated electrocardiogram (ECG) analysis, clinical deployment is hindered by class imbalance and the generalization gap. This paper presents HeartBeatAI, a deep learning framework combining domain generalization, multi-scale feature aggregation, and clinical explainability for robust 12-lead ECG classification. Moving beyond image-based paradigms, HeartBeatAI integrates a Squeeze-and-Excitation (SE) ResNet to isolate diagnostic leads alongside a Multi-Layer Concentration Pipeline to capture macro-rhythm and micro-morphological anomalies. To mitigate domain shift, the framework employs MixStyle regularization and Label Smoothing. Rigorous benchmarking across four large-scale datasets using intra-source and Leave-One-Domain-Out (LODO) protocols demonstrates high performance (98% Macro F1-score) under intra-source conditions. However, LODO evaluations reveal significant degradation in detecting rare anomalies, highlighting a persistent challenge in cross-institutional deployment.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| ECG Classification | PTB-XL (test) | AUC63 | 46 | |
| ECG Classification | CPSC 2018 (test) | AUROC74 | 12 | |
| ECG Classification | CPSC Intra-Source protocol 2018 (test) | Accuracy83 | 4 | |
| ECG Classification | Georgia Intra-Source protocol (test) | Accuracy95 | 4 | |
| ECG Classification | PTB-XL Intra-Source protocol (test) | Accuracy92 | 4 | |
| ECG Classification | Chapman Intra-Source protocol (test) | Accuracy99 | 4 | |
| ECG Classification | Chapman (test) | Accuracy69 | 3 | |
| ECG Classification | Georgia (test) | Accuracy78 | 3 |