The impact of temporal resampling on the safety of clinical reinforcement learning: A simulated trial.
Thomas Frost, Hrisheekesh Vaidya, Steve Harris
University College London, London, United Kingdom.
Key points
From the paper's conclusion- We then conducted an in silico clinical trial using 30 virtual patients with type 1 diabetes from the FDA-approved UVA/Padova simulator.
Abstract
Reinforcement learning (RL) is a type of artificial intelligence for making optimal choices. In healthcare, researchers generally use offline RL (ORL), where models are trained and evaluated from retrospective observational data. To accommodate naturally irregular clinical records, researchers often resample the data into uniform time intervals before training (known as binning). However, binning may create counterfactual trajectories that do not represent clinical practice. We first quantified these distortions in patients receiving continuous insulin infusions in the MIMIC-IV intensive care database. Binning reversed the apparent causal order for over 70% of paired glucose measurements and insulin adjustments within the same interval, and frequently masked significant dysglycaemic events and merged distinct treatment decisions together. We then conducted an in silico clinical trial using 30 virtual patients with type 1 diabetes from the FDA-approved UVA/Padova simulator. The simulator was modified to include stochastic intervals between decisions and used to generate a training dataset for offline RL. We trained three ORL algorithms on both the unprocessed dataset and equivalent datasets resampled at 10-minute, 2-hour, and 4-hour intervals. When deployed back into the simulated environment, temporal resampling was found to reduce model performance by up to 60% relative to unprocessed data, with 4-hour binning causing all agents to perform worse than the dataset's baseline. Retrospective evaluation on resampled data actively obscured this effect, predicting 1.5-3x better returns than agents achieved in practice. We recommend that future research in this area prioritises datasets with natural clinical timings between decisions, which may be a necessary step before these models can be safely deployed into patient care.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Digital Twin Workflow for Continuous Glucose Forecasting: Real-Time Data Assimilation Using Reinforcement LearningmedRxiv · 2026
- Tail-Risk-Aware Model Predictive Control for Hypoglycemia Mitigation in Automated Insulin Delivery.Metabolites · 2026
- Offline Reinforcement Learning for Out-of-Distribution ICU Sepsis Decision SupportmedRxiv · 2026
- Toward a digital twin of the ICU patient: Forecasting and treatment response in a generative event modelarXiv · 2026
- Generalized multi task learning framework for glucose forecasting and hypoglycemia detection using simulation to realitynpj Digital Medicine · 2025
- ICare-DT: a digital twin for continuous forecasting of intensive care patientsarXiv · 2026