Main Article Content

Abstract

The electrocardiogram (ECG) is a key tool for the early detection of cardiac disease, and deep learning can support its automated interpretation. Convolutional models capture local waveform morphology but do not explicitly model temporal context, whereas purely recurrent models are less effective at extracting morphology from raw signals. This study evaluates a hybrid architecture in which a one-dimensional convolutional neural network (1D-CNN) extracts local morphological features and a bidirectional long short-term memory (Bi-LSTM) network models forward and backward temporal context. The task is binary classification of myocardial infarction (MI) versus healthy control using lead II of the PhysioNet PTB Diagnostic ECG Database. Signals were high-pass filtered, min–max normalized, and divided into fixed-length segments of 512 samples, and the subjects were split at the patient level into training (64%), validation (16%), and test (20%) sets so that no patient appears in more than one set. On the held-out test set of 40 patients (30 MI, 10 healthy controls; 20,762 segments), the model classified 38 patients correctly, giving a patient-level accuracy of 95.0% (95% bootstrap confidence interval 87.5–100%), sensitivity of 100.0%, specificity of 80.0% (50.0–100%), balanced accuracy of 90.0%, F1-score of 96.8% and Matthews correlation coefficient of 0.87; at the segment level, the balanced accuracy was 77.8%. An ablation study compared the hybrid with CNN-only, Bi-LSTM-only, and CNN–LSTM variants under identical conditions. The main limitations are the use of a single lead, a single patient-wise split with only 10 healthy test patients, and the absence of external validation; the results therefore show feasibility rather than clinical readiness.

Keywords

Electrocardiogram Myocardial infarction 1D-CNN Bi-LSTM PTB Diagnostic ECG Database

Article Details

How to Cite
S. Hamid, M., S. Naseri, A., H. Al-Nidawi, H. ., & K. AL-Jibory, F. (2026). A hybrid 1D-CNN and Bi-LSTM framework for myocardial infarction detection from single-lead ECG signals. Future Technology, 6(1), 105–115. Retrieved from https://fupubco.com/futech/article/view/1223
Bookmark and Share

