DETECTION OF ATRIAL FIBRILLATION BASED ON ECG - TESTING THE EFFECTIVENESS OF A SIMPLE AI ALGORITHM IN IDENTIFYING ARRHYTHMIAS ON ECG RECORDINGS
Abstract
Atrial fibrillation (AF) is the most common cardiac arrhythmia and a growing cardiovascular epidemic characterized by uncoordinated atrial activation. It is a significant risk factor for ischemic stroke, heart failure, and cognitive decline. Despite its rising prevalence, driven by aging populations and lifestyle factors, early detection remains a diagnostic challenge due to the often asymptomatic and paroxysmal nature of the condition. Traditional screening methods, relying on standard electrocardiograms (ECG) and manual interpretation, are resource-intensive and limited in their ability to provide continuous monitoring.
The rapid development of digital health technologies has introduced artificial intelligence (AI) as a pivotal tool for automating arrhythmia detection. This review assesses the effectiveness of "simple" machine learning algorithms, such as Support Vector Machines (SVM), Random Forests (RF), and k-Nearest Neighbors (k-NN), in comparison to complex deep learning architectures like Convolutional Neural Networks (CNN).
The analysis indicates that simple AI models demonstrate high diagnostic accuracy (up to 99.1%), comparable to deep learning models, while requiring significantly less computational power and offering greater interpretability. These features make them highly suitable for deployment in battery-operated consumer devices, such as smartwatches and handheld ECG recorders. The integration of these efficient algorithms into telemedicine infrastructures supports a hybrid care model, facilitating large-scale screening and early diagnosis, which is essential for mitigating the burden of AF-related complications.
Methodology: This article is a review. The data presented is based on a comprehensive analysis of peer-reviewed scientific articles, systematic reviews, and clinical reports published in reputable medical journals. The review focuses on studies evaluating the performance of AI algorithms using publicly available physiological signal databases, such as the MIT-BIH Atrial Fibrillation Database and PhysioNet Challenge datasets, as well as data collected from wearable mobile devices. The literature selected for this overview covers the period from 2010 to 2025, including foundational research and the most recent developments in mobile health technologies, approved medical devices, and algorithmic efficiency. The review critically compares the utility, accuracy, and computational requirements of various machine learning approaches in the context of remote patient monitoring and clinical diagnostics.
References
Schnabel, R. B., Yin, X., Gona, P., et al. (2015). Fifty-year trends in atrial fibrillation incidence, prevalence, risk factors, and mortality in the Framingham Heart Study: A cohort study. The Lancet, 386(9989), 154–162. https://doi.org/10.1016/S0140-6736(14)61774-8
Mou, L., Norby, F. L., Chen, L. Y., et al. (2018). Lifetime risk of atrial fibrillation by race and socioeconomic status: The ARIC (Atherosclerosis Risk in Communities) study. Circulation: Arrhythmia and Electrophysiology, 11(7), e006350. https://doi.org/10.1161/CIRCEP.118.006350
Staerk, L., Sherer, J. A., Ko, D., Benjamin, E. J., & Helm, R. H. (2017). Atrial fibrillation: Epidemiology, pathophysiology, and clinical outcomes. Circulation Research, 120(9), 1501–1517. https://doi.org/10.1161/CIRCRESAHA.117.309732
Anter, E., Jessup, M., & Callans, D. J. (2009). Atrial fibrillation and heart failure: Fire and fury. Circulation, 119(19), 2516–2525. https://doi.org/10.1161/CIRCULATIONAHA.108.821306
Wolf, P. A., Abbott, R. D., & Kannel, W. B. (1991). Atrial fibrillation as an independent risk factor for stroke: The Framingham Study. Stroke, 22(8), 983–988. https://doi.org/10.1161/01.STR.22.8.983
Bogun, F., Anh, D., Kalahasty, G., et al. (2004). Misdiagnosis of atrial fibrillation and its clinical consequences. The American Journal of Medicine, 117(9), 636–642. https://doi.org/10.1016/j.amjmed.2004.06.028
Lubitz, S. A., Faranesh, A. Z., Selvaggi, C., et al. (2022). Detection of atrial fibrillation in a large population using wearable devices: The Fitbit Heart Study. Circulation, 146(19), 1415–1424. https://doi.org/10.1161/CIRCULATIONAHA.122.060291
Saleh, K., & Haldar, S. (2023). Atrial fibrillation: A contemporary update. Clinical Medicine, 23(5), 437–441. https://doi.org/10.7861/clinmed.2023-23.5.Cardio2
Linz, D., Gawalko, M., Betz, K., et al. (2024). Atrial fibrillation: Epidemiology, screening and digital health. The Lancet Regional Health – Europe, 37, 100786. https://doi.org/10.1016/j.lanepe.2023.100786
German, D. M., Kabir, M. M., Dewland, T. A., Henrikson, C. A., & Tereshchenko, L. G. (2016). Atrial fibrillation predictors: Importance of the electrocardiogram. Annals of Noninvasive Electrocardiology, 21(1), 20–29. https://doi.org/10.1111/anec.12321
Yang, S. Y., Huang, M., Wang, A. L., et al. (2022). Atrial fibrillation burden and the risk of stroke: A systematic review and dose-response meta-analysis. World Journal of Clinical Cases, 10(3), 939–953. https://doi.org/10.12998/wjcc.v10.i3.939
Smulyan, H. (2019). The computerized ECG: Friend and foe. The American Journal of Medicine, 132(2), 153–160. https://doi.org/10.1016/j.amjmed.2018.08.025
Kraik, K., Dykiert, I. A., Niewiadomska, J., et al. (2025). The most common errors in automatic ECG interpretation. Frontiers in Physiology, 16, 1590170. https://doi.org/10.3389/fphys.2025.1590170
Venkatachalam, K. L., Herbrandson, J. E., & Asirvatham, S. J. (2011). Signals and signal processing for the electrophysiologist: Part I: Electrogram acquisition. Circulation: Arrhythmia and Electrophysiology, 4(6), 965–973. https://doi.org/10.1161/CIRCEP.111.964304
Muzammil, M. A., Javid, S., Afridi, A. K., Siddineni, R., et al. (2024). Artificial intelligence-enhanced electrocardiography for accurate diagnosis and management of cardiovascular diseases. Journal of Electrocardiology, 83, 30–40. https://doi.org/10.1016/j.jelectrocard.2024.01.006
Attia, Z. I., Harmon, D. M., Behr, E. R., et al. (2021). Application of artificial intelligence to the electrocardiogram. European Heart Journal, 42(46), 4717–4730. https://doi.org/10.1093/eurheartj/ehab649
Feeny, A. K., Chung, M. K., Madabhushi, A., et al. (2020). Artificial intelligence and machine learning in arrhythmias and cardiac electrophysiology. Circulation: Arrhythmia and Electrophysiology, 13(8), e007952. https://doi.org/10.1161/CIRCEP.119.007952
Nagarajan, V. D., Lee, S. L., Robertus, J. L., et al. (2021). Artificial intelligence in the diagnosis and management of arrhythmias. European Heart Journal, 42(38), 3904–3916. https://doi.org/10.1093/eurheartj/ehab544
Siontis, K. C., Noseworthy, P. A., Attia, Z. I., et al. (2021). Artificial intelligence-enhanced electrocardiography in cardiovascular disease management. Nature Reviews Cardiology, 18(7), 465–478. https://doi.org/10.1038/s41569-020-00503-2
Jahan, M. S., Mansourvar, M., Puthusserypady, S., Wiil, U. K., & Peimankar, A. (2022). Short-term atrial fibrillation detection using electrocardiograms: A comparison of machine learning approaches. International Journal of Medical Informatics, 163, 104790. https://doi.org/10.1016/j.ijmedinf.2022.104790
Rao, S. K. S., & Martis, R. J. (2023). RR interval-based atrial fibrillation detection using traditional and ensemble machine learning algorithms. Journal of Medical Signals and Sensors, 13, 224–232. https://doi.org/10.4103/jmss.jmss_4_22
Lown, M., Brown, M., Brown, C., et al. (2020). Machine learning detection of atrial fibrillation using wearable technology. PLOS ONE, 15(1), e0227401. https://doi.org/10.1371/journal.pone.0227401
Xie, C., Wang, Z., Yang, C., Liu, J., & Liang, H. (2024). Machine learning for detecting atrial fibrillation from ECGs: Systematic review and meta-analysis. Reviews in Cardiovascular Medicine, 25(1), 8. https://doi.org/10.31083/j.rcm2501008
Weimann, K., & Conrad, T. O. F. (2021). Transfer learning for ECG classification. Scientific Reports, 11, 5251. https://doi.org/10.1038/s41598-021-84374-8
Karakasis, P., Theofilis, P., Sagris, M., et al. (2025). Artificial intelligence in atrial fibrillation: From early detection to precision therapy. Journal of Clinical Medicine, 14, 2627. https://doi.org/10.3390/jcm14082627
Turakhia, M. P., Desai, M., Hedlin, H., et al. (2019). Rationale and design of a large-scale, app-based study to identify cardiac arrhythmias using a smartwatch: The Apple Heart Study. American Heart Journal, 207, 66–75. https://doi.org/10.1016/j.ahj.2018.09.002
Gliner, V., Levy, I., Tsutsui, K., et al. (2025). Clinically meaningful interpretability of an AI model for ECG classification. npj Digital Medicine, 8, 109. https://doi.org/10.1038/s41746-025-01467-8
Fernando, P., Lyell, D., Wang, Y., & Magrabi, F. (2025). Role of AI in clinical decision-making: An analysis of FDA medical device approvals. In M. S. Househ et al. (Eds.), MEDINFO 2025: Healthcare Smart x Medicine Deep (pp. 1019–1023). IOS Press. https://doi.org/10.3233/SHTI250993
Liang, H., Zhang, H., Wang, J., et al. (2024). The application of artificial intelligence in atrial fibrillation patients: From detection to treatment. Reviews in Cardiovascular Medicine, 25(7), 257. https://doi.org/10.31083/j.rcm2507257
Zink, M. D., Kuijpers, Y., Peeters, L., et al. (2025). Towards artificial intelligence-based decision support for large-scale screening for atrial fibrillation. IEEE Journal of Biomedical and Health Informatics. Advance online publication. https://doi.org/10.1109/JBHI.2025.3579621
Umpierre, R. N., Mattiello, R., Schmitz, C. A. A., et al. (2025). Greening healthcare and slashing carbon emissions through telemedicine: A cross-sectional study from over 50 thousand remote consults at a leading tertiary hospital. Frontiers in Digital Health, 7, 1497770. https://doi.org/10.3389/fdgth.2025.1497770
Barratt, H., Chaloner, C., Rainie, R., et al. (2025). What is the impact of a shift to remote consultations? A qualitative interview study in primary and secondary healthcare. BMJ Open, 15(6), e097633. https://doi.org/10.1136/bmjopen-2024-097633
Linsky, A. M., Canter, B. E., Glickman, M., et al. (2025). The COVID-19 pandemic and goals-of-care conversations in Veterans Health Administration clinics. JAMA Network Open, 8(6), e2515980. https://doi.org/10.1001/jamanetworkopen.2025.15980
Copyright (c) 2026 Patryk Iglewski, Klaudia Brzoza, Filip Matusiak, Michał Kociński, Michał Pietrasz, Anna Komarczewska

This work is licensed under a Creative Commons Attribution 4.0 International License.
All articles are published in open-access and licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). Hence, authors retain copyright to the content of the articles.
CC BY 4.0 License allows content to be copied, adapted, displayed, distributed, re-published or otherwise re-used for any purpose including for adaptation and commercial use provided the content is attributed.

