Skip to Content
HealthcareHealthcare
  • Review
  • Open Access

8 December 2025

43 Pages

Unveiling the Algorithm: The Role of Explainable Artificial Intelligence in Modern Surgery

,
,
,
and
1
Portuguese Institute of Oncology of Porto, 4200-072 Porto, Portugal
2
Faculty of Medicine, University of Porto, 4200-437 Porto, Portugal
3
Precision Medicine Unit, Department of Gastroenterology, Hospital São João, 4200-437 Porto, Portugal
4
WGO Training Center, 4200-437 Porto, Portugal

Abstract

Artificial Intelligence (AI) is rapidly transforming surgical care by enabling more accurate diagnosis and risk prediction, personalized decision-making, real-time intraoperative support, and postoperative management. Ongoing trends such as multi-task learning, real-time integration, and clinician-centered design suggest AI is maturing into a safe, pragmatic asset in surgical care. Yet, significant challenges, such as the complexity and opacity of many AI models (particularly deep learning), transparency, bias, data sharing, and equitable deployment, must be surpassed to achieve clinical trust, ethical use, and regulatory approval of AI algorithms in healthcare. Explainable Artificial Intelligence (XAI) is an emerging field that plays an important role in bridging the gap between algorithmic power and clinical use as surgery becomes increasingly data-driven. The authors reviewed current applications of XAI in the context of surgery—preoperative risk assessment, surgical planning, intraoperative guidance, and postoperative monitoring—and highlighted the absence of these mechanisms in Generative AI (e.g., ChatGPT). XAI will allow surgeons to interpret, validate, and trust AI tools. XAI applied in surgery is not a luxury: it must be a prerequisite for responsible innovation. Model bias, overfitting, and user interface design are key challenges that need to be overcome and will be explored in this review to achieve the integration of XAI into the surgical field. Unveiling the algorithm is the first step toward a safe, accountable, transparent, and human-centered surgical AI.

1. Introduction

While it is entering all aspects of our lives, mainly through Generative Artificial Intelligence (GenAI), AI is revolutionizing healthcare. Indeed, GenAI also has applications in Medicine [Table 1]. In particular, large language models (LLMs) have been a focus of intense research, motivated by the recent introduction of Chat Generative Pre-Trained Transformer (ChatGPT, OpenAI). ChatGPT (OpenAI, San Francisco, CA, USA) has been commercially developed since 2022, as a tool that understands, generates, and interacts with textual inputs, allowing extensive data interpretation, with potential in answering clinical questions, assisting differential diagnostic processes: it can provide patient recommendations and elaborate research questions [1,2]. Table 2 summarizes studies that evaluated LLM tools’ performance for clinical diagnosis [2,3,4,5,6,7,8].
Table 1. Subtypes of Generative AI. Generative AI refers to a class of algorithms capable of producing new content (e.g., text, images, audio, or even synthetic patient data), based on patterns learned from large datasets. Unlike traditional discriminative models that classify or predict outcomes, generative models are designed to create novel outputs that mimic the underlying data distribution. GANs—Generative Adversarial Networks; LLMs—Large Language Models; VAEs—Variational Autoencoders.
Table 2. Studies on ChatGPT in Clinical Diagnosis. AUROC—Area Under the Receiver Operating Characteristic Curve; CNN—Convolutional Neural Network; CT—Computed Tomography; GERD—Gastroesophageal Reflux Disease; GPT—Chat Generative Pre-Trained Transformer; NSCLC—Non-Small Cell Lung Cancer.
But in surgery, image analysis is of utmost importance, and Deep Learning (DL) models have demonstrated high accuracy in detection and characterization of lesions across distinct imaging methods, in Gastroenterology, using neural architectures adapted for image analysis, mainly convolutional neural network (CNN) models [7]. Recent versions of Generative AI (ChatGPT-4) have opened the possibility of integrating image interpretation with clinical narratives, by the introduction of visual capabilities. However, they lag behind specialized CNN models, typically used in clinical image interpretation, that are optimized for medical image classification and segmentation (Table 3 compares LLMs and CNNs). Mascarenhas et al. [1] highlighted that while the emergence of image-capable LLMs is promising, ChatGPT-4 currently falls short in terms of accuracy and consistency, and lacks explainable mechanisms. These authors investigated ChatGPT-4’s performance in interpreting images in Gastroenterology across five diagnostic modalities. A total of 740 images were assessed using standardized prompts, and ChatGPT-4’s image interpretations were compared with established gold-standard diagnoses. Performance metrics included accuracy, sensitivity, specificity, positive and negative predictive values, and area under the curve (AUC). Accuracy ranged from 50% to 90% in capsule endoscopy (CE), 67% in device-assisted enteroscopy (DAE) broadly, and under 70% in high-resolution anoscopy (HRA). Critically, discriminative performance (AUC) was notably poor in Endoscopic Ultrasound (EUS) and digital single-operator cholangioscopy (DSOC), indicating inadequate reliability [1].
Table 3. LLMs versus CNNs—primary function, strengths, weaknesses, clinical adoption, and role in Generative AI. CNNs are able to analyze spatial data, such as images, because the layout of these neural networks resembles the animal visual cortex, by processing information across multiple layers—this allows for the extraction of numerous features.
It is important to distinguish between model families (e.g., CNNs, transformers, diffusion models, LLMs), task types, and explanation layers. XAI methods such as Grad-CAM, SHAP, attention rollout, or counterfactuals operate on top of a model and do not depend on whether the underlying model is generative or discriminative. This clean separation clarifies that explainable artificial intelligence (XAI) methods operate independently of model family, avoids conflating GenAI limitations (e.g., hallucination, lack of pixel-level fidelity) with XAI requirements, and the independent question of explanation faithfulness and stability.
Importantly, the maturity of evidence supporting XAI varies substantially across surgical subspecialties. Fields such as radiology, pathology, and ophthalmology, where data are highly structured and outcomes are readily quantifiable, have generated more rigorous validation studies and clearer demonstrations of how XAI can enhance diagnostic confidence and workflow integration. In contrast, subspecialties like emergency general surgery, trauma, and complex oncologic surgery often rely on heterogeneous data sources, non-standardized documentation, and clinically nuanced decision-making, resulting in fewer high-quality studies and limited reproducibility of XAI models. These differences highlight that enthusiasm for XAI is not uniformly matched by methodological robustness, and that the translation of XAI into practice will require subspecialty-specific frameworks for data curation, model evaluation, and reporting standards.
In summary, GenAI’s most promising role today lies in generating synthetic training datasets, improving image quality, or assisting in patient communication. LLMs, like ChatGPT-4, are not XAI and need substantial enhancement before integration into diagnostic workflows [1]. Accuracy, consistency, and explainability will be essential to bridge trust, accountability, and safe integration into surgical and diagnostic workflows.

1.1. The Rise of AI in Surgery

AI tools applied in surgery are now extending beyond theoretical models: they are allowing tangible enhancement of efficiency, precision, and outcomes. From the outpatient clinic to the operating theater and postoperative wards, over the past years, AI has emerged as a powerful innovation tool across all phases of surgical care. Applications of AI in surgical care include preoperative risk assessment and planning; intraoperative guidance, and robotics (image-guided surgery, automated suturing); and postoperative surveillance, and predictive analytics [Figure 1].
Figure 1. Artificial Intelligence (AI) and Explainable Artificial Intelligence (XAI) in surgical care: preoperative, intraoperative, and postoperative.
Preoperative risk assessment and planning is a challenging and game-changing area of advancement in AI, that is continually growing in scope of application, and is already surpassing traditional tools in accuracy and workflow efficiency. AI-driven risk stratification tools are increasingly reshaping traditional workflows, also helping surgeons in personalized optimization strategies [10].
Intraoperatively, AI-enhanced and AI-driven Surgical Planning Systems (e.g., Medtronic’s AI-powered navigation) are enabling real-time navigation and decision support [11]. Robotic-assisted surgery (RAS), once primarily focused on mechanical precision, has entered a new phase of intelligence, with emerging platforms capable of semi-autonomous tasks [Figure 2].
Figure 2. Through AI-powered robotic systems (e.g., Da Vinci Surgical System), AI provides real-time insights during minimally invasive procedures with image analysis, automated suturing, predictive analytics, tissue dissection under supervised control, and dynamic feedback.
Postoperative care is also undergoing a transformation through predictive analytics and continuous monitoring [10]. AI algorithms embedded in wearable devices and Electronic Health Records (EHR) systems can detect early signs of deterioration, predict postoperative complications, and support timely interventions [12,13,14] [Figure 3]. AI also assists with AI-powered intensive care unit (ICU) surveillance.
Figure 3. AI in postoperative care. By identifying high-risk patients weeks ahead, clinicians may improve comorbidity control and also provide an early intervention. AI algorithms improved physicians’ risk estimates by up to 5%, enhancing identification of postoperative outcomes. AI helps with ventilator management in ICUs, optimizing respiratory support for critically ill patients. EHR—Electronic Health Records; ICU—Intensive Care Unit.
Collectively, all these innovations signal a paradigm shift in modern surgery. Yet, as algorithms grow more complex, the opacity of their decision-making processes poses a new challenge: trust. The rise of AI in surgery must be met with an equally strong emphasis on explainability [Figure 4]. However, Explainable AI is not a magic bullet for “trust”; it is one component of a broader agenda for trustworthy, structurally enabled, clinically integrated AI.
Figure 4. The rise of AI in surgery must be met with an equally strong emphasis on explainability: ensuring that surgical teams understand, interpret, and can critically evaluate the algorithms, guiding clinical care.

1.2. Why Explainability Matters in Surgical AI

Surgical teams operate in high-stakes, time-sensitive settings, and many machine learning (ML) models work as “black boxes.” Beyond their technical prowess, AI systems in surgery must be thoughtfully integrated into clinical environments to ensure ethics, safety, and trust. Complexity, without explainability and transparency, might produce clinicians’ distrust, or misuse predictions [15] [Figure 5].
Figure 5. Explainability is a cornerstone for safety, trust, and legal responsibility. XAI techniques translate opaque outputs into actionable insights.
Although the explainability and trustworthiness are related, they are distinct targets in clinical AI: explainability is a property of models and interfaces (what, how, and to whom things are explained), and trustworthiness is a property of the entire socio-technical system (including validation, governance, infrastructure, and institutional culture). Keeping them separate actually helps make sense of why many promising tools fail to cross the translational gap [16].
Shapley additive explanations (SHAP), local interpretable model-agnostic explanations (LIME), saliency maps, attention maps, and natural-language summaries, are examples of XAI techniques that support AI integration in surgery, by unveiling the reasoning behind algorithmic recommendations: XAI enables human oversight, surpassing ‘the black box’ problem, which will foster clinical trust and usability, supporting educational feedback, and adoption in clinical workflows [17] [Figure 6].
Figure 6. Explainable versus ‘Black box’ models: a side-by-side comparison. Explainable/interpretable models (e.g., decision trees, linear/logistic regression) are white-box models. Black-box models, especially deep neural networks (DNNs), offer superior performance on complex tasks such as image-based intraoperative guidance but lack transparency without additional methods. Simpler, interpretable models offer transparency but may underperform at capturing intricate patterns.
XAI is an important, but incomplete strategy: it supports informed scrutiny and can underpin warranted trust, but only within institutions that have the regulatory, infrastructural, and cultural capacity to act on what explanations reveal.

