Related Experiment Video
Updated: Jun 16, 2026

Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
KAN-Former: a lightweight ECG model for real-time atrial fibrillation detection on wearable devices
Kaixuan Wang1, Guozhen Wang2, Zhiyong Wu1
1School of Computer Science and Technology, Shandong University of Technology, Zibo, China.
Abstract:
Atrial fibrillation (AF) is the most prevalent sustained cardiac arrhythmia and a major contributor to stroke and heart failure. Continuous monitoring using wearable electrocardiogram (ECG) devices enables early detection, but deploying deep learning models on resource-constrained platforms remains challenging due to limited computation and stringent real-time latency requirements. To address these challenges, we propose KAN-Former, a lightweight hybrid ECG classification model. KAN-Former consists of: (1) a multi-scale convolutional front-end enhanced with channel attention to capture morphological details across different temporal resolutions; (2) a Nyström-approximated Transformer module that models global temporal dependencies with linear complexity; (3) a time-frequency feed-forward network that refines spectro-temporal rhythm representations; and (4) a sparsity-optimized residual KAN classifier that improves representational efficiency and reduces parameter count. Experimental results on PhysioNet 2017 and CPSC 2018 demonstrate that KAN-Former achieves accuracies of 94.5% and 94.6%, respectively, with only 1.16M parameters and an inference latency of 3.8 ms, outperforming state-of-the-art lightweight models while maintaining real-time on-device performance. Furthermore, even under aggressive pruning and INT8 quantization, the accuracy degradation remains below 0.5%, confirming the scalability of KAN-Former for wearable AF screening.
Related Concept Videos
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Holter Monitor: 24-Hour Monitoring