Graph-based clinical recommender: Predicting specialists procedure orders using graph representation learning

Sajjad Fouladvand, Federico Reyes Gomez, Hamed Nilforoshan, Matthew Schwede, Morteza Noshad, Olivia Jee, Jiaxuan You, Rok Sosic, Jure Leskovec, Jonathan H. Chen · DOI

This paper presents a novel approach to streamlining the often-bottlenecked process of specialty medical referrals. By using Graph Neural Networks (GNNs), the authors developed a system that predicts which tests and procedures a specialist will likely order, allowing primary care physicians to initiate those orders earlier and potentially shave months off a patient's diagnostic journey.

TL;DR

The researchers developed a heterogeneous Graph Neural Network (GNN) to predict specialist procedure orders based on a patient’s primary care history. Their model significantly outperformed both traditional machine learning baselines and standard clinical checklists, achieving a ROC-AUC of 0.88 for endocrinology and 0.84 for hematology.

What Problem Does This Paper Address?

In modern healthcare, the demand for specialists far exceeds the supply. When a primary care physician (PCP) refers a patient to a specialist (like an endocrinologist), there is often a long wait for the initial appointment. Once that appointment finally happens, the specialist frequently orders a battery of tests and then schedules a second follow-up to review the results. This "referral loop" creates massive delays in treatment.

While "clinical checklists" exist to help PCPs order the right tests before the referral, they are often labor-intensive to maintain and offer a "one-size-fits-all" approach that doesn't account for individual patient complexity. The authors sought to automate and personalize this process using AI.

Methods

The authors framed the problem as link prediction on a heterogeneous graph.

  1. Graph Construction: They modeled Electronic Health Record (EHR) data as a graph where nodes represent either patients or procedure orders.
  2. Features: Patient nodes were assigned multi-hot encoded vectors representing their diagnoses, prior procedures, and lab results (categorized as high, low, or normal).
  3. The Architecture: They used a custom Heterogeneous Graph Attention Network (GAT). This architecture allows the model to learn which "neighbors" in the graph (e.g., similar patients or related procedures) are most relevant for a specific prediction.
  4. The Task: The model predicts the probability of an "ordered-with" edge existing between a specific patient and a specific procedure after the referral date.

This differs from standard "flat" machine learning models (like Logistic Regression or standard Neural Nets) because it explicitly captures the relational structure of medical data—how certain diagnoses frequently cluster with specific lab abnormalities and subsequent orders.

Datasets

The study utilized two primary cohorts from a large academic medical center (Stanford University):

  • Endocrinology Cohort: 6,821 new referrals (2008–2018). The target set included 60 common procedure orders.
  • Hematology Cohort: 2,007 new referrals (2008–2021). The target set included 33 medical procedures.

The researchers compared their GNN against several baselines, including Singular Value Decomposition (SVD), Collaborative Filtering Auto-encoders (AE), and manual clinical checklists currently used in practice.

Key Insights and Ideas

  • Relational Context Matters: The primary "aha moment" is that EHR data is inherently a graph. A patient isn't just a list of features; they are a node in a web of clinical decisions. GNNs capture this "neighborhood" effect better than traditional matrix-based approaches.
  • AI vs. Human Checklists: The model was significantly more precise than manual checklists. For endocrinology, the recommender achieved a precision of 0.60 compared to just 0.16 for the manual checklist. This suggests that "one-size-fits-all" guidelines are often too broad, leading to unnecessary tests, whereas the AI can be more surgical.
  • Workflow Integration: The paper emphasizes that the goal isn't to replace the specialist, but to "pre-arm" the PCP. If the AI predicts with high confidence that a hematologist will want a Ferritin test, the PCP can order it at the moment of referral, making the first specialist visit far more productive.

Key Results

  • Superior Accuracy: The GNN (CR-GNN) achieved a ROC-AUC of 0.88 for endocrinology (an 8% improvement over the best non-graph baseline) and 0.84 for hematology (a 5% improvement).
  • Precision-Recall Gains: At a recall of 0.50, the GNN maintained much higher precision than any other model, meaning it makes fewer "false alarm" recommendations.
  • Clinical Consistency: Qualitative analysis (Figure 3 in the paper) showed that for anemia patients, the GNN’s top recommendations (Vitamin B12, Ferritin, etc.) almost perfectly mirrored the actual behavior of expert hematologists.

Limitations and Future Work

  • Outpatient vs. Inpatient: The model was built primarily on outpatient data. Some features (like chemotherapy support orders) are more common in inpatient settings, which might affect generalizability.
  • Learning from "Noise": The model is trained on what specialists actually ordered. However, doctors are human and sometimes make mistakes or miss orders. The model might be "mimicking" current practice rather than identifying the "perfect" clinical path.
  • Future Directions: The authors suggest moving toward Reinforcement Learning, where the model is optimized not just to predict what a doctor will do, but what will lead to the best long-term patient outcome.

Summary updated

BibTeX
@article{fouladvand2023graph,
  author = {Sajjad Fouladvand and Federico Reyes Gomez and Hamed Nilforoshan and Matthew Schwede and Morteza Noshad and Olivia Jee and Jiaxuan You and Rok Sosic and Jure Leskovec and Jonathan H. Chen},
  title = {{Graph-based clinical recommender: Predicting specialists procedure orders using graph representation learning}},
  journal = {J. Biomed. Informatics},
  year = {2023},
  doi = {10.1016/j.jbi.2023.104407},
}
Figure