1
|
Shen Y, Kleinberg S. Personalized Blood Glucose Forecasting From Limited CGM Data Using Incrementally Retrained LSTM. IEEE Trans Biomed Eng 2025; 72:1266-1277. [PMID: 39514345 PMCID: PMC11999170 DOI: 10.1109/tbme.2024.3494732] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/16/2024]
Abstract
For people with Type 1 diabetes (T1D), accurate blood glucose (BG) forecasting is crucial for the effective delivery of insulin by Artificial Pancreas (AP) systems. Deep learning frameworks like Long Short-Term-Memory (LSTM) have been widely used to predict BG using continuous glucose monitor (CGM) data. However, these methods usually require large amounts of training data for personalized forecasts. Moreover, individuals with diabetes exhibit diverse glucose variability (GV), resulting in varying forecast accuracy. To address these limitations, we propose a novel deep learning framework: Incrementally Retrained Stacked LSTM (IS-LSTM). This approach gradually adapts to individualsâ data and employs parameter-transfer for efficiency. We compare our method to three benchmarks using two CGM datasets from individuals with T1D: OpenAPS and Replace-BG. On both datasets, our approach significantly reduces root mean square error compared to the state of the art (Stacked LSTM): from 14.55 to 10.23 mg/dL (OpenAPS) and 17.15 to 13.41 mg/dL (Replace-BG) at 30-minute Prediction Horizon (PH). Clarke error grid analysis demonstrates clinical feasibility with at least 98.81% and 97.25% of predictions within the clinically safe zone at 30- and 60-minute PHs. Further, we demonstrate the effectiveness of our method in cold-start scenarios, which helps new CGM users obtain accurate predictions.
Collapse
|
2
|
Laesser CI, Piazza C, Schorno N, Nick F, Kastrati L, Zueger T, Barnard-Kelly K, Wilinska ME, Nakas CT, Hovorka R, Herzig D, Konrad D, Bally L. Simplified meal announcement study (SMASH) using hybrid closed-loop insulin delivery in youth and young adults with type 1 diabetes: a randomised controlled two-centre crossover trial. Diabetologia 2025; 68:295-307. [PMID: 39560745 PMCID: PMC11732900 DOI: 10.1007/s00125-024-06319-w] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 06/10/2024] [Accepted: 09/20/2024] [Indexed: 11/20/2024]
Abstract
AIMS/HYPOTHESIS The majority of hybrid closed-loop systems still require carbohydrate counting (CC) but the evidence for its justification remains limited. Here, we evaluated glucose control with simplified meal announcement (SMA) vs CC in youth and young adults with type 1 diabetes using the mylife CamAPS FX system. METHODS We conducted a two-centre, randomised crossover, non-inferiority trial in two University Hospitals in Switzerland in 46 participants (aged 12-20 years) with type 1 diabetes using multiple daily injections (n=35), sensor-augmented pump (n=4) or hybrid closed-loop (n=7) therapy before enrolment. Participants underwent two 3 month periods with the mylife CamAPS FX system (YpsoPump, Dexcom G6) to compare SMA (individualised carbohydrate meal sizes) with CC, in a randomly assigned order using computer-generated sequences. The primary endpoint was the proportion of time glucose was in target range (3.9-10.0 mmol/l) with a non-inferiority margin of 5 percentage points. Secondary endpoints were other sensor glucose and insulin metrics, usability and safety endpoints. RESULTS Forty-three participants (18 women and girls) completed the trial. In the intention-to-treat analysis, time in range (mean±SD) was 69.9±12.4% with SMA and 70.7±13.0% with CC (estimated mean difference -0.6 percentage points [95% CI -2.4, 1.1], demonstrating non-inferiority). Time <3.9 mmol/l (median [IQR] 1.8 [1.2-2.2]% vs 1.9 [1.6-2.5]%) and >10.0 mmol/l (28.2±12.6% vs 27.2±13.4%) was similar between periods. Total daily insulin dose was higher with SMA (54.0±14.7 U vs 51.7±12.1 U, p=0.037). Three participants experienced serious adverse events, none of which were intervention-related. CONCLUSIONS/INTERPRETATION Glucose control using the CamAPS FX algorithm with SMA was non-inferior to its use with CC in youth and young adults with type 1 diabetes. TRIAL REGISTRATION ClinicalTrials.gov NCT05481034. FUNDING The study was supported by the Swiss Diabetes Foundation and by a YTCR grant from the Bangerter-Rhyner Foundation and the Swiss Academy of Medical Sciences. Dexcom and Ypsomed provided product support.
Collapse
Affiliation(s)
- Céline I Laesser
- Division of Paediatric Endocrinology and Diabetology, University Children's Hospital, University of Zurich, Zurich, Switzerland
- Children's Research Centre, University Children's Hospital, University of Zurich, Zurich, Switzerland
| | - Camillo Piazza
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Nina Schorno
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Fabian Nick
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Lum Kastrati
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
- Institute of Social and Preventive Medicine (ISPM), University of Bern, Bern, Switzerland
- Graduate School for Health Sciences, University of Bern, Bern, Switzerland
| | - Thomas Zueger
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
- Department of Endocrinology and Metabolic Diseases, Kantonsspital Olten, Olten, Switzerland
| | | | | | - Christos T Nakas
- School of Agricultural Sciences, University of Thessaly, Laboratory of Biometry, Volos, Greece
- Department of Clinical Chemistry, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Roman Hovorka
- Institute of Metabolic Science, University of Cambridge, Cambridge, UK
| | - David Herzig
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Daniel Konrad
- Division of Paediatric Endocrinology and Diabetology, University Children's Hospital, University of Zurich, Zurich, Switzerland
- Children's Research Centre, University Children's Hospital, University of Zurich, Zurich, Switzerland
| | - Lia Bally
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism UDEM, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland.
| |
Collapse
|
3
|
Shah VN, Peters AL, Umpierrez GE, Sherr JL, Akturk HK, Aleppo G, Bally L, Cengiz E, Cinar A, Dungan K, Fabris C, Jacobs PG, Lal RA, Mader JK, Masharani U, Prahalad P, Schmidt S, Zijlstra E, Ho CN, Ayers AT, Tian T, Aaron RE, Klonoff DC. Consensus Report on Glucagon-Like Peptide-1 Receptor Agonists as Adjunctive Treatment for Individuals With Type 1 Diabetes Using an Automated Insulin Delivery System. J Diabetes Sci Technol 2025; 19:191-216. [PMID: 39517127 PMCID: PMC11571606 DOI: 10.1177/19322968241291512] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 11/16/2024]
Abstract
With increasing prevalence of obesity and cardiovascular diseases, there is a growing interest in the use of glucagon-like peptide-1 receptor agonists (GLP-1RAs) as an adjunct therapy in type 1 diabetes (T1D). The GLP-1RAs are currently not approved by the US Food and Drug Administration for the treatment of T1D in the absence of randomized controlled trials documenting efficacy and safety of these agents in this population. The Diabetes Technology Society convened a series of three consensus meetings of clinicians and researchers with expertise in diabetes technology, GLP-1RA therapy, and T1D management. The project was aimed at synthesizing current literature and providing conclusions on the use of GLP-1RA therapy as an adjunct to automated insulin delivery (AID) systems in adults with T1D. The expert panel members met virtually three times on January 17, 2024, and April 24, 2024, and August 14, 2024, to discuss topics ranging from physiology and outcomes of GLP-1RAs in T1D to limitations of current sensors, algorithms, and insulin for AID systems. The panelists also identified research gaps and future directions for research. The panelists voted to in favor of 31 recommendations. This report presents the consensus opinions of the participants that, in adults with T1D using AID systems, GLP-1RAs have the potential to (1) provide effective adjunct therapy and (2) improve glycemic and metabolic outcomes without increasing the risk of severe hypoglycemia or diabetic ketoacidosis.
Collapse
Affiliation(s)
- Viral N. Shah
- Division of Endocrinology & Metabolism, Indiana University School of Medicine, Indianapolis, IN, USA
| | - Anne L. Peters
- Keck School of Medicine of USC, University of Southern California, Los Angeles, CA, USA
| | | | | | - Halis Kaan Akturk
- Barbara Davis Center for Diabetes, University of Colorado Anschutz Medical Campus, Aurora, CO, USA
| | - Grazia Aleppo
- Division of Endocrinology, Metabolism and Molecular Medicine, Feinberg School of Medicine, Northwestern University, Chicago, IL, USA
| | - Lia Bally
- Inselspital, University Hospital of Bern, University of Bern, Bern, Switzerland
| | - Eda Cengiz
- Department of Pediatrics, University of California San Francisco, San Francisco, CA, USA
| | - Ali Cinar
- Department of Chemical and Biological Engineering, Illinois Institute of Technology, Chicago, IL, USA
| | - Kathleen Dungan
- Division of Endocrinology, Diabetes and Metabolism, College of Medicine, The Ohio State University, Columbus, OH, USA
| | - Chiara Fabris
- Center for Diabetes Technology, School of Medicine, University of Virginia, Charlottesville, VA, USA
| | - Peter G. Jacobs
- Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA
| | - Rayhan A. Lal
- Division of Endocrinology, Department of Medicine, Stanford University, Stanford, CA, USA
- Division of Endocrinology, Department of Pediatrics, School of Medicine, Stanford University, Stanford, CA, USA
| | - Julia K. Mader
- Division of Endocrinology and Diabetology, Medical University of Graz, Graz, Austria
| | - Umesh Masharani
- Department of Pediatrics, University of California San Francisco, San Francisco, CA, USA
| | - Priya Prahalad
- Division of Endocrinology, Department of Pediatrics, School of Medicine, Stanford University, Stanford, CA, USA
| | | | | | - Cindy N. Ho
- Diabetes Technology Society, Burlingame, CA, USA
| | | | - Tiffany Tian
- Diabetes Technology Society, Burlingame, CA, USA
| | | | - David C. Klonoff
- Diabetes Research Institute, Mills-Peninsula Medical Center, San Mateo, CA, USA
| |
Collapse
|
4
|
Jacobs PG, Chase Marak M, Calhoun P, Gal RL, Castle JR, Riddell MC. An evaluation of how exercise position statement guidelines are being used in the real world in type 1 diabetes: Findings from the type 1 diabetes exercise initiative (T1DEXI). Diabetes Res Clin Pract 2024; 217:111874. [PMID: 39343147 DOI: 10.1016/j.diabres.2024.111874] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 08/20/2024] [Revised: 09/19/2024] [Accepted: 09/26/2024] [Indexed: 10/01/2024]
Abstract
AIMS Position statement guidelines should help people with type 1 diabetes (T1D) improve glucose outcomes during exercise. METHODS In a 4-week observational study, continuous glucose, insulin, and nutrient data were collected from 561 adults with T1D. Glucose outcomes were calculated during exercise, post-exercise, and overnight, and were compared for sessions when participants used versus did not use exercise guidelines for open-loop (OL) and automated insulin delivery (AID) therapy. RESULTS Guidelines requiring behaviour modification were rarely used while guidelines not requiring modification were often used. The guideline recommending reduced meal insulin before exercise was associated with lower time <3.9 mmol/L during exercise (-2.2 %, P=0.02) for OL but not significant for AID (-1.4 %, P=0.27). Compared to exercise with low glucose (<3.9 mmol/L) in prior 24-hours, sessions without recent low glucose had lower time <3.9 mmol/L during exercise (-1.2 %, P<0.001). The AID guideline for no carbohydrates before exercise when CGM is flat, or increasing, was not associated with improved glycaemia. CONCLUSIONS Free-living datasets may be used to evaluate usage and benefit of position statement guidelines. Evidence suggests OL participants who reduced meal insulin prior to exercise and did not have low glucose in the prior 24 h had less time below range.
Collapse
Affiliation(s)
- Peter G Jacobs
- Oregon Health and Science University, Portland, OR, USA.
| | | | | | - Robin L Gal
- Jaeb Center for Health Research, Tampa, FL, USA
| | | | | |
Collapse
|
5
|
Baumgartner M, Kuhn C, Nakas CT, Herzig D, Bally L. Carbohydrate Estimation Accuracy of Two Commercially Available Smartphone Applications vs Estimation by Individuals With Type 1 Diabetes: A Comparative Study. J Diabetes Sci Technol 2024:19322968241264744. [PMID: 39058316 PMCID: PMC11571748 DOI: 10.1177/19322968241264744] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 07/28/2024]
Abstract
BACKGROUND Despite remarkable progress in diabetes technology, most systems still require estimating meal carbohydrate (CHO) content for meal-time insulin delivery. Emerging smartphone applications may obviate this need, but performance data in relation to patient estimates remain scarce. OBJECTIVE The objective is to assess the accuracy of two commercial CHO estimation applications, SNAQ and Calorie Mama, and compare their performance with the estimation accuracy of people with type 1 diabetes (T1D). METHODS Carbohydrate estimates of 53 individuals with T1D (aged ≥16 years) were compared with those of SNAQ (food recognition + quantification) and Calorie Mama (food recognition + adjustable standard portion size). Twenty-six cooked meals were prepared at the hospital kitchen. Each participant estimated the CHO content of two meals in three different sizes without assistance. Participants then used SNAQ for CHO quantification in one meal and Calorie Mama for the other (all three sizes). Accuracy was the estimate's deviation from ground-truth CHO content (weight multiplied by nutritional facts from recipe database). Furthermore, the applications were rated using the Mars-G questionnaire. RESULTS Participants' mean ± standard deviation (SD) absolute error was 21 ± 21.5 g (71 ± 72.7%). Calorie Mama had a mean absolute error of 24 ± 36.5 g (81.2 ± 123.4%). With a mean absolute error of 13.1 ± 11.3 g (44.3 ± 38.2%), SNAQ outperformed the estimation accuracy of patients and Calorie Mama (both P > .05). Error consistency (quantified by the within-participant SD) did not significantly differ between the methods. CONCLUSIONS SNAQ may provide effective CHO estimation support for people with T1D, particularly those with large or inconsistent CHO estimation errors. Its impact on glucose control remains to be evaluated.
Collapse
Affiliation(s)
- Michelle Baumgartner
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
- Department of Health Sciences and Technology, Eidgenössische Technische Hochschule Zurich, Zurich, Switzerland
| | - Christian Kuhn
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Christos T. Nakas
- School of Agricultural Sciences, Laboratory of Biometry, University of Thessaly, Volos, Greece
- University Institute of Clinical Chemistry, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - David Herzig
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| | - Lia Bally
- Department of Diabetes, Endocrinology, Nutritional Medicine and Metabolism, Inselspital, Bern University Hospital, University of Bern, Bern, Switzerland
| |
Collapse
|
6
|
Gillingham MB, Marak MC, Riddell MC, Calhoun P, Gal RL, Patton SR, Jacobs PG, Castle JR, Clements MA, Doyle FJ, Rickels MR, Martin CK. The Association Between Diet Quality and Glycemic Outcomes Among People with Type 1 Diabetes. Curr Dev Nutr 2024; 8:102146. [PMID: 38638557 PMCID: PMC11024491 DOI: 10.1016/j.cdnut.2024.102146] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 01/22/2024] [Revised: 03/15/2024] [Accepted: 03/21/2024] [Indexed: 04/20/2024] Open
Abstract
Background The amount and type of food consumed impacts the glycemic response and insulin needs of people with type 1 diabetes mellitus (T1DM). Daily variability in consumption, reflected in diet quality, may acutely impact glycemic levels and insulin needs. Objective Type 1 Diabetes Exercise Initiative (T1DEXI) data were examined to evaluate the impact of daily diet quality on near-term glycemic control and interaction with exercise. Methods Using the Remote Food Photography Method, ≤8 d of dietary intake data were analyzed per participant. Diet quality was quantified with the Healthy Eating Index-2015 (HEI), where a score of 100 indicates the highest-quality diet. Each participant day was classified as low HEI (≤57) or high HEI (>57) based on the mean of nationally reported HEI data. Within participants, the relationship between diet quality and subsequent glycemia measured by continuous glucose monitoring (CGM) and total insulin dose usage was evaluated using a paired t-test and robust regression models. Results Two hundred twenty-three adults (76% female) with mean ± SD age, HbA1c, and body mass index (BMI) of 37 ± 14 y, 6.6% ± 0.7%, and 25.1 ± 3.6 kg/m2, respectively, were included in these analyses. The mean HEI score was 56 across all participant days. On high HEI days (mean, 66 ± 4) compared with low HEI days (mean, 47 ± 5), total time in range (70-180 mg/dL) was greater (77.2% ± 14% compared with 75.7% ± 14%, respectively, P = 0.01), whereas time above 180 mg/dL (19% ± 14% compared with 21% ± 15%, respectively, P = 0.004), mean glucose (143 ± 22 compared with 145 ± 22 mg/dL, respectively, P = 0.02), and total daily insulin dose (0.52 ± 0.18 compared with 0.54 ± 0.18 U/kg/d, respectively, P = 0.009) were lower. The interaction between diet quality and exercise on glycemia was not significant. Conclusions Higher HEI scores correlated with improved glycemia and lower insulin needs, although the impact of diet quality was modest and smaller than the previously reported impact of exercise.
Collapse
Affiliation(s)
- Melanie B Gillingham
- Department of Molecular and Medical Genetics, Oregon Health and Science University, Portland, OR, United States
| | | | - Michael C Riddell
- School of Kinesiology and Health Science, Muscle Health Research Centre, York University, Toronto, Canada
| | - Peter Calhoun
- Jaeb Center for Health Research, Tampa, FL, United States
| | - Robin L Gal
- Jaeb Center for Health Research, Tampa, FL, United States
| | - Susana R Patton
- Center for Healthcare Delivery Science, Nemours Children’s Health, Jacksonville, FL, United States
| | - Peter G Jacobs
- Department of Biomedical Engineering, Oregon Health and Science University, Portland, OR, United States
| | - Jessica R Castle
- School of Medicine, Division of Endocrinology, Diabetes and Clinical Nutrition, Harold Schnitzer Diabetes Health Center, Oregon Health and Science University, Portland, OR, United States
| | - Mark A Clements
- Department of Pediatrics, Endocrine/Diabetes Clinical Research, Children’s Mercy Hospital, Kansas City, MO, United States
| | - Francis J Doyle
- Harvard John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, MA, United States
| | - Michael R Rickels
- Division of Endocrinology, Diabetes & Metabolism, University of Pennsylvania Perelman School of Medicine, Philadelphia, PA, United States
| | - Corby K Martin
- Pennington Biomedical Research Center, Louisiana State University, Baton Rouge, LA, United States
| |
Collapse
|
7
|
Li Z, Calhoun P, Rickels MR, Gal RL, Beck RW, Jacobs PG, Clements MA, Patton SR, Castle JR, Martin CK, Gillingham MB, Doyle FJ, Riddell MC. Factors Affecting Reproducibility of Change in Glucose During Exercise: Results From the Type 1 Diabetes and EXercise Initiative. J Diabetes Sci Technol 2024:19322968241234687. [PMID: 38456512 PMCID: PMC11571421 DOI: 10.1177/19322968241234687] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 03/09/2024]
Abstract
AIMS To evaluate factors affecting within-participant reproducibility in glycemic response to different forms of exercise. METHODS Structured exercise sessions ~30 minutes in length from the Type 1 Diabetes Exercise Initiative (T1DEXI) study were used to assess within-participant glycemic variability during and after exercise. The effect of several pre-exercise factors on the within-participant glycemic variability was evaluated. RESULTS Data from 476 adults with type 1 diabetes were analyzed. A participant's change in glucose during exercise was reproducible within 15 mg/dL of the participant's other exercise sessions only 32% of the time. Participants who exercised with lower and more consistent glucose level, insulin on board (IOB), and carbohydrate intake at exercise start had less variability in glycemic change during exercise. Participants with lower mean glucose (P < .001), lower glucose coefficient of variation (CV) (P < .001), and lower % time <70 mg/dL (P = .005) on sedentary days had less variable 24-hour post-exercise mean glucose. CONCLUSIONS Reproducibility of change in glucose during exercise was low in this cohort of adults with T1D, but more consistency in pre-exercise glucose levels, IOB, and carbohydrates may increase this reproducibility. Mean glucose variability in the 24 hours after exercise is influenced more by the participant's overall glycemic control than other modifiable factors.
Collapse
Affiliation(s)
- Zoey Li
- JAEB Center for Health Research, Tampa, FL, USA
| | | | - Michael R. Rickels
- Perelman School of Medicine, University of Pennsylvania, Philadelphia, PA, USA
| | | | - Roy W. Beck
- JAEB Center for Health Research, Tampa, FL, USA
| | - Peter G. Jacobs
- Department of Biomedical Engineering, Oregon Health and Science University, Portland, OR, USA
| | | | | | - Jessica R. Castle
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Corby K. Martin
- Pennington Biomedical Research Center, Louisiana State University, Baton Rouge, LA, USA
| | - Melanie B. Gillingham
- Department of Molecular and Medical Genetics, Oregon Health & Science University, Portland, OR, USA
| | - Francis J. Doyle
- Harvard John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, MA, USA
| | | |
Collapse
|
8
|
Jacobs PG, Herrero P, Facchinetti A, Vehi J, Kovatchev B, Breton MD, Cinar A, Nikita KS, Doyle FJ, Bondia J, Battelino T, Castle JR, Zarkogianni K, Narayan R, Mosquera-Lopez C. Artificial Intelligence and Machine Learning for Improving Glycemic Control in Diabetes: Best Practices, Pitfalls, and Opportunities. IEEE Rev Biomed Eng 2024; 17:19-41. [PMID: 37943654 DOI: 10.1109/rbme.2023.3331297] [Citation(s) in RCA: 12] [Impact Index Per Article: 12.0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/12/2023]
Abstract
OBJECTIVE Artificial intelligence and machine learning are transforming many fields including medicine. In diabetes, robust biosensing technologies and automated insulin delivery therapies have created a substantial opportunity to improve health. While the number of manuscripts addressing the topic of applying machine learning to diabetes has grown in recent years, there has been a lack of consistency in the methods, metrics, and data used to train and evaluate these algorithms. This manuscript provides consensus guidelines for machine learning practitioners in the field of diabetes, including best practice recommended approaches and warnings about pitfalls to avoid. METHODS Algorithmic approaches are reviewed and benefits of different algorithms are discussed including importance of clinical accuracy, explainability, interpretability, and personalization. We review the most common features used in machine learning applications in diabetes glucose control and provide an open-source library of functions for calculating features, as well as a framework for specifying data sets using data sheets. A review of current data sets available for training algorithms is provided as well as an online repository of data sources. SIGNIFICANCE These consensus guidelines are designed to improve performance and translatability of new machine learning algorithms developed in the field of diabetes for engineers and data scientists.
Collapse
|
9
|
Mosquera-Lopez C, Roquemen-Echeverri V, Tyler NS, Patton SR, Clements MA, Martin CK, Riddell MC, Gal RL, Gillingham M, Wilson LM, Castle JR, Jacobs PG. Combining uncertainty-aware predictive modeling and a bedtime Smart Snack intervention to prevent nocturnal hypoglycemia in people with type 1 diabetes on multiple daily injections. J Am Med Inform Assoc 2023; 31:109-118. [PMID: 37812784 PMCID: PMC10746320 DOI: 10.1093/jamia/ocad196] [Citation(s) in RCA: 5] [Impact Index Per Article: 2.5] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 05/27/2023] [Accepted: 09/25/2023] [Indexed: 10/11/2023] Open
Abstract
OBJECTIVE Nocturnal hypoglycemia is a known challenge for people with type 1 diabetes, especially for physically active individuals or those on multiple daily injections. We developed an evidential neural network (ENN) to predict at bedtime the probability and timing of nocturnal hypoglycemia (0-4 vs 4-8 h after bedtime) based on several glucose metrics and physical activity patterns. We utilized these predictions in silico to prescribe bedtime carbohydrates with a Smart Snack intervention specific to the predicted minimum nocturnal glucose and timing of nocturnal hypoglycemia. MATERIALS AND METHODS We leveraged free-living datasets collected from 366 individuals from the T1DEXI Study and Glooko. Inputs to the ENN used to model nocturnal hypoglycemia were derived from demographic information, continuous glucose monitoring, and physical activity data. We assessed the accuracy of the ENN using area under the receiver operating curve, and the clinical impact of the Smart Snack intervention through simulations. RESULTS The ENN achieved an area under the receiver operating curve of 0.80 and 0.71 to predict nocturnal hypoglycemic events during 0-4 and 4-8 h after bedtime, respectively, outperforming all evaluated baseline methods. Use of the Smart Snack intervention reduced probability of nocturnal hypoglycemia from 23.9 ± 14.1% to 14.0 ± 13.3% and duration from 7.4 ± 7.0% to 2.4 ± 3.3% in silico. DISCUSSION Our findings indicate that the ENN-based Smart Snack intervention has the potential to significantly reduce the frequency and duration of nocturnal hypoglycemic events. CONCLUSION A decision support system that combines prediction of minimum nocturnal glucose and proactive recommendations for bedtime carbohydrate intake might effectively prevent nocturnal hypoglycemia and reduce the burden of glycemic self-management.
Collapse
Affiliation(s)
- Clara Mosquera-Lopez
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR 97239, United States
| | - Valentina Roquemen-Echeverri
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR 97239, United States
| | - Nichole S Tyler
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR 97239, United States
| | - Susana R Patton
- Center for Healthcare Delivery Science, Nemours Children’s Health, Jacksonville, FL 32207, United States
| | - Mark A Clements
- Children’s Mercy Hospital, Kansas City, MO 64111, United States
- Glooko Inc., Palo Alto, CA 94301, United States
| | - Corby K Martin
- Pennington Biomedical Research Center, Louisiana State University, Baton Rouge, LA 70808, United States
| | - Michael C Riddell
- Muscle Health Research Centre, York University, Toronto, ON M3J1P3, Canada
| | - Robin L Gal
- Jaeb Center for Health Research, Tampa, FL 33647, United States
| | - Melanie Gillingham
- Molecular and Medical Genetics, School of Medicine, Oregon Health & Science University, Portland, OR 97239, United States
| | - Leah M Wilson
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR 97239, United States
| | - Jessica R Castle
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR 97239, United States
| | - Peter G Jacobs
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR 97239, United States
| |
Collapse
|
10
|
Bergford S, Riddell MC, Jacobs PG, Li Z, Gal RL, Clements MA, Doyle FJ, Martin CK, Patton SR, Castle JR, Gillingham MB, Beck RW, Rickels MR, Calhoun P. The Type 1 Diabetes and EXercise Initiative: Predicting Hypoglycemia Risk During Exercise for Participants with Type 1 Diabetes Using Repeated Measures Random Forest. Diabetes Technol Ther 2023; 25:602-611. [PMID: 37294539 PMCID: PMC10623079 DOI: 10.1089/dia.2023.0140] [Citation(s) in RCA: 3] [Impact Index Per Article: 1.5] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 06/10/2023]
Abstract
Objective: Exercise is known to increase the risk for hypoglycemia in type 1 diabetes (T1D) but predicting when it may occur remains a major challenge. The objective of this study was to develop a hypoglycemia prediction model based on a large real-world study of exercise in T1D. Research Design and Methods: Structured study-specified exercise (aerobic, interval, and resistance training videos) and free-living exercise sessions from the T1D Exercise Initiative study were used to build a model for predicting hypoglycemia, a continuous glucose monitoring value <70 mg/dL, during exercise. Repeated measures random forest (RMRF) and repeated measures logistic regression (RMLR) models were constructed to predict hypoglycemia using predictors at the start of exercise and baseline characteristics. Models were evaluated with area under the receiver operating characteristic curve (AUC) and balanced accuracy. Results: RMRF and RMLR had similar AUC (0.833 vs. 0.825, respectively) and both models had a balanced accuracy of 77%. The probability of hypoglycemia was higher for exercise sessions with lower pre-exercise glucose levels, negative pre-exercise glucose rates of change, greater percent time <70 mg/dL in the 24 h before exercise, and greater pre-exercise bolus insulin-on-board (IOB). Free-living aerobic exercises, walking/hiking, and physical labor had the highest probability of hypoglycemia, while structured exercises had the lowest probability of hypoglycemia. Conclusions: RMRF and RMLR accurately predict hypoglycemia during exercise and identify factors that increase the risk of hypoglycemia. Lower glucose, decreasing levels of glucose before exercise, and greater pre-exercise IOB largely predict hypoglycemia risk in adults with T1D.
Collapse
Affiliation(s)
| | | | - Peter G. Jacobs
- Artificial Intelligence for Medical Systems Lab, Department of Biomedical Engineering, Oregon Health and Science University, Portland, Oregon, USA
| | - Zoey Li
- JAEB Center for Health Research, Tampa, Florida, USA
| | - Robin L. Gal
- JAEB Center for Health Research, Tampa, Florida, USA
| | | | - Francis J. Doyle
- Harvard John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, Massachusetts, USA
| | - Corby K. Martin
- Pennington Biomedical Research Center, Louisiana State University, Baton Rouge, Louisiana, USA
| | | | - Jessica R. Castle
- Harold Schnitzer Diabetes Health Center, Oregon Health and Science University, Portland, Oregon, USA
| | - Melanie B. Gillingham
- Department of Molecular and Medical Genetics, Oregon Health and Science University, Portland, Oregon, USA
| | - Roy W. Beck
- JAEB Center for Health Research, Tampa, Florida, USA
| | - Michael R. Rickels
- Institute for Diabetes, Obesity and Metabolism, University of Pennsylvania Perelman School of Medicine, Philadelphia, Pennsylvania, USA
| | - Peter Calhoun
- JAEB Center for Health Research, Tampa, Florida, USA
| |
Collapse
|
11
|
Mosquera-Lopez C, Wilson LM, El Youssef J, Hilts W, Leitschuh J, Branigan D, Gabo V, Eom JH, Castle JR, Jacobs PG. Enabling fully automated insulin delivery through meal detection and size estimation using Artificial Intelligence. NPJ Digit Med 2023; 6:39. [PMID: 36914699 PMCID: PMC10011368 DOI: 10.1038/s41746-023-00783-1] [Citation(s) in RCA: 16] [Impact Index Per Article: 8.0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/15/2022] [Accepted: 02/16/2023] [Indexed: 03/16/2023] Open
Abstract
We present a robust insulin delivery system that includes automated meal detection and carbohydrate content estimation using machine learning for meal insulin dosing called robust artificial pancreas (RAP). We conducted a randomized, single-center crossover trial to compare postprandial glucose control in the four hours following unannounced meals using a hybrid model predictive control (MPC) algorithm and the RAP system. The RAP system includes a neural network model to automatically detect meals and deliver a recommended meal insulin dose. The meal detection algorithm has a sensitivity of 83.3%, false discovery rate of 16.6%, and mean detection time of 25.9 minutes. While there is no significant difference in incremental area under the curve of glucose, RAP significantly reduces time above range (glucose >180 mg/dL) by 10.8% (P = 0.04) and trends toward increasing time in range (70-180 mg/dL) by 9.1% compared with MPC. Time below range (glucose <70 mg/dL) is not significantly different between RAP and MPC.
Collapse
Affiliation(s)
- Clara Mosquera-Lopez
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA.
| | - Leah M Wilson
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Joseph El Youssef
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Wade Hilts
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA
| | - Joseph Leitschuh
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA
| | - Deborah Branigan
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Virginia Gabo
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Jae H Eom
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Jessica R Castle
- Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR, USA
| | - Peter G Jacobs
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA
| |
Collapse
|
12
|
Mosquera-Lopez C, Ramsey KL, Roquemen-Echeverri V, Jacobs PG. Modeling risk of hypoglycemia during and following physical activity in people with type 1 diabetes using explainable mixed-effects machine learning. Comput Biol Med 2023; 155:106670. [PMID: 36803791 DOI: 10.1016/j.compbiomed.2023.106670] [Citation(s) in RCA: 8] [Impact Index Per Article: 4.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 08/29/2022] [Revised: 01/19/2023] [Accepted: 02/10/2023] [Indexed: 02/13/2023]
Abstract
BACKGROUND Physical activity (PA) can cause increased hypoglycemia (glucose <70 mg/dL) risk in people with type 1 diabetes (T1D). We modeled the probability of hypoglycemia during and up to 24 h following PA and identified key factors associated with hypoglycemia risk. METHODS We leveraged a free-living dataset from Tidepool comprised of glucose measurements, insulin doses, and PA data from 50 individuals with T1D (6448 sessions) for training and validating machine learning models. We also used data from the T1Dexi pilot study that contains glucose management and PA data from 20 individuals with T1D (139 session) for assessing the accuracy of the best performing model on an independent test dataset. We used mixed-effects logistic regression (MELR) and mixed-effects random forest (MERF) to model hypoglycemia risk around PA. We identified risk factors associated with hypoglycemia using odds ratio and partial dependence analysis for the MELR and MERF models, respectively. Prediction accuracy was measured using the area under the receiver operating characteristic curve (AUROC). RESULTS The analysis identified risk factors significantly associated with hypoglycemia during and following PA in both MELR and MERF models including glucose and body exposure to insulin at the start of PA, low blood glucose index 24 h prior to PA, and PA intensity and timing. Both models showed overall hypoglycemia risk peaking 1 h after PA and again 5-10 h after PA, which is consistent with the hypoglycemia risk pattern observed in the training dataset. Time following PA impacted hypoglycemia risk differently across different PA types. Accuracy of hypoglycemia prediction using the fixed effects of the MERF model was highest when predicting hypoglycemia during the first hour following the start of PA (AUROCVALIDATION = 0.83 and AUROCTESTING = 0.86) and decreased when predicting hypoglycemia in the 24 h after PA (AUROCVALIDATION = 0.66 and AUROCTESTING = 0.68). CONCLUSION Hypoglycemia risk after the start of PA can be modeled using mixed-effects machine learning to identify key risk factors that may be used within decision support and insulin delivery systems. We published the population-level MERF model online for others to use.
Collapse
Affiliation(s)
- Clara Mosquera-Lopez
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, Oregon, USA.
| | - Katrina L Ramsey
- Biostatistics and Design Program, Oregon Health & Science University, Portland, Oregon, USA
| | - Valentina Roquemen-Echeverri
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, Oregon, USA
| | - Peter G Jacobs
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, Oregon, USA
| |
Collapse
|
13
|
Wilson LM, Jacobs PG, Riddell MC, Zaharieva DP, Castle JR. Opportunities and challenges in closed-loop systems in type 1 diabetes. Lancet Diabetes Endocrinol 2022; 10:6-8. [PMID: 34762835 PMCID: PMC9255645 DOI: 10.1016/s2213-8587(21)00289-8] [Citation(s) in RCA: 11] [Impact Index Per Article: 3.7] [Reference Citation Analysis] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 06/19/2021] [Revised: 10/15/2021] [Accepted: 10/18/2021] [Indexed: 12/24/2022]
Affiliation(s)
- Leah M Wilson
- Division of Endocrinology, Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR 97239, USA.
| | - Peter G Jacobs
- Artificial Intelligence for Medical Systems Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR 97239, USA
| | - Michael C Riddell
- Muscle Health Research Centre, School of Kinesiology and Health Science, York University, Toronto, ON, Canada
| | | | - Jessica R Castle
- Division of Endocrinology, Harold Schnitzer Diabetes Health Center, Oregon Health & Science University, Portland, OR 97239, USA
| |
Collapse
|
14
|
Mosquera-Lopez C, Jacobs PG. Incorporating Glucose Variability into Glucose Forecasting Accuracy Assessment Using the New Glucose Variability Impact Index and the Prediction Consistency Index: An LSTM Case Example. J Diabetes Sci Technol 2022; 16:7-18. [PMID: 34490793 PMCID: PMC8875041 DOI: 10.1177/19322968211042621] [Citation(s) in RCA: 9] [Impact Index Per Article: 3.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 12/18/2022]
Abstract
BACKGROUND In this work, we developed glucose forecasting algorithms trained and evaluated on a large dataset of free-living people with type 1 diabetes (T1D) using closed-loop (CL) and sensor-augmented pump (SAP) therapies; and we demonstrate how glucose variability impacts accuracy. We introduce the glucose variability impact index (GVII) and the glucose prediction consistency index (GPCI) to assess the accuracy of prediction algorithms. METHODS A long-short-term-memory (LSTM) neural network was designed to predict glucose up to 60 minutes in the future using continuous glucose measurements and insulin data collected from 175 people with T1D (41,318 days) and evaluated on 75 people (11,333 days) from the Tidepool Big Data Donation Dataset. LSTM was compared with two naïve forecasting algorithms as well as Ridge linear regression and a random forest using root-mean-square error (RMSE). Parkes error grid quantified clinical accuracy. Regression analysis was used to derive the GVII and GPCI. RESULTS The LSTM had highest accuracy and best GVII and GPCI. RMSE for CL was 19.8 ± 3.2 and 33.2 ± 5.4 mg/dL for 30- and 60-minute prediction horizons, respectively. RMSE for SAP was 19.6 ± 3.8 and 33.1 ± 7.3 mg/dL for 30- and 60-minute prediction horizons, respectively; 99.6% and 97.6% of predictions were within zones A+B of the Parkes error grid at 30- and 60-minute prediction horizons, respectively. Glucose variability was strongly correlated with RMSE (R≥0.64, P < 0.001); GVII and GPCI demonstrated a means to compare algorithms across datasets with different glucose variability. CONCLUSIONS The LSTM model was accurate on a large real-world free-living dataset. Glucose variability should be considered when assessing prediction accuracy using indices such as GVII and GPCI.
Collapse
Affiliation(s)
- Clara Mosquera-Lopez
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA
- Clara Mosquera-Lopez, PhD, 3303 SW Bond Avenue, Portland, OR 97239, USA.
| | - Peter G. Jacobs
- Artificial Intelligence for Medical Systems (AIMS) Lab, Department of Biomedical Engineering, Oregon Health & Science University, Portland, OR, USA
| |
Collapse
|
15
|
Abstract
The ambulatory glucose profile (AGP) and the frequency distribution for glucose by ranges are well established as standard methods for display, analysis, and interpretation of glucose data arising from self-monitoring, continuous glucose monitoring, and automated insulin delivery systems. In this review, we consider several refinements that may further improve the utility of the AGP. These include (1) display of the AGP together with information regarding dietary intake, medication administration (e.g., insulin), glucose lowering (pharmacodynamic) activity of medications, and physical activity measured by accelerometers or heart rate; (2) display of average time below range (%TBR), time above range (%TAR), and time in range (%TIR) by time of day to indicate timing of hypoglycemic and hyperglycemic episodes; (3) detailed analysis of postprandial excursions for each of the major meals after synchronizing by onset of meals and adjusting for the premeal glucose levels, enabling comparisons of magnitude, shape, and patterns; (4) methods to characterize distinct patterns on different days of the week; (5) display of glucose on a nonlinear scale to improve the balance between deviations associated with hypoglycemia versus hyperglycemia; (6) use of time scales other than midnight-to-midnight to facilitate analysis of time segments of particular interest (e.g., overnight); (7) options to display individual glucose values to assist in the identification of dates and times of outliers and episodes of hypoglycemia and hyperglycemia; and (8) methods to compare AGPs obtained from different individuals or groups receiving alternative interventions in terms of therapy or technology. These refinements, individually or collectively, can potentially further enhance the effectiveness of the AGP for assessment of glucose levels, patterns, and variability. We discuss several questions regarding implementation and optimization of these methods.
Collapse
Affiliation(s)
- David Rodbard
- Biomedical Informatics Consultants LLC, Potomac, Maryland, USA
| |
Collapse
|