Doubly robust identification of treatment effects from multiple environments

Piersilvio De Bartolomeis, Julia Kostin, Javier Abad, Yixin Wang, Fanny Yang

TL;DR

The paper introduces RAMEN, a novel causal inference algorithm that estimates the average treatment effect from observational data across multiple environments without needing to know or learn the full causal graph. By leveraging data heterogeneity, RAMEN achieves a unique "doubly robust identification" property, successfully filtering out "bad controls" and handling unobserved confounders if either the parents of the treatment or the parents of the outcome are observed.

What Problem Does This Paper Address?

When estimating causal effects from observational data, researchers face a major hurdle: confounding bias. A common, lazy strategy is to control (adjust) for every available covariate. However, this approach can backfire spectacularly by introducing "bad controls"—variables like post-treatment mediators or colliders that, when conditioned on, inadvertently open up non-causal paths and bias the final estimate.

To select a valid adjustment set, traditional criteria require knowing the full underlying causal graph, which is rarely feasible in practical applications. Recent methods attempt to use data collected across multiple environments to find invariant causal relationships, but they typically fail if some variables are unobserved and shift across environments. This paper tackles the challenge of identifying the Average Treatment Effect (ATE) in the presence of both bad controls and unobserved confounders, without requiring full graphical knowledge.

Figure 1: Two causal graphs illustrating when the set of all covariates is or is not a valid adjustment set: (a) {X1, X2} blocks all backdoor paths between T and Y , making it a valid adjustment set; (b) X1 opens a noncausal path between T and Y , introducing bias in the treatment effect estimate if adjusted for. Unobserved variables are dashed and colored in white, bad controls are colored in red, and good controls— covariates that can be included in the adjustment set—are colored in green.

Methods

The authors propose RAMEN (Robust ATE identification from Multiple ENvironments). Its defining feature is a structural doubly robust identification property. While classical double robustness in statistics protects against the misspecification of either the propensity score or the outcome regression model, RAMEN’s double robustness operates at the graphical identification level. It guarantees correct identification of the treatment effect if either:

  1. All causal parents of the treatment are observed and satisfy an invariance assumption across environments, OR
  2. All causal parents of the outcome are observed and satisfy the same invariance assumption.

To make this optimization problem computationally tractable, the authors introduce two key innovations:

  • Kernelized Invariance Loss: The original formulation requires checking an infinite set of unconditional moment constraints. By restricting the function space to a universal Reproducing Kernel Hilbert Space (RKHS) with a Gaussian kernel, they turn an intractable problem into a clean, sample-estimable loss function.
  • Differentiable Relaxation (Gumbel Trick): Searching through every possible subset of covariates is a combinatorial nightmare in high dimensions. RAMEN bypasses this by using a continuous relaxation via Gumbel-Softmax sampling, allowing the algorithm to learn a differentiable binary mask over the covariates using standard gradient descent.

Datasets

The authors evaluated RAMEN across three distinct types of data:

  1. Synthetic Graphs: Random directed acyclic graphs (DAGs) generated via the Erdős-Rényi model (with up to 20 nodes) using linear structural causal models and environment-specific mean/variance shifts.
  2. Semi-synthetic Data (IHDP): Based on the Infant Health and Development Program dataset (748 instances, 6 continuous covariates). The authors injected complex non-linearities (exponentials and polynomials) and a synthetic 2-dimensional collider to simulate realistic, challenging data-generating processes.
  3. Real-world Data (Cattaneo2): An observational dataset consisting of 4,642 births used to study the effect of maternal smoking on newborn birth weight. The data was split into 4 distinct environments based on the calendar quarter of birth.

Key Insights and Ideas

  • Partial Graph Observability is Enough: The core "aha!" moment of the paper is that you do not need to map out or learn the entire causal graph to avoid bad controls. Multi-environment data allows you to isolate the effect as long as you can fully observe just the immediate neighborhood (the parents) of either the treatment or the outcome.
  • Invariance as a Filter: Because the relationships between bad controls (like post-treatment variables) and the treatment/outcome change across different environments, forcing the model to find an invariant conditional expectation naturally filters them out of the adjustment set.
  • A Shift in Double Robustness: This work elegantly shifts the concept of double robustness from model specification (parametric forms) to structural invariance (graphical properties), opening up a new paradigm for robust causal domain generalization.

Key Results

  • Outperforming Baselines: Across both synthetic and semi-synthetic datasets, RAMEN consistently achieved lower Mean Absolute Error (MAE) than standard Invariant Risk Minimization (IRM) and naive baselines (adjusting for all or no covariates).
  • Resilience to Broken Invariance: When the parents of the outcome were hidden (breaking outcome invariance), standard IRM methods failed to outperform trivial baselines. RAMEN, however, maintained low error by automatically exploiting the remaining treatment-side invariance.
  • Real-World Validation: On the Cattaneo2 dataset, RAMEN estimated that maternal smoking decreases birth weight by 214.60 grams. This aligns tightly with established clinical and epidemiological literature (which places the effect between 200 and 250 grams). In contrast, adjusting for all covariates severely underestimated the effect at 157.55 grams due to bad control bias.

Limitations and Future Work

Despite its strengths, the authors note several limitations:

  • Curse of Dimensionality: As a kernel-based method, RAMEN scales poorly with sample size and dimensionality due to the computational complexity of calculating large kernel matrices.
  • Strict Heterogeneity Requirements: The method relies on the environments being sufficiently different. If the data sources do not exhibit enough distribution shift, the algorithm cannot effectively distinguish good controls from bad ones.
  • Heuristic Optimization: The Gumbel-Softmax trick is a continuous relaxation and remains a heuristic solution that does not strictly guarantee finding the global discrete minimum.

Future work will focus on scaling RAMEN to high-dimensional covariate settings and relaxing the strict environment heterogeneity requirements.

Summary updated

BibTeX
@inproceedings{bartolomeis2025doubly,
  author = {Piersilvio De Bartolomeis and Julia Kostin and Javier Abad and Yixin Wang and Fanny Yang},
  title = {{Doubly robust identification of treatment effects from multiple environments}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=9vTAkJ9Tik},
}
Figure