[Paper Review] Estimating and evaluating counterfactual prediction models
This paper proposes methods to estimate and evaluate counterfactual prediction models when treatment policies differ between training and deployment settings or when predictions are inherently counterfactual. It introduces identifiability conditions for performance measures under model misspecification and demonstrates how to assess model performance using only factual training and test data, validated via simulation and an application to statin-naïve cardiovascular disease risk prediction in the MESA cohort.
Counterfactual prediction methods are required when a model will be deployed in a setting where treatment policies differ from the setting where the model was developed, or when a model provides predictions under hypothetical interventions to support decision-making. However, estimating and evaluating counterfactual prediction models is challenging because, unlike traditional (factual) prediction, one does not observe the potential outcomes for all individuals under all treatment strategies of interest. Here, we discuss how to estimate a counterfactual prediction model, how to assess the model's performance, and how to perform model and tuning parameter selection. We provide identification and estimation results for counterfactual prediction models and for multiple measures of counterfactual model performance, including loss-based measures, the area under the receiver operating characteristic curve, and the calibration curve. Importantly, our results allow valid estimates of model performance under counterfactual intervention even if the candidate prediction model is misspecified, permitting a wider array of use cases. We illustrate these methods using simulation and apply them to the task of developing a statin-naive risk prediction model for cardiovascular disease.
Motivation & Objective
- To address the challenge of deploying prediction models in settings where treatment policies differ from the training environment, leading to performance degradation.
- To enable performance evaluation of counterfactual prediction models even when the model is misspecified, using only observational (factual) data.
- To provide a framework for model tailoring and tuning parameter selection tailored to counterfactual estimands using training and test data from the same source population.
- To establish identifiability conditions for counterfactual performance measures under model misspecification, ensuring valid evaluation without untestable assumptions.
- To demonstrate the practical utility of the framework through simulation and a real-world application to statin-naïve cardiovascular disease risk prediction in the MESA cohort.
Proposed method
- Propose a framework to tailor prediction models to counterfactual estimands using only observational data from a single source population.
- Use outcome model (OM) and inverse probability weighting (IPW) estimators to estimate counterfactual performance measures, with the OM estimator defined as $\widehat{\psi}_{OM} = \frac{1}{n_{test}} \sum_{i \in D_{test}} \widehat{h}_{a}(X_i)$ and the IPW estimator as $\widehat{\psi}_{IPW} = \frac{1}{n_{test}} \sum_{i \in D_{test}} \frac{\widehat{h}_{a}(X_i)}{\widehat{e}_a(X_i)}$.
- Establish identifiability of performance measures under model misspecification by deriving conditions under which counterfactual performance can be consistently estimated from factual data.
- Apply double-robust estimation techniques to improve robustness of performance evaluation when either the outcome model or the propensity score model is misspecified.
- Use a sequence of nested trials in the MESA cohort to emulate a single-arm trial for statin initiation, enabling estimation of treatment-naïve risk under AHA guidelines.
- Implement inverse probability weighting with lagged time-varying covariates and baseline predictors to adjust for confounding in the emulated trial setting.

Experimental results
Research questions
- RQ1Under what conditions can counterfactual prediction models be estimated and evaluated using only factual data from a single source population?
- RQ2How can model performance be assessed for counterfactual predictions when the model is potentially misspecified?
- RQ3Can performance measures for counterfactual predictions be consistently estimated without observing the full set of potential outcomes?
- RQ4How can model tailoring and tuning parameter selection be performed for counterfactual estimands using only training and test data?
- RQ5What is the performance of a statin-naïve cardiovascular disease risk prediction model when evaluated under counterfactual treatment policies?
Key findings
- The paper establishes identifiability conditions under which counterfactual performance measures can be consistently estimated from factual data, even when the prediction model is misspecified.
- The outcome model (OM) and inverse probability weighted (IPW) estimators provide consistent estimates of counterfactual performance under appropriate regularity conditions.
- Simulation results demonstrate that both OM and IPW estimators maintain good finite-sample performance, with IPW showing improved robustness under model misspecification.
- In the MESA application, the proposed framework successfully estimated statin-naïve cardiovascular disease risk under AHA guidelines, with performance evaluation feasible using only observational data.
- The use of double-robust estimators improved estimation stability and reduced bias when either the outcome or propensity score model was misspecified.
- The study confirms that model performance in a counterfactual setting can be evaluated independently of the model-fitting method, enabling valid model comparison and selection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.