POSSIBILITIES OF APPLYING MACHINE LEARNING FOR ELECTROCARDIOGRAM ANALYSIS TO PREDICT MYOCARDIAL INFARCTION
DOI:
https://doi.org/10.32345/USMYJ.3(164).2026.128-138Keywords:
artificial intelligence; deep learning; convolutional neural networks; transformer models; explainable artificial intelligence; acute coronary syndrome; left ventricular dysfunctionAbstract
Introduction. Cardiovascular disease, including acute myocardial infarction, remains the leading cause of death worldwide, and early and accurate recognition of ischemic changes on electrocardiography is critical to the effectiveness of emergency care. Conventional visual interpretation of electrocardiograms is limited by subjectivity and reduced sensitivity to subtle or atypical patterns, prompting the development of novel analytical approaches based on artificial intelligence.
Aim. To summarize current evidence on the potential of machine learning methods for electrocardiogram signal analysis in the prediction and early diagnosis of myocardial infarction, provide specific examples of clinical applications of artificial intelligence in cardiology, and identify key unresolved issues in this field.
Materials and methods. A literature search was performed in PubMed, Scopus, Web of Science, and Google Scholar, supplemented by an analysis of official data from the World Health Organization, the Centers for Disease Control and Prevention, and the American Heart Association published between 2021 and 2026. The search used the keywords “machine learning,” “deep learning,” “electrocardiogram,” “myocardial infarction,” and “artificial intelligence.” A total of 46 relevant sources were included in this narrative review.
Results. Convolutional neural network-, ensemble-, and transformer-based models have demonstrated the ability to detect electrocardiographic features of ischemia and myocardial infarction, as well as other cardiac abnormalities, including left ventricular dysfunction, myocardial hypertrophy, and atrial fibrillation. In several studies, their diagnostic performance exceeded that of conventional expert interpretation. The first pragmatic randomized clinical trial demonstrated that an artificial intelligence–based electrocardiogram alert intervention was associated with reduced all-cause mortality. Key unresolved issues include limited generalizability of models to new patient populations, a shortage of prospective validation studies, insufficient algorithmic interpretability, and the lack of standardized approaches to clinical implementation.
Conclusions. Machine learning represents a promising tool for improving the accuracy of electrocardiogram-based prediction and early detection of myocardial infarction. However, broad clinical implementation requires methodological standardization, further prospective validation, and the development of interpretable and clinically applicable algorithms.
References
1. Gulati, M., Levy, P. D., et al. (2021). 2021 AHA/ACC/ASE/CHEST/SAEM/SCCT/SCMR Guideline for the Evaluation and Diagnosis of Chest Pain: A Report of the American College of Cardiology/American Heart Association Joint Committee on Clinical Practice Guidelines. Journal of the American College of Cardiology, 78(22), e187–e285. https://doi.org/10.1016/j.jacc.2021.07.053
2. Vahanian, A., Beyersdorf, F., Praz, F., Milojevic, M., Baldus, S., Bauersachs, J., et al. (2022). 2021 ESC/EACTS Guidelines for the management of valvular heart disease. Revista Española de Cardiología (English Edition), 75(6), 524. https://doi.org/10.1016/j.rec.2022.05.006
3. World Health Organization. (2025). Cardiovascular diseases (CVDs). https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds)
4. Centers for Disease Control and Prevention. (2025). Heart disease facts. https://www.cdc.gov/heart-disease/data-research/facts-stats/index.html
5. American Heart Association News. (2024). Heart disease and stroke could affect at least 60% of adults in U.S. by 2050. https://www.heart.org/en/news/2024/06/04/heart-disease-and-stroke-could-affect-at-least-60-percent-of-adults-in-us-by-2050
6. Salari, N., Morddarvanjoghi, F., Abdolmaleki, A., Rasoulpoor, S., Khaleghi, A. A., Hezarkhani, L. A., et al. (2023). The global prevalence of myocardial infarction: a systematic review and meta-analysis. BMC Cardiovascular Disorders, 23, 206. https://doi.org/10.1186/s12872-023-03231-w
7. Cleveland Clinic. (2025). Electrocardiogram (EKG or ECG): Test & results. https://my.clevelandclinic.org/health/diagnostics/16953-electrocardiogram-ekg
8. Friedman, P. A. (2024). The electrocardiogram at 100 years: history and future. Circulation, 149(6), 411–413. https://doi.org/10.1161/CIRCULATIONAHA.123.065489
9. Yisimitila, T., Wang, C., Hou, M., Maimaitiniyazi, M., Aili, Z., Liu, T., Tan, H., Chellamani, N., Shanmuganathan, M., Liu, M., & Nijiati, M. (2025). Bridging clinical knowledge and AI: an interpretable transformer framework for ECG diagnosis. npj Digital Medicine, 9(1), 41. https://doi.org/10.1038/s41746-025-02215-8
10. Ding, C., Yao, T., Wu, C., & Ni, J. (2024). Deep learning for personalized electrocardiogram diagnosis: A review. arXiv:2409.07975. https://arxiv.org/abs/2409.07975
11. Nguyen, T., Nguyen, P., Tran, D., Pham, H., Nguyen, Q., Le, T., et al. (2023). Ensemble learning of myocardial displacements for myocardial infarction detection in echocardiography. Frontiers in Cardiovascular Medicine, 10, 1185172. https://doi.org/10.3389/fcvm.2023.1185172
12. Xiao, C., Guo, Y., Zhao, K., Liu, S., He, N., He, Y., et al. (2022). Prognostic value of machine learning in patients with acute myocardial infarction. Journal of Cardiovascular Development and Disease, 9, 56. https://doi.org/10.3390/jcdd9020056
13. Jahmunah, V., Ng, E. Y. K., Tan, R. S., Oh, S. L., & Acharya, U. R. (2022). Explainable detection of myocardial infarction using deep learning models with Grad-CAM technique on ECG signals. Computers in Biology and Medicine, 146, 105550. https://doi.org/10.1016/j.compbiomed.2022.105550
14. Lin, X., Yang, F., Chen, Y., Chen, X., Wang, W., Chen, X., et al. (2022). Echocardiography-based AI detection of regional wall motion abnormalities and quantification of cardiac function in myocardial infarction. Frontiers in Cardiovascular Medicine, 9, 903660. https://doi.org/10.3389/fcvm.2022.903660
15. Lin, C. S., Liu, W. T., Tsai, D. J., et al. (2024). AI-enabled electrocardiography alert intervention and all-cause mortality: a pragmatic randomized clinical trial. Nature Medicine, 30, 1461–1470. https://doi.org/10.1038/s41591-024-02961-4
16. Che Nawi, C., Mohd Hairon, S., Wan Yahya, W. N. N., Wan Zaidi, W. A., Hassan, M. R., & Musa, K. I. (2023). Machine learning application: a bibliometric analysis from a half-century of research on stroke. Cureus, 15, e44142. https://doi.org/10.7759/cureus.44142
17. Attia, Z. I., Harmon, D. M., Behr, E. R., & Friedman, P. A. (2021). Application of artificial intelligence to the electrocardiogram. European Heart Journal, 42(46), 4717–4730. https://doi.org/10.1093/eurheartj/ehab649
18. Attia, Z. I., & Friedman, P. A. (2025). Artificial intelligence and mortality prediction in acute coronary syndromes. European Heart Journal, 46(10), 955–957. https://doi.org/10.1093/eurheartj/ehae475
19. Xie, Y., Zhai, Y., & Lu, G. (2025). Evolution of artificial intelligence in healthcare: a 30-year bibliometric study. Frontiers in Medicine, 11, 1505692. https://doi.org/10.3389/fmed.2024.1505692
20. Xiao, Q., Lee, K., Mokhtar, S. A., Ismail, I., Pauzi, A. L. b. M., Zhang, Q., & Lim, P. Y. (2023). Deep learning-based ECG arrhythmia classification: a systematic review. Applied Sciences, 13, 4964. https://doi.org/10.3390/app13084964
21. Fang, Y., Wu, Y., & Gao, L. (2025). Machine learning-based myocardial infarction bibliometric analysis. Frontiers in Medicine, 12, 1477351. https://doi.org/10.3389/fmed.2025.1477351
22. Alexandrino, F. B., et al. (2025). Integrating AI-ECG and point-of-care cardiac ultrasound for screening structural heart disease: a proof-of-concept study. medRxiv. https://doi.org/10.1101/2025.04.24.25326391
23. Siontis, K. C., Noseworthy, P. A., Attia, Z. I., & Friedman, P. A. (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
24. Gaspari, R., Teran, F., Kamilaris, A., & Gleeson, T. (2021). Development and validation of a novel image quality rating scale for echocardiography during cardiac arrest. Resuscitation Plus, 6, 100097. https://doi.org/10.1016/j.resplu.2021.100097
25. Lee, E., Ito, S., Miranda, W. R., et al. (2024). Artificial intelligence-enabled ECG for left ventricular diastolic function and filling pressure. npj Digital Medicine, 7, 4. https://doi.org/10.1038/s41746-023-00993-7
26. Yang, Z. Y., Hsing, S. C., Tsai, D. J., et al. (2026). Deep learning-enabled ECG system for detecting left ventricular hypertrophy and predicting cardiovascular prognoses. BioData Mining, 19, 25. https://doi.org/10.1186/s13040-026-00536-2
27. Lopez-Jimenez, F., Attia, Z., Arruda-Olson, A. M., Carter, R., Chareonthaitawee, P., Jouni, H., Kapa, S., Lerman, A., Luong, C., Medina-Inojosa, J. R., Noseworthy, P. A., Pellikka, P. A., Redfield, M. M., Roger, V. L., Sandhu, G. S., Senecal, C., & Friedman, P. A. (2020). Artificial Intelligence in Cardiology: Present and Future. Mayo Clinic Proceedings, 95(5), 1015–1039. https://doi.org/10.1016/j.mayocp.2020.01.038
28. Xiong, P., Lee, S. M.-Y., & Chan, G. (2022). Deep Learning for Detecting and Locating Myocardial Infarction by Electrocardiogram: A Literature Review. Frontiers in Cardiovascular Medicine, 9, 860032. https://doi.org/10.3389/fcvm.2022.860032
29. Ribeiro, A. H., Ribeiro, M. H., Paixão, G. M. M., Oliveira, D. M., Gomes, P. R., Canazart, J. A., et al. (2020). Automatic diagnosis of the 12-lead ECG using a deep neural network. Nature Communications, 11, 1760. https://doi.org/10.1038/s41467-020-15432-4
30. Gupta, V., Hilgendorf, L., Andersson, E., Louca, A., Shahmari, A., Hjalmarsson, A., Saini, R., Pirazzi, C., Alchay, M., & Rawshani, A. (2025). Multimodal deep learning for acute myocardial infarction detection from 12-lead electrocardiogram: a multi-centre study with cross-hospital validation. European Heart Journal - Digital Health, 7(2), ztaf125. https://doi.org/10.1093/ehjdh/ztaf125
31. Fiorina, L., Chemaly, P., Cellier, J., Ait Said, M., Coquard, C., Younsi, S., Salerno, F., Horvilleur, J., Lacotte, J., Manenti, V., Plesse, A., Henry, C., & Lefebvre, B. (2024). Artificial intelligence-based electrocardiogram analysis improves atrial arrhythmia detection from a smartwatch electrocardiogram. European Heart Journal - Digital Health, 5(5), 535–541. https://doi.org/10.1093/ehjdh/ztae047
32. Lu, S. C., Chen, G. Y., Liu, A. S., Sun, J. T., Gao, J. W., Huang, C. H., Tsai, C. L., & Fu, L. C. (2025). Deep Learning-Based Electrocardiogram Model (EIANet) to Predict Emergency Department Cardiac Arrest: Development and External Validation Study. Journal of Medical Internet Research, 27, e67576. https://doi.org/10.2196/67576
33. Kaur, D., Hughes, J. W., Rogers, A. J., Kang, G., Narayan, S. M., Ashley, E. A., et al. (2024). Race, Sex, and Age Disparities in the Performance of ECG Deep Learning Models Predicting Heart Failure. Circulation: Heart Failure. https://doi.org/10.1161/CIRCHEARTFAILURE.123.010879
34. Akram, M. J., Nawaz, A., Yuxing, Y., Zhang, J., Haixin, H., Liu, L., Qian, X., & Tian, J. (2025). Machine learning based insights into cardiomyopathy and heart failure research: a bibliometric analysis from 2005 to 2024. Frontiers in Medicine, 12, 1602077. https://doi.org/10.3389/fmed.2025.1602077
35. Lin, C. H., Liu, Z. Y., Chu, P. H., Chen, J. S., Wu, H. H., Wen, M. S., Kuo, C. F., & Chang, T. Y. (2025). A multitask deep learning model utilizing electrocardiograms for major cardiovascular adverse events prediction. npj Digital Medicine, 8, 1. https://doi.org/10.1038/s41746-024-01410-3
36. Tashchuk, V. K., Malinevska-Biliichuk, O. V., Ivanchuk, P. R., & Polianska, O. S. (2023). ST-segment elevation myocardial infarction and the clinical significance of differentiated electrocardiogram. Zaporozhye Medical Journal, 25(3), 193–197. https://doi.org/10.14739/2310-1210.2023.3.267269
37. Latifoğlu, F., Zhusupova, A., İnce, M., Ertürk, N. A., Özdet, B., İçer, S., Güven, A., Avşaroğulları, Ö. L., Keleşoğlu, Ş., & Kalay, N. (2024). Preliminary Study Based on Myocardial Infarction Classification of 12-Lead Electrocardiography Images with Deep Learning Methods. The European Journal of Research and Development, 4(1), 42–54. https://doi.org/10.56038/ejrnd.v4i1.421
38. Gutierrez-Garcia, J. O., Roman-Rangel, E., & Rendón-Mancha, J. M. (2026). Deep Learning for Myocardial Infarction Detection Using Electrocardiogram Images: A Systematic Review. Mathematics, 14(4), 613. https://doi.org/10.3390/math14040613
39. Musa, N., Gital, A. Y., Aljojo, N., Chiroma, H., Adewole, K. S., Mojeed, H. A., Faruk, N., Abdulkarim, A., Emmanuel, I., Folawiyo, Y. Y., et al. (2023). A systematic review and meta-data analysis on the applications of Deep Learning in Electrocardiogram. Journal of Ambient Intelligence and Humanized Computing, 14, 9677–9750. https://doi.org/10.1007/s12652-022-03868-z
40. Elvas, L. B., Almeida, A., & Ferreira, J. C. (2025). The Role of AI in Cardiovascular Event Monitoring and Early Detection: Scoping Literature Review. JMIR Medical Informatics, 13, e64349. https://doi.org/10.2196/64349
41. Petmezas, G., Stefanopoulos, L., Kilintzis, V., Tzavelis, A., Rogers, J. A., Katsaggelos, A. K., & Maglaveras, N. (2022). State-of-the-art deep learning methods on electrocardiogram data: Systematic review. JMIR Medical Informatics, 10, e38454. https://doi.org/10.2196/38454
42. Hutor, T. H., Kolinkovskyi, O. M., Lafarenko, O.-R. V., Tyshko, L. O., Timchenko, N. F., & Omelyash, U. V. (2025). Epidemiology of cardiovascular diseases in Ukraine: general trends. Public Health Journal, (1), 77–84. https://doi.org/10.32782/pub.health.2025.1.11
43. Prazdnikova, M. O. (2024). Prognosis and risk assessment of myocardial infarction based on a set of medical report texts. Cybernetics and Computer Technologies, 3, 71–80. https://doi.org/10.34229/2707-451X (in Ukrainian)
44. Popov, A., Stasiuk, V., & Chaikovsky, I. (2025). Predictive Modeling of Echocardiographic Parameters Using Electrocardiogram Features via Machine Learning Methods as a Tool for Assessing of Functional Status of Military Personnel. In Proceedings of the 5th International Workshop of IT-Professionals on Artificial Intelligence (ProfIT AI 2025), 494–500. https://scholar.google.com/citations?view_op=view_citation&hl=ru&user=xL31bdMAAAAJ&sortby=pubdate&citation_for_view=xL31bdMAAAAJ:_OXeSy2IsFwC
45. Thao, V., Zhu, Y., Tseng, A. S., Inselman, J. W., Borah, B. J., McCoy, R. G., Attia, Z. I., Lopez-Jimenez, F., Pellikka, P. A., Rushlow, D. R., Friedman, P. A., Noseworthy, P. A., & Yao, X. (2024). Cost-Effectiveness of Artificial Intelligence-Enabled Electrocardiograms for Early Detection of Low Ejection Fraction: A Secondary Analysis of the Electrocardiogram Artificial Intelligence-Guided Screening for Low Ejection Fraction Trial. Mayo Clinic Proceedings: Digital Health, 2(4), 620–631. https://doi.org/10.1016/j.mcpdig.2024.10.001
46. Центр громадського здоров'я МОЗ України. (2021). Серцево-судинні захворювання — головна причина смерті українців. Висновки з дослідження Глобального тягаря хвороб у 2019 році.https://phc.org.ua/news/sercevo-sudinni-zakhvoryuvannya-golovna-prichina-smerti-ukrainciv-visnovki-z-doslidzhennya

ISSN
ISSN 