1.3. Aim of the Review

Integration of AI into surgical practice will dramatically improve patient care, offering newfound opportunities to enhance precision, efficiency, and outcomes. However, surgeons should be aware of both the strengths and limitations of AI-based tools.
ML algorithms have shown surprisingly satisfactory predictive performances in many studies, but these tools are not immune to small sample sizes, requiring ‘big data’ to ensure predictions [10]. ML-based tools can analyze large, high-dimensional, and unstructured data; however, this ability can come at the expense of complexity, leading to the ‘black box’ problem (lack of transparency and interpretability) [10].
We can say that explainability could be the path to promoting equitable care. XAI contributes to reproducibility, debugging, and safety: explainability in AI underpins core medical ethics (e.g., autonomy, beneficence, non-maleficence, and justice), by enabling clinicians and patients to understand and critically evaluate model outputs (AI-driven decisions), for accuracy and fairness [18]. Transparent explanations will allow validity, meaningful monitoring, and identification of vulnerabilities (e.g., biased predictions). They will also support regulatory compliance, data governance, and cybersecurity (through algorithms that are not only powerful, but also transparent and auditable) [18,19]. However, there are important obstacles from explainability to implementation. The main obstacles to AI clinical adoption are often structural, not purely algorithmic. Karamitros et al.’s discussion of AI in Plastic Surgery is a good example: these authors argue that the gap between abundant proofs-of-concept and sparse real-world deployment reflects an organizational readiness deficit rather than a modeling deficit [16]. Several layers of barriers are highlighted in this paper, and can be generalized beyond Plastic Surgery: institutional/organizational, regulatory and governance, and infrastructural and ecosystem barriers.
An infrastructure that allows models to be trained, evaluated, explained, and monitored in environments that resemble real practice, foments trustworthiness; and without it, explanations risk becoming static, decoupled from how the system behaves as practice patterns, patient populations, or upstream data sources shift. There are several key obstacles as data quality and representativeness (biased, incomplete, or poorly labeled datasets cannot be ‘explained’ into trustworthiness); interoperability and integration (lack of robust EHR integration, standardized data formats, and logging infrastructure makes it difficult to surface explanations at the point of care, or to audit model performance across populations and sites); and monitoring and feedback loops (a trustworthy system requires continuous surveillance for performance drift, bias, and failure modes, which in turn needs data pipelines, dashboards, and escalation pathways).
The authors aim to explore the role of AI in surgery, emphasizing the ethical, clinical, and technical role of explainability in current applications and future trajectories, as well as in both ethical and legal challenges. Key applications and future directions of XAI in surgery are summarized in Table 4 and Table 5 [17,18,19,20,21]. In surgery, surgeons must have the power of critical appraisal over AI recommendations, which is essential for AI implementation (especially when using LLMs).
Table 4. Key applications of Explainable Artificial Intelligence (XAI) in Surgery.
Table 5. Future directions of Explainable Artificial Intelligence (XAI) in Surgery.

2. Methods

This article is a systematic review aiming to synthesize the role of XAI in modern surgical practice. The authors followed transparent selection procedures, conducting the research across databases such as PubMed, Scopus, Web of Science, and arXiv, within the time window of January 2000 and September 2025. ‘Explainable artificial intelligence’, ‘XAI’, ‘surgery’, ‘image-guided’, ‘bioethics’, ‘robotic surgery’, ‘intraoperative’, ‘interpretability’, ‘trustworthiness’, ‘accountability’, ‘deep learning’, ‘LLMs’, ‘GenAI’, ‘Grad-CAM’, ‘SHAP’ and ‘LIME’, were the keywords used.
The authors included studies involving surgical tasks (diagnostic, planning, intraop, postop), the use of an AI model with an explicit interpretability or XAI component, and human or experimental surgical contexts. Purely technical computer vision papers with no surgical relevance, and non-original content (opinions, editorials), were excluded.
We applied a light-weight framework incorporating representativeness, external validation, availability of ground truth, clarity of XAI reporting, and human-factors evaluation (adapted from AMSTAR). Figures from published articles were used with license and approval.

3. Foundations of Explainable AI in Surgical Contexts

3.1. Definitions and Principles

When applying AI in surgical contexts, it is important to distinguish interpretability and explainability [Figure 7]. Interpretability refers to the inner logic and how inputs map to outputs. However, by contrast, explainability entails providing transparent reasons for specific decisions, often through post hoc analysis of opaque models [22]. XAI can be defined as the properties and techniques that make a model’s behavior intelligible to human stakeholders. The focus is on how a prediction was reached, in a way that clinicians, patients, and regulators can meaningfully understand and scrutinize. Explainability is about understanding outputs, which can be a contributor to warranted trust (by exposing model logic, surfacing biases, and supporting contestability). A perfectly transparent, but poorly validated, biased, or easily gamed model is explainable, but not trustworthy. Conversely, some high-stakes tools may be trustworthy by virtue of rigorous validation, monitoring, and institutional safeguards, even if explanations are relatively coarse-grained. Trustworthiness is about justified reliance: a grounded belief that the system will behave appropriately under uncertainty and vulnerability (for both patients and clinicians), supported by evidence from design, validation, governance, and oversight: it is a broader socio-technical property of an AI system in context—it concerns whether the system is safe, reliable, fair, robust, privacy-respecting, and appropriately governed, and whether these qualities are demonstrated and verifiable in real clinical settings [16]. FUTURE-AI is a framework that treats trustworthiness as a bundle of requirements spanning data quality, robustness, usability, fairness, transparency, and external validation.
Figure 7. Interpretability—how intuitively a human can understand a model. Interpretability is inherent clarity, while explainability refers to the reasoning behind ‘black-box models’.
In model behavior, both global and local explanations are critical in surgical AI [Figure 8]. Global explanations aim to elucidate a model’s overall behavior, which, in other words, means that global views establish model validity [23,24]. Highlighting contributing factors (e.g., age, comorbidities, lab values), local explanations focus on a single prediction to explain why a certain patient received a particular risk score [22,23,24].
Figure 8. Global and local explanations. Global explanations aim to elucidate a model’s overall behavior (e.g., which features are most influential in general surgical risk prediction, or how model outcomes change with inputs across the dataset). Local views support point-of-care decisions and patient-specific counseling.
Post hoc explanation techniques are used after a model has been trained to help us understand how and why it makes decisions (especially when dealing with complex or opaque models like DNNs). They can be model-agnostic methods (e.g., LIME and SHAP) or model-specific techniques (e.g., salience maps, Grad-CAM in DL, rule extraction for decision trees) [Figure 9] [21,22].
Figure 9. Post hoc explanation techniques. Model-agnostic methods generate local or global explanations by approximating black-box behavior with simpler models, or even assigning feature attribution scores. Model-specific techniques rely on internal structures for interpretability.
There are explainable and non-explainable models [Figure 6]. Inherently explainable/interpretable models rely on decision paths or coefficients that directly reveal how features influence outcomes [20,21]. Black-box systems excel in accuracy, yet demand XAI to justify outputs. In surgical contexts, XAI is essential to reconcile tension between transparency, accuracy, trust, safety, and compliance [17,20,23].

3.2. Key XAI Techniques Used in Surgery

In surgery, XAI techniques allow feature attribution methods, image visualization techniques, case-based and prototype reasoning, and visual explainability (in robotic and laparoscopic surgeries) [Table 6; Figure 10].
Table 6. Examples of Explainable Artificial Intelligence Techniques, used in Surgery.
Figure 10. Summary of XAI techniques in surgery.
SHAP and LIME are examples of model-agnostic methods (post hoc explanation techniques), which means they are feature explanations. SHAP quantifies each feature’s contribution to a specific decision using a game-theoretic approach, giving clinicians insight into why a risk score was assigned (e.g., whether age or renal function drove the result) [25]. LIME builds simplified local models to explain complex predictions, spotlighting crucial variables (e.g., lab values, comorbidities in preoperative risk models) [25,26]. In high-stakes decisions, as in surgery, LIME’s results can be unstable depending on input perturbations; hence, cautious interpretation is of utmost importance.
Grad-CAM is a type of image visualization XAI technique (model-specific technique) that is widely adopted in image-based surgical support systems (e.g., tissue characterization or tumor segmentation). It overlays heat maps on medical images (computed tomography—CT, magnetic resonance imaging—MRI, and ultrasound, among others) to indicate which regions influenced the model [24,27,28]. Visual explainability in robotic and laparoscopic systems is achieved through the application of Grad-CAM or salience overlays. Saliency maps (another model-specific technique) are usually combined with Grad-CAM, SmoothGrad, Score-CAM, or Guided-Grad-CAM to improve clarity and reliability, because they highlight pixel-level importance via back propagation. However, they can be noisy. AI-enhanced robotic platforms increasingly integrate explainability by overlaying segmentation maps and attention heatmaps directly on laparoscopic video feeds: this allows for real-time visual integration, which enables surgeons to understand why instruments target specific anatomy (e.g., vessels, tumors). In this way, trust and safety in image-guided interventions can be enhanced [Figure 11].
Figure 11. (A) Examples of generated heatmaps for different types of lesions in different locations in Capsule Endoscopy. Each prediction is associated with a degree of certainty expressed as a percentage, while the generated heatmap identifies the area responsible for the prediction. The lesions are numbered as follows: 1—P1U-P1 (ulcer lesion by Saurin classification); 2—P1PE (erosion by Saurin Classification); 3—PV (vascular lesion); 4—PP/REST (pleomorphic lesion). (B) Real-time heatmap generation for lesion location and biopsy guidance in high-resolution anoscopy and digital single-operator cholangioscopy. Images and legends from [29].
Case-based and prototype reasoning are methods that surface similar historical cases or image prototypes, which allow surgeons to compare current patients with registered precedents. This ensures that decisions rest on recognized clinical analogies. XAI techniques are beginning to be applied in several areas of Medicine: Radiology [26], Pathology [30], Cardiology [31], Dermatology [32], and with special emphasis in Gastroenterology [29] [Figure 12].
Figure 12. Current landscape of XAI in healthcare. Radiology: 1A—(SHAP, LIME)—Identify which image features (density, texture, anatomical area) most contributed to diagnostic predictions; 1B—Highlight regions in chest CTs, MRIs, and mammograms that influence AI-based diagnosis (e.g., tumor or lesion localization); 1C—Link radiologic findings to interpretable clinical features (e.g., “nodule size,” “calcification”). Pathology 2A—Visual overlays on histopathology slides, showing regions most responsible for AI classification (e.g., tumor vs. normal tissue); 2B, 2C—Explain cell morphology or tissue features influencing cancer subtype classification. Dermatology 3A—Highlight lesion areas that drive classification of melanoma vs. benign nevi. 3B—Identify critical variables (color, asymmetry, border irregularity); 3C—Map predictions to dermatology concepts such as “pigmentation pattern”; 3D—Show what changes (e.g., border smoothness) would alter classification outcome. Cardiology 4A—Determines which ECG or echocardiographic features (e.g., QT interval, ventricular dimensions) drive AI predictions; 4B—Localize critical regions in echocardiograms that influence diagnostic outcomes; 4C,D—Provide patient-level explanations for AI-predicted risk of arrhythmia or heart failure. Gastroenterology 5A—(Grad-CAM, saliency) Highlight relevant regions on endoscopic or capsule endoscopy images for lesion detection; 5B—Illustrate what minimal changes in image features would switch diagnosis (e.g., from benign polyp to neoplastic lesion); 5C—Provides similar cases to support the AI decision; 5D—Generate human-readable justifications to accompany image analysis.

