Leveraging Clinical Context for User-Centered Explainability: A Diabetes Use Case

Shruthi Chari, Prithwish Chakraborty, Mohamed Ghalwash, Oshani Seneviratne, Elif K. Eyigoz, Daniel M. Gruen, Fernando Suarez Saiz, Ching-Hua Chen, Pablo Meyer Rojas, Deborah L. McGuinnessarXiv 2021

TL;DR

This paper introduces a user-centered explainable AI (XAI) framework that bridges the gap between raw machine learning predictions and clinical practice. By contextualizing algorithmic risk predictions with clinical practice guidelines (CPGs) and medical ontologies, the proposed proof-of-concept helps clinicians understand and trust AI models for predicting chronic kidney disease (CKD) in type-2 diabetes patients.

What Problem Does This Paper Address?

Despite massive breakthroughs in medical machine learning, real-world clinical adoption remains slow. The primary bottleneck is a lack of trust: clinicians find it difficult to act on "black-box" risk predictions if the underlying explanations are disconnected from actual medical practice.

Standard post-hoc explainers (like SHAP) output feature importance scores that show what variables drove a prediction, but they fail to explain why those variables matter in a physiological context or how a physician should intervene based on that risk. This paper tackles this challenge by identifying three essential dimensions of clinical contextualization:

  1. The Patient: Connecting clinical history to recommended treatments.
  2. The Risk Prediction: Grounding predictions in general norms of practice and potential complications.
  3. The Algorithmic Explanation: Mapping statistical feature importances to higher-level medical concepts and physiological pathways.

Methods

The authors built a multi-stage pipeline to generate clinically relevant insights, combining machine learning, natural language processing, and domain knowledge:

Figure 2: An overview of the interactions between different methods in the pipeline to generate insights towards the three iden- tified contextualization capabilities of contextualizing a patient, their risk prediction and post-hoc explanations. We demon- strate the different parts used by the contextualizations, shown to the right of the figure, via coloured swimlane paths.
  • Risk Prediction: The authors trained a suite of classification models—including Logistic Regression (LR), Multi-Layer Perceptrons (MLP), and Recurrent Neural Networks (LSTM and GRU)—to predict the 1-year risk of developing CKD following a type-2 diabetes diagnosis.
  • Prototypical Patient Selection: To make evaluation manageable for clinicians, they used Protodash, a sample selection method, to distill the dataset into 20 representative high-risk "prototypical" patients.
  • Feature Importance & Ontological Mapping: Local feature importances were extracted using SHAP. To make these statistical weights meaningful to doctors, the features were mapped to higher-level medical concepts using Level 1 Clinical Classifications Software (CCS) codes.
  • Guideline Question Answering (QA): The American Diabetes Association (ADA) Standards of Care guidelines were converted into a structured JSON format.
Figure 3: ADA CPG evidence structure with its composi- tional structure. Chapters contain recommendation groups covering sub-topics that further contain recommendations that have grade levels dictated by the evidence quality.

The text was queried using a pre-trained BERT model (trained on SQuAD). Because standard BERT struggles with numerical ranges critical to medicine (e.g., "HbA1c > 10%"), the authors augmented it with a custom numerical parsing module to match patient lab values with guideline thresholds.

Datasets

The framework was evaluated using a claims sub-component of the Limited IBM MarketScan Explorys Claims-EMR Data Set (LCED). This dataset contains administrative claims and EHR data for over 5 million commercially insured patients between 2013 and 2017. The final cohort was narrowed down to T2DM patients aged 19–64 who met specific continuous enrollment and visit frequency criteria.

Key Insights and Ideas

  • Recall Over Pure Accuracy: In clinical risk prediction, false negatives can be catastrophic. The authors deliberately chose a model with higher recall and a strong Brier score (probabilistic calibration) over one with marginally better overall accuracy, ensuring that high-risk patients aren't missed.
  • The Need for Hybrid NLP: Purely language-based QA models fail in clinical settings because they cannot inherently evaluate numerical ranges. Combining BERT with a rule-based numerical parser is essential for answering questions about lab results.
  • Structuring Explanations as a Conversation: Instead of dumping a dashboard of charts, the system simulates a clinician's natural cognitive workflow, moving from population-level queries down to patient-specific intervention questions.
Table 1: Results for a selected set of questions from the various modules (risk prediction models, post-hoc explainers, and guideline QA). The annotation column contains answer information including: information sources, the disease aspect (i.e., T2DM, CKD, or both), and the contextualization dimension captured. (∗Diseases ordered by frequency)

Key Results

The predictive performance of the underlying machine learning models varied significantly across architectures:

Table 3: Results of Risk Prediction Model for CKD

While the GRU achieved the highest overall AUC-ROC (0.677) and AUC-PRC (0.311), the authors selected the MLP for their proof-of-concept due to its exceptional recall (0.977) and superior Brier score (0.621), which provides a more reliable probabilistic interpretation for clinicians.

Qualitatively, a clinical researcher evaluated the system and confirmed that mapping SHAP feature importances to medical ontologies and pairing them with direct quotes from ADA guidelines directly matches a clinician's workflow, significantly enhancing the utility of the AI's output.

Figure 1: Feature importance for CKD prediction among 20 prototypical patients using SHAP (left), showing absolute impor- tance, and (right) showing feature impact on model prediction w.r.t. presence/absence of features

Limitations and Future Work

The current proof-of-concept is tailored specifically to Primary Care Physicians (PCPs) and needs to be expanded to support other specialist personas. Additionally, the extraction of tabular data from clinical guidelines still requires manual intervention; future work aims to automate this data ingestion completely. The authors are currently developing a prototype interactive dashboard to conduct rigorous, human-in-the-loop qualitative evaluations with practicing physicians.

Summary updated

BibTeX
@misc{chari2021leveraging,
  author = {Shruthi Chari and Prithwish Chakraborty and Mohamed Ghalwash and Oshani Seneviratne and Elif K. Eyigoz and Daniel M. Gruen and Fernando Suarez Saiz and Ching-Hua Chen and Pablo Meyer Rojas and Deborah L. McGuinness},
  title = {{Leveraging Clinical Context for User-Centered Explainability: A Diabetes Use Case}},
  year = {2021},
  eprint = {2107.02359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.02359},
}
Figure