Manuscript Offprint

arXiv:2611.09232

RAG-Enhanced LLMs for Interactive Explainability in Clinical Decision Support Systems

Lorenzo Mannocci, Francesca Naretto, Lucia Passaro, Anna Monreale

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Lorenzo Mannocci¹ (✉)[0000-0002-5556-3746], Francesca Naretto²[0000-0003-1301-7787], Lucia Passaro²[0000-0003-4934-5344], and Anna Monreale²[0000-0001-8541-0284]

¹ University of Pisa, Italy {lorenzo.mannocci}@di.unipi.it ² University of Pisa, Italy {francesca.naretto, lucia.passaro, anna.monreale}@unipi.it

Abstract. Artificial Intelligence (AI) is increasingly embedded in high-risks decision-making systems across domains such as healthcare, finance, and the judicial system. As reliance on predictive models grows, so does the demand for Explainable AI (XAI) to ensure transparency, trust, and interpretability. However, existing XAI approaches often fail to present explanations in a format accessible to domain experts, limiting their practical utility. Large Language Models (LLMs) have recently emerged as a bridge between complex models and end-users, offering natural language explanations. Yet, their use introduces new risks, including hallucinated outputs and lack of source traceability. To address these challenges, we propose a Clinical Decision Support System (CDSS) that not only combines standard predictive models with XAI techniques but also incorporates a Retrieval-Augmented Generation module as an interactive enhancer. This module grounds explanations in verified medical knowledge, reformulates technical outputs into a human-like format, and enables users—such as clinicians—to actively query the system. By fostering an interactive, human-in-the-loop environment, our approach empowers domain experts to explore model decisions, contextualize explanations, and build trust in AI-assisted diagnostics. The study concludes with preliminary experiments validating the proposed methodology.

Keywords: explainable AI · human computer interaction · retrieval-augmented generation · large language models · clinical decision support system.

  • This is the preprint version of the conference paper published by Springer. Please cite the published version: Lorenzo Mannocci, Francesca Naretto, Lucia Passaro, and Anna Monreale (2026). RAG-Enhanced LLMs for Interactive Explainability in Clinical Decision Support Systems. Artificial Intelligence for Healthcare, and Hybrid Models for Coupling Deductive and Inductive Reasoning. HC_AIxIA_HYDRA 2025. Communications in Computer and Information Science, vol. 2830, pp. 50–63. Springer, Cham. https://doi.org/10.1007/978-3-032-16708-8_4

1 Introduction

Artificial Intelligence (AI) has rapidly evolved to become a crucial component in decision-making systems across various fields, including healthcare [42], finance [7], law enforcement [38], and the judicial system [34]. The increasing reliance on predictive models in these domains necessitates the development of methods to explain their outputs, a requirement that has led to the emergence of Explainable Artificial Intelligence (XAI) [20, 16]. XAI aims to make AI models more interpretable, transparent, and trustworthy, ensuring that domain experts and end-users can understand and assess the rationale behind automated decisions [10, 31]. The need for trust and transparency in AI decision-making has also been recognized at the regulatory level. The European Union's AI Act [37], one of the first comprehensive legal frameworks for AI, emphasizes the importance of explainability, particularly for high-risk AI applications. The AI Act mandates that AI systems used in critical sectors provide clear, understandable, and verifiable explanations to ensure accountability and fairness. This regulatory push further underscores the necessity of effective XAI techniques that can meet both ethical and legal standards while supporting domain experts in making informed decisions.

Many high-risk applications depend on predictive models that significantly impact human lives. In healthcare, AI-driven diagnostic systems assist doctors in detecting diseases, recommending treatments, and predicting patient outcomes [42]. In the judicial system, predictive models inform parole decisions and risk assessments [34]. Despite their effectiveness, these models often operate as black boxes, making it difficult for domain experts to verify their outputs and detect potential biases. Without proper interpretability, decision-makers may struggle to trust AI-driven recommendations, leading to ethical, legal, and social concerns. Indeed, these explanations might be difficult to interpret, particularly for professionals outside the field of computer science, such as doctors, lawyers, or policymakers. The challenge lies in presenting these explanations in a way that aligns with the expertise and expectations of the end-users [9]. For example, rule-based explainability methods may generate decision rules with numerical thresholds that do not align with conventional domain knowledge. In medical applications, an AI model might define a risk threshold for blood pressure or glucose levels that deviates from commonly accepted medical guidelines, creating confusion among clinicians. Without proper contextualization, such outputs can diminish trust in the AI system rather than enhancing its credibility. Moreover, existing XAI methods often fail to present explanations in a format that is intuitive and easily digestible for domain experts. This limitation has led to the integration of Large Language Models (LLMs) as interfaces for explainability, offering a more natural and human-like explanations for AI predictions [3].

LLMs have been increasingly employed as mediators between complex AI models and domain experts, translating complex mathematical justifications into human-like explanations. By reformatting and simplifying the outputs of XAI techniques, LLMs can substantially enhance the interpretability of AI-driven decisions [3]. In a healthcare setting, for instance, an LLM can transform a technical explanation of a machine learning model's prediction into a structured summary that aligns with a physician's diagnostic workflow [23, 30]. More recently, LLMs have been leveraged not only to translate explanations into natural language but also to enrich them with contextual information drawn from their pre-trained knowledge [36]. However, this approach introduces an additional layer of complexity and potential risk. LLMs are known to occasionally produce inaccurate or misleading outputs, a phenomenon referred to as hallucinations [24]. Furthermore, these models typically do not provide access to the underlying sources that support their responses, limiting transparency and traceability [27].

One promising approach to mitigating LLM hallucinations in XAI is the use of Retrieval-Augmented Generation (RAG) [26]. RAG enhances LLM-generated explanations by grounding them in an external, domain-specific knowledge base. Instead of relying solely on the LLM's pre-trained knowledge, RAG retrieves relevant information from a curated database to provide more accurate and reliable explanations. In the context of XAI, RAG can address two critical challenges. First, it reduces the risk of hallucinations by ensuring that explanations are based on verified sources rather than probabilistic text generation. Second, it allows for the integration of domain-specific knowledge, ensuring that explanations adhere to established medical, legal, or financial guidelines. By leveraging RAG, AI-generated explanations can be aligned more closely with experts' expectations, thereby increasing trust and usability in real-world applications.

In this work, we present, to the best of our knowledge, the first Clinical Decision Support System (CDSS) that integrates standard predictive models with XAI techniques and RAG-enhanced explanations. The proposed system consists of three key components:

  1. Predictive Model: A standard classifier, such as a neural network or a random forest, that generates predictions based on patient data;
  2. Explainer: An explanation method that provides insights into the model's decision-making process through feature importance-based explanations (e.g., LIME [39] and SHAP [28]), decision rules (e.g., LORE [19]) or exemplars and counter-exemplars [18];
  3. RAG-Based enhancer module: A module built on RAG that enhances explanations by grounding them in reliable medical knowledge, mitigating hallucinations, and transforming traditional explanations into more human-readable, context-aware formats. It also serves as an interactive tool, allowing end users to ask specific questions and explore the patient's clinical profile in relation to the model's predictions and explanations.

By combining standard classifiers with RAG-based explanations grounded in verified medical sources, our system enhances the trustworthiness and domain relevance of AI-driven medical decisions. This approach addresses key limitations of conventional XAI by providing interpretable, reliable insights tailored to healthcare professionals. The study concludes with preliminary experiments validating the proposed methodology.

References (47)