CTRhythm: Accurate Atrial Fibrillation Detection from Single-Lead ECG by Convolutional Neural Network and Transformer Integration
Atrial Fibrillation (AF) is a common supraventricular arrhythmia that affects about 30 million people globally. Electrocardiogram (ECG) analysis is the primary diagnostic approach. The widespread adoption of wearable devices for heart rhythm monitoring prompted the development of AF detection models for single-lead ECGs, benefitting real-time early diagnosis. Current state-of-the-art methods for AF detection are convolutional neural network (CNN) and convolutional recurrent neural network (CRNN) based models, which only focus on capturing local patterns despite heart rhythms exhibiting rich long-range dependencies. To address this limitation, we propose a novel method for singlelead ECG rhythm classification, termed CNN-Transformer Rhythm Classifier (CTRhythm), which integrates CNN with a Transformer encoder to effectively capture both local and global patterns effectively. CTRhythm achieved an overall F1 score of 0.831, outperforming baseline deep learning models on the gold-standard CINC2017 dataset. Furthermore, pretraining with additional data improved the overall F1 score to 0.840. In two external validation datasets, CTRhythm showed its strong generalization capabilities. CTRhythm is freely available at https://github.com/labxscut/CTRhythm.
Authors
- Yue Fu (ORCID: https://orcid.org/0000-0002-0729-2486)
- Qingjiao Li (ORCID: https://orcid.org/0000-0002-7816-123X)
- Zhengyang Yu (ORCID: https://orcid.org/0009-0006-0777-4043)
- Xuemei Liu (ORCID: https://orcid.org/0000-0001-5852-6134)
- Chen Yang (ORCID: https://orcid.org/0000-0001-9820-0833)
- Bing Ren (ORCID: https://orcid.org/0000-0003-2374-7775)
- Yangxin Chen (ORCID: https://orcid.org/0000-0003-2051-9320)
- Maohuan Lin
- Z. Liang (ORCID: https://orcid.org/0009-0005-1184-6049)
Institutions
- Sun Yat-sen University (CN)
- Sun Yat-sen Memorial Hospital (CN)
- Eighth Affiliated Hospital of Sun Yat-sen University
- South China University of Technology (CN)
Publication Details
- Published
- 2024-12-03
- DOI
- https://doi.org/10.1109/bibm62325.2024.10822563
- Citations
- 3
- Primary Topic
- ECG Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 1.21
Funders
- National Natural Science Foundation of China
- Guangzhou Municipal Science and Technology Project