Time-dependent Probabilistic Generative Models for Disease Progression

Onintze Zaballa, Aritz Pérez, Elisa Gómez-Inhiesto, Teresa Acaiturri Ayesta, José Antonio LozanoarXiv 2023 · DOI

Introduction

Electronic Health Records (EHRs) have become a cornerstone of modern medical research, offering a longitudinal perspective on patient care and disease evolution. However, the inherent irregularity of EHR data presents a significant hurdle for traditional sequence modeling. In clinical practice, the timing of medical visits is rarely uniform; it is influenced by disease severity, treatment protocols, and patient response. Most existing disease progression models simplify these records into discrete sequences, effectively treating the time elapsed between events as noise.

This research addresses this gap by introducing a time-dependent probabilistic generative model. By treating the timing of medical visits as a core feature rather than a nuisance variable, the model can decipher complex disease trajectories, identify distinct patient "subtypes," and predict the timing of future medical actions with high precision.

Model Architecture

The authors propose a hierarchical Markovian generative model designed to capture the multi-faceted nature of patient journeys. The model architecture consists of three primary layers:

  1. Latent Classes ($c$): These hidden variables group patients into broad "subtypes" based on their overall treatment patterns and disease characteristics.
  2. Latent Stages ($a$): These variables segment an individual patient's history into specific phases of progression, such as the initial diagnostic phase, active treatment, or long-term follow-up.
  3. Time-Dependent Transitions ($\tau$): This layer models the irregular time intervals between medical actions. Crucially, the model assumes that the duration between two events is conditioned on both the patient's subtype and the specific clinical actions being performed.
The proposed Markovian generative model incorporates latent classes (c), stages (a), and time intervals (τ).

To optimize the model, the researchers employed the Expectation-Maximization (EM) algorithm paired with dynamic programming. This approach allows for efficient parameter estimation even when dealing with the long, complex histories typical of chronic disease patients.

Modeling Temporal Dynamics

A central challenge in this work was identifying the mathematical distribution that best represents the irregular intervals found in EHRs. The authors evaluated three parametric distributions: Geometric, Exponential, and Weibull.

The Weibull distribution emerged as the superior choice for real-world applications. Its flexibility allows it to model "heavy-tailed" data—scenarios where the majority of medical events occur in quick succession (e.g., during acute treatment), while a smaller subset of events is separated by months or years (e.g., routine annual screenings). This adaptability provides a more accurate "medical clock" compared to the more rigid Exponential or Geometric alternatives.

Experimental Results and Clinical Validation

The model's performance was rigorously tested using a real-world dataset from the public healthcare system of the Basque Country, Spain. The study focused on 645 breast cancer patients treated between 2016 and 2019, encompassing over 73,000 transitions across 23 unique medical specialties, including oncology, radiology, and pharmacy.

The results demonstrated that the Weibull-based model achieved a Mean Absolute Error (MAE) of 4.12 days when predicting the interval to the next medical action. This significantly outperformed empirical baselines, which often showed errors exceeding two weeks.

Beyond predictive accuracy, the model provided deep clinical insights by identifying five distinct treatment groups (subtypes). These groups represent different clinical pathways, ranging from intensive multi-modal therapy to long-term monitoring.

Visualization of the five identified clinical subtypes, showing variations in treatment intensity and duration.

One of the most significant findings was the model's ability to use timing as a discriminator. For instance, "Group 4" and "Group 5" followed nearly identical sequences of medical actions. However, Group 5 exhibited significantly longer durations between events, identifying them as a distinct follow-up cohort. Without the temporal component, these two groups would have been indistinguishable, potentially leading to less personalized care strategies.

Conclusion

This research highlights the critical importance of temporal information in understanding disease progression. By integrating time-dependent transitions into a generative framework, the model offers a robust tool for clinical subtyping and event prediction. While the current parametric approach shows great promise, future research will explore non-parametric techniques to better capture extreme outliers and multi-modal timing patterns. Scaling these models to larger populations remains a key objective for improving clinical decision support and personalized medicine.

Summary updated

BibTeX
@misc{zaballa2023time,
  author = {Onintze Zaballa and Aritz Pérez and Elisa Gómez-Inhiesto and Teresa Acaiturri Ayesta and José Antonio Lozano},
  title = {{Time-dependent Probabilistic Generative Models for Disease Progression}},
  year = {2023},
  eprint = {2311.09369},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.09369},
}
Figure