Back

Deep learning optimisation for cardiology: Neural Architecture Search-driven arrhythmia classification with electrocardiograms

Vanegas Mueller, E.; Joe-Oshodi, A.; Banerjee, A.; Villarroel, M.

2026-05-30 cardiovascular medicine
10.64898/2026.05.28.26354348 medRxiv
Show abstract

Cardiovascular disease is the leading cause of death worldwide. Sudden cardiac death (SCD) accounts for roughly 50% of all cardiac deaths. The electrocardiogram (ECG) is widely used for early diagnosis of cardiac disease. However, the complexity of accurate interpretation limits the ECG's efficacy. Modern deep learning methods have been applied to assist clinicians in diagnosis. We applied Neural Architecture Search (NAS), an automated machine learning technique, to identify optimal deep learning architectures for classifying cardiac arrhythmias from ECGs. We applied the Differentiable Architecture Search strategy to an AutoFormer search space to identify optimal self-attention architectures for arrhythmia classification. We trained, validated, and tested the resulting model on the PhysioNet Challenge 2021 dataset (n = 88,253), comprising ECGs across three continents. We performed a hyperparameter optimisation on the NAS output, exploring input patch size, class weighting, and loss function. We evaluated performance using the PhysioNet Challenge metric and the area under the receiver operating characteristic curve (AUROC). The NAS converged towards minimal architectural configurations (embedding dimension: 384, depth: 4, self-attention heads: 4, MLP ratio: 1) with a validation challenge metric of 0.66 (PhysioNet Challenge 21 Winner: 0.63). The NAS-created network achieved an AUROC of 0.97 and a challenge metric of 0.71 during testing. Normal Sinus Rhythm and Sinus Tachycardia achieved AUROCs of 0.99. Low-QRS Voltage and T-wave abnormality were the worst-performing arrhythmias, with AUROCs of 0.89 and 0.90, respectively. We interpret that architectural simplicity drives performance in arrhythmia classification. Because SCD is unexpected, prevention strategies in free-living environments require lightweight computational resources suitable for wearable devices. Class imbalance fundamentally limits classification performance for rare arrhythmias such as Low-QRS Voltage and T-wave inversion, irrespective of hyperparameter choices. However, the self-attention mechanism can autonomously abstract clinical representations, simplifying clinical deployment by eliminating the need for an explicit feature-extraction pipeline.

Matching journals

The top 3 journals account for 50% of the predicted probability mass.

1
European Heart Journal - Digital Health
18 papers in training set
Top 0.1%
39.8%
2
Scientific Reports
3612 papers in training set
Top 10%
6.8%
3
Physiological Measurement
14 papers in training set
Top 0.1%
4.4%
50% of probability mass above
4
npj Digital Medicine
118 papers in training set
Top 1%
3.3%
5
Patterns
78 papers in training set
Top 0.5%
3.2%
6
IEEE Access
35 papers in training set
Top 0.5%
2.4%
7
Computer Methods and Programs in Biomedicine
28 papers in training set
Top 0.3%
2.4%
8
Artificial Intelligence in Medicine
17 papers in training set
Top 0.3%
2.1%
9
Medical Image Analysis
35 papers in training set
Top 0.3%
2.1%
10
Nature Medicine
125 papers in training set
Top 1%
1.9%
11
Nature Machine Intelligence
70 papers in training set
Top 1%
1.7%
12
Nature Communications
5641 papers in training set
Top 47%
1.5%
13
PLOS ONE
5266 papers in training set
Top 51%
1.5%
14
Biology Methods and Protocols
61 papers in training set
Top 1%
1.3%
15
Heart
11 papers in training set
Top 0.7%
1.3%
16
PLOS Digital Health
106 papers in training set
Top 3%
1.3%
17
Circulation
74 papers in training set
Top 2%
1.1%
18
Frontiers in Physiology
106 papers in training set
Top 2%
1.1%
19
Journal of the American Medical Informatics Association
71 papers in training set
Top 2%
1.1%
20
The American Journal of Cardiology
17 papers in training set
Top 0.9%
1.1%
21
Nature
645 papers in training set
Top 8%
1.1%
22
Diagnostics
50 papers in training set
Top 2%
1.1%
23
Bioengineering
29 papers in training set
Top 0.9%
1.1%
24
IEEE Journal of Biomedical and Health Informatics
37 papers in training set
Top 1.0%
1.1%
25
iScience
1154 papers in training set
Top 32%
0.9%
26
JACC: Clinical Electrophysiology
13 papers in training set
Top 0.2%
0.9%
27
Journal of the American Heart Association
140 papers in training set
Top 4%
0.9%
28
PLOS Computational Biology
1863 papers in training set
Top 21%
0.6%
29
Communications Medicine
113 papers in training set
Top 6%
0.6%
30
Computers in Biology and Medicine
128 papers in training set
Top 5%
0.6%