Abstract
Domain shift, encountered when using a trained model for a new patient population, creates significant challenges for sequential decision making in healthcare since the target domain may be both data-scarce and subject to unobserved confounding. This paper introduces Counterfactually Guided Policy Transfer (CFPT), a framework for adapting medical treatment policies from a data-rich "source" hospital to a data-scarce "target" hospital. By combining causal modeling with reinforcement learning, the authors demonstrate how to overcome domain shifts and hidden confounding, achieving up to a 3x performance improvement over standard transfer methods.
Introduction
Deploying Reinforcement Learning (RL) in healthcare is constrained by the inability to perform online exploration. Instead, agents must learn from fixed, historical datasets (offline RL). Transferring a policy from a source institution to a target institution introduces two primary hurdles: domain shift (differing patient populations) and unobserved confounding (hidden factors influencing both treatment and outcomes). Standard transfer learning often fails by either overfitting to small target datasets or naively applying source knowledge that is inappropriate for the new population.
Methodology
The CFPT framework frames policy transfer as a causal inference problem using a two-fold regularization strategy.
Counterfactual Regularization
The authors utilize a Structural Causal Model (SCM)—specifically a Gumbel-Max SCM—to model patient transitions. Instead of relying solely on sparse target data, the source domain's transition dynamics serve as an informative prior. Through "Abduction" of hidden noise variables and subsequent "Intervention," the model generates counterfactual trajectories. This process asks: "Based on source knowledge, what would have happened to this specific target patient under a different treatment?" This effectively augments the target dataset in a causally-consistent manner.
Policy Regularization
To maintain stability in data-scarce regions, the target policy is regularized toward the source policy using KL-divergence. This ensures the model adheres to established protocols while learning population-specific nuances. These components are integrated into the Counterfactual Policy Iteration (CF-PI) algorithm.
Experimental Evaluation
The method was evaluated using a Sepsis Simulator benchmark. The source domain featured a 10% diabetes prevalence, while the target domain varied from 0% to 100%. Crucially, diabetes status was "hidden" to simulate unobserved confounding, forcing the model to learn effective treatments without explicit knowledge of a key physiological driver.
Results and Discussion
CFPT consistently outperformed all baselines, including learning from scratch, pooling data, and direct source policy application. In scenarios with extreme data scarcity (500-2000 trajectories), CFPT demonstrated up to a 300% improvement in average reward compared to the "Scratch" baseline.
Qualitative analysis revealed that CFPT-trained policies were more clinically conservative, continuing treatment until vitals were fully stabilized rather than discharging patients prematurely. This suggests that the generative mechanism (how a patient responds to treatment) is a more robust transfer target than simple statistical matching.
Conclusion
CFPT demonstrates that causal structures can serve as powerful priors for policy transfer in high-stakes environments. While currently limited to discrete spaces and requiring a known causal graph, future work aims to extend this to continuous domains and automated discovery of causal structures.
Summary updated