Paper Title: A hybrid 1D-CNN and Bi-LSTM framework for myocardial infarction detection from single-lead ECG signals
Authors: Mohammed S. Hamid, Ahmed S. Naseri, Hanan H. Al-Nidawi, Farah K. AL-Jibory
Corresponding Author: Farah K. AL-Jibory ( csd1b0037@gmail.com)/Iraq
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.