MUET logo

XAI-Driven Stacking Ensemble for Cross-Disease Feature Modification and Clinical Insights

Authors

  • Shakeel Ahmad

    Department of Computer Science, Faculty of Computing and Information Technology in Rabigh (FCITR), King Abdulaziz University, Jeddah, Saudi Arabia.
    Author
  • Sheikh Muhammad Saqib

    Department of Computing and Information Technology, Gomal University, Dera Ismail Khan, Pakistan
    Author
  • Asif Hassan Syed

    Department of Computer Science, Faculty of Computing and Information Technology in Rabigh (FCITR), King Abdulaziz University, Jeddah, Saudi Arabia.
    Author
  • Ali Ahmed Abdelrahim

    Department of Computer Science, Faculty of Computing and Information Technology in Rabigh (FCITR), King Abdulaziz University, Jeddah, Saudi Arabia.
    Author
  • Nashwan Alromema

    Department of Computer Science, Faculty of Computing and Information Technology in Rabigh (FCITR), King Abdulaziz University, Jeddah, Saudi Arabia.
    Author

DOI:

https://doi.org/10.22581/0651

Keywords:

Stacking Classifier , Diverse Counterfactual Explanations (DiCE) , Explainable AI (XAI), Random Forest (RF), Gradient Boosting (GB), Support Vector Classifier (SVC)

Abstract

There is an increasing need to have timely and accurate clinical advice in management of diseases. Predictive models should be precise and in addition, clinically significant. The current literature is lacking in this aspect, and it does not satisfy this standard in many cases. This is filled by a complex also Stacking Classifier that attempts to predict in a multi-class manner five health conditions Bronchitis, Cold, Flu, Healthy and Pneumonia out of only structured symptom and vital sign data. The group incorporates the Random Forest (RF), Gradient Boosting (GB) and Support Vector Classifier (SVC) as the base learners, with a Logistic Regression (LR) meta-classifier condensing them. In contrast to the previous ones, which may rely only on high accuracy, our approach is based on the more developed interpretability framework, beginning with Explainable AI (XAI) through Local Interpretable Model-agnostic Explanations (LIME) to guarantee the transparency of predictions. The originality as well as its distinctiveness is the use of the Diverse Counterfactual Explanations (DiCE) framework that approximates the minimum changes in the independent features to convert a patient to a new disease and, thus, creates an individualized intervention approach. ADASYN pre-processing resulted in a good overall accuracy and Weighted F1-score of 94% in the model. Together with the actionability made available through DiCE, these overall results indicate that our proposed model is the most performant solution, which can provide excellent performance and unprecedented clinical value compared to current literature. This combined XAI framework extends past the conventional diagnostic tools to offer a proscriptive, action-based and trustworthy system of the personalized management of respiratory health. The performance rates of the proposed stacking model are also always higher compared to those presented in the literature of benchmarks on the case of multi-class respiratory disease prediction.

Downloads

References

[1] E. L. Ray and N. G. Reich, “Prediction of infectious disease epidemics via weighted density ensembles,” PLoS Comput. Biol., vol. 14, no. 2, 2018, doi: 10.1371/journal.pcbi.1005910.

[2] C. Viboud, L. Simonsen, and G. Chowell, “A generalized-growth model to characterize the early ascending phase of infectious disease outbreaks,” Epidemics, vol. 15, pp. 27–37, 2016, doi: 10.1016/j.epidem.2016.01.002.

[3] A. Mobeen, M. Shafiq, M. H. Aziz, and M. J. Mohsin, “Impact of workflow interruptions on baseline activities of the doctors working in the emergency department,” BMJ Open Qual., vol. 11, no. 3, 2022, doi: 10.1136/bmjoq-2022-001813.

[4] T. A. Kakani, J. Vedula, M. Mohammed, R. Gupta, K. Hudani, and N. Yuvaraj, “Developing Predictive Models for Disease Diagnosis using Machine Learning and Deep Learning Techniques,” Proc. 6th Int. Conf. Intell. Commun. Technol. Virtual Mob. Networks, ICICV 2025, pp. 158–163, 2025, doi: 10.1109/ICICV64824.2025.11085894.

[5] D. M. Sunil and P. V. Joshi, “Early Prediction of Chronic Diseases Through Multimodal Data Fusion in Machine Learning: A Survey,” Proc. 7th Int. Conf. Intell. Sustain. Syst. ICISS 2025, pp. 1108–1115, 2025, doi: 10.1109/ICISS63372.2025.11076438.

