Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: JMIR Formative Research (no longer under consideration since Apr 03, 2026)

Date Submitted: Feb 11, 2026
Open Peer Review Period: Feb 12, 2026 - Apr 9, 2026
(closed for review but you can still tweet)

NOTE: This is an unreviewed Preprint

Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).

Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.

Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).

Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.

Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.

Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Enhancing Clinical Trust in Diabetes Prediction: A Multi-Directional Counterfactual and SHAP-based Decision Support Model

  • Natnael Zewdu Lemma; 
  • Abdalganiy Kebede Wakjira; 
  • Kidane Woldemariyam Degefa

ABSTRACT

Background:

Despite the high accuracy of machine learning models in predicting diabetes, clinical adoption remains limited due to the "black-box" nature of advanced algorithms. In regional healthcare contexts like Ethiopia, fostering clinician trust is essential for the successful implementation of AI-driven tools.

Objective:

This study aims to develop a trustworthy Clinical Decision Support System (CDSS) for diabetes prediction by operationalizing the Asan et al. (2020) trust framework focusing on Ability, Integrity, and Benevolence through the integration of Explainable AI (XAI) techniques.

Methods:

A multi-national dataset of clinical biomarkers was utilized. To ensure model Ability, we employed a robust preprocessing pipeline including Standardization and SMOTE for class balancing. Five architectures were compared: Logistic Regression, Random Forest (RF), Gradient Boosting, XGBoost, and LightGBM. To establish Integrity, this research utilized SHAP (SHapley Additive exPlanations) for global and local transparency. To demonstrate Benevolence, this research applied Diverse Counterfactual Explanations (DiCE) based on Miller’s (2017) theory of contrastive explanation.

Results:

The Random Forest model emerged as the superior architecture, achieving high Macro-averaged AUC and F1-scores. SHAP global analysis validated model integrity by identifying HbA1c, Age, and BMI as the primary diagnostic drivers, aligning with international clinical guidelines. DiCE generated patient-specific "what-if" scenarios, providing clinicians with actionable targets for lifestyle intervention. Preliminary evaluation suggests that providing both "why" (SHAP) and "how to change" (DiCE) explanations significantly enhances perceived clinician trust compared to standard accuracy-only outputs.The final model was deployed as an interactive Streamlit application 1.

Conclusions:

Integrating SHAP and Counterfactual analysis transforms predictive AI into a prescriptive clinical partner. By providing actionable insights that clinicians can relate to their medical knowledge, this integration initiates a culture of XAI examination for clinicians, paving the way for more transparent and patient-centered digital health interventions. Clinical Trial: term1


 Citation

Please cite as:

Lemma NZ, Wakjira AK, Degefa KW

Enhancing Clinical Trust in Diabetes Prediction: A Multi-Directional Counterfactual and SHAP-based Decision Support Model

JMIR Preprints. 11/02/2026:93342

DOI: 10.2196/preprints.93342

URL: https://preprints.jmir.org/preprint/93342

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.