References

  1. J. Botros, F. Mourad-Chehade, and D. Laplanche, “CNN and SVM-based models for the detection of heart failure using electrocardiogram signals,” Sensors, vol. 22, no. 23, Art. no. 9190, 2022, doi: 10.3390/s22239190.
  2. World Health Organization, “Cardiovascular diseases (CVDs),” Fact sheet, Jul. 31, 2025. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds)
  3. K. E. Sandau et al., “Update to practice standards for electrocardiographic monitoring in hospital settings: A scientific statement from the American Heart Association,” Circulation, vol. 136, no. 19, pp. e273–e344, 2017, doi: 10.1161/CIR.0000000000000527.
  4. P. Bachtiger et al., “Point-of-care screening for heart failure with reduced ejection fraction using artificial intelligence during ECG-enabled stethoscope examination in London, UK: A prospective, observational, multicentre study,” Lancet Digit. Health, vol. 4, no. 2, pp. e117–e125, 2022, doi: 10.1016/S2589-7500(21)00256-9.
  5. T. Banerjee and İ. Paçal, “A systematic review of machine learning in heart disease prediction,” Turk. J. Biol., vol. 49, no. 5, pp. 600–634, 2025, doi: 10.55730/1300-0152.2766.
  6. R. Kumar et al., “A comprehensive review of machine learning for heart disease prediction: Challenges, trends, ethical considerations, and future directions,” Front. Artif. Intell., vol. 8, Art. no. 1583459, 2025, doi: 10.3389/frai.2025.1583459.
  7. J. P. Martínez, R. Almeida, S. Olmos, A. P. Rocha, and P. Laguna, “A wavelet-based ECG delineator: Evaluation on standard databases,” IEEE Trans. Biomed. Eng., vol. 51, no. 4, pp. 570–581, 2004, doi: 10.1109/TBME.2003.821031.
  8. A. Y. Hannun et al., “Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network,” Nat. Med., vol. 25, no. 1, pp. 65–69, 2019, doi: 10.1038/s41591-018-0268-3.
  9. M. M. Ahsan and Z. Siddique, “Machine learning-based heart disease diagnosis: A systematic literature review,” Artif. Intell. Med., vol. 128, Art. no. 102289, 2022, doi: 10.1016/j.artmed.2022.102289.
  10. V. Pandey, U. K. Lilhore, and R. Walia, “A systematic review on cardiovascular disease detection and classification,” Biomed. Signal Process. Control, vol. 102, Art. no. 107329, 2025, doi: 10.1016/j.bspc.2024.107329.
  11. Y. D. Daydulo, B. L. Thamineni, and A. A. Dawud, “Cardiac arrhythmia detection using deep learning approach and time frequency representation of ECG signals,” BMC Med. Inform. Decis. Mak., vol. 23, Art. no. 232, 2023, doi: 10.1186/s12911-023-02326-w.
  12. U. R. Acharya, H. Fujita, S. L. Oh, Y. Hagiwara, J. H. Tan, and M. Adam, “Application of deep convolutional neural network for automated detection of myocardial infarction using ECG signals,” Inf. Sci., vol. 415–416, pp. 190–198, 2017, doi: 10.1016/j.ins.2017.06.027.
  13. S. L. Oh, E. Y. K. Ng, R. S. Tan, and U. R. Acharya, “Automated diagnosis of arrhythmia using combination of CNN and LSTM techniques with variable length heart beats,” Comput. Biol. Med., vol. 102, pp. 278–287, 2018, doi: 10.1016/j.compbiomed.2018.06.002.
  14. N. Strodthoff, P. Wagner, T. Schaeffter, and W. Samek, “Deep learning for ECG analysis: Benchmarks and insights from PTB-XL,” IEEE J. Biomed. Health Inform., vol. 25, no. 5, pp. 1519–1528, 2021, doi: 10.1109/JBHI.2020.3022989.
  15. A. Paul et al., “Development of automated cardiac arrhythmia detection methods using single channel ECG signal,” arXiv preprint arXiv:2308.02405, 2023, doi: 10.48550/arXiv.2308.02405.
  16. K. Mallikarjunamallu and K. Syed, “Enhanced arrhythmia detection using filtered data, CNN, graph convolutional networks, and SVM on MIT-BIH and PTB databases,” J. Electr. Syst., vol. 20, no. 1, pp. 511–524, 2024, doi: 10.52783/jes.6078.
  17. P. Jain, A. Deshmukh, and H. Padole, “Design of an integrated arrhythmia detection model using connectivity features and multivariate time series classification,” WSEAS Trans. Inf. Sci. Appl., vol. 21, pp. 90–98, 2024, doi: 10.37394/23209.2024.21.9.
  18. D. H. Elsheikhy, A. S. Hassan, N. M. Yhiea, A. M. Fareed, and E. A. Rashed, “Lightweight deep learning architecture for multi-lead ECG arrhythmia detection,” Sensors, vol. 25, no. 17, Art. no. 5542, 2025, doi: 10.3390/s25175542.
  19. R. Bousseljot, D. Kreiseler, and A. Schnabel, “Nutzung der EKG-Signaldatenbank CARDIODAT der PTB über das Internet,” Biomed. Tech., vol. 40, suppl. 1, p. 317, 1995. PTB Diagnostic ECG Database, PhysioNet, doi: 10.13026/C28C71.
  20. A. L. Goldberger et al., “PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals,” Circulation, vol. 101, no. 23, pp. e215–e220, 2000, doi: 10.1161/01.CIR.101.23.e215.
  21. F. K. AL-Jibory, M. A. Younis, and M. S. H. Al-Tamimi, “Preparing of ECG dataset for biometric ID identification with creative techniques,” TEM J., vol. 11, no. 4, pp. 1500–1507, 2022, doi: 10.18421/TEM114-10.
  22. D. Dobrev, T. Neycheva, V. Krasteva, and I. Jekova, “Design of high-pass and low-pass active inverse filters to compensate for distortions in RC-filtered electrocardiograms,” Technologies, vol. 13, no. 4, Art. no. 159, 2025, doi: 10.3390/technologies13040159.
  23. S. Aathilakshmi, S. Balasubramaniam, T. A. Sivakumar, and V. Lakshmi Chetana, “Min–max filtering and exponential fossa optimization algorithm–based parallel convolutional neural network for heart disease detection,” Int. J. Intell. Syst., vol. 2025, Art. no. 1409684, 2025, doi: 10.1155/int/1409684.
  24. M. Sokolova and G. Lapalme, “A systematic analysis of performance measures for classification tasks,” Inf. Process. Manag., vol. 45, no. 4, pp. 427–437, 2009, doi: 10.1016/j.ipm.2009.03.002.
  25. D. Chicco and G. Jurman, “The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation,” BMC Genomics, vol. 21, Art. no. 6, 2020, doi: 10.1186/s12864-019-6413-7.