Skip to content
@Blood-Glucose-Control

Blood Glucose Control

Blood Glucose Control with WAT.ai and Gluroo Imaginations Inc.

Welcome to the Blood Glucose Control AI Design Team organization page!

Background

Diabetes requires a unique way of living. Type 1 impacts nearly 10 million people worldwide, and Type 2 impacts over 500 million. For most, to successfully manage the disease and avoid its long-term adverse effects, you must have detailed fitness and nutrition tracking, not unlike professional athletes or bodybuilders, but with the added complication of knowing how and when to administer insulin. Some can get away without detailed monitoring if they are highly habitual. For most, that’s an undesirable restriction, but where a Person with Diabetes (PWD) falls on that scale is a trade-off that depends on the individual.

Our industry parterner Gluroo, aims to alleviate PWD's cognitive burden by making fitness, nutrition, and insulin tracking as streamlined as possible. With good tracking and monitoring, the PWD may learn minor behavioural modifications that improve their BG control. Learning these modifications on your own can take months or years of experimentation and often requires waiting months for long meetings with diabetic care professionals to evaluate what changes are necessary. With our organization BGC-AI, one of our main goals is to develop AI tools that directly make this process simpler.

Our projects focus on improving short-term prandial (during meal-time) and postprandial blood glucose level outcomes; to leverage semi-supervised learning to identify unlabelled meals in time-series blood glucose data; to develop meal-scoring functions; explore causal machine-learning techniques to suggest optimal treatments for user profiles; develop probalistic forcasting models to alleviate diabetes distress around nocturnal hypoglycemia, and much more! We aim to provide actionable insights to PWDs and their care practitioners, enhancing health outcomes and quality of life.

Affiliations

  • Gluroo is our main industry partner. Gluroo provides us access to massive de-identified datasets that allow us to push our models to the limits. Diabetes is a challenging space for AI research due to the lack of large real-world datasets, Gluroo helps solve that problem for us. Two of our TPMs work/consult for Gluroo, and we're also thrilled that numerous BGC-AI members have been hired for paid internships at Gluroo.
  • skTime continues to be one of the most integral libraries to our work. They also provide research mentorship through access to world class time series researchers Franz Kiraly, Martin Tveten, and Benedikt Heidrich. Some of our members have also had the opportunity to make open source contirbutions to skTime! So this has been a mutually beneficial partnership that our orgnaization is grateful for.
  • WAT.ai is a student-run Artificial Intelligence organization at the University of Waterloo. Our TPMs started this organization through their organization, WAT.ai was integral in providing a pipeline to hundreds of talented students interested in developing or showcasing thier AI development skills.

Active Projects

  1. Automatic Meal Identification develop the ability to identify unlabelled meals in time series BG data. The goal of this project is to be able to identify the top 'n' most significant meals of a PWD per day from continuous glucose monitor data alone. The time series detection models are evaluated on various metrics that measure the proximity of the identified meal regions or change poitns to ground truth labels. Detailed meal logging can help contributed to improved glycemic control, but continue to be a burden

    • AI Topics: Feature Engineering, Time Series Annotation, Time Series Representation Learning, Supervised Learning, Semi-Supervised Learning
  2. Semi-Supervised Time Series Meal Identification Benchmark -

  3. Causal and Time Series Modeling for Diabetes Management: Prandial Interventions and Counterfactuals develop and explore various causal machine learning techniques for estimating the effects of and suggesting pre/postprandial interventions to improve meal scores (uplift modeling, intervention estimations). Develop the ability to provide hindsight (counterfactuals) to PWD, providing interactive experimentation abilities to diabetic care practitioners. This helps PWDs find their personalized best call of action to get intended health results and helps them experiment with different strategies and their direct effects. This is seen in counterfactual estimations as recommendations for better T1D management. E.g. if a user did $X$ during that meal, the glucose response curve would have looked like $Y$.

    • AI Topics: Time Series Causal Modelling, Causal Inference, Intervention and Counterfactual Estimation, Causal AI.

    Improving short-term prandial (meal-time) / postprandial outcomes by providing counterfactuals to PWDs and their diabetic care practitioners.

    improved short-term decisions -> improved long-term disease outcomes

    Many things impact a ‘relatively successful’ prandial BG behaviour, the main behavioural ones to focus on tend to be insulin dosing quantity, insulin dosing timing, basal insulin requirements, physical activity (in preceding hours and immediately postprandial), quantity of carbohydrates consumed, glycemic index of carbohydrates consumed, alcohol consumed with meal (slows absorption of carbs), amount of fat and protein consumed with meal (slows absorption of carbs but creates a delayed glucose spike).

    If we can provide counterfactuals that improve PWD’s postprandial BG characteristics, we will have made thousands to millions of people’s lives significantly easier and more enjoyable, we will be increasing their freedom to enjoy a wider variety of foods safely, and potentially extending their years living a happy and healthy life.

  4. Long-range nocturnal hypoglycemic forecasting one of the most distressing aspects of living with T1D is the anxiety and fear surrounding Dead in Bed (DIB) syndrome. Our goal with this project is to provide T1Ds with a long-range glycemic sleep forecast. Strong, practical, and useable results in this space would significantly impact the diabetes community in relieving diabetes distress.

    • AI Topics: Time series Forecasting
  5. Blood Glucose Controller develop a simulated insulin BG-controller using open source FDA approved blood glucose control simulators.

    • AI Topics: Representation Learning, Time Series Forecasting, Reinforcement Learning, Neuromorphic Computing.

