G-Transformer: Counterfactual Outcome Prediction under Dynamic and Time-varying Treatment Regimes
<|reference_start|>G-Transformer: Counterfactual Outcome Prediction under Dynamic and Time-varying Treatment Regimes: 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.<|reference_end|>
@article{xiong2024g-transformer:,
    title={G-Transformer: Counterfactual Outcome Prediction under Dynamic and
  Time-varying Treatment Regimes},
    author={Hong Xiong, Feng Wu, Leon Deng, Megan Su and Li-wei H Lehman},
    journal={arXiv preprint arXiv:2406.05504},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.05504},
    primaryClass={cs.LG}
}