(2) Nisrina Hanifa Setiono
(3) Bella Okta Sari Miranda
(4) Affan Hilmy Natsir
*corresponding author
AbstractChronic disease prediction using machine learning is often limited by the black-box nature of models, which hinders clinical interpretability. This study proposes a hybrid explainable AI framework that integrates three computational novelties to improve transparency and usability of model explanations. The framework is evaluated on three public datasets: UCI Chronic Kidney Disease, Pima Indians Diabetes, and Cleveland Heart Disease, using XGBoost, Random Forest, and LightGBM with stratified 10-fold cross-validation. The methodology includes leakage-aware preprocessing with a split-first strategy, parallel SHAP and LIME explanation generation, and three novel modules. The first is the SHAP-LIME Consensus Score (SLCS), which measures explanation reliability using Spearman rank correlation. The second is an LLM-based narrative module using LLaMA via Ollama with a fallback mechanism to generate three-sentence clinical explanations. The third is the Explanation Fidelity Score (EFS), which quantifies how well narratives reflect SHAP-important features. Results show that leakage auditing identifies five clinical-diagnostic features in the CKD dataset that were removed on KDIGO-2012 grounds (none of which individually exceeded the |r| > 0.85 correlation threshold), preventing the artificially inflated accuracy values (~0.99) reported in earlier studies. Most instances fall into the Moderate-to-High SLCS category under a Rank-Biased-Overlap-based consensus metric. At the same time, a fairness-corrected comparison against a SHAP-only baseline shows that automated fidelity scoring alone favors literal feature enumeration over natural-language narratives, motivating a human-in-the-loop evaluation protocol as a necessary complement to automated metrics. The proposed framework effectively bridges the gap between technical interpretability and user-level understanding.
KeywordsExplainable artificial intelligence; SHAP-LIME consensus score; The LLM Narrative Generation; Chronic Disease Prediction; Explanation fidelity score
|
DOIhttps://doi.org/10.26555/ijain.v12i4.2537 |
Article metricsAbstract views : 3 |
Cite |
References
[1] F. M. Delpino, Â. K. Costa, S. R. Farias, A. D. P. Chiavegatto Filho, R. A. Arcêncio, and B. P. Nunes, “Machine learning for predicting chronic diseases: a systematic review,” Public Health, vol. 205, no. April, pp. 14–25, Apr. 2022, doi: 10.1016/j.puhe.2022.01.007.
[2] A. Mohajer-Bastami et al., “Artificial intelligence in healthcare: applications, challenges, and future directions. A narrative review informed by international, multidisciplinary expertise,” Front. Digit. Heal., vol. 7, p. 1644041, Nov. 2025, doi: 10.3389/fdgth.2025.1644041.
[3] B. Amiri-Ramsheh et al., “Toward accurate prediction of carbon dioxide (CO2) compressibility factor using tree-based intelligent schemes (XGBoost and LightGBM) and equations of state,” Results Eng., vol. 25, no. March, p. 104035, Mar. 2025, doi: 10.1016/j.rineng.2025.104035.
[4] J. Zhang et al., “Machine learning modeling using XGBoost and LightGBM for predicting the minimum ignition temperature of rice husk dust based on the synergistic effect of dispersion pressure and crushed brown rice,” Powder Technol., vol. 453, no. March, p. 120682, Mar. 2025, doi: 10.1016/j.powtec.2025.120682.
[5] I. Abousaber, H. F. Abdallah, and H. El-Ghaish, “Robust predictive framework for diabetes classification using optimized machine learning on imbalanced datasets,” Front. Artif. Intell., vol. 7, no. January, p. 1499530, Jan. 2025, doi: 10.3389/frai.2024.1499530.
[6] M.-Y. Du, M.-K. Lyu, H.-L. Liu, Y. Li, H.-F. Yan, and X.-H. Li, “Machine Learning–Based Risk Prediction for Coronary Heart Disease Complicated by Hyperhomocysteinemia: Retrospective Study,” JMIR Med. Informatics, vol. 14, no. 1, pp. e80809–e80809, Mar. 2026, doi: 10.2196/80809.
[7] Z. Rafie, M. S. Talab, B. E. Z. Koor, A. Garavand, C. Salehnasab, and M. Ghaderzadeh, “Leveraging XGBoost and explainable AI for accurate prediction of type 2 diabetes,” BMC Public Health, vol. 25, no. 1, p. 3688, Oct. 2025, doi: 10.1186/s12889-025-24953-w.
[8] E. S. Ortigossa, T. Gonçalves, and L. G. Nonato, “EXplainable Artificial Intelligence (XAI)—From Theory to Methods and Applications,” IEEE Access, vol. 12, pp. 80799–80846, 2024, doi: 10.1109/ACCESS.2024.3409843.
[9] A. Budhkar, Q. Song, J. Su, and X. Zhang, “Demystifying the black box: A survey on explainable artificial intelligence (XAI) in bioinformatics,” Comput. Struct. Biotechnol. J., vol. 27, pp. 346–359, Jan. 2025, doi: 10.1016/j.csbj.2024.12.027.
[10] P.-D. Arsenault, S. Wang, and J.-M. Patenaude, “A Survey of Explainable Artificial Intelligence (XAI) in Financial Time Series Forecasting,” ACM Comput. Surv., vol. 57, no. 10, pp. 1–37, Oct. 2025, doi: 10.1145/3729531.
[11] S. Vulova et al., “Unraveling the response of forests to drought with explainable artificial intelligence (XAI),” Ecol. Indic., vol. 172, no. March, p. 113308, Mar. 2025, doi: 10.1016/j.ecolind.2025.113308.
[12] Z. Ganji, F. Nikparast, N. Shoeibi, A. Shoeibi, and H. Zare, “Decoding Parkinson’s diagnosis: An OCT-based explainable AI with SHAP/LIME transparency from the Persian Cohort Study,” Photodiagnosis Photodyn. Ther., vol. 54, p. 104668, Aug. 2025, doi: 10.1016/j.pdpdt.2025.104668.
[13] A. M. Salih et al., “A Perspective on Explainable Artificial Intelligence Methods: SHAP and LIME,” Adv. Intell. Syst., vol. 7, no. 1, p. 2400304, Jan. 2025, doi: 10.1002/aisy.202400304.
[14] C. Zhang and L. Liu, “Machine learning prediction model for medical environment comfort based on SHAP and LIME interpretability analysis,” Sci. Rep., vol. 15, no. 1, p. 39269, Nov. 2025, doi: 10.1038/s41598-025-22972-6.
[15] B. Liu, P. Liu, W. Lu, and T. Olofsson, “Explainable Artificial Intelligence (XAI) for Material Design and Engineering Applications: A Quantitative Computational Framework,” Int. J. Mech. Syst. Dyn., vol. 5, no. 2, pp. 236–265, Jun. 2025, doi: 10.1002/msd2.70017.
[16] E. Yu et al., “Large Language Models in Medicine: Applications, Challenges, and Future Directions,” Int. J. Med. Sci., vol. 22, no. 11, pp. 2792–2801, May 2025, doi: 10.7150/ijms.111780.
[17] M. Agarwal, P. Sharma, and P. Wani, “Evaluating the Accuracy and Reliability of Large Language Models (ChatGPT, Claude, DeepSeek, Gemini, Grok, and Le Chat) in Answering Item-Analyzed Multiple-Choice Questions on Blood Physiology,” Cureus, vol. 17, no. 4, pp. 1–13, Apr. 2025, doi: 10.7759/cureus.81871.
[18] K. Rezgui, “Large Language Models for Healthcare: Applications, Models, Datasets, and Challenges,” in 2024 10th International Conference on Control, Decision and Information Technologies (CoDIT), IEEE, Jul. 2024, pp. 2366–2371. doi: 10.1109/CoDIT62066.2024.10708253.
[19] H. Zouhri and A. Idri, “Feature selection and global interpretability of black-box classification for intrusion detection,” Neural Comput. Appl., vol. 37, no. 31, pp. 25835–25866, Nov. 2025, doi: 10.1007/s00521-025-11549-z.
[20] M. Shim, S.-H. Lee, and H.-J. Hwang, “Inflated prediction accuracy of neuropsychiatric biomarkers caused by data leakage in feature selection,” Sci. Rep., vol. 11, no. 1, p. 7980, Apr. 2021, doi: 10.1038/s41598-021-87157-3.
[21] G. Husain et al., “SMOTE vs. SMOTEENN: A Study on the Performance of Resampling Algorithms for Addressing Class Imbalance in Regression Models,” Algorithms, vol. 18, no. 1, p. 37, Jan. 2025, doi: 10.3390/a18010037.
[22] S. Călin, “Handling Imbalanced Data: The SMOTE Technique,” in 2025 17th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), IEEE, Jun. 2025, pp. 1–5. doi: 10.1109/ECAI65401.2025.11095450.
[23] S. Masood, M. A. Al-Bashrawi, M. A. Khan, and Y. K. Dwivedi, “From data to diagnosis: a systematic review on AI-driven approaches to diabetes prediction,” Artif. Intell. Rev., vol. 59, no. 3, p. 103, Feb. 2026, doi: 10.1007/s10462-025-11485-3.
[24] S. V Dimitrov, I. M. Vardeva, K. I. Gabrovska, and S. Simeonov, “Explainable Machine Learning for Diabetic Readmission Prediction using SHAP and XGBoost,” in 2025 XXXIV International Scientific Conference Electronics (ET), IEEE, Sep. 2025, pp. 1–6. doi: 10.1109/ET66806.2025.11204079.
[25] S. Shiranirad and Z. Barzegar, “Predictive Modeling of Drug Release from Liposomal Nano-Anticancer Drugs Using Advanced Machine Learning Techniques and TreeSHAP for Interpretability,” in 2025 Eighth International Women in Data Science Conference at Prince Sultan University (WiDS PSU), IEEE, Apr. 2025, pp. 222–228. doi: 10.1109/WiDS-PSU64963.2025.00052.
[26] J. Sun, P. Atanasova, and I. Augenstein, “Evaluating Input Feature Explanations through a Unified Diagnostic Evaluation Framework,” in Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), L. Chiruzzo, A. Ritter, and L. Wang, Eds., Stroudsburg, PA, USA: Association for Computational Linguistics, Apr. 2025, pp. 10559–10577. doi: 10.18653/v1/2025.naacl-long.530.
[27] H. Liu, M. Wu, P. Wei, H. Fan, and M. Hou, “Using SHAP and LIME to Explain Machine Learning Models Predicting Comorbid Depression and Stroke From Daily Dietary Nutrient Intake in a US Population‐Based Study,” Food Sci. Nutr., vol. 14, no. 1, p. e71401, Jan. 2026, doi: 10.1002/fsn3.71401.
[28] J. M. Brandenburg, B. P. Müller-Stich, M. Wagner, and M. van der Schaar, “Can surgeons trust AI? Perspectives on machine learning in surgery and the importance of eXplainable Artificial Intelligence (XAI),” Langenbeck’s Arch. Surg., vol. 410, no. 1, p. 53, Jan. 2025, doi: 10.1007/s00423-025-03626-7.
[29] U. Bhatt, A. Weller, and J. M. F. Moura, “Evaluating and Aggregating Feature-based Model Explanations,” in Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, C. Bessiere, Ed., California: International Joint Conferences on Artificial Intelligence Organization, Jul. 2020, pp. 3016–3022. doi: 10.24963/ijcai.2020/417.
[30] E. Mohapatra, M. Das, and S. Rath, “Deep learning-based AQI forecasting: a CNN-LSTM model with visual insights from SHAP-LIME and PDP,” Discov. Appl. Sci., vol. 7, no. 11, p. 1326, Nov. 2025, doi: 10.1007/s42452-025-07845-x.
[31] P. Hermosilla, S. Berríos, and H. Allende-Cid, “Explainable AI for Forensic Analysis: A Comparative Study of SHAP and LIME in Intrusion Detection Models,” Appl. Sci., vol. 15, no. 13, p. 7329, Jun. 2025, doi: 10.3390/app15137329.
[32] F. Liu et al., “Large Language Models Are Poor Clinical Decision-Makers: A Comprehensive Benchmark,” in Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Stroudsburg, PA, USA: Association for Computational Linguistics, 2024, pp. 13696–13710. doi: 10.18653/v1/2024.emnlp-main.759.
[33] T. Dehdarirad, “Evaluating explainability in language classification models: A unified framework incorporating feature attribution methods and key factors affecting faithfulness,” Data Inf. Manag., vol. 9, no. 4, p. 100101, Dec. 2025, doi: 10.1016/j.dim.2025.100101.
[34] N. Aoki, N. Mori, and M. OKada, “Analysis of LLM-Based Narrative Generation Using the Agent-Based Simulation,” in 2023 15th International Congress on Advanced Applied Informatics Winter (IIAI-AAI-Winter), IEEE, Dec. 2023, pp. 284–289. doi: 10.1109/IIAI-AAI-Winter61682.2023.00059.
[35] Y. Wang, Q. Zhou, and D. Ledo, “StoryVerse: Towards Co-authoring Dynamic Plot with LLM-based Character Simulation via Narrative Planning,” in Proceedings of the 19th International Conference on the Foundations of Digital Games, New York, NY, USA: ACM, May 2024, pp. 1–4. doi: 10.1145/3649921.3656987.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571 (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
andri.pranolo.id@ieee.org (publication issues)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
























