Competing Event Models: Autoregressive Generation Under Interventions on When and What to Do
Abstract
Modeling interventions that include timing is important in many domains, such as treatments in healthcare and transactions in finance. However, standard next-token predictors, typically implemented using transformers, do not naturally support altering the timing of specific future events. We develop \emph{Competing Event Models} (CEMs), autoregressive world models for events in irregular time: once trained on observational data, a CEM can simulate trajectories under any intervention that can be carried out in practice, i.e.\ any policy that decides what to do and when based on the observed history. Drawing from the competing risks literature, CEMs model independent distributions for latent times of each event type, where the earliest realized time determines the next event. This makes interventions on timing straightforward and sampling efficient, and through appropriate design choices, CEMs also model concurrent events. We evaluate CEMs on a cancer tumor volume simulator and on prediction tasks using the MIMIC-IV dataset. Our results show that CEMs accurately recover causal effects of sequential treatments in simulations while surpassing standard transformer baselines in predictive performance on 3 out of 4 real-world medical data tasks.