A Crowdsourced AI Framework for Atrial Fibrillation Detection in Apple Watch and Kardia Mobile ECGs

Sensors (Basel). 2024 Sep 2;24(17):5708. doi: 10.3390/s24175708.

Abstract

Background: Atrial fibrillation (AFib) detection via mobile ECG devices is promising, but algorithms often struggle to generalize across diverse datasets and platforms, limiting their real-world applicability. Objective: This study aims to develop a robust, generalizable AFib detection approach for mobile ECG devices using crowdsourced algorithms. Methods: We developed a voting algorithm using random forest, integrating six open-source AFib detection algorithms from the PhysioNet Challenge. The algorithm was trained on an AliveCor dataset and tested on two disjoint AliveCor datasets and one Apple Watch dataset. Results: The voting algorithm outperformed the base algorithms across all metrics: the average of sensitivity (0.884), specificity (0.988), PPV (0.917), NPV (0.985), and F1-score (0.943) on all datasets. It also demonstrated the least variability among datasets, signifying its highest robustness and effectiveness in diverse data environments. Moreover, it surpassed Apple's algorithm on all metrics and showed higher specificity but lower sensitivity than AliveCor's Kardia algorithm. Conclusions: This study demonstrates the potential of crowdsourced, multi-algorithmic strategies in enhancing AFib detection. Our approach shows robust cross-platform performance, addressing key generalization challenges in AI-enabled cardiac monitoring and underlining the potential for collaborative algorithms in wearable monitoring devices.

Keywords: AI; atrial fibrillation; composite error–variability index; cross-dataset generalization; crowdsourcing; efficacy; reliability; voting.

MeSH terms

  • Algorithms*
  • Atrial Fibrillation* / diagnosis
  • Atrial Fibrillation* / physiopathology
  • Crowdsourcing* / methods
  • Electrocardiography* / methods
  • Humans
  • Wearable Electronic Devices