Predicting onset of complications from diabetes: a graph based approach

Pamela Bilo Thomas, Daniel H. Robertson, Nitesh V. ChawlaAppl. Netw. Sci 2018 · DOI

Type 2 Diabetes Mellitus (T2DM) is a complex condition where the primary health and economic burdens are driven by secondary complications such as kidney disease, heart failure, and stroke. While the eventual occurrence of these co-morbidities is common, the rate of progression varies significantly among patients. This research introduces a graph-based framework designed to predict not just the occurrence of complications, but the speed of their onset, distinguishing between "fast" and "slow" progressors.

The Challenge of Temporal Risk Assessment

Clinical data is often characterized by "inequality of healthcare consumption," where patient visit frequencies vary, leading to sparse or messy records. Traditional binary models often fail to capture the temporal dimension of risk. By categorizing patients based on their progression speed, clinicians can better identify high-risk individuals who require immediate, personalized intervention.

Methodology: Heterogeneous Network Analysis

The core of the proposed system is a heterogeneous network approach that models patient histories as graphs. Unlike models relying solely on ICD diagnosis codes, this framework incorporates:

  • Nodes: Representing ICD diagnoses, clinical laboratory results (binned into quartiles), and demographic data (age, gender, race).
  • Edges: Representing transitions between health states based on shared patient experiences.

Key Innovations

  1. The "Second Year" Window: To ensure data stability and avoid the noise of initial diagnosis periods, the model focuses on data from the second year following a T2DM diagnosis.
  2. Statistical Pruning: A two-proportion Z-test was employed to prune nodes and edges that did not significantly differentiate fast from slow progressors.
  3. Probabilistic Traversal: Risk prediction involves traversing a sub-network matching a patient's history, calculating a score based on the weights of the top 12 most significant features.

Data Processing and Scale

The study leveraged a massive dataset from the Indiana Network for Patient Care (INPC), encompassing over 800,000 patients and 500 million records over two decades.

Figure 1: The data processing pipeline for the INPC dataset.

As shown in the pipeline above, the researchers implemented a rigorous cleaning process using PySpark to normalize units, filter outliers (+/- 2 standard deviations), and handle multi-modal data inconsistencies to create an analysis-ready dataset.

Key Insights

  • The Power of Heterogeneity: Integrating lab results like eGFR or HbA1C significantly improved predictive accuracy over using ICD codes alone.
  • Non-Metabolic Predictors: Mental health conditions (psychoses), sleep disorders, and chronic pain emerged as high-confidence nodes for multiple complications, suggesting that psychological and physical distress may accelerate diabetic decline.
  • eGFR as a Universal Marker: Low estimated Glomerular Filtration Rate (eGFR) was a top marker for both kidney disease and heart failure, highlighting the tight link between renal and cardiovascular health.
  • Optimal Complexity: The researchers found that using only the top 12 most significant features provided the best balance; adding more nodes often introduced noise and decreased the Area Under the Curve (AUC).

Results and Performance

The model demonstrated robust performance across six major complications:

  • Average AUC: Ranged from 0.743 (Liver Disease) to 0.780 (Stroke).
  • Sensitivity: The model was particularly effective at identifying at-risk individuals, with sensitivity reaching 0.897 for Retinopathy and 0.873 for Stroke.
  • Progression Identification: By defining fast progressors as the top 25% by speed of onset, the model successfully identified high-risk individuals using only second-year post-diagnosis data.

Limitations and Future Directions

While effective, the model faces challenges such as data gaps from patient mobility and the current exclusion of social determinants of health. Future work will focus on incorporating environmental factors and investigating "false positives"—patients predicted to progress quickly who did not—to identify potential protective factors like specific medications or lifestyle changes.

Summary updated

BibTeX
@article{thomas2018predicting,
  author = {Pamela Bilo Thomas and Daniel H. Robertson and Nitesh V. Chawla},
  title = {{Predicting onset of complications from diabetes: a graph based approach}},
  journal = {Appl. Netw. Sci.},
  year = {2018},
  doi = {10.1007/s41109-018-0106-z},
}
Figure