TRANSMISSION // 2611.31498v1

What Does an AI Insulin-Dosing Policy Pay Attention To?

Source published

A simulator study tests whether explanations of two AI insulin-dosing policies reflect the inputs that actually change their recommendations—and where those explanations remain uncertain.

AI-generated conceptual illustration for What Does an AI Insulin-Dosing Policy Pay Attention To?
AI-generated conceptual illustration; not documentary evidence.

Reinforcement-learning systems may help automate insulin dosing, but a recommendation is hard to assess if it is unclear which information shaped it. XRL4T1D tests post-hoc explanations of two simulated policies, while emphasizing that plausible explanations are not proof of clinical safety or benefit.

Looking inside an insulin-dosing recommendation

An automated insulin-dosing policy must respond to changing glucose levels and account for insulin already administered. Reinforcement learning (RL) offers one way to build such policies: an algorithm learns a decision strategy through interaction with a simulated environment. But knowing whether a policy’s glucose-control results look good does not tell us which past measurements influenced a particular dose.

Malay Phadke and Chirath Hettiarachchi introduce XRL4T1D, a framework for examining that question without retraining an existing policy. Their study focuses on two pretrained controllers, PPO and G2P2C, evaluated in the UVA/Padova type 1 diabetes simulator. The aim is not to establish which controller is clinically better. It is to test whether post-hoc explanations of their recommendations are informative and how consistent those explanations remain under different analyses.

From recent measurements to explanations

At each decision, a policy receives 12 continuous glucose monitor (CGM) readings and 12 records of administered insulin, sampled every five minutes across the preceding hour. It then recommends insulin for the next five-minute interval. The researchers use SHAP, a method that assigns importance scores to inputs, to estimate how much each historical measurement contributes to the recommendation.

They first compare the importance assigned to the glucose and insulin histories. They then group insulin-history inputs into three periods: the most recent 0–20 minutes, 20–40 minutes earlier, and 40–60 minutes earlier. This time grouping is inspired by the clinical idea of insulin-on-board: previously delivered insulin may continue to act. But the study’s attribution-based summary is not a measurement of active insulin in the body and should not be confused with clinical insulin-on-board.

The team also checks whether the explanations correspond to changes in the policy’s output. They replace selected inputs with average values from reference data and measure how much the recommendation changes. In a separate test, they replace each insulin-history window in turn. They compare the resulting temporal rankings with those from TimeSHAP, another method for explaining sequential data.

What the tests found

Across 80 patient–policy–mask-size cases, replacing the individual inputs with the highest SHAP scores changed the normalized recommendation more than replacing the lowest-scoring inputs or a random selection. This supports the idea that, under this particular replacement test, highly ranked inputs tend to matter more to the policy’s output.

The temporal results were also generally consistent, though not perfectly so. In 115 of 120 patient–policy–scenario configurations, the insulin-history window ranked highest by SHAP was also the window whose replacement changed the output most. KernelSHAP and TimeSHAP agreed on the top window in 111 of 120 configurations. These are comparisons between explanation methods and specified interventions—not proof that the explanations reveal the policies’ internal reasoning or causal relationships in the body.

Both policies assigned most of their total input importance to CGM history, especially G2P2C. Within the smaller share assigned to insulin history, however, the distribution across recent, middle, and older measurements did not show a consistent separation between controllers. That profile varied with patient cohort, explainer, and analysis settings. Global feature rankings remained highly stable under the tested observation corruptions, but this was a test of explanation stability on paired clean trajectories—not evidence that the controllers would remain safe if sensors were corrupted during operation.

What remains uncertain

The evaluation used 20 virtual patients and two controllers in simulation. It did not test people with diabetes, establish clinical benefit, or validate dosing safety in practice. The simulated scenarios also omitted disturbances such as exercise, illness, and infusion-site failures. The authors did not conduct a clinician study or prospective clinical validation.

There are methodological limits, too. Replacing correlated measurements with average reference values can create combinations that are unrealistic. The authors therefore treat the replacement results as evidence about output sensitivity under those interventions, not as causal validation. Fine-grained insulin-history profiles can also shift with explanation settings, particularly when insulin history accounts for little of the total attribution.

The paper is identified as a GenAI for Health Workshop contribution at NeurIPS 2026 and is available as an arXiv preprint. A preprint and simulator study are early research evidence, not independent confirmation of clinical usefulness. The main takeaway is methodological: explanations should be checked against policy behavior, and stability of broad feature rankings should not be mistaken for certainty about finer comparisons—or for proof that a medical AI system is ready for use.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.