University of Cambridge
Using Artificial Intelligence to detect Atrial Fibrillation from Telehealth Electrocardiogram Signals
Abstract
dc:description.abstractAtrial fibrillation (AF) is a common cardiac arrhythmia associated with a four- to fivefold increased risk of stroke. Consequently, screening programmes have been developed to investigate whether the early detection and treatment of AF can reduce the risk of stroke and other adverse cardiovascular outcomes later in life. However, such screening programmes impose a significant burden on healthcare systems. An important component of this burden is the large-scale recording and analysis of electrocardiograms (ECGs) – the clinical gold standard for AF diagnosis. The SAFER (Screening for Atrial Fibrillation to Reduce Stroke) Randomised Controlled Trial (ISRCTN 72104369) programme addressed this challenge by asking participants to self-record single-lead ECGs between opposing thumbs in daily life using telehealth devices. While this approach improved accessibility and scalability, it introduced substantial signal noise and variability, making automated AF detection more challenging. The SAFER dataset comprised 30-second ECG recordings acquired by participants four times per day over several weeks, yielding approximately 84 recordings per participant. This structure enabled evaluation of AF detection at both the ECG and participant levels, allowing a more comprehensive assessment of model performance. In this thesis, the SAFER dataset was used to develop machine learning models for AF detection from telehealth ECG recordings. In addition, results from the SAFER dataset were compared with those from Lead II ECG datasets acquired in clinical or ambulatory monitoring settings using bedside monitors or patch-based ECG devices. Irregular RR intervals and the absence of discernible, regular P-waves clinically characterise AF. Motivated by this definition, this thesis approached AF detection from two complementary perspectives: (1) modelling the irregularity of RR intervals, and (2) detecting the absence of P-waves. Two machine learning models were developed to capture these characteristics, respectively, and the methods were then combined. Firstly, an RR-interval–based model was developed to characterise variability in RR intervals, and its performance was evaluated at both the ECG and participant levels. The RR interval sequence was transformed into a two-dimensional representation, and a reduced MobileNetV2 was trained to detect AF using this representation. Participant-level AF detections were derived by selecting the maximum ECG-level prediction score for each participant. The model achieved AUROCs of 0.934 and 0.940 for ECG-level and participant-level AF detection on the SAFER dataset, respectively. Secondly, a P-wave detection model was developed to estimate the presence or absence of P-waves in individual ECG beats. The model outputs were used to derive beat-level P-wave features, which were subsequently aggregated to form ECG-level and participant-level representations for AF detection. On the SAFER dataset, an ECG-level AUROC of 0.882 was achieved. The ECG-to-participant-level transformation, which aggregated ECG-level features into participant-level representations, outperformed the approach that used the maximum ECG-level score for participant-level classification, achieving an AUROC of 0.877 on the SAFER test dataset. Finally, P-wave-based and RR-interval-based features were integrated into a combined-feature model. The model was evaluated for both ECG-level and participant-level AF detection on datasets with Lead II and Lead I configurations. The results showed that P-wave-based features provided clear benefits for ECG-level AF detection on Lead II datasets, with the combined-feature model conferring a statistically significant improvement over the RR-interval-based model on two Lead II datasets (p < 0.01). However, on the Lead I SAFER dataset, the combined-feature model achieved an ECG-level AUROC of 0.923, compared with 0.934 for the RR-interval-based model. At the participant level, the improvement on the Lead II dataset was less pronounced than at the ECG level. On the SAFER testing subset, the combined-feature model achieved a participant-level AUROC of 0.947, compared with 0.940 for the RR-interval-based model, representing a small but statistically significant difference (p = 0.0496). Overall, this work developed and validated a physiologically informed framework for AF detection from telehealth ECG recordings. By combining RR-interval and P-wave–based analyses, the proposed methods achieved robust AF detection at both the ECG and participant levels. RR-interval features provided strong discriminative performance, while P-wave features contributed additional diagnostic information, particularly in Lead II ECGs. Notably, the P-wave component added limited benefit beyond RR-interval-based features in the SAFER ECGs, possibly because P waves were less clearly captured in Lead I recordings measured between the thumbs. Future work should focus on further refining the methods developed in this thesis and strengthening their clinical validation. This includes improving the use of P-wave information derived from the P-wave detection model and developing more effective strategies for aggregating ECG-level predictions to the participant level. Diagnostic performance may be further enhanced by incorporating participant-level metadata, such as clinical risk factors or risk scores, as well as temporal information related to ECG acquisition, including time of day, recording frequency, and screening duration. Emerging foundation models could also be explored for AF detection on the SAFER dataset, potentially leveraging large-scale pretraining to improve generalisation across diverse non-clinical ECG recording settings. Finally, further validation across diverse patient populations and other real-world AF screening programmes would be important to assess the robustness, transferability, and clinical utility of the proposed methods.
Degree
thesis:*- Name dc:type.qualificationname
- Doctor of Philosophy (PhD)
- Level dc:type.qualificationlevel
- Doctoral
- Grantor dc:publisher.institution
- University of Cambridge
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ding, Zixuan
- Advisors dc:contributor.advisor
-
- Charlton, Peter H
- Punskaya, Elena
- Mant, Jonathan
Subjects
dc:subject × 4Rights
dc:rights- Language dc:language
- eng
Identifiers
dc:identifier.*- Identifier URI
- https://www.repository.cam.ac.uk/handle/1810/408633