3.3. Unique Challenges in the Surgical Domain

Institutional barriers are of utmost importance (and mainly modifiable) [16]. Clinicians may struggle to interpret even good explanations, lack time to engage with model development, or feel sidelined by data-science teams. Early-career ‘AI Champions’ in departments often lack senior sponsorship, protected time, or formal roles to allow linkage of clinical and technical work; and misaligned incentives and underevaluation of data assets (funding, promotion criteria, publication incentives) tend to reward novel models, not robust deployment, external validation, or maintenance.
A constellation of data streams informs modern surgeries: preoperative data (EHRs, lab values, comorbidities); intraoperative imaging (laparoscopic video, fluorescence, ultrasound); real-time sensors (hemodynamics, instrument kinematics); and postoperative metrics (drains, early biomarkers). In this way, integration of multimodal time-synchronized data (video, imaging, EHRs, sensor streams) is a unique challenge of AI in surgery, because existing XAI techniques are often designed for univocal inputs. Only a few frameworks can explain decisions that arise from a complex fusion of structured and unstructured sources, limiting clinicians’ ability to trust the logic behind outputs [33,34].
Dynamic, high-risk, and data-dense surgical environments present unique challenges for AI implementation and explainability. Surgery demands AI systems that are not only accurate but also interpretable, responsive, and seamlessly integrated into clinical workflow: surgeons need a clear answer. Surgery is all about real-time decision-making requirements: surgical decisions often unfold in seconds, unlike static predictions in radiology or pathology. Identifying a critical vessel, deciding the extent of resection, and responding to sudden bleeding are examples of intraoperative scenarios that require AI systems capable of processing and explaining decisions in real time. XAI methods in surgery pretend to deliver low-latency, high-clarity outputs that do not interrupt or slow down the surgical process. However, explanations must be intuitive, concise, and clinically actionable. Visual aids (e.g., heatmaps, overlay annotations) and analogies to past cases are more effective in this context than mathematical models or textual descriptions [35]. However, many current XAI techniques, such as SHAP, are computationally intensive and not optimized for real-time use, highlighting a technical gap between research and bedside application [28,36]. Due to the interdisciplinary nature of surgical teams (e.g., anesthesiologists, residents, nurses), AI outputs must be understandable to all different cognitive profiles and expertise levels [21].
Another big challenge is the lack of standardized validation: a systematic review found that only 45% of surgical AI models present high-quality validation, and only 14% share datasets publicly [15]. Models trained on hospital-specific populations (e.g., hip fracture patients in Taiwan) may not transfer well elsewhere (Data Bias and Generalizability) [12,15].

5. Clinical Applications of Explainable AI in Surgery

5.1. Preoperative Phase-Risk Prediction

The preoperative phase is critical for assessing surgical risk and optimizing patient outcomes. Large volumes of patient data (e.g., demographics, comorbidities, imaging, laboratory values, unstructured clinical notes) can be analyzed and synthesized by AI into individualized risk profiles (AI-powered risk calculators), surpassing the major challenges of traditional tools (e.g., manual data entry, and rigid structures), like American Society of Anesthesiologists (ASA) and the American College Society (ACS) National Surgical Quality Improvement Program (NSQIP) surgical risk calculators. This is making it possible to achieve high yield in the detection of high-risk patients [10,11,12,69]. A hospital-specific ML app applied in a real-world hip surgery study predicted adverse outcomes with an area under the receiver operating characteristic curve (AUROC) of 0.81, outperforming ASA-PS (0.63) [12]. University of Pittsburgh Medical Center (UPMC) gradient-boosted model, trained on 1.5 million patients, accurately predicted 30-day mortality and major cardiovascular events, deploying weekly evaluations directly within EHR workflows [69]. MySurgeryRisk, Predictive Optimal Trees in Emergency Surgery Risk (POTTER), and Trauma Outcomes Predictor (TOP) are examples of ML-based calculators, which outperform clinicians in assessing mortality and complications. These hospital-integrated web tools and XAI frameworks (e.g., MySurgeryRisk’s co-designed) are leading AI tools and systems [11,14,70] [Figure 17].
Figure 17. MySurgeryRisk is an AI-powered clinical decision support system developed by researchers at the University of Florida that leverages ML to assist clinicians in making more accurate, data-driven decisions before surgery; it predicts postoperative complications and mortality risk in surgical patients. POTTER is an ML model designed to predict in-hospital mortality and major complications for patients undergoing emergency surgery, using optimal decision trees that are easy to interpret yet highly accurate. TOP is an ML–based tool developed to predict patient-specific outcomes after trauma, such as motor vehicle crashes or falls. It is used to support trauma care and triage decisions.
XAI-enhanced models have been increasingly employed to predict key outcomes (e.g., mortality, postoperative complications, need for ICU admission), being able to provide transparent explanations that reveal which patient-specific factors most influence risk predictions (e.g., age, lab values, comorbidities, physiological parameters) [67,71]. SHAP and LIME enable clinicians to dissect model outputs and understand the contributions of any risk variables [45,72]. For example, pneumonia is one of the most frequent respiratory postoperative complications. Risk factors, such as diminished lung function (e.g., low FEV1), smoking history, and pre-existing cardiac diseases, are considered high-predicted risk factors of postoperative pneumonia. In this way, surgeons will be able to personalize surgical planning by highlighting modifiable risk factors and anticipating complications. Choices about surgical approach, anesthesia, and perioperative optimization would also be better guided [44,53]. XAI will enhance surgical planning, shared decision-making, clinical confidence, and patient–clinician communication: surgeons will transparently explain to patients the rationale behind proposed management plans [54,73].

5.2. Intraoperative Phase

Clinical applications of XAI in the intraoperative phase are highly valuable [Figure 18]. For a surgery to be successful, accurate identification of critical anatomical structures and tumor margins is essential during the procedure. AI-based image segmentation tools applied to computed tomography (CT) and magnetic resonance imaging (MRI) can help identify tumor margins and vascular structures. XAI techniques will enhance real-time image-guided surgery by using computer vision techniques in order to assist surgeons in delineating tumor boundaries or vital tissues with greater precision [34]. Integration of explainability tools (Grad-CAM—Gradient-weighted Class Activation Mapping) in DL models, for instance, provides visual heat maps that highlight regions of interest on intraoperative imaging: this clarifies the model’s focus areas and enables surgeons to verify AI-driven guidance [44,74]. A recent scoping review of intraoperative video analysis in RAS esophagectomy (RAMIE) reported that AI models achieved ~84% accuracy in surgical phase recognition and anatomical landmark detection, underscoring the potential for real-time intraoperative decision support [75].
Figure 18. Clinical applications of XAI in the intraoperative phase: image-guided surgery, robotic assistance, and predictive alerts.
RAS with XAI-enhanced visual overlays increasingly leverages AI to improve dexterity, efficiency, and precision. RAS is enhanced by XAI through the generation of visual overlays that explain the rationale behind robotic movements or suggested instrument trajectories. Surgeons can easily understand why the robot proposes a specific action through such explanations: this allows them to maintain clinical control and confidence (e.g., when a robotic system adjusts dissection planes based on anatomical recognition, XAI methods can highlight the underlying imaging features or sensor inputs driving that decision, which facilitates real-time surgeon–robot collaboration) [21,28,76]. In the oncologic robotic surgery domain, a recent review described intraoperative AI support for tumor and vascular structure localization, margin assessment, and navigation, demonstrating how explainable models can help preserve healthy tissue and reduce warm-ischemia time [77].
With explainable indicators, intraoperative AI systems can provide predictive alerts to warn of impeding complications (e.g., hemorrhage, organ injury, procedural errors). By integrating explainability techniques, these alerts are accompanied by transparent, actionable indicators that specify why the alert was triggered (e.g., sudden changes in tissue perfusion metrics, instrument pressure, or unexpected anatomical displacement): this transparency enhances trust and allows a prompt and appropriate response by the surgical team, improving patient safety [34,67]. For example, in a general surgery review, AI was used for intraoperative task recognition and next-step prediction in robotic partial nephrectomy, highlighting the feasibility of anticipatory AI in the OR [78]. Alert fatigue and skepticism are real challenges that can limit their effectiveness.

5.3. Postoperative Monitoring and Outcomes

The postoperative phase is a vulnerable period during which early detection of complications (e.g., infections, anastomotic leaks, unexpected readmissions) is essential. AI-driven predictive models have demonstrated promise in forecasting these adverse events through analyzing complex patterns in EHR, lab values, vital signs, and other multimodal data [67,71]. Through algorithmic alerts, XAI helps clinicians validate risk factors, influence alerts, foster trust, and enable timely interventions. XAI will attribute predictive outputs to specific clinical features (e.g., elevated inflammatory markers, hemodynamic instability, comorbidities), and ultimately support more nuanced clinical judgment, helping avoid overreliance on black-box predictions. Ultimately, this indeed facilitates clinical validation [44,45].
Anastomotic leak is a devastating complication with high morbidity and mortality in postoperative patients, mainly in gastrointestinal surgery. Some ML models have been developed in order to predict leak risk, with explainable outputs for early detection, based on perioperative variables, intraoperative findings, and early postoperative data [59]. With XAI techniques, it will be possible to provide a transparent rationale for predicted risk, identifying key contributor factors (e.g., intraoperative blood loss, delayed return of bowel function, rising inflammatory markers), and enabling reduction in adverse outcomes [53].
Table 8 and Table 9 summarize the most relevant studies of XAI in surgery, and Table 10 summarizes the landscape of XAI in surgery. In summary, integration of explainability into postoperative AI monitoring systems allows surgical teams to confidently interpret alerts, personalize patient management, and optimize recovery pathways [54].
Table 8. Studies of explainable artificial intelligence in surgery.
Table 9. Latency, Effect Size, Precision–Recall, Validation Type, Human Factors Assessment, and Intraoperative Relevance of the studies cited in Table 8.
Table 10. Landscape of explainable AI in surgery. Phase—indicates the point along the surgical care continuum in which the AI system operates (preoperative tasks involve risk assessment and planning; intraoperative tasks involve real-time video or sensor interpretation; postoperative tasks focus on surveillance and outcome prediction; and cross-phase systems integrate data across multiple stages). Task Category—specifies the clinical or technical function being performed by the AI model, such as risk prediction, surgical phase recognition, workflow analysis, or complication forecasting. Model Types Used—lists the predominant machine learning or deep learning architectures employed for the task, including tabular ML algorithms (e.g., XGBoost), convolutional neural networks (CNNs), recurrent/temporal models, transformers, graph neural networks, or multimodal architectures. XAI Techniques—describes the interpretability approaches used to explain model behavior (including feature-attribution methods as SHAP, attention-based transparency, saliency/Grad-CAM visualization, rule-based surrogates, or concept-based explanations). Key Metrics Reported—summarizes the core performance metrics typically used in each phase and task; metrics include discrimination measures (e.g., AUROC, AUPRC), classification performance (accuracy, F1, mAP), calibration (Brier score), effect sizes (odds ratios, relative risks), and system-level metrics, such as latency or frame-level error, when reported.