[6] Anjali Yadav, Shruti Dwivedi, Anubhav Dwivedi, Ujjwal Thakur, and Dr. Nikhat Akhtar, “Intelligent Disease Diagnosis: A Multi-Disease Prediction Approach Using Machine Learning,” Int. J. Sci. Res. Sci. Eng. Technol., vol. 12, no. 3, pp. 98–109, 2025, doi: 10.32628/ijsrset251235.

[7] H. Sadr et al., “Unveiling the potential of artificial intelligence in revolutionizing disease diagnosis and prediction: a comprehensive review of machine learning and deep learning approaches,” Eur. J. Med. Res., vol. 30, no. 1, 2025, doi: 10.1186/s40001-025-02680-7.

[8] S. Sarker, S. R. Refat, F. F. Preotee, T. R. Shawon, and R. Tanvir, “Comprehensive Lung Disease Detection Using Deep Learning Models and Hybrid Chest X-ray Data with Explainable AI,” 2024 27th Int. Conf. Comput. Inf. Technol. ICCIT 2024 - Proc., pp. 2279–2284, 2024, doi: 10.1109/ICCIT64611.2024.11022605.

[9] T. T. Ifty, S. A. Shafin, S. M. Shahriar, and T. Towhid, “Explainable Lung Disease Classification from Chest X-Ray Images Utilizing Deep Learning and XAI,” 2024 IEEE 3rd Int. Conf. Comput. Mach. Intell. ICMI 2024 - Proc., 2024, doi: 10.1109/ICMI60790.2024.10586202.

[10] A. Mabrouk, R. P. D. Redondo, A. Dahou, M. A. Elaziz, and M. Kayed, “Pneumonia Detection on Chest X-ray Images Using Ensemble of Deep Convolutional Neural Networks,” Appl. Sci., vol. 12, no. 13, 2022, doi: 10.3390/app12136448.

[11] E. Yanar, F. Hardalaç, and K. Ayturan, “PELM: A Deep Learning Model for Early Detection of Pneumonia in Chest Radiography,” Appl. Sci., vol. 15, no. 12, 2025, doi: 10.3390/app15126487.

[12] R. Vyas and D. R. Khadatkar, “Ensemble of Deep Learning Architectures with Machine Learning for Pneumonia Classification Using Chest X-rays,” J. Imaging Informatics Med., vol. 38, no. 2, pp. 727–746, 2025, doi: 10.1007/s10278-024-01201-y.

[13] S. M. Baik, K. S. Hong, J. M. Lee, and D. J. Park, “Integrating ensemble and machine learning models for early prediction of pneumonia mortality using laboratory tests,” Heliyon, vol. 10, no. 14, 2024, doi: 10.1016/j.heliyon.2024.e34525.

[14] M. S. I. Sumon, M. S. A. Hossain, H. Al-Sulaiti, H. M. Yassine, and M. E. H. Chowdhury, “Enhancing Influenza Detection through Integrative Machine Learning and Nasopharyngeal Metabolomic Profiling: A Comprehensive Study,” Diagnostics, vol. 14, no. 19, 2024, doi: 10.3390/diagnostics14192214.

[15] X. Xue et al., “Design and Analysis of a Deep Learning Ensemble Framework Model for the Detection of COVID-19 and Pneumonia Using Large-Scale CT Scan and X-ray Image Datasets,” Bioengineering, vol. 10, no. 3, 2023, doi: 10.3390/bioengineering10030363.

[16] K. Hashmi, M.F., Husain, A.A., “Hybrid deep learning and handcrafted feature fusion for pneumonia detection in chest X-rays,” J. Electr. Syst. Inf Technol, vol. 19, no. 94, 2025, doi: https://doi.org/10.1186/s43067-025-00284-z.

[17] “https://www.kaggle.com/datasets/miadul/holistic-health-and-lifestyle-score-dataset”.

Published

2026-04-01

How to Cite

XAI-Driven Stacking Ensemble for Cross-Disease Feature Modification and Clinical Insights. (2026). Mehran University Research Journal of Engineering and Technology, 45(2), 146-161. https://doi.org/10.22581/0651

Similar Articles

1-10 of 87

You may also start an advanced similarity search for this article.