skip to main content


This content will become publicly available on July 1, 2025

Title: Hypoglycemia and hyperglycemia detection using ECG: A multi-threshold based personalized fusion model
Monitoring glucose levels is critical for effective diabetes management. Continuous glucose monitoring devices estimate interstitial glucose levels and provide alerts for glycemic excursions. However, they are expensive and invasive. Therefore, low-cost, noninvasive alternatives are useful for patients with diabetes. In this article, we explore electrocardiogram signals as a potential alternative to detecting glycemic excursions by extracting intrabeat (beat-morphology) and inter-beat (heart rate variability) information. Unlike prior methods that focused only on the standard clinical excursion thresholds (70 mg/dL for hypoglycemia, 180 mg/dL for hyperglycemia), our proposed approach trains independent machine learning models at various excursion thresholds, aggregating their outputs for a final prediction. This allows learning morphological patterns in the neighborhood of the standard excursion thresholds. Our personalized fusion models achieve an AUC of 75 % for hypoglycemia and 78% for hyperglycemia detection across patients, resulting in an average improvement of 4 % compared to the baseline models (trained using only standard clinical thresholds) for detecting glycemic excursions. We also find that combining morphology and HRV information outperforms using them individually (5 % for hypoglycemia and 6 % for hyperglycemia). The data used in this article was collected from 12 patients with type-1 diabetes, each monitored over a 14-day period at Texas Children’s Hospital, Houston. The results indicate that a combination of morphological and HRV features is essential for noninvasive detection of glycemic excursions. Also, morphological changes can happen at varying glucose levels for different patients and capturing these changes provide valuable information that leads to improved prediction performance for detecting glycemic excursions.  more » « less
Award ID(s):
2037383
PAR ID:
10533611
Author(s) / Creator(s):
; ; ;
Publisher / Repository:
Elsevier
Date Published:
Journal Name:
Biomedical signal processing and control
ISSN:
1746-8094
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. Background: Monitoring glucose excursions is important in diabetes management. This can be achieved using continuous glucose monitors (CGMs). However, CGMs are expensive and invasive. Thus, alternative low-cost noninvasive wearable sensors capable of predicting glycemic excursions could be a game changer to manage diabetes. Methods: In this article, we explore two noninvasive sensor modalities, electrocardiograms (ECGs) and accelerometers, collected on five healthy participants over two weeks, to predict both hypoglycemic and hyperglycemic excursions. We extract 29 features encompassing heart rate variability features from the ECG, and time- and frequency-domain features from the accelerometer. We evaluated two machine-learning approaches to predict glycemic excursions: a classification model and a regression model. Results: The best model for both hypoglycemia and hyperglycemia detection was the regression model based on ECG and accelerometer data, yielding 76% sensitivity and specificity for hypoglycemia and 79% sensitivity and specificity for hyperglycemia. This had an improvement of 5% in sensitivity and specificity for both hypoglycemia and hyperglycemia when compared with using ECG data alone. Conclusions: Electrocardiogram is a promising alternative not only to detect hypoglycemia but also to predict hyperglycemia. Supplementing ECG data with contextual information from accelerometer data can improve glucose prediction. 
    more » « less
  2. OBJECTIVE

    To determine the benefit of starting continuous glucose monitoring (CGM) in adult-onset type 1 diabetes (T1D) and type 2 diabetes (T2D) with regard to longer-term glucose control and serious clinical events.

    RESEARCH DESIGN AND METHODS

    A retrospective observational cohort study within the Veterans Affairs Health Care System was used to compare glucose control and hypoglycemia- or hyperglycemia-related admission to an emergency room or hospital and all-cause hospitalization between propensity score overlap weighted initiators of CGM and nonusers over 12 months.

    RESULTS

    CGM users receiving insulin (n = 5,015 with T1D and n = 15,706 with T2D) and similar numbers of nonusers were identified from 1 January 2015 to 31 December 2020. Declines in HbA1c were significantly greater in CGM users with T1D (−0.26%; 95% CI −0.33, −0.19%) and T2D (−0.35%; 95% CI −0.40, −0.31%) than in nonusers at 12 months. Percentages of patients achieving HbA1c <8 and <9% after 12 months were greater in CGM users. In T1D, CGM initiation was associated with significantly reduced risk of hypoglycemia (hazard ratio [HR] 0.69; 95% CI 0.48, 0.98) and all-cause hospitalization (HR 0.75; 95% CI 0.63, 0.90). In patients with T2D, there was a reduction in risk of hyperglycemia in CGM users (HR 0.87; 95% CI 0.77, 0.99) and all-cause hospitalization (HR 0.89; 95% CI 0.83, 0.97). Several subgroups (based on baseline age, HbA1c, hypoglycemic risk, or follow-up CGM use) had even greater responses.

    CONCLUSIONS

    In a large national cohort, initiation of CGM was associated with sustained improvement in HbA1c in patients with later-onset T1D and patients with T2D using insulin. This was accompanied by a clear pattern of reduced risk of admission to an emergency room or hospital for hypoglycemia or hyperglycemia and of all-cause hospitalization.

     
    more » « less
  3. Abstract

    Nocturnal hypoglycemia is a common phenomenon among patients with diabetes and can lead to a broad range of adverse events and complications. Identifying factors associated with hypoglycemia can improve glucose control and patient care. We propose a repeated measures random forest (RMRF) algorithm that can handle nonlinear relationships and interactions and the correlated responses from patients evaluated over several nights. Simulation results show that our proposed algorithm captures the informative variable more often than naïvely assuming independence. RMRF also outperforms standard random forest and extremely randomized trees algorithms. We demonstrate scenarios where RMRF attains greater prediction accuracy than generalized linear models. We apply the RMRF algorithm to analyze a diabetes study with 2524 nights from 127 patients with type 1 diabetes. We find that nocturnal hypoglycemia is associated with HbA1c, bedtime blood glucose (BG), insulin on board, time system activated, exercise intensity, and daytime hypoglycemia. The RMRF can accurately classify nights at high risk of nocturnal hypoglycemia.

     
    more » « less
  4. Abstract

    Continuous monitoring of blood glucose (BG) levels is a key aspect of diabetes management. Patients with Type-1 diabetes (T1D) require an effective tool to monitor these levels in order to make appropriate decisions regarding insulin administration and food intake to keep BG levels in target range. Effectively and accurately predicting future BG levels at multi-time steps ahead benefits a patient with diabetes by helping them decrease the risks of extremes in BG including hypo- and hyperglycemia. In this study, we present a novel multi-component deep learning model that predicts the BG levels in a multi-step look ahead fashion. The model is evaluated both quantitatively and qualitatively on actual blood glucose data for 97 patients. For the prediction horizon (PH) of 30 mins, the average values forroot mean squared error(RMSE),mean absolute error(MAE),mean absolute percentage error(MAPE), andnormalized mean squared error(NRMSE) are$$23.22 \pm 6.39$$23.22±6.39mg/dL, 16.77 ± 4.87 mg/dL,$$12.84 \pm 3.68$$12.84±3.68and$$0.08 \pm 0.01$$0.08±0.01respectively. When Clarke and Parkes error grid analyses were performed comparing predicted BG with actual BG, the results showed average percentage of points in Zone A of$$80.17 \pm 9.20$$80.17±9.20and$$84.81 \pm 6.11,$$84.81±6.11,respectively. We offer this tool as a mechanism to enhance the predictive capabilities of algorithms for patients with T1D.

     
    more » « less
  5. Background:

    Remote patient monitoring (RPM) programs augment type 1 diabetes (T1D) care based on retrospective continuous glucose monitoring (CGM) data. Few methods are available to estimate the likelihood of a patient experiencing clinically significant hypoglycemia within one week.

    Methods:

    We developed a machine learning model to estimate the probability that a patient will experience a clinically significant hypoglycemic event, defined as CGM readings below 54 mg/dL for at least 15 consecutive minutes, within one week. The model takes as input the patient’s CGM time series over a given week, and outputs the predicted probability of a clinically significant hypoglycemic event the following week. We used 10-fold cross-validation and external validation (testing on cohorts different from the training cohort) to evaluate performance. We used CGM data from three different cohorts of patients with T1D: REPLACE-BG (226 patients), Juvenile Diabetes Research Foundation (JDRF; 355 patients) and Tidepool (120 patients).

    Results:

    In 10-fold cross-validation, the average area under the receiver operating characteristic curve (ROC-AUC) was 0.77 (standard deviation [SD]: 0.0233) on the REPLACE-BG cohort, 0.74 (SD: 0.0188) on the JDRF cohort, and 0.76 (SD: 0.02) on the Tidepool cohort. In external validation, the average ROC-AUC across the three cohorts was 0.74 (SD: 0.0262).

    Conclusions:

    We developed a machine learning algorithm to estimate the probability of a clinically significant hypoglycemic event within one week. Predictive algorithms may provide diabetes care providers using RPM with additional context when prioritizing T1D patients for review.

     
    more » « less