5.4. Training and Simulation

Training competent surgeons requires rigorous, objective, and structured assessment of technical and cognitive performance. AI can be applied in surgical skill assessment: traditional evaluation methods (e.g., global rating scales, subjective feedback) lack specificity and suffer from inter-rater variability.
AI-based assessment systems have emerged as powerful tools for automated skill evaluation in simulation and live environments. These systems are trained on annotated surgical video, kinematic data, and instrument tracking [88,89]. Explainable scoring systems for residents take these AI-based tools a step further by making the assessment criteria transparent. XAI-enhanced systems can highlight specific actions, instrument motions, or decision points that contributed to a low or high rating, enabling residents and educators to pinpoint areas for improvement: this will stop evaluation by assigning opaque performance scores [29].
Another particularity is the feedback mechanism using annotated video or instrument motion metrics. An AI system may detect poor bimanual dexterity or excessive motion economy during laparoscopic suturing. With XAI techniques (e.g., saliency maps, temporal attention models, or SHAP values), the system can visually or textually explain why a task was poorly scored (e.g., excessive wrist rotation, inconsistent needle angle) [90,91].
Modern surgical simulators and training platforms now incorporate real-time and post hoc feedback. XAI-enhanced feedback tools allow residents to see which specific segments of a procedure were flagged, the reasoning behind the flag, and how their performance compares to expert benchmarks [92]. This level of personalized and explainable feedback enhances the learning curve, encouraging deliberate practice and supporting competency-based education. Moreover, XAI systems can be valuable tools for faculty development and calibration, ensuring that teaching surgeons can also interpret and align their assessments with objective data [93]. By providing transparent, interpretable metrics, XAI supports fairness, motivates learners, and builds trust in AI-assisted evaluation: all key factors in surgical education [94].

6. Technical Considerations and Limitations

6.1. The Accuracy–Explainability Trade-Off

The integration of AI into surgical workflows introduces a crucial technical dilemma: how to balance model performance with interpretability. The accuracy–explainability trade-off is a particularly critical tension in high-stakes domains, like surgery: clinical decisions must be both data-driven and defensible.
AI models are divided into simpler models and black-box models [Figure 6]. Simpler models (e.g., logistic regression, decision trees, rule-based classifiers) allow clinicians to trace how inputs influence outputs. Their predictive performance falls short when dealing with complex, high-dimensional data such as imaging, real-time sensor streams, or multimodal EHR [95]. Differently, in surgery, high-performing black-box models (e.g., DNN, ensemble methods, gradient-boosted machines) might accurately predict postoperative complications or identify subtle imaging features, yet they offer little insight into how the prediction was made, limiting their clinical trustworthiness and adoption [72].
It is imperative to balance predictive power with clarity, which is not a binary trade-off. XAI is a growing field that aims to bridge this gap by applying post hoc interpretability techniques to high-performing models. SHAP, LIME, and Grad-CAM are XAI tools that allow surgeons to inspect specific predictions and assess whether the model’s reasoning aligns with established clinical knowledge [44,45]. Still, these explanations are not without limitations. Post hoc explainability cannot faithfully reflect the model’s internal logic, leading to a ‘plausible but incorrect’ narrative that can mislead users [96]. In surgery, false trust in explanations can be as dangerous as blind faith in predictions. Thus, XAI’s interpretability should be seen as a supplement to, and not a substitute for, critical human judgment [49].
XAI in surgery must perform in a context-dependent way, toward context-dependent solutions. For screening tools or patient-facing applications, higher explainability may be prioritized. For intraoperative systems where milliseconds matter, raw performance may take precedence, providing fail-safes and human override mechanisms in place [97]. Ultimately, the key is calibrated trust; it is crucial to ensure clinicians understand what AI does well, where it struggles, and how its predictions can be meaningfully integrated into clinical workflows [54].

6.2. Workflow Integration

Surgical teams operate in time-sensitive, cognitively demanding settings, where any tool that introduces friction, distraction, or delay may be abandoned regardless of its analytical accuracy [98]. In this way, AI models must provide real-time, intuitive explanations, without compromising the user’s focus, timing, or situational awareness. Interfaces must be designed to support decision-making with minimal cognitive load, avoiding ‘dashboard fatigue’, or alert overload, which are known to hinder performance and reduce trust in clinical technologies [99] [Figure 19].
Figure 19. Design Principles for Intraoperative XAI Integration. One of the most significant barriers to adopting XAI in surgery (a high-stake environment) lies not in the algorithm itself, but in the challenge of seamlessly integrating its outputs into the real-time, high-pressure surgical workflow.
To be actionable intraoperatively, XAI’s inputs must be delivered via intuitive, real-time interfaces (e.g., overlays on endoscopic images, color-coded heatmaps, brief textual summaries). The aim is not to require the team to consult a secondary interface that may disrupt the procedure or increase mental workload; rather, it is to embed explainability into existing visual or auditory streams [67]. Complex graphs, or dense numerical tables, must be avoided [100]. In laparoscopic procedures, examples include boundary highlighting and predictive trajectory arcs embedded in the surgeon’s console or a heads-up display [101].
Explanations should be tailored to the surgical role: this is another often-overlooked consideration. ‘One-size-fits-all’ explanations do not apply to the numerous clinical roles and are counterproductive (e.g., a surgeon may require information on anatomical localization; an anesthesiologist might prioritize predictive alerts regarding hemodynamic instability; a scrub nurse may benefit from procedural step prediction for workflow anticipation) [89]. XAI outputs should be role-specific and tailored: each team member must be able to access the level and type of explanation supporting their function, without being overwhelmed by irrelevant data [53]. Modular interfaces or voice-assist prompts can deliver targeted XAI feedback based on a team member’s identity, task, or time point in the operation [54].
Context-aware AI systems recognize the phase of surgery and adapt the timing and modality of their explanations accordingly. These systems may offer an ideal compromise: they can suppress non-critical information during a crisis moment, or deliver full interpretability once a pause in the procedure allows for reflection [21]. Moreover, explanations should be available on demand when desired, but not continuously intrusive. This is called interruptible explanations. In order to preserve the usability and acceptability of AI tools in the operating room, these two principles are imperative.

6.3. Misleading Explanations

It is important to note that many clinicians are not trained in ML theory and may not recognize that an ‘explanation’ is merely a proxy approximation of internal model behavior, and not a definitive clinical rationale [54]. Despite the principle of XAI being to make ML outputs more transparent, not all explanations are accurate, helpful, or safe. A growing body of research, mainly in the surgical sphere, is alerting to ‘Explanation fallacy’, defined as the idea that users may feel reassured by an explanation that appears plausible, especially when presented with visual or linguistic authority, giving a false sense of confidence, even if it does not accurately reflect the true behavior of the model. In the operating room, clinical decisions must be based on accurate, validated insights: this cognitive mismatch/misunderstanding can be dangerous, degrading decision quality. Superficially interpretable, but fundamentally misleading explanations must be avoided in surgery: this is a major ethical and technical concern, which can lead to overconfidence, automation, and anchoring bias, and inappropriate clinical actions [53,65]. Figure 20 explains the difference between automation and anchoring bias in XAI [53,65].
Figure 20. Automation Bias: when clinicians rely too heavily on AI, despite contradictory clinical evidence. When the explanation skews a team’s focus toward irrelevant features, while missing more important, but unmodeled factors, it is called anchoring bias.
When applied to the non-linear, time-sensitive, and multimodal data of surgical contexts, LIME and SHAP present challenges, despite offering localized, human-readable interpretations of individual predictions [54,96]. Critical moments in surgery, like dissection near vital structures or decisions to escalate to ICU postop, pose significant challenges to the use of LIME or SHAP-based explanations [Figure 21; Table 11] [54,96]. In order to mitigate these risks, some scholars advocate for robust and verifiable explanations: model-intrinsic interpretability, and rigorous validation of explanations themselves, not just the underlying model [95]. Others suggest human-in-the-loop systems, where expert oversight continuously tests the alignment between AI outputs, explanations, and surgical realities [97].
Figure 21. Limitations of LIME and SHAP in dynamic intraoperative settings.
Table 11. Limitations of LIME and SHAP in the surgical sphere.

6.4. Data Heterogeneity and Generalizability

The high heterogeneity of surgical data (a broad range of procedures, techniques, devices, and patient populations) that varies not only across institutions but also across specialties, countries, and even individual surgeons is one of the most significant obstacles to deploying a reliable XAI in surgery [76]. Data sources in surgery include operative videos, instrument telemetry, EHRs, imaging, and anesthesia logs. These data are frequently stored in non-standardized formats, with variable quality and granularity, which complicates the training of robust AI models and the interpretation of their outputs via XAI frameworks [89]. An AI model trained to detect complications in colorectal surgery, using video from a high-resolution laparoscopic platform, may underperform when applied to general surgery, using a different imaging system, or in a center with different clinical protocols. In this way, explanations generated by XAI tools may then become misleading or invalid, as they reflect context-specific patterns and are not generalizable across sites. An explanation derived from a model trained in one institution’s dataset may highlight features (e.g., surgical timing, blood pressure thresholds) that do not apply elsewhere, due to differing protocols, instrumentation, or patient demographics: the generalizability problem [49].
Thus, XAI tools must undergo rigorous external validation across diverse surgical settings to ensure their interpretability remains clinically meaningful, and not merely technically consistent [54]. A model that can explain its predictions well in one hospital may produce plausible, but incorrect explanations in another, if trained on biased or narrowly representative data [59]. To address this challenge, there is growing advocacy for standardization and cross-institutional validation [Figure 22]. Explainability methods themselves should also be subject to validation metrics across environments (fidelity, stability, consistency), not just the models they accompany.
Figure 22. Standardization and Cross-institutional validation of XAI tools.

7. Regulatory and Institutional Context

7.1. Global Regulatory Landscape

