mlsanityData to 14 Oct 2026

G-Transformer: Counterfactual Outcome Prediction under Dynamic and Time-varying Treatment Regimes

arXiv 2406.05504 ↗First posted 8 Jun 2024cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

In the context of medical decision making, counterfactual prediction enables clinicians to predict treatment outcomes of interest under alternative courses of therapeutic actions given observed patient history. In this work, we present G-Transformer for counterfactual outcome prediction under dynamic and time-varying treatment strategies. Our approach leverages a Transformer architecture to capture complex, long-range dependencies in time-varying covariates while enabling g-computation, a causal inference method for estimating the effects of dynamic treatment regimes. Specifically, we use a Transformer-based encoder architecture to estimate the conditional distribution of relevant covariates given covariate and treatment history at each time point, then produces Monte Carlo estimates of counterfactual outcomes by simulating forward patient trajectories under treatment strategies of interest. We evaluate G-Transformer extensively using two simulated longitudinal datasets from mechanistic models, and a real-world sepsis ICU dataset from MIMIC-IV. G-Transformer outperforms both classical and state-of-the-art counterfactual prediction models in these settings. To the best of our knowledge, this is the first Transformer-based architecture that supports g-computation for counterfactual outcome prediction under dynamic and time-varying treatment strategies.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 7 of its 26 references that are in the map. First posted on arXiv 8 Jun 2024.

Builds on

7 of 26 references.

References · 7

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Estimating Counterfactual Treatment Outcomes over Time Through Adversarially Balanced Representationscited by 155
  3. 2022Causal Transformer for Estimating Counterfactual Outcomescited by 123
  4. 2019Time Series Deconfounder: Estimating Treatment Effects over Time in the Presence of Hidden Confounderscited by 75
  5. 2022Continuous-Time Modeling of Counterfactual Outcomes Using Neural Controlled Differential Equationscited by 59
  6. 2022Estimating average causal effects from patient trajectoriescited by 29
  7. 2024ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inferencecited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 7.

8 papers.