Future Projects

  1. Diabetes Foundation Model

  2. Meal Scoring develop the ability to score/evaluate T1D postprandial Blood Glucode Level (BGL) characteristics to serve as a meal-scoring function. Find prandial measures that strongly correlate or predict long-term diabetic health indicators like Time-in-Range (TIR), HbA1C%, Glucose Management Indicator, and Glucose Variability (GV).

    • AI Topics: Feature Engineering, Time Series Forecasting, Time Series Representation Learning

Pinned Loading

  1. t1d-change-point-detection-benchmark t1d-change-point-detection-benchmark Public

    An open source benchmark for semi-supervised change point detection of type 1 diabetic meals from continuous glucose monitor time series data. Originally created to present to PyData Global 2024 in…

    Python 6

  2. bgl-meal-identification bgl-meal-identification Public

    Jupyter Notebook 7 1

  3. rl-insulin-pump rl-insulin-pump Public

    Creating RL Agents for simglucose/PadovaT1D simulator.

    Jupyter Notebook 4

  4. nocturnal-hypo-gly-prob-forecast nocturnal-hypo-gly-prob-forecast Public

    Predicting the probability of nocturnal hypoglycemic events with probabilistic forecasting.

    Jupyter Notebook 10

  5. causal_modeling causal_modeling Public

    Causal modelling with FitBit and Gluroo data for blood-glucose time-series evolution

    Jupyter Notebook 6 3

Repositories

Showing 7 of 7 repositories
  • simglucose Public Forked from jxx123/simglucose

    A Type-1 Diabetes simulator implemented in Python for Reinforcement Learning purpose

    Blood-Glucose-Control/simglucose’s past year of commit activity
    Python 0 MIT 125 0 0 Updated May 2, 2025
  • nocturnal-hypo-gly-prob-forecast Public

    Predicting the probability of nocturnal hypoglycemic events with probabilistic forecasting.

    Blood-Glucose-Control/nocturnal-hypo-gly-prob-forecast’s past year of commit activity
    Jupyter Notebook 10 0 14 1 Updated Apr 29, 2025
  • Blood-Glucose-Control/bgl-meal-identification’s past year of commit activity
    Jupyter Notebook 7 1 8 (1 issue needs help) 1 Updated Apr 27, 2025
  • t1d-change-point-detection-benchmark Public

    An open source benchmark for semi-supervised change point detection of type 1 diabetic meals from continuous glucose monitor time series data. Originally created to present to PyData Global 2024 in association with sktime and skchange.

    Blood-Glucose-Control/t1d-change-point-detection-benchmark’s past year of commit activity
    Python 6 MIT 0 5 0 Updated Apr 27, 2025
  • rl-insulin-pump Public

    Creating RL Agents for simglucose/PadovaT1D simulator.

    Blood-Glucose-Control/rl-insulin-pump’s past year of commit activity
    Jupyter Notebook 4 0 7 0 Updated Apr 14, 2025
  • causal_modeling Public

    Causal modelling with FitBit and Gluroo data for blood-glucose time-series evolution

    Blood-Glucose-Control/causal_modeling’s past year of commit activity
    Jupyter Notebook 6 3 2 0 Updated Apr 10, 2025
  • .github Public

    Improving short-term prandial blood glucose outcomes for people with T1D, a complex disease that affects ~10 million people worldwide. We use a variety of AI/ML techniques to assist T1D with diabetes management: things like change point detection, probabilistic forecasting, RL insulin pumps, and causal machine-learning techniques!

    Blood-Glucose-Control/.github’s past year of commit activity
    1 0 1 0 Updated Mar 23, 2025

Top languages

Loading…

Most used topics

Loading…