Transformer-Based Detection of Cardiac Arrhythmias from Ambulatory Photoplethysmography Signals

Authors

  • Claude Johansson School of Information Technology, University of Cincinnati, Cincinnati, OH, USA.
  • Ravi C. Naidu Department of Computer Science, Colorado State University, Fort Collins, CO, USA.
  • Maxime J. Fleming School of Computing, Clemson University, Clemson, SC, USA.
  • Jerome M. Burton Department of Computer Science, University of New Hampshire, Durham, NH, USA.

Keywords:

transformer models; photoplethysmography; arrhythmia detection; ambulatory monitoring; health informatics; algorithmic fairness

Abstract

Cardiac arrhythmias impose significant morbidity and mortality, with atrial fibrillation contributing to stroke, heart failure, and cognitive impairment. Ambulatory electrocardiography remains the reference standard for rhythm diagnosis, but prolonged use is constrained by electrode adhesion, patient burden, and cost. Photoplethysmography embedded in consumer wearables provides a lower-burden alternative for continuous cardiovascular monitoring. However, motion artifact, sensor heterogeneity, and algorithmic opacity limit clinical translation. This paper presents a system-level analysis of transformer-based detection of cardiac arrhythmias from ambulatory photoplethysmography signals. It examines sensing infrastructure, data governance, signal quality, architectural trade-offs, robustness, fairness, deployment, and policy implications. The discussion positions transformer models not only as sequence classifiers but as components within a broader sociotechnical monitoring pipeline requiring careful integration with preprocessing, explainability, regulatory oversight, and postmarket surveillance. The analysis emphasizes that performance improvements in offline datasets are insufficient for sustainable clinical utility. Attention to energy consumption, data drift, demographic equity, and governance is equally important. The paper synthesizes developments in time-series attention, motion robustness, and responsible machine learning to outline a forward-looking framework for next-generation ambulatory cardiac monitoring systems.

References

1. Benjamin, E. J., Muntner, P., Alonso, A., Bittencourt, M. S., Callaway, C. W., Carson, A. P., Chamberlain, A. M., Chang, A. R., Cheng, S., Das, S. R., Delling, F. N., Djousse, L., Elkind, M. S. V., Ferguson, J. F., Fornage, M., Jordan, L. C., Khan, S. S., Kissela, B. M., Knutson, K. L., ... Virani, S. S. (2019). Heart disease and stroke statistics—2019 update: A report from the American Heart Association. Circulation, 139(10), e56–e528.

2. Hannun, A. Y., Rajpurkar, P., Haghpanahi, M., Tison, G. H., Bourn, C., Turakhia, M. P., & Ng, A. Y. (2019). Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nature Medicine, 25(1), 65–69.

3. Castaneda, D., Esparza, A., Ghamari, M., Soltanpur, C., & Nazeran, H. (2018). A review on wearable photoplethysmography sensors and their potential future applications in health care. International Journal of Biosensors & Bioelectronics, 4(4), 195–202.

4. Poh, M. Z., Poh, Y. C., Chan, P. H., Wong, C. K., Pun, L., Leung, W. W., Wong, M. F., Chu, M. M., Leung, P. Y., Chan, C. K., Chan, K. P., Lau, C. P., & Siu, C. W. (2018). Diagnostic assessment of a deep learning system for detecting atrial fibrillation using photoplethysmography. Nature Medicine, 24(8), 1331–1337.

5. Perez, M. V., Mahaffey, K. W., Hedlin, H., Rumsfeld, J. S., Garcia, A., Ferris, T., Balasubramanian, V., Russo, A. M., Rajmane, A., Cheung, L., Hung, G., Lee, J., Kowey, P., Talati, N., Nag, D., Gummidipundi, S. E., Beatty, A., Hills, M. T., Desai, S., ... Turakhia, M. P. (2019). Large-scale assessment of a smartwatch to identify atrial fibrillation. New England Journal of Medicine, 381(20), 1909–1917.

6. Guo, Y., Wang, H., Zhang, H., Liu, T., Liang, Z., Xia, Y., Yan, L., Xing, Y., Shi, H., Li, S., Liu, Y., Liu, F., Feng, M., Chen, Y., & Lip, G. Y. H. (2019). Mobile photoplethysmographic technology to detect atrial fibrillation. Journal of the American College of Cardiology, 74(19), 2365–2375.

