Become An Expert
Log In

How AI is transforming diabetes care

Aug 22, 2024

 

When I started to explore the future of artificial intelligence (AI) in diabetes technology,

I quickly realized that AI is already deeply integrated into the tools we use today.

 

For example, 

  • Continuous Glucose Monitors (CGMs) are using AI right now to provide predictive alerts and recognize patterns in glucose data. 
  • While many Automated Insulin Delivery (AID) systems primarily rely on traditional control algorithms that aren't considered AI, there are some exceptions. Systems like the MiniMed 780G utilize a type of AI called Fuzzy Logic, and others, such as iLet, DBLG1, and CamAPS FX, employ adaptive learning algorithms. 
  • Even the activity trackers that many of us wear on our wrists use AI to transform raw movement data into meaningful metrics like step counts.

 

AI's role doesn't stop there—it's also increasingly being used in the prevention, diagnosis, and treatment of diabetes. 

 

 

 

Nowadays, you'll find more articles discussing AI-based diabetes solutions than those focusing on non-AI approaches. 

 

 

In this article, I’ll break down the various ways AI is being used in diabetes care, organizing them by the specific AI techniques involved.

It's important to note that many AI systems and diabetes technologies rely on a combination of multiple AI techniques. 

 

The purpose of this article is to help you understand these different techniques and how they are being used in cutting-edge diabetes solutions.

 

 


 

Understanding Key AI Techniques

 

(Image adapted from Col Jung)

 

To appreciate how AI is transforming diabetes care, it’s helpful to understand the main types of AI and how they work.

Here’s a simple overview of key AI techniques:

 

Artificial Intelligence (AI):

AI is when machines are made to do tasks that normally require human intelligence, like understanding language, recognizing images, or making decisions.

AI includes a range of methods, from simple rule-based systems to more complex learning algorithms.

 

Machine Learning (ML):

ML is a part of AI where computers learn from data to make predictions or decisions without being explicitly programmed.

Instead of following fixed rules, they find patterns in the data and improve over time. 

 

There are 3 main types of machine learning:

  • Supervised Learning: Algorithms that learn from labeled data. 
  • Unsupervised Learning: Algorithms that learn from unlabeled data. .
  • Reinforcement Learning: Algorithms that learn by interacting with an environment to maximize a reward. 

 

In this diagram you can find the most used specific algorithms of the different types of machine learning:

 

 

 

Deep Learning (DL):

DL is a type of machine learning that uses neural networks with many layers to learn from large amounts of data.

It's particularly good at handling complex tasks like recognizing faces in photos or understanding spoken language.

 

 

Common algorithms are 

  • Convolutional Neural Networks (CNNs): Great for recognizing objects in images.
  • Recurrent Neural Networks (RNNs): Good for understanding sequences, like text or speech.
  • Long Short-Term Memory (LSTM): A type of RNN that's especially good at remembering information over long periods, useful in tasks like language translation and speech recognition.

 

(Image > Youssef Fenjiro)

 

Natural Language Processing (NLP):

NLP is a branch of AI that helps computers understand and work with human language, like English or Spanish.

It’s used in things like chatbots, translation services, and voice assistants, helping computers to read, listen, and even talk.

 

Computer Vision:

Computer vision is a field of AI that enables computers to "see" and understand images or videos.

It involves tasks like identifying objects in a picture, recognizing faces, or detecting movements, using both traditional techniques and modern AI methods like deep learning.

 

Generative AI:

Generative AI refers to AI systems that create new content, like text, images, music, or even code.

These systems generate something new based on patterns they have learned from existing data.

For example, a generative AI can write an essay, create a piece of art, or compose music that didn’t exist before.

 

Large Language Models (LLMs):

LLMs are a type of AI model that has been trained on massive amounts of text data to understand and generate human-like text.

They can perform a wide range of language-related tasks, such as answering questions, summarizing articles, and even engaging in conversations.

Examples include GPT-3 and GPT-4.

 

 