Because AI and XAI continue to permeate surgical environments, the need for coherent regulatory, ethical, and institutional oversight frameworks is becoming increasingly urgent. High-stakes clinical contexts—such as robotic surgery, risk prediction, and intraoperative decision support—demand both performance and accountability. This section outlines the evolving global regulatory landscape, emerging institutional governance mechanisms, and professional guidelines shaping the integration of XAI into surgical practice [Figure 23].
Figure 23. Evolving global regulatory, ethical, and legal landscape, and emerging institutional governance mechanisms. ACS—American College of Surgeons; EU AI Act—European Union Artificial Intelligence Act; IRBs—Institutional Review Boards; FDA—Food and Drug Administration.
AI-based devices must be interpretable for clinical use. In the United States, the FDA has begun to formalize expectations for transparency in AI-enabled medical devices. While early AI applications were approved under traditional device frameworks, newer “adaptive” or continuously learning algorithms have prompted the FDA to release proposed regulatory frameworks requiring these systems to be interpretable and clinically actionable for end users [102]. The FDA’s 2021 discussion paper, “Artificial Intelligence and Machine Learning Software as a Medical Device (SaMD)”, emphasizes the need for clear, context-specific information about how the algorithm works to support both informed consent and safe clinical use [103].
The European Union Artificial Intelligence Act (EU AI Act), currently moving through final legislative phases, categorizes AI systems used in healthcare, and particularly in surgery, as “high-risk” applications. This designation requires that such systems comply with robust transparency, human oversight, and accountability requirements [41]. For surgical AI tools, it is mandatory to provide explanations that are intelligible to non-technical users (clinicians and patients) [104]. Failure to provide adequate explainability or auditability could lead to restrictions or bans on deployment within EU member states.
Table 12 summarizes how different study designs in surgical AI research align with established evaluation frameworks and the regulatory expectations emerging from the EU AI Act, GDPR, and medical-device quality systems. Each study type, from early model development to post-market monitoring, maps to a specific set of methodological standards (e.g., TRIPOD-AI, DECIDE-AI, SPIRIT-AI, CONSORT-AI, IDEAL) that guide transparent reporting, risk mitigation, and reproducibility. For each stage, the table identifies XAI artifacts that should be archived to ensure traceability of model behavior, support auditability, and enable retrospective verification of clinical decision pathways. These artifacts include saliency maps, attribution vectors, model cards, explanation logs, and clinician–AI interaction metadata, depending on the phase of evaluation. This checklist also outlines how explanation assets intersect with legal and regulatory obligations. Under the EU AI Act, high-risk clinical AI systems must maintain robust documentation of model versions, input data provenance, interpretability methods, and human-oversight mechanisms. GDPR principles, mainly data minimization, purpose limitation, and pseudonymisation, shape what explanation outputs can be stored, and how they must be handled. Medical-device development frameworks (Table 13) require traceability of model design, change management, software lifecycle documentation, and usability evaluations, all of which are strengthened by systematic archival of XAI outputs. Together, these mappings provide a unified structure for researchers to design studies that are technically rigorous, ethically compliant, and aligned with regulatory expectations. They also offer a practical guide for documenting XAI pipelines in ways that facilitate clinical implementation, external inspection, and long-term system monitoring. Table 13 summarizes frameworks and regulatory references.
Table 12. Checklist mapping each study type to recognized frameworks, and indicating how XAI artifacts can be archived for audit under the EU AI Act/GDPR and device-quality systems.
Table 13. Frameworks and Regulatory References.

7.2. Institutional Ethics and Oversight

Institutional Review Boards (IRBs) and hospital AI oversight committees (local level) recognize that opacity in AI systems can obscure bias, mask errors, and erode trust, particularly when the outputs influence high-stakes surgical decisions. They require that clinical AI systems undergo evaluation not only for safety and efficacy, but also for explainability [Figure 23] [49]. To implement XAI-enabled surgical tools (e.g., predictive analytics platforms, robotic guidance systems), it is mandatory that these systems include audit trails [Figure 24] [21,67,103].
Figure 24. Audit trails support accountability, litigation defense, and quality improvement, and are becoming a prerequisite for AI adoption in many leading academic medical centers.

7.3. Guidelines from Surgical Societies

Professional societies have demonstrated an emerging interest in ethical and operational frameworks for integrating AI and XAI into surgical practice. For instance, the American College of Surgeons (ACS) has published discussion papers emphasizing the importance of transparency, human oversight, and patient-centered design in AI adoption [105]. The Royal College of Surgeons (RCS) has emphasized the risks of algorithmic harm if systems are poorly understood, noting the importance of multidisciplinary governance models and clinician involvement in AI validation and deployment. The Society of Thoracic Surgeons (STS) and the European Society of Thoracic Surgeons (ESTS) are beginning to integrate AI into quality registries and performance metrics, which may soon include requirements for explainability. Audit trails are mandatory [Figure 23 and Figure 24] [21,103].
It is of utmost importance to integrate XAI standards into credentialing frameworks, surgical training curricula, and quality improvement programs. In the future, demonstration of competency in surgical techniques and in the interpretation of AI-assisted decision systems may be required for board certification and hospital privileging [89].

7.4. AI Model Validation

Many AI algorithms in medicine are trained purely to optimize predictive accuracy (association), but then implicitly or explicitly imply intervention effects. Without Karamitro et al.’s concise and practical framework for assessing causality in medical AI research, summarized in Table 14, this can be misleading [106]. For clinical AI tools’ validation, it is insufficient to rely solely on statistical associations: for a system to support intervention decisions, one must evaluate whether the prediction reflects a causal mechanism. By embedding the six steps and decision-points into AI model development and evaluation, researchers can enhance the trustworthiness of deployment claims and reduce the risk of inadvertent harm stemming from misinterpreted associations. In other words, evaluating whether an AI model’s outputs can be interpreted, or safely deployed, as causal claims rather than mere statistical associations could be performed.
Table 14. AI model validation: integrating causal-inference principles by a six-step framework: (1) define the causal question (intervention → outcome); (2) map the causal structure (using directed-acyclic graphs and domain expertise); (3) assess data readiness (temporal ordering, confounder measurement, reverse causality risks); (4) select causal-estimation methods (e.g., propensity scores, instruments, inverse-probability weighting), explicitly stating assumptions; (5) validate for transportability and robustness across settings; and (6) interpret results with careful language, distinguishing prediction from causation and signaling residual uncertainties.
In the context of an AI system, relying on high-accuracy predictions does not guarantee that changing the input, or applying the model, will have the intended effect in real-world care: observational data often mask reverse causality, confounding, or selection bias [106]. Incorporating causal inference methods into AI validation strengthens the system’s explainability and trustworthiness, helping ensure that, if the model is deployed, the underlying assumptions, data-generating mechanisms, and organizational context align with the causal claims [106]. An AI model might find that postoperative complication rates are higher in patients who had longer operative times. Without careful causal framing, it might be suggested “to reduce operative time, and complications will drop”, ignoring confounding variables (e.g., sicker patients tend to have longer times). Validation with causal thinking might instead reveal that time is a proxy variable, not an actionable cause.

8. Future Directions and Recommendations

8.1. Human-Centered XAI Design

The future holds newer AI innovations: multi-task learning models in predicting postop complications for cardiac surgery (e.g., surgVAE) [Figure 25]; and human-centered co-design tools built with clinician input, and focused on usability, applicability, and trust calibration (e.g., MySurgeryRisk) [107,108].
Figure 25. Key features of surgVAE. surgVAE integrates a variational autoencoder with auxiliary complication predictors to model six postoperative risks after cardiac surgery. Cross-task and cross-cohort learning improve generalization, achieving strong performance (AUPRC = 0.409; AUROC = 0.831). Integrated Gradients provide patient-level interpretability.
As XAI matures within the sphere of surgical care, future progress will depend on human-centered design, rigorous validation, and cultural transformation in clinical education to ensure that interpretability supports decision-making. Human-centered design (HCD) principles recommend tailoring explanation formats by user role, cognitive load, and task specificity (20). Personalizing explanations by user role (surgeon, anesthesiologist, nurses, trainees, patients) will surpass static ‘one-size-fits-all’ outputs, and will allow explanations with varying depth, format, and timing [53]. Surgeons may need anatomically localized visual feedback, while patients require simplified language for informed consent, and residents benefit from pedagogical justifications.
Participatory co-design with end-users in the operating room is essential to ensure relevance and usability. Clinicians must be engaged in iterative prototyping, feedback cycles, and scenario testing. This strategy has been shown to improve the acceptance and real-world performance of AI tools [109]. These methods should become standard during the development of surgical XAI platforms.

8.2. Real-Time and Interactive XAI

Real-time AI outputs must integrate seamlessly into the operative workflow without increasing cognitive burden. Future systems will need to deliver ‘on-demand’ explainability, triggered by context or user query, rather than displaying continuous, intrusive outputs. Emerging strategies include attention-sensitive interfaces, minimalist overlays, and low-latency summary prompts embedded into robotic consoles or endoscopic displays [89].
Advanced interfaces (such as augmented reality, head-mounted displays) may present XAI explanations via spatial cues (e.g., color-coded tissue margins or dynamic trajectory indicators). It is expected that voice-assisted AI agents might deliver context-aware verbal explanations during procedures, without requiring visual attention shifts [92]. However, these modalities must undergo human factors testing to ensure they enhance, rather than distract from, clinical performance.

8.3. Validation, Benchmarking, and Reporting

Transparent documentation of how explanations are generated is mandatory. AI urgently needs validated, domain-specific benchmarks to assess the quality and safety of XAI methods [44]. Fidelity, actionability, and safety impact are the proposed criteria, described in Figure 26. Frameworks like DECIDE-AI were initially proposed for early-phase AI evaluation in healthcare: they should be extended to include XAI-specific reporting items [109].
Figure 26. Pillars for creation of standard metrics in surgical XAI: Fidelity, actionability, and safety impact.
In order to improve trust, reproducibility, and regulatory compliance, especially in high-risk clinical decisions, future surgical AI systems should include machine-readable and clinician-friendly documentation describing how explanations are generated, their known limitations, and data dependencies [49].

8.4. Education and Skills Development

XAI literacy must be included in surgical training programs; just as they learn to interpret radiology or pathology, they must learn to question AI. Surgical trainees must develop foundational literacy in AI and XAI, including an understanding of model biases, types of explanations, and how to critically appraise AI-generated recommendations [90] [Figure 27].
Figure 27. Education and skills development. Continuing medical education might include topics like interpreting risk stratification tools, recognizing misleading explanations, and interacting with intraoperative decision support systems.
Developing continuing modules on interpreting and questioning AI outputs, programs should include: core modules in interpretable ML, hands-on exposure to surgical simulation platforms with embedded XAI, and multidisciplinary teaching with engineers and ethicists. For current practitioners, continuing medical education (CME) offerings should include short courses, webinars, and certifications on XAI in surgery [21]. Only through ongoing education can XAI be safely integrated into everyday clinical judgment.

9. Discussion