7. Tison, G. H., Sanchez, J. M., Ballinger, B., Singh, A., Olgin, J. E., Pletcher, M. J., Vittinghoff, E., Lee, E. S., Fan, S. M., Gladstone, R. A., Mikell, C., Sohoni, N., Hsieh, J., & Marcus, G. M. (2018). Passive detection of atrial fibrillation using a commercially available smartwatch. JAMA Cardiology, 3(5), 409–416.

8. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30.

9. Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 1, 4171–4186.

10. Zerveas, G., Jayaraman, S., Patel, D., Bhamidipaty, A., & Eickhoff, C. (2021). A transformer-based framework for multivariate time series representation learning. Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, 2114–2124.

11. Zheng, X., Dwyer, V. M., Barrett, L. A., Derakhshani, M., & Hu, S. (2022). Adaptive notch-filtration to effectively recover photoplethysmographic signals during physical activity. Biomedical Signal Processing and Control, 72, 103303.

12. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780.

13. Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning phrase representations using RNN encoder–decoder for statistical machine translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, 1724–1734.

14. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., & Houlsby, N. (2021). An image is worth 16x16 words: Transformers for image recognition at scale. International Conference on Learning Representations.

15. Allen, J. (2007). Photoplethysmography and its application in clinical physiological measurement. Physiological Measurement, 28(3), R1–R39.

16. Orphanidou, C., Bonnici, T., Charlton, P., Clifton, D., Vallance, D., & Tarassenko, L. (2015). Signal quality indices for the electrocardiogram and photoplethysmogram: Derivation and applications in ambulatory monitoring. IEEE Journal of Biomedical and Health Informatics, 19(3), 832–838.

17. Strubell, E., Ganesh, A., & McCallum, A. (2019). Energy and policy considerations for deep learning in NLP. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 3645–3650.

18. Rieke, N., Hancox, J., Li, W., Milletari, F., Roth, H. R., Albarqouni, S., Bakas, S., Galtier, M. N., Landman, B. A., Maier-Hein, K., Ourselin, S., Sheller, M., Summers, R. M., Trask, A., Xu, D., Baust, M., & Cardoso, M. J. (2020). The future of digital health with federated learning. npj Digital Medicine, 3, 119.

19. Vayena, E., Blasimme, A., & Cohen, I. G. (2018). Machine learning in medicine: Addressing ethical challenges. PLOS Medicine, 15(11), e1002689.

20. Mitchell, M., Wu, S., Zaldivar, A., Barnes, P., Vasserman, L., Hutchinson, B., Spitzer, E., Raji, I. D., & Gebru, T. (2019). Model cards for model reporting. Proceedings of the Conference on Fairness, Accountability, and Transparency, 220–229.

21. Obermeyer, Z., Powers, B., Vogeli, C., & Mullainathan, S. (2019). Dissecting racial bias in an algorithm used to manage the health of populations. Science, 366(6464), 447–453.

22. Clifford, G. D., Liu, C., Moody, B., Lehman, L. H., Silva, I., Li, Q., Johnson, A. E. W., & Mark, R. G. (2017). AF classification from a short single lead ECG recording: The PhysioNet/Computing in Cardiology Challenge 2017. Computing in Cardiology, 44, 1–4.

23. Benjamens, S., Dhunnoo, P., & Mesko, B. (2020). The state of artificial intelligence-based FDA-approved medical devices and algorithms: An online database. npj Digital Medicine, 3, 118.

24. Bonomi, A. G., Schipper, F., Eerikäinen, L. M., Margarito, J., van Dinther, R., Muesch, G., de Morree, H. M., Aarts, R. M., Babaeizadeh, S., McManus, D. D., & Dekker, L. R. C. (2018). Atrial fibrillation detection using a novel cardiac ambulatory monitor based on photo-plethysmography at the wrist. Journal of the American Heart Association, 7(15), e009351.

25. Jain, S., & Wallace, B. C. (2019). Attention is not explanation. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 1, 3543–3556.

Downloads

Published

2026-07-22

How to Cite

Claude Johansson, Ravi C. Naidu, Maxime J. Fleming, & Jerome M. Burton. (2026). Transformer-Based Detection of Cardiac Arrhythmias from Ambulatory Photoplethysmography Signals. Bioinformatics Insights and Analytics, 1(2). Retrieved from https://bioinfia.org/index.php/home/article/view/214