TinyML-Based Photoplethysmography (PPG) Analysis for Atrial Fibrillation Detection
This paper proposes an atrial fibrillation detection algorithm using PPG signals and presents a method to port it to edge devices such as the nRF52840. To classify the PPG signals, simple CNN-based, Autoencoder-based, and Transformer-based Deep Neural Networks (DNNs) were implemented and comparatively analyzed using the MIMIC PERform AF dataset. As a result, the Transformer-based algorithm exhibited the best performance with an average accuracy of 98.66%. While post-training quantization (PTQ) of the Transformer-based algorithm caused the average accuracy to degrade to 95.23%, applying Quantization-Aware Training (QAT) prevented this performance drop. Because some layers of the Transformer are not supported in TensorFlow Lite for Microcontrollers (TFLite Micro), they were modified, and the Multi-Head Attention was approximated using a CNN-based network for porting to the edge device, resulting in a final model size of 107 KB. The ported network demonstrated excellent performance, maintaining an average accuracy of 98.09%.
Authors
- Kyoungtaek Choi (ORCID: https://orcid.org/0000-0003-3104-1860)
Institutions
- Daegu Catholic University (KR)
Publication Details
- Journal
- Sensors
- Published
- 2026-11-16
- DOI
- https://doi.org/10.3390/s26227229
- Primary Topic
- Non-Invasive Vital Sign Monitoring
- Type
- article
- Field-Weighted Citation Impact
- 0.00