Related Experiment Video
Updated: Feb 24, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Generating Counterfactual Patient Timelines from Real-World Data
Yu Akagi1, Tomohisa Seki2, Toru Takiguchi2
1Department of Biomedical Informatics, Graduate School of Medicine, The University of Tokyo, Japan.
None:
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.
More Related Videos
06:32Author Spotlight: Automated Deep Brain Stimulation for Parkinson's Disease - Exploring the Possibilities and Challenges of Home Monitoring
Published on: July 14, 2023
11:18Generation of Comprehensive Thoracic Oncology Database - Tool for Translational Research
Published on: January 22, 2011
Related Concept Videos
Counterfactual Thinking
Data Collection I
Causality in Epidemiology
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
The Availability Heuristic
Purpose of Health Records II