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 8 journals account for 50% of the predicted probability mass.

1
European Heart Journal - Digital Health
15 papers in training set
Top 0.1%
12.8%
2
npj Digital Medicine
97 papers in training set
Top 0.6%
8.3%
3
Scientific Reports
3102 papers in training set
Top 12%
7.2%
4
Medical Image Analysis
33 papers in training set
Top 0.2%
6.4%
5
Circulation
66 papers in training set
Top 0.7%
4.9%
6
Nature Medicine
117 papers in training set
Top 0.4%
4.9%
7
Physiological Measurement
12 papers in training set
Top 0.1%
4.9%
8
JACC: Clinical Electrophysiology
11 papers in training set
Top 0.1%
4.0%
50% of probability mass above
9
iScience
1063 papers in training set
Top 6%
3.1%
10
Nature Communications
4913 papers in training set
Top 45%
2.6%
11
Nature Machine Intelligence
61 papers in training set
Top 1%
2.6%
12
eLife
5422 papers in training set
Top 32%
2.6%
13
PLOS ONE
4510 papers in training set
Top 47%
2.1%
14
Frontiers in Physiology
93 papers in training set
Top 2%
2.1%
15
Computers in Biology and Medicine
120 papers in training set
Top 2%
1.7%
16
IEEE Transactions on Biomedical Engineering
38 papers in training set
Top 0.6%
1.5%
17
Biology Methods and Protocols
53 papers in training set
Top 1%
1.5%
18
Journal of NeuroEngineering and Rehabilitation
28 papers in training set
Top 0.7%
1.2%
19
Genome Medicine
154 papers in training set
Top 6%
1.2%
20
Circulation: Genomic and Precision Medicine
42 papers in training set
Top 0.9%
1.2%
21
Journal of the American Heart Association
119 papers in training set
Top 3%
1.0%
22
Heart Rhythm
22 papers in training set
Top 0.5%
1.0%
23
Computer Methods and Programs in Biomedicine
27 papers in training set
Top 0.7%
0.9%
24
EBioMedicine
39 papers in training set
Top 0.8%
0.9%
25
Frontiers in Cardiovascular Medicine
49 papers in training set
Top 3%
0.8%
26
Journal of the American Medical Informatics Association
61 papers in training set
Top 2%
0.8%
27
IEEE Access
31 papers in training set
Top 1%
0.7%
28
Nature Biomedical Engineering
42 papers in training set
Top 3%
0.6%
29
The Lancet Digital Health
25 papers in training set
Top 2%
0.5%
30
BMC Genomics
328 papers in training set
Top 8%
0.5%