Surgery mostly relies on image analysis, and the role of Generative AI in diagnosis (especially in image interpretation) remains experimental, lagging behind specialized CNNs, which are more accurate in image analysis. Despite the recent multimodal capabilities of ChatGPT-4 and Generative AI, particularly LLMs, its current diagnostic performance and accuracy for image interpretation are suboptimal. It is mandatory to further refine and improve, with domain-specific tuning, before LLMs can be used as tools for image interpretation.
Integration of AI into surgical care offers transformative potential, but its success hinges on more than technical performance. XAI is essential for ensuring that these technologies are safe, fair, and aligned with the core values of clinical practice. By making algorithmic decisions transparent and interpretable, XAI fosters trust, enhances accountability and safety, and supports informed, patient-centered decision-making. However, explainability is a key challenge in Generative AI because of its ‘black-box’ nature: Generative AI in medicine will require robust XAI to ensure clinicians understand why an AI suggested or generated a particular interpretation, reducing risks of automation bias, and thus supporting accountability.

10. Conclusions

For AI to be truly effective in surgery, accuracy must be paired with explainability: a requirement that becomes even more critical in high-stakes, time-sensitive clinical environments. As surgical teams increasingly interact with complex AI systems, the ability to understand and question these outputs will define both clinical safety and ethical defensibility.
Crucially, the future of surgical AI will depend on interdisciplinary collaboration: bringing together surgeons, engineers, ethicists, and legal experts to design tools that empower, rather than replace, surgical expertise. Only through this shared effort will it be possible to build AI systems that enhance surgical performance, while preserving professional judgment, patient trust, and medical accountability.

Author Contributions

