Abstract
We develop a Causal-Deep Neural Network (CDNN) model trained in two stages to infer causal impact estimates at an individual unit level. Using only the pre-treatment features in stage 1 in the absence of any treatment information, we learn an encoding for the covariates that best represents the outcome. In the 2nd stage we further seek to predict the unexplained outcome from stage 1, by introducing the treatment indicator variables alongside the encoded covariates. We prove that even without explicitly computing the treatment residual, our method still satisfies the desirable local Neyman orthogonality, making it robust to small perturbations in the nuisance parameters. Furthermore, by establishing connections with the representation learning approaches, we create a framework from which multiple variants of our algorithm can be derived. We perform initial experiments on the publicly available data sets to compare these variants and get guidance in selecting the best variant of our CDNN method. On evaluating CDNN against the state-of-the-art approaches on three benchmarking datasets, we observe that CDNN is highly competitive and often yields the most accurate individual treatment effect estimates. We highlight the strong merits of CDNN in terms of its extensibility to multiple use cases.
Introduction
Estimating the Individual Treatment Effect (ITE)—the causal impact of a treatment $T$ on an outcome $Y$ for an individual with characteristics $X$—is a fundamental challenge in causal inference. Unlike standard predictive modeling, ITE estimation is complicated by the "fundamental problem of causal inference": we never observe the counterfactual. For any given individual, we only see the outcome under the treatment they actually received.
In observational data, this is further complicated by selection bias, where the treatment assignment is often correlated with the individual's features. To address these challenges, researchers from Amazon have developed Causal-DNN (CDNN), a two-stage deep learning framework designed to provide robust and accurate ITE estimates.
Methodology: The Two-Stage CDNN Framework
The core of CDNN is a controlled training process divided into two distinct stages.
Stage 1: Learning the Base Outcome
In the first stage, a model ($M_1$) is trained to predict the outcome $Y$ using only the pre-treatment features $X$. Crucially, the treatment variable $T$ is omitted. This stage aims to capture the "natural" state of the individual and learn a high-quality encoding of the covariates that represents the outcome in the absence of treatment information.
Stage 2: Estimating the Treatment Effect
The second stage seeks to explain the remaining variance in the outcome by introducing the treatment variable $T$. The authors explore two primary architectural variants for this stage:
- Explicit Residual: A second model ($M_2$) is trained specifically on the residuals (the difference between the actual outcome and the Stage 1 prediction).
- Freezing (Preferred): The encoding layers from Stage 1 are "frozen" to preserve the learned representations of $X$. The treatment variable $T$ is then introduced and concatenated with these frozen encodings to predict the final outcome $Y$.
A significant theoretical contribution of this work is the proof that CDNN satisfies local Neyman orthogonality. This property ensures that the ITE estimates are robust to small errors in the nuisance parameters (the Stage 1 model), enhancing the overall reliability of the causal inference.
Experimental Evaluation
The CDNN framework was evaluated against state-of-the-art (SOTA) methods on three standard benchmarks:
- IHDP: A semi-synthetic dataset where CDNN achieved a $\sqrt{\epsilon_{PEHE}}$ of 0.54, significantly outperforming the previous SOTA (CFR_WASS at 0.76).
- Twins: Real-world data from twin births, simulating counterfactuals through genetic similarity.
- News: A high-dimensional dataset where the treatment is the device type used to access news content.
Across these diverse datasets, CDNN consistently ranked as a top performer, demonstrating its ability to handle both low-dimensional and high-dimensional features effectively.
Key Insights
- Implicit Propensity Handling: Unlike methods like Double Machine Learning, CDNN does not require an explicit propensity score model, simplifying the implementation pipeline.
- Superiority of Freezing: Freezing Stage 1 weights proved more effective than explicit residuals, likely because it maintains a richer representation of individual traits.
- Scalability and Extensibility: As a feed-forward neural network, CDNN is highly scalable. The authors also highlight its potential for extension to multiple treatments, continuous dosages, and complex interaction effects.
Conclusion
CDNN offers a mathematically grounded and empirically strong approach to ITE estimation. By leveraging a two-stage training process and the principle of freezing representations, it achieves high accuracy while remaining robust to nuisance parameter errors. Its flexibility makes it a promising tool for a wide range of causal inference applications in industry and research.
Summary updated