CTRhythm: Accurate Atrial Fibrillation Detection from Single-Lead ECG by Convolutional Neural Network and Transformer Integration

Read the full article See related articles

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

Abstract

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 monitoring heart rhythm 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 single-lead ECG rhythm classification, termed CNN-Transformer Rhythm Classifier (CTRhythm), which integrates CNN with a Transformer encoder to capture local and global patterns effectively. CTRhythm achieved an overall F1 score of 0.831, outperforming the baseline deep learning models on the golden standard CINC2017 dataset. Moreover, pre-training 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 .

Article activity feed