Conceptualization, S.L. and M.M.; writing—original draft preparation, S.L. and M.M.; writing—review and editing, S.L., M.M., M.G.O.F., J.F., and A.F.L.-M.; supervision—M.M., M.G.O.F., J.F., and A.F.L.-M.; project administration—S.L. and M.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Saraiva, M.M.; Ribeiro, T.; Agudo, B.; Afonso, J.; Mendes, F.; Martins, M.; Cardoso, P.; Mota, J.; Almeida, M.J.; Costa, A.; et al. Evaluating ChatGPT-4 for the Interpretation of Images from Several Diagnostic Techniques in Gastroenterology. J. Clin. Med. 2025, 14, 572. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
  2. Dang, F.; Samarasena, J.B. Generative Artificial Intelligence for Gastroenterology: Neither Friend nor Foe. Am. J. Gastroenterol. 2023, 118, 2146–2147. [Google Scholar] [CrossRef] [Scilit]
  3. Hirosawa, T.; Kawamura, R.; Harada, Y.; Mizuta, K.; Tokumasu, K.; Kaji, Y.; Suzuki, T.; Shimizu, T. ChatGPT-Generated Differential Diagnosis Lists for Complex Case-Derived Clinical Vignettes: Diagnostic Accuracy Evaluation. JMIR Med. Inform. 2023, 11, e488084. [Google Scholar] [CrossRef] [Scilit]
  4. Sonoda, Y.; Kurokawa, R.; Nakamura, Y.; Kanzawa, J.; Kurokawa, M.; Ohizumi, Y.; Gonoi, W.; Abe, O. Diagnostic performances of GPT-4o, Claude 3 Opus, and Gemini 1.5 Pro in “Diagnosis Please” cases. Jpn. J. Radiol. 2024, 42, 1231–1235. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Henson, J.B.; Glissen Brown, J.R.; Lee, J.P.; Patel, A.; Leiman, D.A. Evaluation of the Potential Utility of an Artificial Intelligence Chatbot in Gastroesophageal Reflux Disease Management. Am. J. Gastroenterol. 2023, 118, 2276–2279. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Gorelik, Y.; Ghersin, I.; Arraf, T.; Ben-Ishay, O.; Klein, A.; Khamaysi, I. Using a customized GPT to provide guideline-based recommendations for management of pancreatic cystic lesions. Endosc. Int. Open 2024, 12, E600–E603. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Javan, R.; Kim, T.; Mostaghni, N. GPT-4 Vision: Multi-Modal Evolution of ChatGPT and Potential Role in Radiology. Cureus 2024, 16, e68298. [Google Scholar] [CrossRef] [Scilit]
  8. Dehdab, R.; Brendlin, A.; Werner, S.; Almansour, H.; Gassenmaier, S.; Brendel, J.M.; Nikolaou, K.; Afat, S. Evaluating ChatGPT-4V in chest CT diagnostics: A critical image interpretation assessment. Jpn. J. Radiol. 2024, 42, 1168–1177. [Google Scholar] [CrossRef] [Scilit]
  9. Shifai, N.; van Doorn, R.; Malvehy, J.; Sangers, T.E. Can ChatGPT vision diagnose melanoma? An exploratory diagnostic accuracy study. J. Am. Acad. Dermatol. 2024, 90, 1057–1059. [Google Scholar] [CrossRef] [Scilit]
  10. Kokkinakis, S.; Kritsotakis, E.I.; Lasithiotakis, K. Artificial Intelligence in Surgical Risk Prediction. J. Clin. Med. 2023, 12, 4016. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
  11. Chevalier, O.; Dubey, G.; Benkabbou, A.; Majbar, M.A.; Souadka, A. Comprehensive overview of artificial intelligence in surgery: A systematic review and perspectives. Pflugers Arch. 2025, 477, 617–626. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Li, Y.Y.; Wang, J.J.; Huang, S.H.; Kuo, C.-L.; Chen, J.-Y.; Liu, C.-F.; Chu, C.-C. Implementation of a machine learning application in preoperative risk assessment for hip repair surgery. BMC Anesthesiol. 2022, 22, 116. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Kinoshita, M.; Ueda, D.; Matsumoto, T.; Shinkawa, H.; Yamamoto, A.; Shiba, M.; Okada, T.; Tani, N.; Tanaka, S.; Kimura, K.; et al. Deep Learning Model Based on Contrast-Enhanced Computed Tomography Imaging to Predict Postoperative Early Recurrence after the Curative Resection of a Solitary Hepatocellular Carcinoma. Cancers 2023, 15, 2140. [Google Scholar] [CrossRef] [Scilit]
  14. Liu, C.-Y.; Cheng, C.-Y.; Yang, S.-Y.; Chai, J.-W.; Chen, W.-H.; Chang, P.-Y. Mortality Evaluation and Life Expectancy Prediction of Patients with Hepatocellular Carcinoma with Data Mining. Healthcare 2023, 11, 925. [Google Scholar] [CrossRef] [Scilit]
  15. Kenig, N.; Monton Echeverria, J.; Muntaner Vives, A. Artificial Intelligence in Surgery: A Systematic Review of Use and Validation. J. Clin. Med. 2024, 13, 7108. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
  16. Karamitros, G.; Thayer, W.P.; Lamaris, G.A.; Perdikis, G.; Lineaweaver, W.C. Structural barriers and pathways to artificial intelligence integration in plastic surgery. J. Plast. Reconstr. Aesthet. Surg. 2025, 111, 174–176. [Google Scholar] [CrossRef] [Scilit]
  17. Mienye, I.D.; Obaido, G.; Jere, N.; Mienye, E.; Aruleba, K.; Emmanuel, I.D.; Ogbuokiri, B. A Survey of Explainable Artificial Intelligence in Healthcare: Concepts, Applications, and Challenges. Inform. Med. Unlocked 2024, 51, 101587. [Google Scholar] [CrossRef] [Scilit]
  18. Zhang, Y.; Weng, Y.; Lund, J. Applications of Explainable Artificial Intelligence in Diagnosis and Surgery. Diagnostics 2022, 12, 237. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Metta, C.; Beretta, A.; Pellungrini, R.; Rinzivillo, S.; Giannotti, F. Towards Transparent Healthcare: Advancing Local Explanation Methods in Explainable Artificial Intelligence. Bioengineering 2024, 11, 369. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
  20. Brandenburg, J.M.; Müller-Stich, B.P.; Wagner, M.; van der Schaar, M. Can surgeons trust AI? Perspectives on machine learning in surgery and the importance of eXplainable Artificial Intelligence (XAI). Langenbecks Arch. Surg. 2025, 410, 53. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
  21. Amann, J.; Blasimme, A.; Vayena, E.; Frey, D.; Madai, V.I. Explainability for artificial intelligence in healthcare: A multidisciplinary perspective. BMC Med. Inform. Decis. Mak. 2020, 20, 310. [Google Scholar] [CrossRef] [Scilit]
  22. Hakkoum, H.; Idri, A.; Abnane, I. Global and local interpretability techniques of supervised machine learning black box models for numerical medical data. Eng. Appl. Artif. Intell. 2024, 131, 107829. [Google Scholar] [CrossRef] [Scilit]
  23. Atzmueller, M.; Fürnkranz, J.; Kliegr, T.; Schmid, U. Explainable and interpretable machine learning and data mining. Data Min. Knowl. Discov. 2024, 38, 2571–2595. [Google Scholar] [CrossRef] [Scilit]
  24. Mohamed, Y.A.; Khoo, B.E.; Asaari, M.S.M.; Aziz, M.E.; Ghazali, F.R. Decoding the black box: Explainable AI (XAI) for cancer diagnosis, prognosis, and treatment planning-A state-of-the art systematic review. Int. J. Med. Inform. 2025, 193, 105689. [Google Scholar] [CrossRef] [Scilit]
  25. Torda, T.; Ciardiello, A.; Gargiulo, S.; Grillo, G.; Scardapane, S.; Voena, C.; Giagu, S. Influence based explainability of brain tumors segmentation in magnetic resonance imaging. Prog. Artif. Intell. 2025. [Google Scholar] [CrossRef] [Scilit]
  26. Haupt, M.; Maurer, M.H.; Thomas, R.P. Explainable Artificial Intelligence in Radiological Cardiovascular Imaging—A Systematic Review. Diagnostics 2025, 15, 1399. [Google Scholar] [CrossRef] [Scilit]
  27. Song, D.; Yao, J.; Jiang, Y.; Shi, S.; Cui, C.; Wang, L.; Wang, L.; Wu, H.; Tian, H.; Ye, X.; et al. A new xAI framework with feature explainability for tumors decision-making in Ultrasound data: Comparing with Grad-CAM. Comput. Methods Programs Biomed. 2023, 235, 107527. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Topol, E. Deep Medicine: How Artificial Intelligence Can Make Healthcare Human Again; Basic Books: New York, NY, USA, 2019. [Google Scholar]
  29. Mascarenhas, M.; Mendes, F.; Martins, M.; Ribeiro, T.; Afonso, J.; Cardoso, P.; Ferreira, J.; Fonseca, J.; Macedo, G. Explainable AI in Digestive Healthcare and Gastrointestinal Endoscopy. J. Clin. Med. 2025, 14, 549. [Google Scholar] [CrossRef] [Scilit]
  30. Plass, M.; Kargl, M.; Kiehl, T.R.; Regitnig, P.; Geißler, C.; Evans, T.; Zerbe, N.; Carvalho, R.; Holzinger, A.; Müller, H. Explainability and causability in digital pathology. J. Pathol. Clin. Res. 2023, 9, 251–260. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Salih, A.; Sengupta, P.P. Explainable artificial intelligence and cardiac imaging. Circ. Cardiovasc. Imaging 2023, 16, e014519. [Google Scholar] [CrossRef] [Scilit]
  32. Chanda, T.; Haggenmueller, S.; Bucher, T.-C.; Holland-Letz, T.; Kittler, H.; Tschandl, P.; Heppt, M.V.; Berking, C.; Utikal, J.S.; Schilling, B.; et al. Dermatologist-like explainable AI enhances melanoma diagnosis accuracy: Eye-tracking study. Nat. Commun. 2025, 16, 4739. [Google Scholar] [CrossRef] [Scilit]
  33. Lundberg, S.M.; Nair, B.; Vavilala, M.S.; Horibe, M.; Eisses, M.J.; Adams, T.; Liston, D.E.; Low, D.K.-W.; Newman, S.-F.; Kim, J.; et al. Explainable machine-learning predictions for the prevention of hypoxaemia during surgery. Nat. Biomed. Eng. 2018, 2, 749–760. [Google Scholar] [CrossRef] [Scilit]
  34. Esteva, A.; Robicquet, A.; Ramsundar, B.; Kuleshov, V.; DePristo, M.; Chou, K.; Cui, C.; Corrado, G.; Thrun, S.; Dean, J. A guide to deep learning in healthcare. Nat. Med. 2019, 25, 24–29. [Google Scholar] [CrossRef] [Scilit]
  35. Holzinger, A.; Biemann, C.; Pattichis, C.S.; Kell, D.B. What do we need to build explainable AI systems for the medical domain? arXiv 2017, arXiv:1712.09923. [Google Scholar] [CrossRef] [Scilit]
  36. Tjoa, E.; Guan, C. A Survey on Explainable Artificial Intelligence (XAI): Towards Medical XAI. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 4793–4813. [Google Scholar] [CrossRef] [Scilit]
  37. Gerke, S.; Minssen, T.; Cohen, G. Ethical and legal challenges of artificial intelligence-driven healthcare. In Artificial Intelligence in Healthcare; Academic Press: Cambridge, MA, USA, 2020; pp. 295–336. [Google Scholar]
  38. Price, W.N.I.I.; Gerke, S.; Cohen, I.G. Potential liability for physicians using artificial intelligence. JAMA 2019, 322, 1765–1766. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Yu, K.H.; Kohane, I.S. Framing the challenges of artificial intelligence in medicine. BMJ Qual. Saf. 2019, 28, 238–241. [Google Scholar] [CrossRef] [Scilit]
  40. Ross, C.; Swetlitz, I. IBM’s Watson supercomputer recommended “unsafe and incorrect” cancer treatments, internal documents show. Stat News. 2018, 25, 1–10. [Google Scholar]
  41. European Commission. Proposal for a Regulation Laying Down Harmonised Rules on Artificial Intelligence (AI Act). 2021. Available online: https://digital-strategy.ec.europa.eu/en/library/proposal-regulation-laying-down-harmonised-rules-artificial-intelligence (accessed on 24 July 2025).
  42. Challen, R.; Denny, J.; Pitt, M.; Gompels, L.; Edwards, T.; Tsaneva-Atanasova, K. Artificial intelligence, bias and clinical safety. BMJ Qual. Saf. 2019, 28, 231–237. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Morley, J.; Floridi, L. An ethically mindful approach to AI for health care. Lancet Digit Health 2020, 395, 254–255. [Google Scholar]
  44. Holzinger, A.; Langs, G.; Denk, H.; Zatloukal, K.; Müller, H. Causability and explainability of AI in medicine. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 2019, 9, e1312. [Google Scholar] [CrossRef] [Scilit]
  45. Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. [Google Scholar]
  46. Wachter, S.; Mittelstadt, B.; Russell, C. Counterfactual explanations without opening the black box: Automated decisions and the GDPR. Harv. J. Law Technol. 2018, 31, 841–887. [Google Scholar] [CrossRef] [Scilit]
  47. Coiera, E. The forgetting health system. Learn Health Syst. 2017, 1, e10023. [Google Scholar] [CrossRef] [Scilit]
  48. Yu, K.H.; Beam, A.L.; Kohane, I.S. Artificial intelligence in healthcare. Nat. Biomed. Eng. 2018, 2, 719–731. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  49. London, A.J. Artificial intelligence and black-box medical decisions: Accuracy versus explainability. Hastings Cent. Rep. 2019, 49, 15–21. [Google Scholar] [CrossRef] [Scilit]
  50. Ghassemi, M.; Oakden-Rayner, L.; Beam, A.L. The false hope of current approaches to explainable artificial intelligence in health care. Lancet Digit Health 2021, 3, e745–e750. [Google Scholar] [CrossRef] [Scilit]
  51. Shortliffe, E.H.; Sepúlveda, M.J. Clinical decision support in the era of artificial intelligence. JAMA 2018, 320, 2199–2200. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  52. Longoni, C.; Bonezzi, A.; Morewedge, C.K. Resistance to medical artificial intelligence. J. Consum. Res. 2019, 46, 629–650. [Google Scholar] [CrossRef] [Scilit]
  53. Tonekaboni, S.; Joshi, S.; McCradden, M.D.; Goldenberg, A. What clinicians want: Contextualizing explainable machine learning for clinical end use. arXiv 2019, arXiv:1905.05134. [Google Scholar] [CrossRef] [Scilit]
  54. Lundberg, S.M.; Erion, G.; Lee, S.I. Consistent individualized feature attribution for tree ensembles. arXiv 2018, arXiv:1802.03888. [Google Scholar]
  55. Vayena, E.; Blasimme, A.; Cohen, I.G. Machine learning in medicine: Addressing ethical challenges. PLoS Med. 2018, 15, e1002689. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  56. Obermeyer, Z.; Powers, B.; Vogeli, C.; Mullainathan, S. Dissecting racial bias in an algorithm used to manage the health of populations. Science 2019, 366, 447–453. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  57. Haider, A.H.; Scott, V.K.; Rehman, K.A.; Velopulos, C.; Bentley, J.M.; Cornwell, E.E.; Al-Refaie, W. Racial disparities in surgical care and outcomes in the United States: A comprehensive review. J. Am. Coll. Surg. 2013, 216, 482–492. [Google Scholar] [CrossRef] [Scilit]
  58. Rajkomar, A.; Hardt, M.; Howell, M.D.; Corrado, G.; Chin, M.H. Ensuring fairness in machine learning to advance health equity. Ann. Intern. Med. 2018, 169, 866–872. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  59. Chen, I.Y.; Joshi, S.; Ghassemi, M. Treating health disparities with artificial intelligence. Nat. Med. 2020, 26, 16–17. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  60. Seyyed-Kalantari, L.; Zhang, H.; McDermott, M.; Chen, I.Y.; Ghassemi, M. Underdiagnosis bias of artificial intelligence algorithms applied to chest radiographs in under-served patient populations. Nat. Med. 2021, 27, 2176–2182. [Google Scholar] [CrossRef] [Scilit]
  61. Wiens, J.; Saria, S.; Sendak, M.; Ghassemi, M.; Liu, V.X.; Doshi-Velez, F.; Jung, K.; Heller, K.; Kale, D.; Saeed, M.; et al. Do no harm: A roadmap for responsible machine learning for health care. Nat. Med. 2019, 25, 1337–1340. [Google Scholar] [CrossRef] [Scilit]
  62. Mitchell, M.; Wu, S.; Zaldivar, A.; Barnes, P.; Vasserman, L.; Hutchinson, B.; Spitzer, E.; Raji, I.D.; Gebru, T. Model cards for model reporting. In Proceedings of the Conference on Fairness, Accountability, and Transparency (FAT), Atlanta, GA, USA, 29–31 January 2019; pp. 220–229. [Google Scholar]
  63. Wachter, S.; Mittelstadt, B.; Russell, C. Why fairness cannot be automated: Bridging the gap between EU non-discrimination law and AI. Comput. Law Secur. Rev. 2021, 41, 105567. [Google Scholar] [CrossRef] [Scilit]
  64. Goulas, S.; Karamitros, G. How to harness the power of web scraping for medical and surgical research: An application in estimating international collaboration. World J. Surg. 2024, 48, 1297–1300. [Google Scholar] [CrossRef] [Scilit]
  65. Dzindolet, M.T.; Peterson, S.A.; Pomranky, R.A.; Pierce, L.G.; Beck, H.P. The role of trust in automation reliance. Int. J. Hum. Comput. Stud. 2003, 58, 697–718. [Google Scholar] [CrossRef] [Scilit]
  66. Elish, M.C. Moral crumple zones: Cautionary tales in human-robot interaction. Engag. Sci. Technol. Soc. 2019, 5, 40–60. [Google Scholar] [CrossRef] [Scilit]
  67. Sendak, M.P.; D’Arcy, J.; Kashyap, S.; Gao, M.; Nichols, M.; Corey, K.; Ratliff, W. A path for translation of machine learning products into healthcare delivery. EMJ Innov. 2020, 10, 19-00172. [Google Scholar]
  68. Amann, J.; Vetter, D.; Blomberg, S.N.; Christensen, H.C.; Coffee, M.; Gerke, S.; Gilbert, T.K.; Hagendorff, T.; Holm, S.; Livne, M.; et al. To explain or not to ex-plain?—Artificial Intelligence Explainability in clinical decision support systems. PLoS Digit. Health 2022, 1, e0000016. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  69. Mahajan, A.; Esper, S.; Oo, T.H.; McKibben, J.; Garver, M.; Artman, J.; Klahre, C.; Ryan, J.; Sadhasivam, S.; Holder-Murray, J.; et al. Development and Validation of a Machine Learning Model to Identify Patients Before Surgery at High Risk for Postoperative Adverse Events. JAMA Netw. Open 2023, 6, e2322285. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  70. Byrd IV, T.; Tignanelli, C. Artificial intelligence in surgery—A narrative review. J. Med. Artif. Intell. 2024, 7, 29. [Google Scholar] [CrossRef] [Scilit]
  71. Komorowski, M.; Celi, L.A.; Badawi, O.; Gordon, A.C.; Faisal, A.A. The artificial intelligence clinician learns optimal treatment strategies for sepsis in intensive care. Nat. Med. 2018, 24, 1716–1720. [Google Scholar] [CrossRef] [Scilit]
  72. Ribeiro, M.T.; Singh, S.; Guestrin, C. “Why should I trust you?”: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 1135–1144. [Google Scholar]
  73. Elwyn, G.; Frosch, D.; Thomson, R.; Joseph-Williams, N.; Lloyd, A.; Kinnersley, P.; Cording, E.; Tomson, D.; Dodd, C.; Rollnick, S.; et al. Shared decision making: A model for clinical practice. J. Gen. Intern. Med. 2012, 27, 1361–1367. [Google Scholar] [CrossRef] [Scilit]
  74. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar]
  75. Cizmic, A.; Mitra, A.T.; Preukschas, A.A.; Kemper, M.; Melling, N.T.; Mann, O.; Markar, S.; Hackert, T.; Nickel, F. Artificial intelligence for intraoperative video analysis in robotic-assisted esophagectomy. Surg. Endosc. 2025, 39, 2774–2783. [Google Scholar] [CrossRef] [Scilit]
  76. Hashimoto, D.A.; Rosman, G.; Rus, D.; Meireles, O.R. Artificial intelligence in surgery: Promises and perils. Ann. Surg. 2018, 268, 70–76. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  77. Leszczyńska, A.; Obuchowicz, R.; Strzelecki, M.; Seweryn, M. The Integration of Artificial Intelligence into Robotic Cancer Surgery: A Systematic Review. J. Clin. Med. 2025, 14, 6181. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  78. Vasey, B.; Lippert, K.A.N.; Khan, D.Z.; Ibrahim, M.; Koh, C.H.; Layard Horsfall, H.; Lee, K.S.; Williams, S.; Marcus, H.J.; McCulloch, P. Intraoperative Applications of Artificial Intelligence in Robotic Surgery: A Scoping Review of Current Development Stages and Levels of Autonomy. Ann. Surg. 2023, 278, 896–903. [Google Scholar] [CrossRef] [Scilit] [PubMed] [PubMed Central]
  79. Riva-Cambrin, H.A.; Singh, R.; Lama, S.; Sutherland, G.R. Liquid white box model as an explainable AI for surgery. Npj Digit. Med. 2025, 8, 377. [Google Scholar] [CrossRef] [Scilit]
  80. Hernandez, M.C.; Chen, C.; Nguyen, A.; Choong, K.; Carlin, C.; Nelson, R.A.; Rossi, L.A.; Seth, N.; McNeese, K.; Yuh, B.; et al. Explainable Machine Learning Model to Preoperatively Predict Postoperative Complications in Inpatients With Cancer Undergoing Major Operations. JCO Clin. Cancer Inform. 2024, 8, e2300247. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  81. Lopez-Lopez, V.; Rihuete-Carpio, R.; Herrero-Sánchez, A.; Gavara, C.G.; Goh, B.K.; Koh, Y.X.; Paul, S.J.; Hilal, M.A.; Mishima, K.; Krürger, J.A.P.; et al. Explainable artificial intelligence prediction-based model in laparoscopic liver surgery for segments 7 and 8. Surg. Endosc. 2024, 38, 2411–2422. [Google Scholar] [CrossRef] [Scilit]
  82. Wang, S.; Liu, J.; Wu, Z.; Liang, P.; Luo, Z.; Kong, J.; Huang, J.; Cheng, M.; Zhang, B.; Wang, Y.; et al. Prediction model for postoperative pulmonary complications after thoracoscopic surgery with machine learning algorithms and SHapley Additive exPlanations (SHAP). J. Thorac. Dis. 2025, 17, 3603–3618. [Google Scholar] [CrossRef] [Scilit]
  83. Fransvea, P.; Fransvea, G.; Liuzzi, P.; Sganga, G.; Mannini, A.; Costa, G. Study and validation of an explainable machine learning–based mortality prediction following emergency surgery in the elderly: A prospective observational study (FRAILESEL). Int. J. Surg. 2022, 107, 106954. [Google Scholar] [CrossRef] [Scilit]
  84. Deng, H.; Liu, Y.; Liang, Z.; Veerapong, J.; Fournier, K.F.; Johnston, F.M.; Dineen, S.P.; Powers, B.D.; Hendrix, R.; Lambert, L.A.; et al. Development and Validation of an Explainable Machine Learning Model for Major Complications After Cytoreductive Surgery. JAMA Netw. Open 2022, 5, e2212930. [Google Scholar] [CrossRef] [Scilit]
  85. Zeng, X.; Hu, Y.; Shu, L.; Li, J.; Duan, H.; Shu, Q.; Li, H. Explainable machine-learning predictions for complications after pediatric congenital heart surgery. Sci. Rep. 2021, 11, 17244. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  86. Arabian, H.; Alshirbaji, T.A.; Jalal, N.A.; Krueger-Ziolek, S.; Moeller, K. P-CSEM: An Attention Module for Improved Laparoscopic Surgical Tool Detection. Sensors 2023, 23, 7257. [Google Scholar] [CrossRef] [Scilit]
  87. Shinozuka, K.; Toruida, S.; Fujinaga, A.; Nakanuma, H.; Kawamura, M.; Matsunobu, Y.; Tanaka, Y.; Kamiyama, T.; Ebe, K.; Endo, Y.; et al. Artificial intelligence software available for medical devices: Surgical phase recognition in laparoscopic cholecystectomy. Surg. Endosc. 2022, 46, 7444–7452. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  88. Hashimoto, D.A.; Rosman, G.; Witkowski, E.R. Computer Vision Analysis of Intraoperative Video: Automated Recognition of Operative Steps in Laparoscopic Sleeve Gastrectomy. Ann. Surg. 2019, 270, 414–421. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  89. Madani, A.; Namazi, B.; Altieri, M.S.; Hashimoto, D.A.; Rivera, A.M.; Pucher, P.H.; Navarrete-Welton, A.; Sankaranarayanan, G.; Brunt, L.M.; Okrainec, A.; et al. Artificial Intelligence for Intraoperative Guidance: Using Semantic Segmentation to identify surgical anatomy during Laparoscopic Cholecystectomy. Ann. Surg. 2022, 276, 363–369. [Google Scholar] [CrossRef] [Scilit]
  90. Zia, A.; Essa, I. Automated surgical skill assessment in RMIS training. Int. J. Comput. Assist. Radiol. Surg. 2018, 13, 731–739. [Google Scholar] [CrossRef] [Scilit]
  91. Funke, I.; Mees, S.T.; Weitz, J.; Speidel, S. Video-based surgical skill assessment using 3D convolutional neural networks. Int. J. Comput. Assist. Radiol. Surg. 2019, 14, 1217–1225. [Google Scholar] [CrossRef] [Scilit]
  92. Lam, K.; Chen, J.; Wang, Z.; Iqbal, F.M.; Darzi, A.; Lo, B.; Purkayastha, S.; Kinross, J.M. MAchine Learning for technical skill assessment in surgery: A systematic review. npj Digit. Med. 2022, 5, 24. [Google Scholar] [CrossRef] [Scilit]
  93. Mascagni, P.; Alapatt, D.; Sestini, L. Computer vision in surgery: From potential to clinical value. npj Digi. Med. 2022, 5, 163. [Google Scholar] [CrossRef] [Scilit]
  94. Sarker, S.K.; Chang, A.; Vincent, C.; Darzi, S.A. Development of assessing generic and specific technical skills in laparoscopic surgery. Am. J. Surg. 2006, 191, 238–244. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  95. Rudin, C. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nat. Mach. Intell. 2019, 1, 206–215. [Google Scholar] [CrossRef] [Scilit]
  96. Slack, D.; Hilgard, S.; Jia, E.; Singh, S.; Lakkaraju, H. Fooling LIME and SHAP: Adversarial attacks on post hoc explanation methods. In Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, New York, NY, USA, 7–9 February 2020; pp. 180–186. [Google Scholar]
  97. Sendak, M.P.; Ratliff, W.; Sarro, D.; Alderton, E.; Futoma, J.; Gao, M.; Nichols, M.; Revoir, M.; Yashar, F.; Miller, C.; et al. Real-world Integration of a sepsis Deep Learning Technology Into Routine Clinical Care: Implementation Study. JMIR MED Inform. 2020, 8, e15182. [Google Scholar] [CrossRef] [Scilit]
  98. Topol, E.J. High-performance medicine: The convergence of human and artificial intelligence. Nat. Med. 2019, 25, 44–56. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  99. Ratwani, R.M.; Reider, J.; Singh, H. A decade of health information technology usability challenges and the path forward. JAMA 2019, 321, 743–744. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  100. Holzinger, A.; Kieseberg, P.; Weippl, E.; Tjoa, A.M. Current advances, trends and challenges of machine learning and knowledge extraction: From machine learning to explainable AI. In Machine Learning and Knowledge Extraction; Springer: Cham, Switzerland, 2018; Volume 11015, pp. 1–8. [Google Scholar]
  101. Padoy, N. Machine and deep learning for workflow recognition during surgery. Minim. Invasive Ther. Allied Technol. 2019, 28, 82–90. [Google Scholar] [CrossRef] [Scilit]
  102. U.S. Food & Drug Administration. Artificial Intelligence/Machine Learning (AI/ML)-Based Software as a Medical Device (SaMD): Action Plan. 2021. Available online: https://www.fda.gov/media/145022/download (accessed on 15 August 2025).
  103. FDA Discussion Paper: Proposed Regulatory Framework for Modifications to AI/ML-Based Software as a Medical Device. 2021. Available online: https://www.fda.gov/files/medical%20devices/published/US-FDA-Artificial-Intelligence-and-Machine-Learning-Discussion-Paper.pdf (accessed on 15 August 2025).
  104. Laux, J.; Watcher, S.; Mittelstadt, B. Trustworthy artificial intelligence and the European Union AI Act: On the conflation of trustworthiness and the acceptability of risk. Regul. Gov. 2024, 18, 3–32. [Google Scholar] [CrossRef] [Scilit]
  105. Rad, A.A.; Vardanyan, R.; Athanasiou, T.; Maessen, J.; Nia, P.S. The Ethical Considerations of integrating artificial intelligence into surgery: A review. Interdiscip. Cardiovasc. Thorac. Surg. 2025, 40, ivae192. [Google Scholar] [CrossRef] [Scilit]
  106. Karamitros, G.; Grant, M.P.; Lamaris, G.A. Associations in Medical Research Can Be Misleading: A Clinician’s Guide to Causal Inference. J. Surg. Res. 2025, 310, 145–154. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  107. Shen, J.; Xue, B.; Kannampallil, T.; Lu, C.; Abraham, J. A Novel Generative Multi-Task Representation Learning Approach for Predicting Postoperative Complications in Cardiac Surgery Patients. arXiv 2024, arXiv:2412.01950. [Google Scholar] [CrossRef] [Scilit]
  108. Shen, J.; Xue, B.; Kannampallil, T.; Lu, C.; Abraham, J. A novel generative multi-task representation learning approach for predicting postoperative complications in cardiac surgery patients. J. Am. Med. Inform. Assoc. 2025, 32, 459–469. [Google Scholar] [CrossRef] [Scilit]
  109. Vasey, B.; Nagendran, M.; Campbell, B.; Clifton, D.; Collins, G.S.; Denaxas, S.; Denniston, A.K.; Faes, L.; Geerts, B.; Ibrahim, M.; et al. Reporting guideline for the early-stage clinical evaluation of decision support systems driven by artificial intelligence: DECIDE-AI. BMJ 2022, 377, e070904. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.