Rehman Najib Ur, Contreras Ivan, Beneyto Aleix, Vehi Josep
Department of Electrical, Electronic and Automatic Engineering, Institut d'Informatica i Applicacions, Universitat de Girona, Girona, Spain.
Professor Serra Hunter, Universitat de Girona, Girona, Spain.
PLOS Digit Health. 2025 Sep 16;4(9):e0000996. doi: 10.1371/journal.pdig.0000996. eCollection 2025 Sep.
Effective management of postprandial glycemic excursions in type 1 diabetes requires accurate prediction of adverse events and personalized insulin adjustments informed by interpretable models. This study presents an explainable dual-prediction framework that simultaneously forecasts postprandial hypoglycemia and hyperglycemia within a 4-hour window using cluster-personalized ensemble models. Glycemic profiles were identified through a hybrid unsupervised approach combining self-organizing maps and k-means clustering, enabling the training of specialized random forest classifiers. The system outperformed baseline models on both real-world and simulated datasets, achieving high performance (AUC = 0.84 and 0.93; MCC = 0.47 and 0.73 for hypo- and hyperglycemia, respectively). Model interpretability was addressed using global (SHAP) and local (LIME) explanations, while interaction analysis revealed the non-linear effects of carbohydrate intake and insulin bolus combinations. An insulin adjustment module further refined pre-meal bolus recommendations based on predicted risk. Simulated evaluations confirmed improved postprandial time-in-range and reduced hypoglycemia without excessive hyperglycemia. These results underscore the potential of profile-driven and explainable machine learning approaches to support safer, individualized diabetes care.
有效管理1型糖尿病患者餐后血糖波动需要准确预测不良事件,并通过可解释模型进行个性化胰岛素调整。本研究提出了一种可解释的双重预测框架,该框架使用聚类个性化集成模型在4小时窗口内同时预测餐后低血糖和高血糖。通过结合自组织映射和k均值聚类的混合无监督方法识别血糖谱,从而能够训练专门的随机森林分类器。该系统在真实世界和模拟数据集上均优于基线模型,在低血糖和高血糖预测方面分别实现了高性能(AUC = 0.84和0.93;MCC = 0.47和0.73)。使用全局(SHAP)和局部(LIME)解释来解决模型可解释性问题,而交互分析揭示了碳水化合物摄入量和胰岛素推注组合的非线性效应。胰岛素调整模块根据预测风险进一步优化餐前推注建议。模拟评估证实,该方法可改善餐后血糖在目标范围内的时间,并减少低血糖且不会出现过高血糖。这些结果强调了基于血糖谱和可解释的机器学习方法在支持更安全、个性化糖尿病护理方面的潜力。