Causal Survival Forests with Negative Controls

Zijun Gao, Kyoungeui Hong, Leyi Ma, Qianli Wu, Zachary Izzo, Ruishan LiuNeurIPS 2026

TL;DR

Figuring out who benefits most from a medical treatment using messy observational records is notoriously difficult, because patients drop out of studies early and hidden health factors silently bias the data. This paper introduces Negative Control Causal Survival Forests (NC-CSF), an algorithm that marries random forests with clever "proxy" variables to strip away hidden bias in time-to-event data. The result is a flexible, open-source Python tool that accurately predicts individualized survival benefits without requiring randomized clinical trials.

What Problem Does This Paper Address?

Imagine trying to determine if a new drug extends patients' lives, and specifically which subgroups of patients benefit most—a task known as heterogeneous treatment-effect (HTE) estimation. Doing this with real-world observational data hits two major roadblocks:

  1. Right-censoring: You are tracking time-to-event ("survival") outcomes, but studies end early or patients move away before an event happens. You know they survived at least up to a certain day, but not what happened after.
  2. Unobserved confounding: Sicker patients might be prescribed the drug more often due to subtle clinical signs that never make it into a spreadsheet.

Standard machine learning tools like Causal Survival Forests (CSF) handle censored data and personalized effects gracefully, if you assume there are no hidden confounders ("ignorability"). Meanwhile, a framework called proximal causal inference tackles hidden confounders using auxiliary variables, but its survival extensions have largely been stuck estimating population-wide averages under rigid parametric models. Until now, we lacked a flexible, nonparametric tool to estimate personalized survival effects when hidden confounders are lurking in the background.

Methods

To bridge this gap, the authors integrate Causal Survival Forests with negative controls—observable proxy variables that act like indirect shadows of the hidden confounder ($U$). Specifically, the setup requires:

  • A negative-control outcome ($W$), such as a pre-treatment lab test, which reflects the patient's hidden baseline health ($U$) but isn't affected by the treatment ($A$).
  • A negative-control treatment ($Z$), such as hospital administrative habits, which influences prescription patterns ($A$) but doesn't directly alter survival ($Y$).
Figure 1: Directed acyclic graph illustrating the assumptions of the negative-control treatment Z and negative-control outcome W.

While standard proximal methods average mathematical "bridge functions" of these proxies across a whole dataset to get a single number, what's new here is baking those bridge functions directly into a custom loss function to train a random forest:

  1. Residualization & Censoring Adjustment: Using observable conditional moment equations, the method learns bridge functions for treatment and outcome, alongside standard survival models (like Cox models) to adjust for censoring. It uses these to compute "residualized" treatments and censoring-corrected outcomes—stripping out the invisible pull of $U$.
  2. Neyman Orthogonalization: The custom forest loss is constructed so that small errors in estimating those messy background ("nuisance") functions cancel out to the first order, keeping the final tree splits robust and locally doubly robust.

Datasets

  • Synthetic Benchmarks: 264 distinct censored simulation setups (plus uncensored variants) varying sample sizes, covariate dimensions, proxy strength, confounding levels, and nonlinearities, calibrated to a 35% censoring rate.
  • ACTG175 Trial: Clinical trial data (1,083 HIV-infected patients) comparing monotherapy vs. combination therapy over a 1,000-day horizon.
  • SUPPORT Study: Observational hospital data evaluating 30-day survival after Right Heart Catheterization (RHC).
  • MIMIC-IV: Critical care electronic health records examining whether combining the immunosuppressant tacrolimus with CYP3A-inhibiting drugs causes acute kidney injury (AKI) within 7 days—featuring both a "positive-control" arm (2,257 records with a known toxic interaction) and an "inert-control" arm (1,398 records where the added drug has no CYP3A activity).

