A prompt framework for enhancing LLM-based explainability of medical machine learning models: an intensive care unit application

Explainable AI (XAI) techniques like SHAP provide valuable insights into machine learning model predictions by quantifying feature contributions. However, interpreting these quantitative outputs remains unintuitive for many clinicians, hindering their practical adoption in clinical decision-making. This exploratory feasibility study aims to propose and evaluate a prompting framework designed to guide large language models (LLMs) in generating consistent, clinically relevant explanations from SHAP values. We developed a structured zero-shot prompting framework incorporating variable definitions, safety principles, and a three-step reasoning process; (1) key risk factors, (2) prediction-outcome reconciliation, (3) clinical recommendations. This framework guided GPT-4 to explain SHAP-based predictions from an ICU extubation failure model (trained on MIMIC-III data). The framework’s performance was assessed using quantitative consistency metrics (entropy, accuracy) and a qualitative clinician survey (n = 7). The LLM achieved a fidelity of 0.783 and entropy of 0.226, indicating consistent structured reasoning. On a 5-point Likert scale, clinicians rated the LLM-generated explanations as helpful (mean: 3.94 ± 0.48) and safe (4.21 ± 0.68). However, critical care specialists assigned lower scores than non-critical care physicians (helpfulness: 3.48 vs. 4.29; safety: 3.45 vs. 4.79), suggesting domain-specific caution in perceived utility. A structured prompting framework shows feasibility in leveraging LLMs to enhance the clinical interpretability of SHAP explanations. This methodological approach warrants further investigation and refinement for broader clinical application.

Authors

Institutions

Publication Details

Journal
BMC Medical Informatics and Decision Making
Published
2025-11-26
DOI
https://doi.org/10.1186/s12911-025-03239-6
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A prompt framework for enhancing LLM-based explainability of medical machine learning models: an intensive care unit application

Jungyo Suh, Kyeng Hyun Nam, Youngrong Lee, Taehoon Ko et al.
BMC Medical Informatics and Decision Making
Explainable Artificial Intelligence (XAI)
article

A prompt framework for enhancing LLM-based explainability of medical machine learning models: an intensive care unit application

Jungyo Suh, Kyeng Hyun Nam, Youngrong Lee, Taehoon Ko, Duck Ju Kim, Sang Min Lee, Won Ik Cho, Sujung Lee
article en

Abstract

Explainable AI (XAI) techniques like SHAP provide valuable insights into machine learning model predictions by quantifying feature contributions. However, interpreting these quantitative outputs remains unintuitive for many clinicians, hindering their practical adoption in clinical decision-making. This exploratory feasibility study aims to propose and evaluate a prompting framework designed to guide large language models (LLMs) in generating consistent, clinically relevant explanations from SHAP values. We developed a structured zero-shot prompting framework incorporating variable definitions, safety principles, and a three-step reasoning process; (1) key risk factors, (2) prediction-outcome reconciliation, (3) clinical recommendations. This framework guided GPT-4 to explain SHAP-based predictions from an ICU extubation failure model (trained on MIMIC-III data). The framework’s performance was assessed using quantitative consistency metrics (entropy, accuracy) and a qualitative clinician survey (n = 7). The LLM achieved a fidelity of 0.783 and entropy of 0.226, indicating consistent structured reasoning. On a 5-point Likert scale, clinicians rated the LLM-generated explanations as helpful (mean: 3.94 ± 0.48) and safe (4.21 ± 0.68). However, critical care specialists assigned lower scores than non-critical care physicians (helpfulness: 3.48 vs. 4.29; safety: 3.45 vs. 4.79), suggesting domain-specific caution in perceived utility. A structured prompting framework shows feasibility in leveraging LLMs to enhance the clinical interpretability of SHAP explanations. This methodological approach warrants further investigation and refinement for broader clinical application.

BMC Medical Informatics and Decision MakingVol. 25(1)
Ulsan College (KR), Catholic Medical Center (US), Seoul National University (KR), Asan Medical Center (KR), University of Ulsan (KR), Seoul Medical Center (KR), Jeju National University Hospital (KR), Jeju National University (KR), Catholic University of Korea (KR)
Seoul National University, Soonchunhyang University, Catholic University of Korea, Korea Health Industry Development Institute, Seoul National University Hospital
Openalex Percentile: Top 80%
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.