Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Sep 24:14:651.
doi: 10.12688/f1000research.166307.2. eCollection 2025.

Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease

Affiliations

Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease

Cenitta D et al. F1000Res. .

Abstract

Background: Early and accurate prediction of Ischemic Heart Disease (IHD) is critical to reducing cardiovascular mortality through timely intervention. While deep learning (DL) models have shown promise in disease prediction, many lack interpretability, generalizability, and fairness-particularly when deployed across demographically diverse populations. These shortcomings limit clinical adoption and risk reinforcing healthcare disparities.

Methods: This study proposes a novel model: X-TLRABiLSTM (Explainable Transfer Learning-based Residual Attention Bidirectional LSTM). The architecture integrates transfer learning from pre-trained cardiovascular models into a BiLSTM framework with residual attention layers to improve temporal feature extraction and convergence. To ensure transparency, the model incorporates SHAP (SHapley Additive exPlanations) to quantify the contribution of each clinical feature to the final prediction. Additionally, a demographic reweighting strategy is applied to the training process to reduce bias across subgroups defined by age, gender, and ethnicity. The model was evaluated on the UCI Heart Disease dataset using 10-fold cross-validation.

Results: The X-TLRABiLSTM model achieved a classification accuracy of 98.2%, with an F1-score of 98.1% and an AUC of 99.1%, outperforming standard ML classifiers and state-of-the-art DL baselines. SHAP-based interpretability analysis highlighted clinically relevant predictors such as chest pain type, ST depression, and thalassemia. A fairness-aware reweighting strategy was applied during training, and fairness evaluation revealed minimal performance disparity across demographic subgroups, with F1-score gaps ≤ 0.6% and error rate gaps ≤ 0.4%. Confusion matrix analysis demonstrated low false-positive and false-negative rates, reinforcing the model's reliability for clinical deployment.

Conclusions: X-TLRABiLSTM offers a highly accurate, interpretable, and demographically fair framework for IHD prognosis. By combining transfer learning, residual attention, explainable AI, and fairness-aware optimization, this model advances trustworthy AI in healthcare. Its successful performance on benchmark clinical data supports its potential for real-world integration in ethical, AI-assisted cardiovascular diagnostics.

Keywords: Bidirectional LSTM (BiLSTM); Clinical Decision Support Systems; Deep Learning; Demographic Bias Mitigation; Explainable AI (XAI); Fairness in AI; Ischemic Heart Disease (IHD); Residual Attention Mechanism; SHAP; Transfer Learning.

PubMed Disclaimer

Conflict of interest statement

No competing interests were disclosed.

Figures

Figure 1.
Figure 1.. Explainable transfer learning-based residual attention BiLSTM model architecture.
Figure 2.
Figure 2.. Performance comparison of X-TLRABiLSTM and baseline models (Accuracy, F1-score, and AUC).
Figure 3.
Figure 3.. ROC curve showing high discrimination performance of the proposed X-TLRABiLSTM model (AUC = 0.991).
Figure 4.
Figure 4.. Confusion matrix diagram for the best-performing X-TLRABiLSTM model and analyze the TP, FP, TN, and FN.
Figure 5.
Figure 5.. SHAP summary plot illustrating feature contributions to ischemic heart disease prediction.
Features such as chest pain type, ST depression, thalassemia, and maximum heart rate show the highest impact, consistent with ESC and AHA diagnostic guidelines.
Figure 6.
Figure 6.. Fairness evaluation for the X-TLRABiLSTM model.

References

    1. World Health Organization: Cardiovascular Diseases (CVDs). 2023. Reference Source
    1. Bottardi A, et al. : Clinical Updates in Coronary Artery Disease: A Comprehensive Review. J. Clin. Med. 2024;13(16):4600. - PMC - PubMed
    1. Cenitta D, et al. : Ischemic Heart Disease Prognosis: A Hybrid Residual Attention-Enhanced LSTM Model. IEEE Access. 2024.
    1. Bhavekar GS, Goswami AD: A hybrid model for heart disease prediction using recurrent neural network and long short term memory. Int. J. Inf. Technol. 2022;14(4):1781–1789.
    1. Liu Y, et al. : Automatic detection of ECG abnormalities by using an ensemble of deep residual networks with attention. Machine Learning and Medical Engineering for Cardiovascular Health and Intravascular Imaging and Computer Assisted Stenting: First International Workshop, MLMECH 2019, and 8th Joint International Workshop, CVII-STENT 2019, Held in Conjunction with MICCAI 2019, Shenzhen, China, October 13, 2019, Proceedings 1. Springer International Publishing;2019.

LinkOut - more resources