AI Combinations:

Many AI systems use a combination of different ML techniques to train their models.

 

(Image > Youssef Fenjiro)

 

For example GPT-4:

  • First, it was pretrained on a massive amount of text data from the internet using unsupervised learning, allowing it to understand and generate a wide range of topics.
  • Then, it was fine-tuned on labeled conversational data through supervised learning, helping it to generate more relevant and accurate responses in conversations.
  • Finally, its performance was polished using reinforcement learning, where human feedback from OpenAI researchers helps improve the quality of its generated responses.

At the end of this process, the AI evolves into what we know as ChatGPT, capable of holding intelligent and context-aware conversations.

 

 


 

Examples of How AI Is Used in Diabetes Care

 

1. Examples of Supervised Machine Learning

 

 

1.1 Glucose forecasting:

  • Supervised machine learning and deep learning algorithms have proven to be very useful for glucose prediction (IEEE 2022)
  • The Accu-Chek SmartGuide CGM will be the first CGM to offer a 2-hour detailed glucose prediction and a nocturnal hypoglycemia risk calculation, both based on AI.

 

1.2 Meal and Nutrition Prediction:

 

1.3 Predicting Diabetes:

 


2. Examples of Unsupervised Machine Learning

 

 

2.1 Identifying Risk Clusters:

 

2.2 Glucotypes:

 

 

3. Examples of Reinforcement Machine Learning

 

Reinforcement Learning in ML

 

3.1 Insulin Dosing Decisions:

 

3.2 Therapy Decision Support:

  • AI also helps optimize health coaching, for example encouraging better adherence to treatment plans (JMIR Form 2022), and enhancing physical activity adherence in people with diabetes (Digit Health 2022).

 

 

4. Computer Vision

 

Computer Vision (Part 1)-What is Computer Vision | by Coursesteach | Medium

 

 

4.1 Screening for Diabetic Complications:

 

4.2 Food recognition

 

4.3 Diabetes Detection:

 

 

5. Natural Language Processing / Generative AI

 

Evolution of Natural Language Processing with Generative AI

 

5.1 Virtual Health Coaches:

 

5.2 Insulin Management:

  • A basal-insulin titration software using conversational AI has been described (JAMA 2023).

 

5.3 Healthcare Support:

  • AI can assist healthcare providers by summarizing electronic health records, creating clinical documentation, detection of rare diseases and offering decision-making support.

 

 


 

The Future: Challenges and Opportunities

 

As AI continues to evolve, we can expect more personalized treatments for diabetes, leading to better glucose control and improved health outcomes.

The ultimate goal in diabetes technology is the creation of a fully closed-loop artificial pancreas system, which would automate insulin delivery entirely. 😍

 

However, there are challenges to overcome. 

  • AI in healthcare must be safe, reliable, and transparent. 
  • Research in this area should also focus on the ethical implications of AI and ensuring that it is accessible to everyone, regardless of their background or location.

 

Another issue is that AI models can often seem like "black boxes," making it hard to understand how they make decisions.

To build trust, AI systems need to provide clear explanations for their decisions. 

 It's crucial that we develop AI systems that are easy to understand and trust, which will help both patients and healthcare providers feel confident in using these advanced tools. 

 

By continuously expanding our understanding of AI and its applications in diabetes care, we can significantly improve the quality of care for people with diabetes.

 

AI is changing the world fast (some believe too fast).

The best thing you can do is stay informed so you can stay on top.

 

Call to Action: If you’re interested in learning more about AI in diabetes care, subscribe to our email list.

We will soon announce more online education sessions for diabetologists and diabetes educators, with the next event scheduled for October 21st at 7 PM CEST.

Save the date!

 

 

Best regards,



Diabetes Technology Updates – Fall 2024

CGM for People Without Diabetes

Hoe AI de diabeteszorg hervormt

 

Lees meer hier
Schrijf je in op de nieuwsbrief

 

Read more here
Subscribe to the newsletter