Abnormal Cardiac Rhythm Detection Based on Photoplethysmography Signals and a Recurrent Neural Network

Loïc Jeanningros, Jérôme Van Zaen, Clémentine Aguet, Mathieu Le Bloa, Alessandra Porretta, Cheryl Teres, Claudia Herrera, Giulia Domenichini, Patrizio Pascale, Adrian Luca, Jorge Solana Muñoz, Jean-Marc Vesin, Jean-Philippe Thiran, Etienne Pruvot, Mathieu Lemay, Fabian BraunCinC 2023

Introduction

Most consumer-grade wearable heart-rate monitors, such as the Apple Watch or Fitbit, rely on photoplethysmography (PPG) sensors to detect Atrial Fibrillation (AF). While AF is a significant health concern, it accounts for only approximately half of all cardiac arrhythmias (CAs). Other conditions, including ventricular tachycardia or heart blocks, are equally dangerous but often overlooked by current consumer-grade detection algorithms. This research addresses the challenge of detecting a diverse range of arrhythmias using hardware-constrained devices, where battery life and processing power limit the use of complex deep learning models.

Methodology

The researchers proposed a lightweight classification pipeline optimized for embedded systems. The process begins with a pulse detector (qppg_fast) that extracts 30-second windows of inter-beat intervals (IBIs) from PPG signals. Before reaching the neural network, these signals pass through a multi-stage "triage" system designed to filter out unreliable data.

Figure 1: The multi-stage detection pipeline used to filter signals before classification.

As shown in the pipeline above, the system first performs motion detection to discard segments with excessive movement. It then conducts a quality check to remove windows with poor signal-to-noise ratios. A rule-based tachycardia detection step identifies very high heart rates (mean IBI < 0.6s) before the remaining data is passed to a simple Recurrent Neural Network (RNN). The RNN consists of a single Gated Recurrent Unit (GRU) layer followed by a sigmoid output layer, prioritizing computational efficiency for wearable deployment.

Dataset and Training

The core RNN was pre-trained on five large external datasets where IBIs were extracted from gold-standard ECG signals. It was then tested on a primary clinical dataset of 64 patients at the Lausanne University Hospital (CHUV). This dataset provided high-quality PPG data synchronized with 12-lead ECGs across eight arrhythmia types: Atrial Fibrillation (AF), Atrial Flutter (AFL), Atrial Tachycardia (AT), AV Block (AVB), AV Re-entrant Tachycardia (AVRT), Bigeminy (B), Frequent Extrasystole (FE), and Ventricular Tachycardia (VT).

Results

The model achieved an overall accuracy of 84% for binary classification (Normal vs. Abnormal). Performance varied significantly across different arrhythmia types, as detailed in the table below.

Figure 6: Classification performance across different cardiac arrhythmia labels.

The system excelled at detecting Atrial Tachycardia (100%) and Atrial Fibrillation (99.6%), while also performing strongly on AV re-entrant tachycardia (96.4%) and AV blocks (93.1%). However, performance dropped for Atrial Flutter (65.4%) and Frequent Extrasystoles (65.9%). Additionally, approximately 32.4% of windows were labeled "undecidable" by the triage pipeline, a necessary trade-off to maintain high confidence in the final medical alerts.

Discussion and Conclusion

A key finding of this study is the "regularity trap." Some arrhythmias, such as atrial flutter and ventricular tachycardia, can produce very regular pulse intervals. Because the model relies solely on timing (IBIs) rather than pulse morphology (the shape of the wave), it can misclassify these regular but abnormal rhythms as normal sinus rhythm. Furthermore, in conditions like bigeminy, the PPG sensor may fail to detect "weak" second beats that are visible on an ECG, leading the model to see a regular rhythm at half the actual heart rate.

Future work should focus on incorporating pulse morphology into the model to identify these hidden beats. While the current pipeline demonstrates the feasibility of multi-arrhythmia detection on low-power wearables, closing the performance gap for complex rhythms remains a critical next step for clinical-grade monitoring in ambulatory settings.

Summary updated

BibTeX
@inproceedings{jeanningros2023abnormal,
  author = {Loïc Jeanningros and Jérôme Van Zaen and Clémentine Aguet and Mathieu Le Bloa and Alessandra Porretta and Cheryl Teres and Claudia Herrera and Giulia Domenichini and Patrizio Pascale and Adrian Luca and Jorge Solana Muñoz and Jean-Marc Vesin and Jean-Philippe Thiran and Etienne Pruvot and Mathieu Lemay and Fabian Braun},
  title = {{Abnormal Cardiac Rhythm Detection Based on Photoplethysmography Signals and a Recurrent Neural Network}},
  booktitle = {CinC},
  year = {2023},
  doi = {10.22489/cinc.2023.409},
}
Figure