Generating Counterfactual Patient Timelines from Real-World Data

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Akagi, Yu, Seki, Tomohisa, Takiguchi, Toru, Ito, Hiromasa, Kawazoe, Yoshimasa, Ohe, Kazuhiko
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908934299713536
author Akagi, Yu
Seki, Tomohisa
Takiguchi, Toru
Ito, Hiromasa
Kawazoe, Yoshimasa
Ohe, Kazuhiko
author_facet Akagi, Yu
Seki, Tomohisa
Takiguchi, Toru
Ito, Hiromasa
Kawazoe, Yoshimasa
Ohe, Kazuhiko
contents Counterfactual simulation - exploring hypothetical consequences under alternative clinical scenarios - holds promise for transformative applications such as personalized medicine and in silico trials. However, it remains challenging due to methodological limitations. Here, we show that an autoregressive generative model trained on real-world data from over 300,000 patients and 400 million patient timeline entries can generate clinically plausible counterfactual trajectories. As a validation task, we applied the model to patients hospitalized with COVID-19 in 2023, modifying age, serum C-reactive protein (CRP), and serum creatinine to simulate 7-day outcomes. Increased in-hospital mortality was observed in counterfactual simulations with older age, elevated CRP, and elevated serum creatinine. Remdesivir prescriptions increased in simulations with higher CRP values and decreased in those with impaired kidney function. These counterfactual trajectories reproduced known clinical patterns. These findings suggest that autoregressive generative models trained on real-world data in a self-supervised manner can establish a foundation for counterfactual clinical simulation.
format Preprint
id arxiv_https___arxiv_org_abs_2604_02337
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Generating Counterfactual Patient Timelines from Real-World Data
Akagi, Yu
Seki, Tomohisa
Takiguchi, Toru
Ito, Hiromasa
Kawazoe, Yoshimasa
Ohe, Kazuhiko
Machine Learning
Counterfactual simulation - exploring hypothetical consequences under alternative clinical scenarios - holds promise for transformative applications such as personalized medicine and in silico trials. However, it remains challenging due to methodological limitations. Here, we show that an autoregressive generative model trained on real-world data from over 300,000 patients and 400 million patient timeline entries can generate clinically plausible counterfactual trajectories. As a validation task, we applied the model to patients hospitalized with COVID-19 in 2023, modifying age, serum C-reactive protein (CRP), and serum creatinine to simulate 7-day outcomes. Increased in-hospital mortality was observed in counterfactual simulations with older age, elevated CRP, and elevated serum creatinine. Remdesivir prescriptions increased in simulations with higher CRP values and decreased in those with impaired kidney function. These counterfactual trajectories reproduced known clinical patterns. These findings suggest that autoregressive generative models trained on real-world data in a self-supervised manner can establish a foundation for counterfactual clinical simulation.
title Generating Counterfactual Patient Timelines from Real-World Data
topic Machine Learning
url https://arxiv.org/abs/2604.02337