Preprint
Article

This version is not peer-reviewed.

Lightweight Deep Learning for Atrial Fibrillation Detection from Single-Lead Wearable ECG: A Systematic Benchmark of Convolutional, Temporal, and State-Space Architectures

Submitted:

02 July 2026

Posted:

03 July 2026

You are already at the latest version

Abstract
Atrial fibrillation (AF) affects more than 37 million people worldwide and substantially raises the risk of stroke, heart failure, and premature death. Wearable single-lead ECG devices offer a natural platform for continuous AF surveillance, yet automated detection from short, noisy recordings remains an unsolved clinical engineering problem. This paper presents a sys tematic benchmark of three deep learning architectures—a one dimensional ResNet-34 (1D-ResNet34), a Temporal Convolutional Network (TCN), and a novel State-Space Model (MambaECG)— evaluated under identical training protocols on two indepen dent public datasets: the PhysioNet Computing in Cardiology Challenge 2017 corpus (8,528 recordings) and the Chapman Shaoxing 12-lead ECG database (45,152 recordings, Lead I used). All models were trained exclusively on single-lead PhysioNet recordings and tested on Chapman–Shaoxing Lead I without fine-tuning, constituting the first cross-institutional generalisation study for this architectural family. The TCN achieves the highest AUROC of 0.957 with only 0.19M parameters, outperforming 1D-ResNet34 (AUROC 0.955, 35.34M parameters) and MambaECG (AUROC 0.928, 0.65M parameters). Notably, all three architectures demonstrate positive zero-shot transfer to Chapman–Shaoxing, with AUROCs of 0.961, 0.963, and 0.948 respectively—without any target-domain exposure during training. MambaECG achieves the fastest in ference at 0.04 ms per recording, enabling real-time deployment on resource-constrained wearable hardware. Gradient-weighted Class Activation Mapping (Grad-CAM) analysis confirms that MambaECG correctly localises clinically meaningful ECG fea tures: QRS complexes and P-waves for normal rhythm, irregular RR intervals and fibrillatory baseline for AF, and premature ventricular complex morphology for Other rhythm. These results provide evidence-based architectural guidance for wearable AF screening systems and demonstrate that lightweight temporal models match or exceed deep residual networks at a fraction of the computational cost.
Keywords: 
;  ;  ;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings