This NeurIPS 2021 paper by Liyuan Xu and colleagues introduces a powerful new tool for causal inference when hidden "confounders" threaten to bias our results. By leveraging deep learning, the authors provide a robust method for estimating causal effects in complex, high-dimensional environments.
TL;DR
The authors introduce Deep Feature Proxy Variable (DFPV), the first method to use deep neural networks for Proxy Causal Learning. By leveraging "proxy" variables to account for hidden confounders, DFPV can estimate causal effects in complex, high-dimensional settings (like image data) where traditional methods fail.
The Challenge of Unobserved Confounding
In causal inference, the core question is often: "If I change treatment $A$, what happens to outcome $Y$?" (e.g., "If I raise the price of a ticket, how will sales change?"). The biggest obstacle to answering this is confounding: hidden factors that influence both the treatment and the outcome.
In the ticket example, "customer demand" is a confounder. During the holidays, demand is high, so prices go up and sales go up. A naive analysis might wrongly conclude that high prices cause high sales. Standard solutions often assume we can measure every possible confounder, which is rarely true in practice.
Proxy Causal Learning (PCL) is a more realistic alternative. It assumes we have "proxies"—side information that is related to the hidden confounder but isn't the confounder itself. However, existing PCL methods rely on fixed, simple mathematical features (like linear models or kernels). These struggle when relationships are highly nonlinear or when the data is high-dimensional, such as images or text.
Methods: Deep Feature Proxy Variable (DFPV)
The authors propose DFPV, which adapts techniques from "Deep Instrumental Variable" (Deep IV) methods to the PCL framework.
PCL requires two types of proxies to triangulate the causal effect:
- Treatment-inducing proxies ($Z$): Variables that affect the treatment through the confounder (e.g., the cost of fuel affecting ticket prices).
- Outcome-inducing proxies ($W$): Variables that are affected by the confounder and correlate with the outcome (e.g., the number of views on a reservation page).
DFPV solves this using a two-stage regression with deep neural networks:
- Stage 1: A neural network learns the relationship between the treatment ($A$), the treatment proxy ($Z$), and the features of the outcome proxy ($W$).
- Stage 2: Using the output from Stage 1, another network learns the "bridge function"—the mathematical link that allows us to calculate the true causal effect while "canceling out" the bias from the hidden confounder.
The "Deep" aspect is crucial: instead of picking features by hand, the model learns adaptive features directly from the data, allowing it to model much more complex systems than previous kernel-based approaches.
Datasets and Evaluation
The authors evaluated DFPV on three main benchmarks:
- Demand Design: A synthetic dataset simulating ticket sales, where demand is a hidden confounder.
- dSprite: A high-dimensional image dataset. Here, the "treatment" is an image of a shape, and the confounder is the shape's vertical position. This tests the model's ability to handle 4,096-dimensional input.
- Confounded Bandit OPE: A setup for Off-Policy Evaluation (OPE), where the goal is to predict how a new pricing policy would perform using historical data that was biased by hidden demand.
Key Insights and Results
- Neural Networks for PCL: This is the first work to successfully integrate deep learning into the PCL framework, moving beyond the limitations of kernel-based methods.
- The "Bridge" is Key: The paper reinforces that we don't actually need to "recover" or "guess" what the hidden confounder is. We only need to solve for the "bridge function" that connects our proxies to our outcomes.
- Theoretical Grounding: Despite using "black box" neural networks, the authors provide a consistency proof. They show that as you get more data, DFPV's estimate converges to the true causal effect, even with adaptive features.
- Superior Accuracy and Stability: In the Demand Design task, DFPV significantly outperformed existing state-of-the-art methods like KPV (Kernel Proxy Variable) and PMMR. It also proved more stable than CEVAE (a popular VAE-based causal method), which often produced highly variable results in the demand simulations.
- Handling High-Dimensional Images: On the dSprite image task, DFPV was the only method that performed reliably. Traditional kernel methods were overwhelmed by the high dimensionality of the images.
- Bandit Integration: They demonstrate that PCL isn't just for static data; it’s highly effective for evaluating "bandits" (reinforcement learning agents). In the confounded bandit experiments, DFPV provided much more accurate estimates of a new policy's value, which is critical for real-world deployment of AI in pricing or healthcare.
Limitations and Future Work
While powerful, DFPV has a few limitations. To make the math tractable, the authors use a simplified gradient descent approach that ignores some complex dependencies between the two stages. While it works well in practice, a more "exact" optimization might yield even better results. Furthermore, like most deep learning methods, there is no guarantee the model won't get stuck in a local minimum during training.
For future directions, the authors suggest exploring adversarial training (similar to GANs) to solve the underlying functional equations, which might improve performance in even more "noisy" environments. They also aim to apply this framework to more complex Reinforcement Learning scenarios, such as Partially Observable Markov Decision Processes (POMDPs).
Summary updated