Key Insights and Ideas

  • Feeding proxies blindly into a forest isn't enough: Simply handing $W$ and $Z$ to standard survival forests as ordinary features still leaves substantial bias. Assigning them their proper structural roles via bridge functions is what drives the error down.
  • Nuance in what is actually estimated: When the hidden confounder $U$ doesn't just bias treatment assignment, but also alters how well the treatment works, NC-CSF estimates a variance-optimal weighted version of the personalized effect ($\tau^w(x)$), giving more weight to latent strata with higher residual treatment variation.
  • Uncovering masked clinical patterns: On the ACTG175 HIV dataset, standard causal survival forests suggest uniformly positive benefits across all ages. NC-CSF reveals an exploratory age-dependent flip—estimating negative restricted mean survival time (RMST) effects for younger profiles (-5.69 days at age 20) and positive benefits for older patients (+6.37 days around age 62), aligning with existing clinical nuances.

Key Results

Across all 264 censored simulation benchmarks, NC-CSF achieved the lowest estimation error among all feasible methods, even when external baselines were given full access to $[X, W, Z]$.

Table 1: Average error over the 12 × 22 = 264 censored benchmark configurations. External learners receive [X, W, Z] as ordinary covariates; lower is better.
  • Simulation Gains: Compared to a matched Censored Baseline (identical pipeline without the negative-control bridge), NC-CSF slashed RMST root mean squared error (RMSE) by 40.2% (0.1662 to 0.0994) and survival-probability RMSE by 22.2% (0.0788 to 0.0613). Against grf R-CSF (the strongest external competitor), it reduced RMST and survival-probability RMSE by 17.9% and 10.6%, respectively.
  • Clinical Validation (MIMIC-IV): In the toxic drug-interaction arm, NC-CSF detected a 24.10% drop in 7-day AKI-free survival (-1.6248 AKI-free days)—more than double the harm detected by standard CSF (-11.76%)—and identified prior liver disease as a clear amplifier of harm. Crucially, in the inert-drug arm, NC-CSF's 95% confidence intervals cleanly included zero, proving it doesn't hallucinate harm when none exists.

Limitations and Future Work

  • Weighted Target: Because the general estimand $\tau^w(x)$ is weighted by residual treatment variation, it can differ from the textbook conditional average treatment effect if hidden confounders also modify treatment efficacy.
  • Untestable Proxy Assumptions: Whether $W$ and $Z$ truly satisfy negative-control exclusion restrictions depends entirely on domain knowledge; data alone cannot verify it.
  • Weak Proxies: If proxies carry very weak signals about the hidden confounder, estimating the bridge functions becomes mathematically ill-conditioned in finite samples—orthogonalization protects downstream trees only if bridge estimates are reasonably accurate.
  • Future Work: The authors suggest developing better diagnostics and regularization for weak proxies, exploring alternative causal estimands, and theoretically analyzing how estimated nuisance functions affect the recursive tree-splitting mechanics themselves.

Summary updated

Abstract

We study heterogeneous treatment-effect (HTE) estimation in observational survival studies commonly associated with both censored outcomes and unmeasured confounding. We integrate causal survival forests (CSF) with negative controls (NC) from proximal causal inference and introduce Negative Control Causal Survival Forests (NC-CSF), a flexible nonparametric HTE learner for survival analysis. In particular, our approach uses a loss that incorporates proxy variables and Neyman orthogonalization to train the random forest, thereby mitigating bias from unobserved confounding and gaining robustness to nuisance estimation. Through extensive simulations spanning varying levels of confounding, proxy relevance, and censoring mechanisms, we demonstrate that NC-CSF substantially reduces bias and estimation error (root mean squared error) relative to existing baselines. We further demonstrate the practical utility of our method on real-world clinical datasets, where it confirms several existing findings and also reveals new interpretable patterns of treatment-effect heterogeneity. To facilitate practical use, we provide an end-to-end Python implementation of NC-CSF that carefully handles implementation details such as nuisance estimation and clipping.
BibTeX
@inproceedings{gao2026causal,
  author = {Zijun Gao and Kyoungeui Hong and Leyi Ma and Qianli Wu and Zachary Izzo and Ruishan Liu},
  title = {{Causal Survival Forests with Negative Controls}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=IDeaI3k5kC},
}
Figure