Hong Kong University of Science and Technology
A Reinforcement Learning Framework for Safe and Personalized Insulin Dosing Control in Type 1 Diabetes
Abstract
dc:description<p>Postprandial glucose management in individuals with type 1 diabetes (T1D) is progressively moving toward automated and closed-loop control, with the development of Continuous Glucose Monitoring (CGM) and Artificial Pancreas (AP) systems Modern AP systems typically regulate insulin delivery using algorithms such as rule-based controllers, proportional-integral-derivative (PID) control, model predictive control (MPC), and, increasingly, machine learning (ML) and reinforcement learning (RL) methods. However, existing control algorithms still face challenges in generalization and require extensive parameter tuning when dealing with inter-patient variability and complex dietary behaviors.</p> <p>We propose an insulin dosing controller based on the RL framework, inspired by the clinical practice of insulin titration-where physicians iteratively adjust dosing based on observed outcomes-and adopt Proximal Policy Optimization (PPO) as the learning algorithm after comparing alternative approaches. To improve generalization to unseen patients, we incorporate Automatic Domain Randomization (ADR) and auxiliary context embedding tasks, and further explore meta-reinforcement learning methods such as Probabilistic Embeddings for Actor-critic Reinforcement Learning (PEARL) for cross-scenario adaptability.</p> <p>We evaluate the proposed method through in silico experiments using the Simglucose simulation environment. Results show that it effectively increases the time in range (TIR) of 70-180 mg/dL and outperforms several conventional control strategies in terms of generalization. This study demonstrates that our proposed framework provides a feasible path toward truly generalized closed-loop diabetes management. Our code is available at https://github.com/ LI-Jialu/MetaRL-APControl.</p>
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Li, Jialu
- Contributors dc:contributor
-
- Shi, Ling
Rights
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://repository.hkust.edu.hk/ir/Record/1783.1-152480