G-Transformer: Counterfactual Outcome Prediction under Dynamic and Time-varying Treatment Regimes
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
- 2017Attention Is All You Needcited by 60,361
- 2020Estimating Counterfactual Treatment Outcomes over Time Through Adversarially Balanced Representationscited by 155
- 2022Causal Transformer for Estimating Counterfactual Outcomescited by 123
- 2019Time Series Deconfounder: Estimating Treatment Effects over Time in the Presence of Hidden Confounderscited by 75
- 2022Continuous-Time Modeling of Counterfactual Outcomes Using Neural Controlled Differential Equationscited by 59
- 2022Estimating average causal effects from patient trajectoriescited by 29
- 2024ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inferencecited by 12
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2026Causal Diffusion Models for Counterfactual Outcome Distributions in Longitudinal Datacited by 1
- 2026Causal Longitudinal Prior-Fitted Networks for Counterfactual Outcome Predictioncited by 1
- 2025Time After Time: Deep-Q Effect Estimation for Interventions on When and What to docited by 0
- 2026medR: Reward Engineering for Clinical Offline Reinforcement Learning via Tri-Drive Potential Functionscited by 0
- 2026A Causal Framework for Evaluating ICU Discharge Strategiescited by 0
- 2026Conditional Attribute Estimation with Autoregressive Sequence Modelscited by 0
- 2026Chance-constrained selection of sequential intervention strategies from counterfactual estimatescited by 0
- 2026Admissible Diffusion for Multimodal Interventional Trajectoriescited by 0
- 2026Admissible Diffusion for Multimodal Interventional Trajectories28 Sep 2026
- 2026Chance-constrained selection of sequential intervention strategies from counterfactual estimates13 Aug 2026
- 2026Causal Longitudinal Prior-Fitted Networks for Counterfactual Outcome Prediction4 Jun 2026
- 2026Conditional Attribute Estimation with Autoregressive Sequence Models13 May 2026
- 2026Causal Diffusion Models for Counterfactual Outcome Distributions in Longitudinal Data14 Apr 2026
- 2026A Causal Framework for Evaluating ICU Discharge Strategies26 Mar 2026
- 2026medR: Reward Engineering for Clinical Offline Reinforcement Learning via Tri-Drive Potential Functions3 Feb 2026
- 2025Time After Time: Deep-Q Effect Estimation for Interventions on When and What to do20 Mar 2025