Data-Driven Influence Functions for Optimization-Based Causal Inference

Michael I. Jordan, Zhaoran Wang, Angela Zhou · DOI

Abstract

We study a constructive algorithm that approximates Gateaux derivatives for statistical functionals by finite differencing, with a focus on functionals that arise in causal inference. We study the case where probability distributions are not known a priori but need to be estimated from data. These estimated distributions lead to empirical Gateaux derivatives, and we study the relationships between empirical, numerical, and analytical Gateaux derivatives. Starting with a case study of the interventional mean, we delineate the relationship between finite differences and the analytical Gateaux derivative. We then derive requirements on the rates of numerical approximation in perturbation and smoothing that preserve the statistical benefits of one-step adjustments, such as rate double robustness. We then study more complicated functionals such as dynamic treatment regimes, the linear-programming formulation for policy optimization in infinite-horizon Markov decision processes, and sensitivity analysis in causal inference. More broadly, we study optimization-based estimators, since this begets a class of estimands where identification via regression adjustment is straightforward but obtaining influence functions under minor variations thereof is not. The ability to approximate bias adjustments in the presence of arbitrary constraints illustrates the usefulness of constructive approaches for Gateaux derivatives.

Introduction

In causal machine learning, estimating a target parameter—such as the Average Treatment Effect (ATE)—typically requires the estimation of "nuisance functions," such as outcome regressions or propensity scores. However, if these first-stage models are misspecified or converge slowly, the resulting causal estimate becomes biased. The standard remedy is the use of debiased or "doubly robust" estimators, which utilize influence functions to cancel out first-stage bias.

While theoretically powerful, deriving influence functions analytically is a mathematically intensive process that must be repeated for every new estimator. This challenge is particularly acute for optimization-based estimators, such as those used in reinforcement learning or constrained policy optimization, where the target is the solution to a complex mathematical program. This paper introduces a "constructive" numerical approach that uses finite differences to automatically approximate these corrections, enabling "plug-and-play" debiasing for sophisticated causal models.

Methodology: Empirical Gateaux Derivatives

The core of the proposed framework is the use of Empirical Gateaux Derivatives—a numerical method to calculate influence functions without manual calculus. The approach consists of four primary components:

  1. Finite Differencing: Instead of solving for a derivative analytically, the algorithm slightly perturbs the estimated data distribution by adding a small weight $\epsilon$ to a specific observation and measuring the resulting change in the target functional.
  2. Smoothing: To maintain stability when dealing with continuous data, the authors employ kernel density estimation (KDE). This creates a "smoothed" version of the data points, ensuring the numerical derivatives remain well-behaved.
  3. Finite Difference Calculus: The authors develop a set of rules—analogous to the product and quotient rules in standard calculus—that allow for the decomposition of complex, multi-stage causal models into simpler, manageable components.
  4. Optimization Framework: The method is specifically tailored for estimators defined as solutions to Stochastic Linear Programs. A key insight is that the influence function for these problems is deeply connected to the "dual variables" (shadow prices) of the optimization constraints.

Theoretical Insights and Results

Rate Double Robustness

A significant theoretical contribution is Theorem 1, which proves that this numerical approach preserves the parametric $1/\sqrt{n}$ convergence rate for the ATE. This holds true provided that the perturbation size ($\epsilon$) and smoothing bandwidth ($\lambda$) are scaled correctly relative to the sample size. Interestingly, the statistical property of "rate double robustness" acts as a buffer, allowing for less conservative numerical settings for certain functionals like the ATE.

Optimization-Based Estimands

The framework was successfully applied to derive and numerically approximate influence functions for:

  • Infinite-horizon Markov Decision Processes (MDPs): Critical for offline reinforcement learning and policy evaluation.
  • Marginal Sensitivity Models (MSM): Used to quantify how much unobserved confounding would be required to invalidate a study's conclusions.

Linear Error Accumulation

Using the newly developed finite difference calculus, the authors demonstrate that in complex, multi-stage models (such as Dynamic Treatment Regimes), the approximation error grows only linearly with the number of stages. This prevents the exponential error explosion often feared in multi-stage causal estimation.

Empirical Validation

The approach was validated using synthetic simulations featuring a piecewise-linear outcome model and smooth propensity scores. With a sample size of $n = 500$, the results demonstrated that the numerically debiased estimator (AIPW) significantly outperformed simple "plug-in" estimators in terms of both sample efficiency and error reduction, effectively recovering the benefits of a true analytical debiased estimator.

Discussion and Limitations

While the constructive approach automates a significant portion of the expertise required for causal inference, it faces certain challenges:

  • Dimensionality: The reliance on KDE-based smoothing means the method can become computationally expensive and statistically noisy as the number of covariates increases.
  • Pathwise Differentiability: The framework assumes the functional is sufficiently smooth. It may encounter difficulties with "jumpy" optimization problems where the optimal solution basis changes abruptly.
  • Parameter Tuning: Currently, users must manually select $\epsilon$ and $\lambda$. Future research is needed to develop fully adaptive algorithms that can automatically determine optimal parameters.

Conclusion

By shifting the burden of influence function derivation from the researcher to the computer, this work provides a path toward more flexible and robust causal inference. The ability to approximate bias adjustments in the presence of arbitrary constraints makes this approach a valuable tool for modern policy optimization and sensitivity analysis.

Summary updated

BibTeX
@misc{jordan2022data,
  author = {Michael I. Jordan and Zhaoran Wang and Angela Zhou},
  title = {{Data-Driven Influence Functions for Optimization-Based Causal Inference}},
  year = {2022},
  eprint = {2208.13701},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.13701},
}
Figure