Skip to main content
Back

UC Berkeley's Jordan Automates the Hardest Math in Causal AI Estimation

A finite-difference recipe turns influence-function derivations into black-box function evaluations, extending debiased estimation to constrained MDPs and sensitivity analysis.

Pro

Paper, Full Access
  • New paper shows how to approximate influence functions for causal estimators via finite differences of plug-in evaluations.
  • Extends numerical Gateaux derivatives to optimization-based estimators like infinite-horizon MDPs and sensitivity analysis.
  • Product, quotient, and matrix-inverse rules propagate approximation error through composite functionals.
  • For AIPW, statistical structure permits weaker rate conditions on the perturbation than prior general bounds.
  • Empirically beats plug-in and analytical-IF baselines on marginal sensitivity model at small sample sizes.
  • Curse of dimensionality from kernel smoothing and pathwise differentiability remain open limitations.

Deriving bias corrections for causal estimators is one of the most painful chores in modern statistics. Every time you tweak the estimand, add a constraint, or move from a mean outcome to a policy value in a Markov decision process, you often have to sit down and rederive an influence function by hand. A new paper from Michael I. Jordan, Yixin Wang, and Angela Zhou proposes to do that work numerically instead, by evaluating your plug-in estimator at slightly perturbed data distributions and taking a finite difference.

The paper, Data-Driven Influence Functions for Optimization-Based Causal Inference, formalizes when this shortcut preserves the statistical guarantees people actually care about, like rate double robustness. It then extends the trick to functionals that current "automatic" causal machinery struggles with: infinite-horizon off-policy evaluation and sensitivity analysis under unmeasured confounding.

Why influence functions are the bottleneck

An influence function measures how a statistical functional (say, the average treatment effect) reacts to an infinitesimal perturbation of the data distribution. Plugging it into a one-step estimator gives you a bias correction on top of a naive plug-in estimate. The authors note that influence-function adjusted estimators achieve desirable properties such as semiparametric efficiency, double robustness, and Neyman orthogonality, which is why frameworks like debiased/double machine learning lean on them.

The problem is what the paper calls a drawback of these general frameworks is that significant analytic effort is often necessary to obtain concrete estimators that are appropriate for particular situations. Add a linear constraint to a policy optimization problem, swap the L-infinity ball for an L2 ball in a sensitivity model, and you may need a fresh derivation and a fresh proof.

The core idea: perturb, evaluate, subtract

The recipe is embarrassingly simple. Given estimated densities P_tilde and a functional Psi:

  1. Build a perturbed distribution by mixing in a smoothed point mass at each observation: P_eps = (1 - eps) * P_tilde + eps * delta_lambda(o_i).
  2. Evaluate the plug-in functional at the perturbed distribution.
  3. Take a finite difference: phi_tilde(O_i) = (Psi(P_eps) - Psi(P_tilde)) / eps.
  4. Average those pseudo-influence-function values across the sample and add to the plug-in estimate.

The kernel delta_lambda smooths the Dirac perturbation with bandwidth lambda, which is necessary because for continuous data, the naive perturbation is not P-dominated and therefore does not correspond to a regular P-dominated submodel. Prior work by Frangakis, Carone, Luedtke and Ichimura and Newey had explored this idea for simpler estimands; Jordan, Wang, and Zhou push it into optimization-based territory.

The real breakthrough: calculus rules for approximation error

The technical heart of the paper is a set of product, quotient, and matrix-inverse rules that let you propagate finite-difference approximation error through compositions. If your functional is built from densities via sums, products, quotients, and (with an added rule) matrix inversion, you can bound the error term-by-term rather than restart the analysis every time.

For the classic AIPW estimator of the average treatment effect, this yields a sharper rate condition than the general bound of Carone et al. Under standard product-rate assumptions on nuisances, they show a two-point finite-difference scheme with eps * lambda^{-d/2} = o(n^{-1/4}) is enough to preserve root-n behavior, matching what you would previously get only from higher-order multi-point schemes.

Crucially, that shortcut is functional-specific. For the infinite-horizon MDP policy value, where a matrix inversion appears inside the estimator, the analysis does not admit the same slack, and you need eps to shrink at the standard rate.

Where it starts to earn its keep

The paper's most useful contributions are the two harder case studies:

  • Infinite-horizon off-policy evaluation. Using the linear-programming formulation of MDP policy optimization, the authors derive a generic bias correction by perturbing the transition matrix, resolving the LP, and finite-differencing. The extra structure means constrained MDPs (with linear safety or budget constraints on state occupancies) inherit the correction almost for free.
  • Sensitivity analysis under the marginal sensitivity model. This is a pointwise-separable stochastic LP whose influence function existing work derives in closed form. The finite-difference version reproduces the analytical influence function up to O(eps) and, in experiments, actually beats the closed-form one at small sample sizes because it maintains LP feasibility for every perturbed evaluation.

Does it work in practice?

The empirical section is intentionally proof-of-concept. On a one-dimensional sensitivity-analysis benchmark with a rougher outcome model, the perturbation-based estimator (Binning Perturb) reduces bias and RMSE relative to both the plug-in baseline and an analytical influence-function estimator built from KDE nuisances.

nBaseline biasFinite-diff biasAnalytical IF bias
75+0.0610+0.0156-0.0750
150+0.0469+0.0095-0.0575
200+0.0328-0.0068-0.0627

Scaling to a 10-dimensional single-index model with Gaussian mixture density estimates, the finite-difference method still lowers RMSE by roughly 20 to 30 percent over the plug-in baseline, though absolute bias remains because the mixture density is misspecified.

The catch

The method is not a drop-in replacement for hand derivations. A few honest limitations sit near the surface:

  • Smoothing brings the curse of dimensionality. The lambda^{-d/2} factor in the rate condition means you pay dearly for high-dimensional observation vectors.
  • You still need to verify pathwise differentiability of the functional, which the authors flag as a fundamental barrier to efforts for automation; hence empirical Gateaux derivatives are intended to augment but not replace analytical expertise.
  • Performance is bounded by how well you can estimate the joint density in the first place. In their 10-dimensional experiment, GMM density estimation outperformed several fancier alternatives, but density estimation remains the dominant source of error.
  • A concurrent line of work by Luedtke on auto-differentiation for influence functions could produce more numerically stable estimates when applicable, and the authors are clear that practitioners should compare.

For anyone shipping estimators for constrained MDPs, custom sensitivity models, or dynamic treatment regimes where the influence function has not been worked out yet, the appeal is direct: solve your optimization problem twice per observation, subtract, and you have a defensible bias correction. For simpler estimands like the ATE, the analytical influence function still wins on stability, but the calculus rules in the paper are a useful lens for understanding why.