Integrating Neural Differential Forecasting with Safe Reinforcement Learning for Blood Glucose Regulation

Yushen Liu, Yanfu Zhang, Xugui Zhou
11/16/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Automated insulin delivery for Type 1 Diabetes must balance glucose control and safety under uncertain meals and physiological variability. While reinforcement learning (RL) enables adaptive personalization, existing approaches struggle to simultaneously guarantee safety, leaving a gap in achieving both personalized and risk-aware glucose control, such as overdosing before meals or stacking corrections. To bridge this gap, we propose TSODE, a safety-aware controller that integrates Thompson Sampling RL with a Neural Ordinary Differential Equation (NeuralODE) forecaster to address this challenge. Specifically, the NeuralODE predicts short-term glucose trajectories conditioned on proposed insulin doses, while a conformal calibration layer quantifies predictive uncertainty to reject or scale risky actions. In the FDA-approved UVa/Padova simulator (adult cohort), TSODE achieved 87.9% time-in-range with less than 10% time below 70 mg/dL, outperforming relevant baselines. These results demonstrate that integrating adaptive RL with calibrated NeuralODE forecasting enables interpretable, safe, and robust glucose regulation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025integrating,
  title  = {Integrating Neural Differential Forecasting with Safe Reinforcement Learning for Blood Glucose Regulation},
  author = {Yushen Liu and Yanfu Zhang and Xugui Zhou},
  year   = {2025},
  eprint = {2511.12417},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.12417v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.12417.svg)](https://codeofpaper.com/paper/2511.12417)

Discussion