Flexible Blood Glucose Control: Offline Reinforcement Learning from Human Feedback

Harry Emerson, Sam Gordon James, Matthew Guy, Ryan McConville
1/27/2025
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Reinforcement learning (RL) has demonstrated success in automating insulin dosing in simulated type 1 diabetes (T1D) patients but is currently unable to incorporate patient expertise and preference. This work introduces PAINT (Preference Adaptation for INsulin control in T1D), an original RL framework for learning flexible insulin dosing policies from patient records. PAINT employs a sketch-based approach for reward learning, where past data is annotated with a continuous reward signal to reflect patient's desired outcomes. Labelled data trains a reward model, informing the actions of a novel safety-constrained offline RL algorithm, designed to restrict actions to a safe strategy and enable preference tuning via a sliding scale. In-silico evaluation shows PAINT achieves common glucose goals through simple labelling of desired states, reducing glycaemic risk by 15% over a commercial benchmark. Action labelling can also be used to incorporate patient expertise, demonstrating an ability to pre-empt meals (+10% time-in-range post-meal) and address certain device errors (-1.6% variance post-error) with patient guidance. These results hold under realistic conditions, including limited samples, labelling errors, and intra-patient variability. This work illustrates PAINT's potential in real-world T1D management and more broadly any tasks requiring rapid and precise preference learning under safety constraints.

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{emerson2025flexible,
  title  = {Flexible Blood Glucose Control: Offline Reinforcement Learning from Human Feedback},
  author = {Harry Emerson and Sam Gordon James and Matthew Guy and Ryan McConville},
  year   = {2025},
  eprint = {2501.15972},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.15972v1}
}

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/2501.15972.svg)](https://codeofpaper.com/paper/2501.15972)

Discussion