JOURNAL ARTICLE

Counterfactual Generative Models for Time-Varying Treatments

Abstract

Estimating the counterfactual outcome of treatment is essential for decision-making in public health and clinical science, among others. Often, treatments are administered in a sequential, time-varying manner, leading to an exponentially increased number of possible counterfactual outcomes. Furthermore, in modern applications, the outcomes are high-dimensional and conventional average treatment effect estimation fails to capture disparities in individuals. To tackle these challenges, we propose a novel conditional generative framework capable of producing counterfactual samples under time-varying treatment, without the need for explicit density estimation. Our method carefully addresses the distribution mismatch between the observed and counterfactual distributions via a loss function based on inverse probability re-weighting, and supports integration with state-of-the-art conditional generative models such as the guided diffusion and conditional variational autoencoder. We present a thorough evaluation of our method using both synthetic and real-world data. Our results demonstrate that our method is capable of generating high-quality counterfactual samples and outperforms the state-of-the-art baselines.

Keywords:
Counterfactual thinking Computer science Generative grammar Autoencoder Machine learning Econometrics Weighting Conditional probability distribution Generative model Artificial intelligence Mathematical optimization Mathematics Medicine Artificial neural network Psychology

Metrics

2
Cited By
3.07
FWCI (Field Weighted Citation Impact)
32
Refs
0.84
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Causal Inference Techniques
Physical Sciences →  Mathematics →  Statistics and Probability
Statistical Methods and Inference
Physical Sciences →  Mathematics →  Statistics and Probability
Machine Learning in Healthcare
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

DISSERTATION

Deep generative models for time series counterfactual inference

Li, Guangyu (author)

University:   University of Southern California Digital Library Year: 2021
JOURNAL ARTICLE

Estimating Counterfactual Outcomes of Time-varying Treatments using Deep Gaussian Process

Yoshiyuki Norimatsu

Journal:   Transactions of the Japanese Society for Artificial Intelligence Year: 2023 Vol: 38 (5)Pages: D-MC3_1
JOURNAL ARTICLE

Identification of time-varying counterfactual parameters in nonlinear panel models

Irene BotosaruChris Muris

Journal:   Journal of Econometrics Year: 2024 Vol: 252 Pages: 105639-105639
JOURNAL ARTICLE

Counterfactual Explanations of Time Varying Rankings (Student Abstract)

Ryusei OhtaniYuko SakuraiSatoshi Oyama

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2025 Vol: 39 (28)Pages: 29453-29455
© 2026 ScienceGate Book Chapters — All rights reserved.