English

COSTAR: Improved Temporal Counterfactual Estimation with Self-Supervised Learning

Machine Learning 2024-02-13 v2

Abstract

Estimation of temporal counterfactual outcomes from observed history is crucial for decision-making in many domains such as healthcare and e-commerce, particularly when randomized controlled trials (RCTs) suffer from high cost or impracticality. For real-world datasets, modeling time-dependent confounders is challenging due to complex dynamics, long-range dependencies and both past treatments and covariates affecting the future outcomes. In this paper, we introduce Counterfactual Self-Supervised Transformer (COSTAR), a novel approach that integrates self-supervised learning for improved historical representations. We propose a component-wise contrastive loss tailored for temporal treatment outcome observations and explain its effectiveness from the view of unsupervised domain adaptation. COSTAR yields superior performance in estimation accuracy and generalization to out-of-distribution data compared to existing models, as validated by empirical results on both synthetic and real-world datasets.

Keywords

Cite

@article{arxiv.2311.00886,
  title  = {COSTAR: Improved Temporal Counterfactual Estimation with Self-Supervised Learning},
  author = {Chuizheng Meng and Yihe Dong and Sercan Ö. Arık and Yan Liu and Tomas Pfister},
  journal= {arXiv preprint arXiv:2311.00886},
  year   = {2024}
}
R2 v1 2026-06-28T13:09:08.408Z