Abstract
Decision-makers are faced with the challenge of estimating what is likely to happen when they take an action. For instance, if I choose not to treat this patient, are they likely to die? Practitioners commonly use supervised learning algorithms to fit predictive models that help decision-makers reason about likely future outcomes, but we show that this approach is unreliable, and sometimes even dangerous. The key issue is that supervised learning algorithms are highly sensitive to the policy used to choose actions in the training data, which causes the model to capture relationships that do not generalize. We propose using a different learning objective that predicts counterfactuals instead of predicting outcomes under an existing action policy as in supervised learning. To support decision-making in temporal settings, we introduce the Counterfactual Gaussian Process (CGP) to predict the counterfactual future progression of continuous-time trajectories under sequences of future actions. We demonstrate the benefits of the CGP on two important decision-support tasks: risk prediction and "what if?" reasoning for individualized treatment planning.
Introduction: The Pitfalls of Supervised Learning in Decision Support
Standard supervised learning models often fail in decision-support roles because they learn the "policy" of the training data rather than the true underlying cause-and-effect. For example, a model trained to predict the risk of death for pneumonia patients might learn that having asthma lowers the risk of death. This occurs because, in practice, clinicians recognize asthmatics as high-risk and provide them with immediate, aggressive treatment. The model observes the successful outcome but fails to attribute it to the intervention, mistakenly associating the condition itself with a lower risk.
This is the core challenge of decision support. If a clinician uses such a model to decide who to send home, they might inadvertently put high-risk patients in danger. Standard supervised learning captures correlations based on existing policies; it doesn't understand counterfactuals—what would happen if a different treatment path were chosen. This research aims to build models that can reliably predict future trajectories under any sequence of actions, regardless of the policy used in the training data.
The Counterfactual Gaussian Process (CGP)
To address these limitations, we introduce the Counterfactual Gaussian Process (CGP), which combines Gaussian Processes (GPs) with the Potential Outcomes framework from causal inference. Unlike most causal models that operate in discrete time steps, the CGP handles continuous-time trajectories where measurements and actions occur at irregular intervals.
The framework utilizes Marked Point Processes (MPP) to model the joint distribution of actions and outcomes. This allows for the mathematical separation of the "Action Model" (the policy used in the training data) from the "Outcome Model" (the underlying disease progression). By maximizing an adjusted likelihood objective, the CGP "unbiases" the model, learning to predict the counterfactual outcome—the progression of a patient if a specific action were taken—rather than just mimicking training data correlations. This approach relies on critical assumptions: consistency, continuous-time no unmeasured confounders, and non-informative measurement times.
Experimental Evaluation
We evaluated the CGP using both simulated and real-world clinical data. In simulations, we created a synthetic "severity marker" recorded over 24 hours under three different treatment regimes (Policies A, B, and C) to test sensitivity to training policies. For real-world application, we used the MIMIC-II Database, focusing on creatinine levels in ICU patients receiving various types of dialysis (IHD, CVVH, and CVVHD).
Key Results
- Policy Stability: In simulations, the risk scores of a baseline GP fluctuated significantly ((\Delta = 0.083)) when the training policy changed. In contrast, the CGP remained nearly perfectly stable ((\Delta = 0.001)), demonstrating that it learned the underlying mechanism rather than the policy.
- Predictive Accuracy: On the MIMIC-II ICU data, the CGP achieved a Mean Absolute Error (MAE) of 0.39 for 24-hour predictions, significantly outperforming baselines that ignored the causal impact of dialysis.
- Qualitative Reasoning: The CGP successfully predicted that a patient’s creatinine would have stopped improving if their dialysis had been terminated early, showcasing its ability to perform classic counterfactual "what if" reasoning.
Discussion and Future Work
A primary insight of this work is that policy sensitivity in decision support is a bug, not a feature. A model's prediction for a patient should not change simply because a hospital's internal treatment guidelines shifted. The CGP acts as a "what if" machine, allowing clinicians to overlay multiple counterfactual trajectories to determine the best treatment path.
However, like all causal inference methods, the CGP's validity depends on the assumption of no unmeasured confounders, which is difficult to guarantee in complex medical settings. Future work will focus on developing formal sensitivity analyses to determine how robust a model's conclusions are to violations of these assumptions and integrating these models with reinforcement learning for automated policy optimization.
Summary updated