Research Article

Interaction-Enhanced and Explainable Machine Learning for Diabetes Risk Prediction

Zhiyuan Chen*
Northeastern University

* Corresponding author: [email protected]

Abstract

Diabetes mellitus is a common chronic metabolic disease for which early diagnosis is crucial for prevention and treatment. As the amount of structured clinical information grows, machine learning has emerged as a valuable instrument to predict diabetes risk; nevertheless, several studies demonstrate the application of machine learning models to diabetes risk prediction based on original clinical features, while highlighting a general lack of systematic inspection of feature combinations and model interpretability. Various machine learning models have been built and tested in this research to predict diabetes risk using structured clinical data. Clinically motivated interaction terms were built to capture nonlinear physiological relationships, and a two-criterion selection approach using tree-based split gain and SHAP importance was used to identify meaningful interactions. An interaction-enhanced XGBoost model was then trained and compared with baseline and complete-interaction models using conventional classification metrics. The results of the experiment indicate that the noise created by indiscriminate inclusion of interaction features can lead to degraded generalization performance and that selectively retained interactions can increase sensitivity without compromising the discriminative performance. Glucose, BMI, and age were also identified as dominant predictors and verified in diabetes prediction through feature ablation analysis. Furthermore, the SHAP interpretability analysis presented clear and clinically coherent model behavior explanations. Overall, the developed framework implies that there is a sensible trade-off between predictive efficiency and interpretability, which highlights the importance of focused feature interaction modeling of reliable predictive and explainable diabetes risk assessments.

Keywords: Diabetes prediction; Machine learning; Feature interaction; XGBoost; Model interpretability
Published: January 20, 2026
DOI: 10.54254/2755-2721/2026.TJ31360
Volume: ACE Vol.222
pp. 64-71
Download PDF

References

  1. Rastogi, R. and Bansal, M. (2023) Diabetes prediction model using data mining techniques. Measurement: Sensors, 25, 100605. https: //doi.org/10.1016/j.measen.2022.100605
  2. Khanam, J.J. and Foo, S.Y. (2021) A comparison of machine learning algorithms for diabetes prediction. ICT Express, 7, 432-439. https: //doi.org/10.1016/j.icte.2021.02.004
  3. Jaiswal, V., Negi, A. and Pal, T. (2021) A review on current advances in machine learning based diabetes prediction. Primary Care Diabetes, 15(3), 435–443. https: //doi.org/10.1016/j.pcd.2021.02.005
  4. Prendin, F., Pavan, J., Cappon, G., Del Favero, S., Sparacino, G. and Facchinetti, A. (2023) The importance of interpreting machine learning models for blood glucose prediction in diabetes: an analysis using SHAP. Scientific Reports, 13, Article 16865.
  5. Kee, O.T., Harun, H., Mustafa, N., Abdul Murad, N.A., Chin, S.F., Jaafar, R. and Abdullah, N. (2023) Cardiovascular complications in a diabetes prediction model using machine learning: a systematic review. Cardiovascular Diabetology, 22, Article 13.
  6. Kiran, M., Xie, Y., Anjum, N., Ball, G., Pierscionek, B. and Russell, D. (2025) Machine learning and artificial intelligence in type 2 diabetes prediction: a comprehensive 33-year bibliometric and literature analysis. Frontiers in Digital Health, 7, Article 1557467.
  7. Tasin, I., Nabil, T.U., Islam, S. and Khan, R. (2022) Diabetes prediction using machine learning and explainable AI techniques. Healthcare Technology Letters. https: //doi.org/10.1049/htl2.12039
  8. Liu, Q., Ma, Y. and Cai, Y. (2023) Diabetes classification and prediction based on the XGBoost algorithm and its applications. Journal of Shanghai University of Medicine & Health Sciences, 42(4), 1–7.
  9. Ahmed, S., Kaiser, M.S., Hossain, M.S. and Andersson, K. (2024) A Comparative Analysis of LIME and SHAP Interpreters with Explainable ML-Based Diabetes Predictions. IEEE Access, 13, 37370–37388.
  10. Dharmarathne, G., Jayasinghe, T.N., Bogahawaththa, M., Meddage, D.P.P. and Rathnayake, U. (2024) A novel machine learning approach for diagnosing diabetes with a self-explainable interface. Healthcare Analytics, 5, 100301.