Abstract
In this paper, we address the challenge of performing counterfactual inference with observational data via Bayesian nonparametric regression adjustment, with a focus on high-dimensional settings featuring multiple actions and multiple correlated outcomes. We present a general class of counterfactual multi-task deep kernels models that estimate causal effects and learn policies proficiently thanks to their sample efficiency gains, while scaling well with high dimensions. We rely on Structural Causal Models (SCM) to formally introduce the setup and the problem of identifying counterfactual quantities under observed confounding. We then discuss the benefits of tackling the task of causal effects estimation via stacked coregionalized Gaussian Processes and Deep Kernels. Finally, we demonstrate the use of the proposed methods on simulated experiments that span individual causal effects estimation, off-policy evaluation, and optimization.
Introduction
In fields such as precision medicine and digital advertising, the ability to answer "what if" questions—counterfactual reasoning—is essential. For instance, a clinician might ask: What would have happened to this patient if they had received Treatment A instead of Treatment B? While randomized controlled trials (RCTs) are the gold standard for answering these questions, they are often impractical, unethical, or prohibitively expensive. Consequently, researchers must rely on observational data.
Observational data, however, is fraught with challenges, most notably selection bias and confounding. Standard Bayesian methods like Gaussian Processes (GPs) are valued for their robust uncertainty quantification, but they often struggle in high-dimensional settings or when dealing with multiple correlated treatments and outcomes. This paper introduces CounterDKL, a framework designed to overcome these limitations by combining the flexible feature learning of Deep Neural Networks (DNNs) with the rigorous uncertainty estimates of GPs.
The CounterDKL Framework
The proposed Counterfactual Multi-task Deep Kernels (CounterDKL) architecture operates in two primary stages to handle complex, high-dimensional observational data. First, a deep neural network serves as a feature extractor, mapping high-dimensional covariates into a lower-dimensional latent representation. This allows the model to capture intricate, non-linear relationships that standard kernels might overlook.
Second, a multitask Gaussian Process is placed atop these learned features. The core innovation here is the use of "stacked coregionalization," a mathematical technique that allows the model to share information across different treatment arms and correlated outcomes. By treating each treatment-outcome pair as a related task, the model can "borrow strength" from data-rich groups to improve predictions for groups with sparse data.
Information Sharing and Sample Efficiency
A critical problem in causal inference is the lack of "overlap," where certain treatment groups are underrepresented in the data. CounterDKL addresses this by leveraging the correlation between treatments. If Treatment A and Treatment B are functionally similar, the model utilizes data from A to refine the counterfactual predictions for B.
This multitask approach is supported by theoretical grounding; the paper establishes a "minimax rate" for multi-action settings, proving that as the number of possible actions increases, the estimation problem becomes exponentially harder. This justifies the necessity of the sample efficiency provided by the multitask deep kernel approach.
Experimental Evaluation and Results
The authors evaluated CounterDKL against several benchmarks, including the Jobs (LaLonde) dataset, the Infant Health Development Program (IHDP), and various UCI repository datasets for Off-Policy Evaluation (OPE).
- Scalability: In high-dimensional simulations, CounterDKL remained robust as the number of covariates ($P$) increased, whereas standard multi-task GPs often became unstable or failed to converge for $P > 10$.
- Accuracy: On the Jobs dataset, CounterDKL achieved a Test Mean Absolute Error of 0.015, significantly lower than the 0.036 achieved by standard GPs. On the IHDP dataset, it matched or exceeded the performance of specialized causal models like Bayesian Causal Forests (BCF).
- Policy Optimization: In Off-Policy Learning tasks, the model demonstrated a higher "Optimal Allocation Rate," indicating superior performance in identifying the most effective treatment for specific individuals.
Conclusion
CounterDKL represents a significant step forward in making Bayesian causal inference viable for large-scale, complex datasets. By integrating deep kernel learning with multitask coregionalization, the framework provides a scalable solution for counterfactual reasoning that maintains the benefits of uncertainty quantification. Future work may extend this framework to handle unobserved confounding via instrumental variables or apply it to dynamic treatment regimes in reinforcement learning contexts.
Summary updated