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

DeepBlip: Estimating Conditional Average Treatment Effects Over Time

Haorui Ma, Dennis Frauen, Stefan Feuerriegel

In personalized medicine, understanding how a sequence of treatments will affect a patient over time is critical. However, estimating these effects from observational data—such as electronic health records—is notoriously difficult due to time-varying confounding.

Consider a patient in the ICU: a doctor administers a drug based on the patient's current blood pressure. That drug alters the patient's future blood pressure, which in turn dictates the doctor's next treatment decision. This feedback loop creates a tangled web of cause and effect that standard causal models struggle to untangle.

While Structural Nested Mean Models (SNMMs) are theoretically ideal for this problem—breaking down total effects into localized, interpretable "blip effects"—they have historically relied on a sequential, iterative process called "g-estimation." This process scales poorly and is incompatible with the end-to-end, gradient-based training required for modern deep learning.

DeepBlip bridges this gap. It is the first neural framework for SNMMs, designed to estimate treatment effects over time while accounting for complex confounding. By introducing a novel "double optimization trick," DeepBlip enables end-to-end gradient-based training, resulting in state-of-the-art accuracy and a massive computational speedup for identifying optimal personalized treatment strategies.

How DeepBlip Works

DeepBlip brings SNMMs into the deep learning era using a two-stage neural framework that is backbone-agnostic, meaning it can seamlessly integrate with sequential architectures like LSTMs or Transformers to capture long-term temporal dependencies.

Stage 1: The Nuisance Network

This stage models the "nuisance" parameters. It predicts the probability of treatments and mean outcomes based on a patient's history. These predictions are used to calculate "residuals"—the difference between what actually happened and what the model expected.

Stage 2: The Blip Prediction Network

Using the residuals from Stage 1, this network learns the blip functions. A blip function represents the incremental causal gain of a treatment at a specific time step, isolating the effect of that single intervention from the broader sequence.

The "Double Optimization Trick"

The core technical hurdle of traditional SNMMs is that they require solving for the last time step first and working backward. DeepBlip bypasses this limitation using a clever double optimization trick. During training, the model uses two forward passes. One pass generates "pseudo-ground-truth" targets for future blips, which are "detached" from the gradient calculation. This allows the model to optimize all time steps simultaneously via backpropagation, making the training process highly scalable.

Key Advantages

DeepBlip offers several theoretical and practical benefits over existing causal inference models:

  • Interpretability by Design: Because the model learns isolated "blip effects," it doesn't just output a black-box prediction. It tells clinicians the exact incremental benefit of a treatment at each specific hour or day.
  • Neyman-Orthogonality: The loss function is mathematically designed to be "orthogonal." This means the second-stage blip estimates remain robust even if there are moderate errors or misspecifications in the first-stage nuisance models.
  • Extreme Efficiency in Policy Evaluation: Finding an "optimal" treatment sequence usually requires running a forward pass for every possible combination of treatments—a computationally explosive task. Because DeepBlip’s blip coefficients are independent of the treatment sequence, it can identify the optimal path in a single forward pass.
  • Stability Over Long Horizons: Methods based on inverse propensity weighting often become unstable as probabilities multiply over time. DeepBlip remains highly stable even as the prediction window extends.

Empirical Validation

The researchers evaluated DeepBlip across three distinct setups, ranging from highly controlled synthetic environments to real-world clinical data:

  1. Tumor Growth Dataset (Synthetic): A pharmacokinetic model simulating chemotherapy and radiotherapy. DeepBlip's performance remained steady even as the "strength" of the time-varying confounding was artificially increased, whereas baseline models degraded rapidly.
  2. MIMIC-III Semi-Synthetic Dataset: Based on real ICU vitals but with simulated outcomes for ground-truth evaluation. DeepBlip consistently achieved the lowest Root Mean Squared Error (RMSE). At a 10-step prediction horizon, it showed a ~34% improvement over the next best model (IGC-Net).
  3. MIMIC-III Real-World Dataset: A clinical sanity check. DeepBlip correctly identified that the effect of vasopressors on blood pressure is concentrated in the hours immediately following administration, perfectly matching known pharmacokinetics.

Furthermore, while traditional SNMM approaches (like Dynamic DML) see their training time grow linearly with the time horizon, DeepBlip’s training time remains nearly constant, proving its scalability.

Limitations and Future Directions

Like all models in observational causal inference, DeepBlip relies on the "no unmeasured confounders" assumption; if a critical variable influencing both treatment and outcome is missing from the dataset, the causal estimates will be biased. Additionally, there is a theoretical risk of error propagation if there is poor "data overlap"—for instance, if certain treatments are almost never given to specific patient profiles in the training data.

Looking ahead, the authors suggest extending the DeepBlip framework to handle continuous-time interventions, moving beyond discrete time steps, and exploring its integration into active clinical decision support systems to guide real-time patient care.

Summary updated

BibTeX
@inproceedings{ma2026deepblip,
  author = {Haorui Ma and Dennis Frauen and Stefan Feuerriegel},
  title = {{DeepBlip: Estimating Conditional Average Treatment Effects Over Time}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Ig36S9zALV},
}
Figure