The ITE-Transformer: A pre-trained foundation model for predicting individualized treatment effects from electronic health records
C. Arceri, E. Angelis, P. Heesen, V. Melnychuk, M. Bendszus, S. Bauer, S. Feuerriegel
Key points
From the paper's conclusion- Together, our work demonstrates how clinical foundation models can be developed for analyzing heterogeneity in treatment effects and thus support real-world evidence generation.
Abstract
Transformer-based foundation models have shown strong potential for modeling longitudinal electronic health records (EHRs), yet existing models focus primarily on risk prediction rather than treatment effect estimation, which limits evidence generation. Here, we introduce the ITE-Transformer, a transformer-based framework that combines self-supervised representation learning from longitudinal patient trajectories with doubly robust causal machine learning for predicting individualized treatment effects (ITEs). As a result, our ITE-Transformer allows to study counterfactual questions of how an individual patient's outcome may differ under alternative treatment strategies. The ITE-Transformer learns temporally contextualized representations of patients' diagnosis and medication histories and subsequently uses these representations to predict treatment assignment, treatment-specific outcome risks, and patient-specific ITEs. The ITE-Transformer is trained using structured EHR data from ~350,000 participants in the All of Us Research Program and evaluated in two clinically different comparative-effectiveness tasks: (i) GLP-1 receptor agonists versus DPP-4 inhibitors among patients with type 2 diabetes, with major adverse cardiovascular events as the outcome, and (ii) immunotherapy versus chemotherapy in a pan-cancer cohort, with all-cause mortality as the outcome. Across both applications, the ITE-Transformer improves the discrimination and calibration of treatment assignment and outcome models compared with existing tabular machine learning approaches and an otherwise identical transformer trained without self-supervised pre-training. The ITE-Transformer further identifies substantial heterogeneity in predicted ITEs and yields interpretable patterns of treatment response associated with patients' diagnoses, medication histories, and comorbidities. Together, our work demonstrates how clinical foundation models can be developed for analyzing heterogeneity in treatment effects and thus support real-world evidence generation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Counterfactual Policy Learning for Personalized Treatment Using SGLT2 InhibitorsmedRxiv · 2026
- Inference for Heterogeneous Treatment Effects with Deep Survival LearnersarXiv · 2026
- Estimating heterogeneous treatment effects with survival outcomes via a deep survival learner.Lifetime data analysis · 2026
- Forecasting laboratory measurements from longitudinal electronic health recordsmedRxiv · 2026
- FERMAT: An Autoregressive Clinical Foundation Model for Disease Risk and Clinical Event PredictionmedRxiv · 2026
- Learning Who Benefits Most: Multi-Treatment Causal Ranking for Population Health StratificationarXiv · 2026