NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Doubly-Robust Estimation of Counterfactual Policy Mean Embeddings

Houssam Zenati, Bariscan Bozkurt, Arthur Gretton · DOI

Introduction

In decision-making fields such as medicine and automated advertising, Off-Policy Evaluation (OPE) is a critical tool for predicting the outcomes of a new strategy (policy) using historical data. However, most standard OPE methods focus solely on the expected value—the average outcome. This can be dangerously reductive; for instance, a medical treatment might show a positive average recovery rate while masking severe risks for a specific sub-population. To address this, we need to estimate the full distribution of potential outcomes.

While some approaches use Cumulative Distribution Functions (CDFs), they often struggle with high-dimensional or structured data like images. This paper introduces the Counterfactual Policy Mean Embedding (CPME) framework, which leverages kernel methods to perform non-parametric distributional OPE that is both statistically efficient and flexible enough for complex data structures.

Methodology

The core of the CPME framework is representing the entire outcome distribution as a single point—an "embedding"—within a Reproducing Kernel Hilbert Space (RKHS). This allows for the manipulation of complex distributions using linear algebra in the Hilbert space.

The authors develop two primary estimators:

  1. Plug-in Estimator: A direct approach using conditional mean operators. While functional, it suffers from a relatively slow convergence rate of $O(n^{-1/4})$.
  2. Doubly Robust (DR) Estimator: The primary contribution of this work. By deriving the Efficient Influence Function (EIF) for Hilbert-space-valued parameters, the authors create an estimator that corrects for biases in both the outcome model and the propensity model.

This DR estimator is "doubly robust" because it remains consistent if either the outcome model or the propensity model is correctly specified. Most importantly, it achieves the parametric convergence rate of $O(n^{-1/2})$, significantly reducing the data requirements for accurate estimation.

Statistical Inference: The DR-KPT

Beyond estimation, the framework introduces the Doubly Robust Kernel Policy Test (DR-KPT). Traditional kernel-based tests often rely on computationally expensive permutation methods (e.g., 10,000+ iterations) to determine p-values. In contrast, the DR-KPT statistic is shown to follow a normal distribution asymptotically. This allows for nearly instantaneous hypothesis testing to determine if two policies yield statistically different outcome distributions.

Asymptotic normality and calibration of the DR-KPT statistic. (A) Histogram of test draws vs. standard normal PDF. (B) Q-Q plot confirming normality. (C) False positive rate maintained at the nominal level across sample sizes.

Experimental Evaluation

The researchers validated CPME across three diverse settings:

  • Synthetic Scenarios: Testing calibration under various distributional shifts (mean shifts, mixtures).
  • Warfarin Dataset: A semi-synthetic medical dataset where the goal is to predict the distribution of therapeutic success for patient dosages.
  • dSprites: A benchmark involving $64 \times 64$ grayscale images. CPME successfully detected distributional shifts in these high-dimensional structured outcomes, a task where traditional CDF-based methods typically fail.

Key Results and Insights

  • Efficiency: The DR estimator proved more resilient to propensity model errors than standard importance-sampling methods.
  • Calibration and Power: In both medical and image-based experiments, the DR-KPT consistently outperformed standard kernel tests, showing superior calibration (fewer false positives) and higher power in detecting real distributional changes.
  • Generative Capabilities: By using "kernel herding," the authors can sample representative outcomes from the estimated counterfactual distribution, effectively "visualizing" what a policy would produce.

Conclusion

The CPME framework extends the benefits of double robustness to the entire distribution of outcomes. By achieving faster convergence and providing a computationally efficient testing mechanism, it offers a robust tool for high-stakes OPE. Future work will focus on scaling kernel methods to massive datasets and relaxing the strict positivity assumptions required for causal identifiability.

Summary updated

BibTeX
@inproceedings{zenati2025doubly,
  author = {Houssam Zenati and Bariscan Bozkurt and Arthur Gretton},
  title = {{Doubly-Robust Estimation of Counterfactual Policy Mean Embeddings}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=0GDlX9JFf2},
}
Figure