Enhancing Nocturnal Hypoglycemia Prediction Through Ensemble Feature Selection and Synthetic Data Augmentation
Open Access
- 5 November 2026
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 16 (21) , 10984
Abstract
Nocturnal hypoglycemia (NH), which occurs when blood glucose levels fall below 70 mg/dL during sleep, remains a common complication in people with type 1 diabetes. Despite advances in continuous glucose monitoring (CGM), controlling both glucose and glycemic events remains challenging. Artificial Intelligence (AI) models are promising for identifying CGM patterns associated with NH and support its prediction, thereby reducing associated complications. However, two main challenges limit the performance of AI-based models for NH: (i) the class imbalance caused by the low number of NH events in the datasets; and (ii) the high-dimensionality caused by the extraction of CGM-derived features. To address this, we propose a two-stage methodology that combines ensemble feature selection (FS) methods and synthetic data augmentation techniques. We employed CGM features extracted using two window-based approaches (non-overlapping and overlapping) with three, four, and six windows. Model interpretability is provided through feature analysis using Shapley additive explanations (SHAP), enabling the identification of associated NH factors. We employed CGM data from 52 individuals with T1D, collected at Complejo Hospitalario Insular-Materno Infantil de Las Palmas de Gran Canaria, Spain. Among the evaluated configurations, the six-window configuration yielded the highest reported predictive performance. The two LR models examined in the SHAP analysis, both trained with RUS and overlapping windows, achieved test-set AUCROC values of 0.7403 using all features and 0.7400 using the selected feature subset, calculated from continuous prediction scores. Our findings extend prior evidence on temporal CGM representations to an adult NH setting not restricted to exercise-associated nights, using bootstrap-based Relief FS and alternative windowing configurations. Our interpretable methodology provides a clinically relevant approach for the early prediction of NH, supporting decision-making and enhancing the effectiveness of CGM-based monitoring systems. The proposed methodology may support timely preventive interventions and contribute to improving patient safety and confidence in diabetes management.Keywords
All Related Versions
Funding Information
- European Commission (H2020-EU.3.1.4.2)
- European Project WARIFA (101017385)
- Spanish Government (AAVis-BMR PID2019-107768RA-I00/AEI/10.13039/50110 0011033)
- HEALTHtray (PID2023-149457OB-I00)
This publication has 39 references indexed in Scilit:
- A personalized federated learning-based glucose prediction algorithm for high-risk glycemic excursion regions in type 1 diabetesScientific Reports, 2025
- Don’t push the button! Exploring data leakage risks in machine learning and transfer learningArtificial Intelligence Review, 2025
- Personalized glucose forecasting for people with type 1 diabetes using large language modelsComputer Methods and Programs in Biomedicine, 2025
- Interpretable and multimodal fusion methodology to predict severe hypoglycemia in adults with type 1 diabetesEngineering Applications of Artificial Intelligence, 2025
- Global incidence, prevalence, and mortality of type 1 diabetes in 2021 with projection to 2040: a modelling studyThe Lancet Diabetes & Endocrinology, 2022
- Explanation of machine learning models using shapley additive explanation and application for real data in hospitalComputer Methods and Programs in Biomedicine, 2022
- Type 1 Diabetes, Sleep, and HypoglycemiaCurrent Diabetes Reports, 2021
- Relief-based feature selection: Introduction and reviewJournal of Biomedical Informatics, 2018
- Continuous glucose monitoring: A review of the technology and clinical useDiabetes Research and Clinical Practice, 2017
- Nocturnal hypoglycemia in patients with insulin-treated diabetesDiabetes Research and Clinical Practice, 2004