Abstract
People with type 2 diabetes (T2D) often progress slowly with few symptoms, frequently discovering their condition only after complications develop. Heterogeneity in progression and deficiencies in electronic health records (EHR)—such as incomplete data and irregular intervals—make identifying critical points of diabetes progression challenging. This study utilizes longitudinal EHR data from 9,298 patients in China to optimize a generative Markov-Bayesian-based model. By incorporating expert-defined "anchors," the model generates synthetic illness trajectories that facilitate population health management and counter the lack of long-term real-world evidence.
Introduction
Type 2 Diabetes is a chronic condition that can span over 30 years from pre-diabetes to severe complications. However, most EHR datasets only capture 5-to-10-year windows, creating a significant longitudinal data gap. Furthermore, EHR data is often noisy, characterized by irregular visit intervals and a vast array of diagnostic codes. Existing Disease Progression Models (DPMs) frequently struggle with the computational complexity of mapping thousands of ICD codes to various complications, often yielding results that lack clinical interpretability. This research addresses these challenges by optimizing a generative probabilistic model to simulate full patient trajectories.
Methodology
The researchers developed a three-layer generative pipeline to model T2D progression:
- Top Layer (Markov Jump Process): Models transitions between hidden disease stages (States I through V).
- Middle Layer (Markov Chain): Represents the hidden onset of various complications, such as nephropathy or cardiovascular issues.
- Bottom Layer (Bipartite Noisy-OR Bayesian Network): Links these hidden complications to observable clinical findings (ICD-10 codes).
Optimization via Anchors
A significant innovation in this work is the introduction of "anchors"—expert-defined links between specific clinical codes and complications. In standard unsupervised models, the bottom layer is fully connected, requiring the model to calculate probabilities for every possible relationship. By consulting medical experts to define 12 anchors (e.g., linking ICD-10 code E11.2 directly to Nephropathy), the researchers pruned the search space. This reduced the parameter learning complexity from $O(N \times W)$ to $O((N - C) \times W)$, where $N$ is the number of findings, $W$ is the number of complications, and $C$ is the number of anchors.
The model was trained on data from 9,298 patients across a 17-hospital network in Shanghai, covering the period from 2005 to 2016. Patient records were integrated into one-year "time slices" to match the slow progression of the disease.
Results and Discussion
The optimized model demonstrated significant improvements in both efficiency and predictive depth.
- Computational Efficiency: The "anchored" model converged in under 8 days, a 20% improvement over the 10+ days required by the unoptimized version.
- Longitudinal Extension: The model generated 5,000 synthetic trajectories covering a 23.9-year progression path, effectively doubling the temporal insight provided by the raw 11-year dataset.
- Clinical Insights: The model revealed that metabolic complications, such as lipidemia, are "always-on," appearing early and persisting. In contrast, acute complications or musculoskeletal issues spike primarily in later stages (Stages III and IV).
- Predictive Accuracy: Using Maximum A Posteriori (MAP) inference, the model successfully mapped real-world patients onto the progression scale. For instance, in one case of rapid deterioration, the model correctly predicted the onset of nephropathy and cardiovascular issues seven years into the trajectory, despite missing direct diabetes codes in early records.
Conclusion
The optimized generative progression model provides a robust framework for simulating the long-term journey of T2D patients. By bridging the gap in longitudinal real-world evidence, these synthetic trajectories can assist clinicians in identifying where a patient sits within the disease progression. While the current model relies on ICD-10 codes, future work aims to incorporate laboratory results and social determinants of health to further refine accuracy and generalizability to other chronic conditions.
Summary updated