Skip to main content Skip to section navigation

Artificial Intelligence (AI) in Medicine March 25, 2025

The Future of Diabetes: How AI and Glucose Monitors Could Transform Early Detection

By Rebecca Handler

Tracey McLaughlin's AI research reveals hidden subtypes of Type 2 diabetes, enabling personalized care and early intervention.

Type 2 diabetes is a chronic condition that affects the way your body regulates blood sugar (glucose), which is the main source of energy for your cells. In Type 2 diabetes, your body either resists the effects of insulin - a hormone that regulates the movement of sugar into your cells - or doesn't produce enough insulin to maintain normal glucose levels. As a result, glucose builds up in the bloodstream, leading to high blood sugar levels.

Despite common misconceptions, Type 2 diabetes isn't just about lifestyle choices or poor habits. It's a complex, multifaceted condition influenced by genetics, hormones, and various metabolic processes. In fact, the pathways leading to high blood sugar can vary significantly from person to person.

Stanford Medicine's latest AI research uncovers hidden subtypes of Type 2 diabetes, opening the door to personalized care.

Video Title Image

About 95% of diabetes cases are Type 2, but new research from Tracey McLaughlin, MD, and her team uses AI and machine learning to challenge conventional wisdom and show there isn't just one way to develop it. 

Scientists have long known that different biological processes contribute to high blood sugar, which is a key indicator of diabetes. Some people develop insulin resistance, where their muscles and liver don't respond properly to insulin; others have something called beta-cell dysfunction, meaning their pancreas struggles to produce enough insulin; and some have issues with gut hormones - called incretins - that normally help regulate blood sugar.

Traditionally, diagnosing diabetes and prediabetes has relied on measuring fasting glucose levels or the "A1C test," which tracks average blood sugar over three months. But these conventional methods don't capture the complexity of how blood sugar rises and falls throughout the day.

That's where machine learning comes in. Machine learning is a process where computers learn from data and improve their performance over time without being explicitly programmed. It involves feeding large amounts of data into algorithms that identify patterns and make predictions or decisions based on that data. 

By analyzing how your blood glucose goes up and down over time, McLaughlin and team, in collaboration with data scientists from Michael Synder, PhD's lab, trained an AI model to predict which metabolic issue is most likely to lead to development of diabetes in a given individual. 

Using a simple test, the study found that AI could accurately detect insulin resistance 95% of the time, beta-cell dysfunction 89% of the time, and incretin deficiency 88% of the time. 

The researchers tested their AI model using glucose data from people wearing continuous glucose monitors (CGMs) at home. These small, wearable sensors track blood sugar levels in real time, providing a detailed picture of how glucose fluctuates throughout the day. The results were nearly as accurate as gold-standard metabolic tests performed in a research clinic.

With this AI-powered approach to analyzing continuous glucose monitoring data, doctors can pinpoint and even predict each patient's unique subtype of Type 2 diabetes or prediabetes, paving the way for more customized treatments and personalized care. The research shows: AI can transform early detection of Type 2 diabetes, and lead to improved health outcomes like never before.

Tracey Mclaughlin, MD

Learn more about Tracey McLaughlin, MD

As a clinician investigator, Tracey McLaughlin, MD, treats complex diabetes, polycystic ovarian disease, and hypoglycemia. Her research focuses on obesity, fat distribution, insulin resistance, incretin hormones, post-bariatric hypoglycemia, and the use of continuous glucose monitoring and multi-omics to develop precision diets for prediabetes and Type 2 diabetes.

About Stanford Department of Medicine

Stanford Department of Medicine is an academic department within the Stanford School of Medicine dedicated to advancing patient care, education, and research across internal medicine and its subspecialties. We provide high‑quality patient care, train doctors and scientists, and do research to prevent illness, improve diagnosis and treatment, and help people live healthier lives. We serve diverse communities and work to make health care better for today and tomorrow. For more information, visit medicine.stanford.edu

RebeccaHandler

Rebecca Handler

Rebecca Handler, MsC is a science writer and researcher at Stanford’s Department of Medicine, where she translates complex research into accessible narratives for clinicians, patients, and the public. She serves as Manager of Science Communications, partnering closely with clinicians and investigators to highlight advances across multiple specialties and disciplines. 

Both her writing and research focus on rapid developments in clinical AI, computational medicine, and public health. Rebecca holds a Master of Science from Boston University, where she studied epidemiology and science communication, and a Bachelor of Science in cognitive science. Rebecca is originally from Connecticut and moved to California in 2024, and when she isn’t head-down in a research paper, she enjoys sunshine, reading, and horseback riding.