
Researchers Malay Phadke and Chirath Hettiarachchi have introduced XRL4T1D, a post-hoc explainability framework built to audit pretrained reinforcement learning (RL) insulin-dosing controllers for Type 1 diabetes (T1D) without retraining them. Detailed in a 23-page paper submitted to arXiv (2611.31498) on November 23, 2026, and listed for the GenAI for Health Workshop at NeurIPS 2026, the study examines how RL policies weigh continuous glucose monitor (CGM) readings against prior insulin doses inside the UVA/Padova metabolic simulator.
Post-hoc interpretability for simulated insulin dosing
Type 1 diabetes management requires lifelong insulin therapy, and RL algorithms have attracted growing research interest for automated dosing. However, neural control policies often function as black boxes, making it difficult for engineers and clinical researchers to verify whether a model responds appropriately to recent glucose trends or active insulin already in the body. XRL4T1D addresses this gap as a post-hoc inspection layer that evaluates frozen, pretrained dosing policies rather than modifying their reward functions or network architectures.
In the evaluated setup, each RL controller receives a 60-minute state history sampled at 5-minute intervals, comprising both CGM measurements and previously administered insulin doses, and outputs a recommended insulin dose. By operating strictly on inputs and outputs after training, XRL4T1D allows researchers to compare distinct policy architectures on equal footing while preserving the underlying controller weights.
SHAP windowing, sensitivity tests, and controller metrics
To quantify feature importance, XRL4T1D applies SHapley Additive exPlanations (SHAP), comparing KernelSHAP against the temporal variant TimeSHAP. Rather than treating all 12 five-minute insulin steps as isolated scalars, the authors aggregate insulin-history attributions across three 20-minute blocks—recent, middle, and older—motivated by physiological insulin-on-board dynamics. The researchers then test whether attribution scores reflect actual policy sensitivity by replacing targeted subsets of inputs and measuring shifts in normalized insulin recommendations.
According to the authors' evaluation across 20 virtual patients in the UVA/Padova simulator, targeted input replacement confirmed high attribution fidelity for single-step importance rankings. In all 80 patient-policy-mask-size cases tested, replacing the highest-attribution inputs altered the normalized insulin recommendation more than replacing either the lowest-attribution inputs or randomly selected inputs. Temporal alignment proved similarly consistent, though not absolute: the insulin-history window receiving the highest attribution was also the most output-sensitive window in 115 of 120 patient-policy-scenario configurations, while KernelSHAP and TimeSHAP agreed on the top insulin window in 111 of 120 configurations.
Applying the framework to two RL controllers—Proximal Policy Optimization (PPO) and G2P2C—revealed clear structural patterns alongside subtle instabilities. Both controllers relied predominantly on CGM history over insulin-dosing history, with G2P2C showing an especially heavy dependence on CGM inputs. Meanwhile, global feature-attribution rankings remained stable under the paper's tested observation corruptions. Yet the distribution of importance across the recent, middle, and older insulin windows shifted depending on the patient cohort, the explainer algorithm, and specific analysis settings, yielding no consistent separation between PPO and G2P2C.
Implications for automated dosing research workflows
For machine learning teams developing healthcare control systems, the paper's core methodological contribution lies in decoupling three properties often conflated in explainable AI studies: attribution fidelity, temporal reproducibility, and controller-comparison robustness. Passing a perturbation test does not guarantee that two explainers will rank time windows identically, nor does it ensure that observed differences between algorithms reflect genuine policy behavior rather than sensitivity to cohort selection or explainer configuration.
In practical research workflows, XRL4T1D offers a structured checklist before advancing an RL dosing policy to deeper validation. Developers can verify whether a model over-indexes on CGM signals at the expense of insulin-on-board context, test whether global rankings hold when sensor inputs are noisy or corrupted, and avoid over-interpreting minor temporal attribution differences when comparing competing RL algorithms such as PPO and G2P2C.
Simulation scope, undisclosed details, and clinical caveats
Crucially, the results reported in XRL4T1D come exclusively from in-silico experiments involving 20 virtual patients inside the UVA/Padova simulator. The study does not report human clinical trials, prospective patient testing, real-world insulin pump integration, or regulatory clearance, and it should not be read as evidence of clinical efficacy or safety in live diabetes care. Hardware specifications, compute latency for running KernelSHAP and TimeSHAP, underlying RL training hyperparameters, and source-code licensing or repository availability are not disclosed in the arXiv abstract metadata.
As automated insulin delivery research continues exploring data-driven control, Phadke and Hettiarachchi's findings underscore that post-hoc explainability tools themselves require rigorous stress-testing. Even when attributions track output sensitivity reliably, temporal explanations can remain sensitive to explainer design—highlighting the need for multi-metric verification before interpretability scores inform safety-critical medical engineering decisions.
Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-25.



