Causal Transformer for Estimating Counterfactual Outcomes
Not on the map. Why?
Abstract (arXiv)
Estimating counterfactual outcomes over time from observational data is relevant for many applications (e.g., personalized medicine). Yet, state-of-the-art methods build upon simple long short-term memory (LSTM) networks, thus rendering inferences for complex, long-range dependencies challenging. In this paper, we develop a novel Causal Transformer for estimating counterfactual outcomes over time. Our model is specifically designed to capture complex, long-range dependencies among time-varying confounders. For this, we combine three transformer subnetworks with separate inputs for time-varying covariates, previous treatments, and previous outcomes into a joint network with in-between cross-attentions. We further develop a custom, end-to-end training procedure for our Causal Transformer. Specifically, we propose a novel counterfactual domain confusion loss to address confounding bias: it aims to learn adversarial balanced representations, so that they are predictive of the next outcome but non-predictive of the current treatment assignment. We evaluate our Causal Transformer based on synthetic and real-world datasets, where it achieves superior performance over current baselines. To the best of our knowledge, this is the first work proposing transformer-based architecture for estimating counterfactual outcomes from longitudinal data.
Key facts. Cited by 123 papers in the map (data through 14 Oct 2026). Builds on 33 of its 68 references that are in the map. First posted on arXiv 14 Apr 2022.
Builds on
33 of 68 references.
References · 33
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2016Layer Normalizationcited by 5,669
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
- 2017Adversarial Discriminative Domain Adaptationcited by 1,311
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2015Estimation and Inference of Heterogeneous Treatment Effects using Random Forestscited by 600
21 more
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2016Learning Representations for Counterfactual Inferencecited by 329
- 2015Simultaneous Deep Transfer Across Domains and Taskscited by 206
- 2021Pretrained Transformers as Universal Computation Enginescited by 162
- 2020Estimating Counterfactual Treatment Outcomes over Time Through Adversarially Balanced Representationscited by 155
- 2021Nonparametric Estimation of Heterogeneous Treatment Effects: From Theory to Learning Algorithmscited by 144
- 2019MIMIC-Extract: A Data Extraction, Preprocessing, and Representation Pipeline for MIMIC-IIIcited by 122
- 2016Variational Fourier features for Gaussian processescited by 85
- 2018The Unusual Effectiveness of Averaging in GAN Trainingcited by 73
- 2021CPTR: Full Transformer Network for Image Captioningcited by 55
- 2019Enhancing the Transformer with Explicit Relational Encoding for Math Problem Solvingcited by 35
- 2022Estimating average causal effects from patient trajectoriescited by 29
- 2021Sequential Deconfounding for Causal Inference with Unobserved Confounderscited by 24
- 2018Input Combination Strategies for Multi-Source Transformer Decodercited by 22
- 2019DropAttention: A Regularization Method for Fully-Connected Self-Attention Networkscited by 20
- 2017Bayesian Nonparametric Causal Inference: Information Rates and Learning Algorithmscited by 16
- 2021Deconfounding Temporal Autoencoder: Estimating Treatment Effects over Time Using Noisy Proxiescited by 16
- 2020G-Net: A Deep Learning Approach to G-computation for Counterfactual Outcome Prediction Under Dynamic Treatment Regimescited by 13
- 2021Disentangled Counterfactual Recurrent Networks for Treatment Effect Inference over Timecited by 9
- 2022Estimating Conditional Average Treatment Effects with Missing Treatment Informationcited by 7
- 2018Learning Optimal Policies from Observational Datacited by 3
Built on by
Citing papers per year: 2022: 9; 2023: 24; 2024: 30; 2025: 25; 2026: 35.
123 papers.
Sort:
By area:
- 2024Causal machine learning for predicting treatment outcomescited by 74
- 2023Unleashing the potential of prompt engineering for large language modelscited by 72
- 2023SkillDiffuser: Interpretable Hierarchical Planning via Skill Abstractions in Diffusion-Based Task Executioncited by 70
- 2025Foundation Models for Causal Inference via Prior-Data Fitted Networkscited by 32
- 2023Bayesian Neural Controlled Differential Equations for Treatment Effect Estimationcited by 26
- 2023Sharp Bounds for Generalized Causal Sensitivity Analysiscited by 24
- 2023Causal Deep Learningcited by 20
- 2023Bounds on Representation-Induced Confounding Bias for Treatment Effect Estimationcited by 20
- 2024Model-agnostic meta-learners for estimating heterogeneous treatment effects over timecited by 19
- 2022Estimating individual treatment effects under unobserved confounding using binary instrumentscited by 18
- 2023Counterfactual Generative Models for Time-Varying Treatmentscited by 17
- 2023Towards Causal Foundation Model: on Duality between Causal Inference and Attentioncited by 17
38 more
- 2023CF-GODE: Continuous-Time Causal Inference for Multi-Agent Dynamical Systemscited by 16
- 2024Rough Transformers: Lightweight and Continuous Time Series Modelling through Signature Patchingcited by 16
- 2023Reliable Off-Policy Learning for Dosage Combinationscited by 15
- 2023Accounting For Informative Sampling When Learning to Forecast Treatment Outcomes Over Timecited by 15
- 2024Automatically Learning Hybrid Digital Twins of Dynamical Systemscited by 14
- 2023Deep Learning based Forecasting: a case study from the online fashion industrycited by 12
- 2024ODE Discovery for Longitudinal Heterogeneous Treatment Effects Inferencecited by 12
- 2022Deep Causal Learning: Representation, Discovery and Inferencecited by 11
- 2023Fair Off-Policy Learning from Observational Datacited by 11
- 2023Causal Decision Transformer for Recommender Systems via Offline Reinforcement Learningcited by 11
- 2022A Survey of Deep Causal Models and Their Industrial Applicationscited by 10
- 2023Instrumental Variable Estimation for Causal Inference in Longitudinal Data with Time-Dependent Latent Confounderscited by 10
- 2024Longitudinal Targeted Minimum Loss-based Estimation with Temporal-Difference Heterogeneous Transformercited by 10
- 2024IGC-Net for conditional average potential outcome estimation over timecited by 10
- 2023Clinical Decision Transformer: Intended Treatment Recommendation through Goal Promptingcited by 8
- 2024Causal Graph ODE: Continuous Treatment Effect Modeling in Multi-agent Dynamical Systemscited by 8
- 2024G-Transformer: Counterfactual Outcome Prediction under Dynamic and Time-varying Treatment Regimescited by 8
- 2025Treatment Effect Estimation for Optimal Decision-Makingcited by 8
- 2025G-Sim: Generative Simulations with Large Language Models and Gradient-Free Calibrationcited by 8
- 2024Causal Contrastive Learning for Counterfactual Regression Over Timecited by 7
- 2024Stabilized Neural Prediction of Potential Outcomes in Continuous Timecited by 7
- 2024Counterfactual Causal Inference in Natural Language with Large Language Modelscited by 7
- 2026Interventional Time Series Priors for Causal Foundation Modelscited by 7
- 2023A Survey of Methods, Challenges and Perspectives in Causalitycited by 6
- 2023Learning the Causal Structure of Networked Dynamical Systems under Latent Nodes and Structured Noisecited by 6
- 2024Rough Transformers for Continuous and Efficient Time-Series Modellingcited by 6
- 2024Constructing Confidence Intervals for Average Treatment Effects from Multiple Datasetscited by 6
- 2022Time Series Causal Link Estimation under Hidden Confounding using Knockoff Interventionscited by 5
- 2024Multi-task Heterogeneous Graph Learning on Electronic Health Recordscited by 5
- 2025Counterfactually Fair Reinforcement Learning via Sequential Data Preprocessingcited by 5
- 2025Orthogonal Representation Learning for Estimating Causal Quantitiescited by 5
- 2025GST-UNet: A Neural Framework for Spatiotemporal Causal Inference with Time-Varying Confoundingcited by 5
- 2022Heterogeneous Treatment Effect with Trained Kernels of the Nadaraya-Watson Regressioncited by 4
- 20233D-CLFusion: Fast Text-to-3D Rendering with Contrastive Latent Diffusioncited by 4
- 2025Adjustment for Confounding using Pre-Trained Representationscited by 4
- 2025Transformer-Based Spatial-Temporal Counterfactual Outcomes Estimationcited by 4
- 2025Counterfactual Probabilistic Diffusion with Expert Modelscited by 4
- 2026Medical world models in healthcare: foundations, applications, and challenges for trustworthy clinical translationcited by 4
50 most cited of 123 All 123 (JSON)
- 2026Learning Deployable Causal Action Geometry under Temporal Non-Stationarity12 Oct 2026
- 2026Understanding Trajectory Heterogeneity in Federated World Model Learning2 Oct 2026
- 2026Learning Continuous Patient Trajectories from Electronic Health Records28 Sep 2026
- 2026Admissible Diffusion for Multimodal Interventional Trajectories28 Sep 2026
- 2026CASTANET: Causality-Aware Spatio-Temporal Adversarial Network Using Traffic Incident Effects28 Aug 2026
- 2026Chance-constrained selection of sequential intervention strategies from counterfactual estimates13 Aug 2026
- 2026Causal State-Space Model for Causal Inference: Estimating Longitudinal Individual Treatment Effects8 Aug 2026
- 2026Surv-IPTB: An Attention-Based Model for Estimating Individual Probability of Treatment Benefit with Survival Data6 Aug 2026
- 2026Amortized Interventional Forecasting for Multivariate CIR Processes4 Aug 2026
- 2026Doubly Robust Functional Representation Learning for Longitudinal Causal Inference with Irregular Histories30 Jul 2026
- 2026Medical world models in healthcare: foundations, applications, and challenges for trustworthy clinical translation28 Jul 2026
- 2026Breaking Feedback-Blindness: Utility-Augmented Transformer for Sequential Decision Making21 Jul 2026
38 more
- 2026Interventional Flow Matching: Prospective Dose-Response Forecasting with Velocity-Field Jacobian Regularization28 Jun 2026
- 2026Temporal Causal Prior-Data Fitted Networks for Panel Data with Learned Reliability Signals18 Jun 2026
- 2026Attention-Based Estimation of the Individual Treatment Benefit Probability under Dose Variation11 Jun 2026
- 2026Causal Longitudinal Prior-Fitted Networks for Counterfactual Outcome Prediction4 Jun 2026
- 2026Modeling Covariate Transition for Efficient Estimation of Longitudinal Treatment Effects in Randomized Experiments29 May 2026
- 2026Decision-Aware Proximal Bridge Learning for Optimal Treatment Selection16 May 2026
- 2026From Static Risk to Dynamic Trajectories: Toward World-Model-Inspired Clinical Prediction16 May 2026
- 2026What if Tomorrow is the World Cup Final? Counterfactual Time Series Forecasting with Textual Conditions14 May 2026
- 2026Smooth Multi-Policy Causal Effect Estimation in Longitudinal Settings14 May 2026
- 2026Conditional Attribute Estimation with Autoregressive Sequence Models13 May 2026
- 2026Real vs. Semi-Simulated: Rethinking Evaluation for Treatment Effect Estimation11 May 2026
- 2026Joint Treatment Effect Estimation from Incomplete Healthcare Data: Temporal Causal Normalizing Flows with LLM-driven Evolutionary MNAR Imputation6 May 2026
- 2026To Use AI as Dice of Possibilities with Timing Computation1 May 2026
- 2026Observable Neural ODEs for Identifiable Causal Forecasting in Continuous Time28 Apr 2026
- 2026MOCA: A Transformer-based Modular Causal Inference Framework with One-way Cross-attention and Cutting Feedback25 Apr 2026
- 2026Causal Diffusion Models for Counterfactual Outcome Distributions in Longitudinal Data14 Apr 2026
- 2026VALOR: Value-Aware Revenue Uplift Modeling with Treatment-Gated Representation for B2B Sales2 Apr 2026
- 2026CAETC: Causal Autoencoding and Treatment Conditioning for Counterfactual Estimation over Time12 Mar 2026
- 2026Interventional Time Series Priors for Causal Foundation Models11 Mar 2026
- 2026OrthoFormer: Instrumental Variable Estimation in Transformer Hidden States via Neural Control Functions8 Mar 2026
- 2026Harnessing Synthetic Data from Generative AI for Statistical Inference5 Mar 2026
- 2026Are LLMs Ready for Neural-integrated Mechanistic Modeling? A Benchmark and Agentic Framework20 Feb 2026
- 2026Targeted Synthetic Control Method4 Feb 2026
- 2025Spatio-Temporal Hierarchical Causal Models25 Nov 2025
- 2025Synergizing Deconfounding and Temporal Generalization For Time-series Counterfactual Outcome Estimation20 Nov 2025
- 2025DeepBlip: Estimating Conditional Average Treatment Effects Over Time18 Nov 2025
- 2025Causal Regime Detection in Energy Markets With Augmented Time Series Structural Causal Models6 Nov 2025
- 2025Overlap-weighted orthogonal meta-learner for treatment effect estimation over time22 Oct 2025
- 2025Adversary-Free Counterfactual Prediction via Information-Regularized Representations17 Oct 2025
- 2025An Orthogonal Learner for Individualized Outcomes in Markov Decision Processes30 Sep 2025
- 2025Inferring Effects of Major Events through Discontinuity Forecasting of Population Anxiety29 Aug 2025
- 2025Counterfactual Probabilistic Diffusion with Expert Models18 Aug 2025
- 2025Causal Process Models: Reframing Dynamic Causal Graph Discovery as a Reinforcement Learning Problem18 Jul 2025
- 2025Uncovering Causal Relation Shifts in Event Sequences under Out-of-Domain Interventions14 Jul 2025
- 2025Beyond the ATE: Interpretable Modelling of Treatment Effects over Dose and Time9 Jul 2025
- 2025Transformer-Based Spatial-Temporal Counterfactual Outcomes Estimation26 Jun 2025
- 2025Adjustment for Confounding using Pre-Trained Representations17 Jun 2025
- 2025Foundation Models for Causal Inference via Prior-Data Fitted Networks12 Jun 2025
50 newest of 123 All 123 (JSON)
- 2023SkillDiffuser: Interpretable Hierarchical Planning via Skill Abstractions in Diffusion-Based Task Executioncited by 70
- 20233D-CLFusion: Fast Text-to-3D Rendering with Contrastive Latent Diffusioncited by 4
- 2026Causal Diffusion Models for Counterfactual Outcome Distributions in Longitudinal Datacited by 1
- 2026Interventional Flow Matching: Prospective Dose-Response Forecasting with Velocity-Field Jacobian Regularizationcited by 0
- 2026Learning Continuous Patient Trajectories from Electronic Health Recordscited by 0
- 2026Learning Continuous Patient Trajectories from Electronic Health Records28 Sep 2026
- 2026Interventional Flow Matching: Prospective Dose-Response Forecasting with Velocity-Field Jacobian Regularization28 Jun 2026
- 2026Causal Diffusion Models for Counterfactual Outcome Distributions in Longitudinal Data14 Apr 2026
- 2023SkillDiffuser: Interpretable Hierarchical Planning via Skill Abstractions in Diffusion-Based Task Execution18 Dec 2023
- 20233D-CLFusion: Fast Text-to-3D Rendering with Contrastive Latent Diffusion21 Mar 2023
- 2024Causal machine learning for predicting treatment outcomescited by 74
- 2023Unleashing the potential of prompt engineering for large language modelscited by 72
- 2025Foundation Models for Causal Inference via Prior-Data Fitted Networkscited by 32
- 2023Bayesian Neural Controlled Differential Equations for Treatment Effect Estimationcited by 26
- 2023Sharp Bounds for Generalized Causal Sensitivity Analysiscited by 24
- 2023Causal Deep Learningcited by 20
- 2023Bounds on Representation-Induced Confounding Bias for Treatment Effect Estimationcited by 20
- 2024Model-agnostic meta-learners for estimating heterogeneous treatment effects over timecited by 19
- 2022Estimating individual treatment effects under unobserved confounding using binary instrumentscited by 18
- 2023Counterfactual Generative Models for Time-Varying Treatmentscited by 17
- 2023Towards Causal Foundation Model: on Duality between Causal Inference and Attentioncited by 17
- 2023CF-GODE: Continuous-Time Causal Inference for Multi-Agent Dynamical Systemscited by 16
12 most cited of 110 All 110 (JSON)
- 2026Learning Deployable Causal Action Geometry under Temporal Non-Stationarity12 Oct 2026
- 2026Admissible Diffusion for Multimodal Interventional Trajectories28 Sep 2026
- 2026CASTANET: Causality-Aware Spatio-Temporal Adversarial Network Using Traffic Incident Effects28 Aug 2026
- 2026Chance-constrained selection of sequential intervention strategies from counterfactual estimates13 Aug 2026
- 2026Causal State-Space Model for Causal Inference: Estimating Longitudinal Individual Treatment Effects8 Aug 2026
- 2026Surv-IPTB: An Attention-Based Model for Estimating Individual Probability of Treatment Benefit with Survival Data6 Aug 2026
- 2026Amortized Interventional Forecasting for Multivariate CIR Processes4 Aug 2026
- 2026Doubly Robust Functional Representation Learning for Longitudinal Causal Inference with Irregular Histories30 Jul 2026
- 2026Breaking Feedback-Blindness: Utility-Augmented Transformer for Sequential Decision Making21 Jul 2026
- 2026Temporal Causal Prior-Data Fitted Networks for Panel Data with Learned Reliability Signals18 Jun 2026
- 2026Attention-Based Estimation of the Individual Treatment Benefit Probability under Dose Variation11 Jun 2026
- 2026Causal Longitudinal Prior-Fitted Networks for Counterfactual Outcome Prediction4 Jun 2026
12 newest of 110 All 110 (JSON)