ResearchNature Medicine · Sep 14, 2023

Optimized glycemic control of type 2 diabetes with reinforcement learning: a proof-of-concept trial

Wang G, Liu X, Ying Z, Yang G, Chen Z, Liu Z, et al
Endocrinology & DiabetesAdult
Read the full paper free at PubMed Central ↗

Abstract

The personalized titration and optimization of insulin regimens for treatment of type 2 diabetes (T2D) are resource-demanding healthcare tasks. Here we propose a model-based reinforcement learning (RL) framework (called RL-DITR), which learns the optimal insulin regimen by analyzing glycemic state rewards through patient model interactions. When evaluated during the development phase for managing hospitalized patients with T2D, RL-DITR achieved superior insulin titration optimization (mean absolute error (MAE) of 1.10 ± 0.03 U) compared to other deep learning models and standard clinical methods. We performed a stepwise clinical validation of the artificial intelligence system from simulation to deployment, demonstrating better performance in glycemic control in inpatients compared to junior and intermediate-level physicians through quantitative (MAE of 1.18 ± 0.09 U) and qualitative metrics from a blinded review. Additionally, we conducted a single-arm, patient-blinded, proof-of-concept feasibility trial in 16 patients with T2D. The primary outcome was difference in mean daily capillary blood glucose during the trial, which decreased from 11.1 (±3.6) to 8.6 (±2.4) mmol L-1 (P < 0.01), meeting the pre-specified endpoint. No episodes of severe hypoglycemia or hyperglycemia with ketosis occurred. These preliminary results warrant further investigation in larger, more diverse clinical studies. ClinicalTrials.gov registration: NCT05409391 .

More on this topic

Type 2 diabetesAI in medicine

Subject terms

Humans; Diabetes Mellitus, Type 2; Hypoglycemic Agents; Glycemic Control; Artificial Intelligence; Insulin; Blood Glucose

DOI: 10.1038/s41591-023-02552-9 · PubMed: 37710000 · Registered: NCT05409391

Cite this article

Wang G, Liu X, Ying Z, Yang G, Chen Z, Liu Z. Optimized glycemic control of type 2 diabetes with reinforcement learning: a proof-of-concept trial. Nat Med. 2023. doi:10.1038/s41591-023-02552-9

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top studies every Monday

The week’s key trials and guidelines in your specialties, plus any topics you follow. By email, free.

Get the weekly digest

Similar articles

Randomized trial · JAMA Netw Open · May 1, 2025 · Endocrinology & Diabetes

Artificial intelligence insulin titration was found to be noninferior to senior physician management in hospitalized patients

Review · Diabetes Obes Metab · Jan 27, 2026 · Endocrinology & Diabetes

Rethinking control-IQ+ technology: Simple strategies for easy optimization

Guideline · Diabetes Obes Metab · Jun 11, 2025 · Endocrinology & Diabetes

Guidelines suggest specific patient groups may benefit most from fixed-ratio basal insulin and GLP-1 receptor agonist combinations

Randomized trial · Diabetes Care · Mar 16, 2023 · Endocrinology & Diabetes

Once-weekly basal insulin efsitora alfa showed similar blood sugar control to daily degludec

Meta-analysis · Diabetes Obes Metab · Apr 2, 2025 · Endocrinology & Diabetes

iGlarLixi was associated with greater blood glucose reduction and weight benefit than IDegAsp