SurgXBench: Explainable Vision-Language Model Benchmark for Surgery

Jiajun Cheng\(^{1}\) Xianwu Zhao\(^{1}\) Sainan Liu\(^{2}\) Xiaofan Yu\(^{5}\) Ravi Prakash\(^{3}\)
Patrick J. Codd\(^{3}\) Jonathan Elliott Katz\(^{4}\) Shan Lin\(^{1}\)
\(^{1}\)Arizona State University, \(^{2}\)Intel Labs,
\(^{3}\)Duke University, \(^{4}\)University of Miami, \(^{5}\)University of California, Merced


Abstract

Innovations in digital intelligence are transforming robotic surgery with more informed decision-making. Real-time awareness of surgical instrument presence and actions (e.g., cutting tissue) is essential for such systems. Yet, despite decades of research, most machine learning models for this task are trained on small datasets and still struggle to generalize. Recently, vision-Language Models (VLMs) have brought transformative advances in reasoning across visual and textual modalities. Their unprecedented generalization capabilities suggest great potential for advancing intelligent robotic surgery. However, surgical VLMs remain underexplored, and existing models show limited performance, highlighting the need for benchmark studies to assess their capabilities and limitations and to inform future development. To this end, we benchmark the zero-shot performance of several advanced VLMs on two public robotic-assisted laparoscopic datasets for instrument and action classification. Beyond standard evaluation, we integrate explainable AI to visualize VLM attention and uncover causal explanations behind their predictions. This provides a previously underexplored perspective in this field for evaluating the reliability of model predictions. We also propose several explainability analysis-based metrics to complement standard evaluations. Our analysis reveals that surgical VLMs, despite domain-specific training, often rely on weak contextual cues rather than clinically relevant visual evidence, highlighting the need for stronger visual and reasoning supervision in surgical applications. The code is provided in our public repository at: https://jiajun344.github.io/SurgXBench-Explainable-Vision-Language-Model-Benchmark-for-Surgery-Project-Website/.

1 Introduction↩︎

Tremendous progress in robotic surgical systems has enabled high-precision, dexterous operations in minimally invasive settings, allowing access to narrow surgical spaces that are often unreachable via traditional open surgery [1], [2]. As robotic procedures expand, integrating digital intelligence can augment surgeons’ capabilities through context-aware feedback and real-time decision support [3], [4]. This integration enables more efficient procedures and more consistent, positive patient outcomes. Despite strong motivation, and over two decades of research into developing AI technologies for critical tasks such as surgical instrument, tissue, and phase recognition, existing models are still lack accuracy and robustnees [2], [5][10]. Thus, Current surgical robots remain fully controlled by human surgeons. This is largely due to the fact that most existing models are developed using small, manually annotated datasets and still struggle to consistently achieve good performance across visually diverse surgical data.

Recently, Vision-Language Models (VLMs), such as CLIP [11] and LLaVA [12], have been trained by aligning visual and textual features rather than relying on curated labels. By learning from raw image-text pairs at scale, these models achieve strong generalization across many domains [13]. In surgical robotics, early studies have developed surgical VLMs using publicly available surgical lecture videos and educational materials, but their performance remains limited and not well understood [14][17]. This indicates the need for systematic benchmark studies to analyze how existing VLMs, both general and surgical models, perform on surgical tasks. A more comprehensive understanding of their strengths and limitations is essential to guide the future development of surgical VLMs.

Figure 1: We evaluate two general VLMs, CLIP-ViT-B/32 [11], BLIP [18], and a surgical VLM, SurgVLP [14], on surgical instrument classification. The first image shows an input frame from the Cholec80BBox [19], [20] dataset. The next three images overlay Grad-CAM attention maps [21], [22] on top of the original images, showing each model’s focus in response to the prompt The grasper is in the image.. The similarity scores above each image indicate the model’s prediction confidence (min-max normalized). Green bounding boxes and labels are ground truth instrument locations and types.

To the best of our knowledge, the only existing VLM benchmark in surgery is by by Rau et al. [17], which evaluates the zero-shot and few-shot performance of several state-of-the-art VLMs on multiple surgical vision tasks, including instrument and anatomy identification, action and phase recognition, and skill assessment. Their results also show that current surgical VLMs still perform poorly, sometimes even underperforming general VLMs on certain surgical tasks. Moreover, the performance of both general and surgical VLMs remains far below clinical requirements; for example, Rau et al. report precision below 60% for instrument recognition in both zero-shot and 5-shot settings. While Rau et al.’s benchmark covers many tasks, it only reports standard evaluation metrics, which primarily reflect the average poor performance across datasets, but it lacks deeper insight into why these models fail and which aspects require improvement to better adapt VLMs for surgical applications in the future.

To this end, our work goes beyond standard performance reporting. We integrate widely used explainable AI (XAI) techniques [23], including Grad-CAM [21], [22] and CLEANN [24], [25], into the evaluation of VLMs to visualize their attention and causal reasoning behind their predictions. Then, whether these models’ reasoning processes align with clinical relevant cues, such as the instrument locations and the tissues they interact with, is analyzed. Figure 1 shows a representative example from our explainability analysis: the surgical model SurgVLP [14] correctly classifies the instrument as a grasper with higher confidence (i.e., higher similarity score), but compared to general VLMs such as CLIP [11] and BLIP [18], the attention of SurgVLP does not align well with the most relevant regions, which are the instrument regions in this example. This raises concerns about the reliability of the surgical VLM’s predictions, which are not adequately reflected by standard evaluation metrics. To systematically assess these observations, we further propose several evaluation metrics to quantitatively assess how well the models’ attention and decision-making processes align with key clinical cues.

As the first step toward explainability-based benchmarking for surgical tasks, we focus on two fundamental and critical tasks, surgical instrument and action classification. They serve as the foundation for many high-level applications such as surgical phase recognition and skill assessment. Moreover, our explainability-driven analysis pipeline and proposed evaluation metrics can be flexibly extended to other surgical tasks, as long as relevant clinical cues are defined with appropriate domain knowledge. In summary, our main contributions are as follows:

  • We introduce SurgXBench, the first VLM benchmarking framework for surgical tasks that integrates explainability. By analyzing model attention and causal reasoning, SurgXBench reveals a significant mismatch between where surgical VLMs focus and clinically relevant regions, even for correct predictions. This indicates the need for stronger visual grounding and semantic supervision in future models.

  • We propose several new metrics to quantitatively assess attention alignment. These metrics extend our qualitative findings based on the explainability analysis and complement standard task metrics, enabling a more comprehensive evaluation of model prediction reliability.

  • For instrument action classification, we leverage an off-the-shelf optical flow method with camera motion correction to automatically extract instrument-tissue interaction regions. This augments existing datasets with ground truth for where critical instrument interactions occur and enables quantitative evaluation of model attention for surgical actions, an aspect not rigorously studied before.

2 Related Work↩︎

General and Surgical VLMs: VLMs have emerged as powerful frameworks for multimodal understanding and generally falling into two categories: contrastive VLMs and Large Visual language models (LVLMs). Contrastive models like CLIP [11] and BLIP [18] learn to align visual and textual features, while LVLM like LLaVA [12] integrate vision encoders with large language models to directly generate text responses with more complex reasoning. General VLMs have demonstrated strong generalization in many fields of machine intelligence, vision, and robotics, largely due to their ability to learn from massive amounts of raw multimodal data available online. However, without training on surgical data, they lack domain-specific knowledge needed to understand surgical environments. To address this gap, surgical VLMs have recently been developed to address the unique challenges of surgical settings. SurgVLP [14] pioneered large-scale surgical pretraining using surgical video lectures with CLIP-style contrastive learning to align video clips and textual descriptions. HecVL [15] enhanced this approach by introducing hierarchical supervision by pairing videos with both free-form text and structured phase-level annotations. PeskaVLP [16] further advanced this line of work by incorporating LLM-augmented surgical knowledge and applying procedure-aware loss to improve cross-modal temporal alignment. Yet, current surgical VLMs still exhibit limited performance, often offering only marginal advantages over general VLMs and sometimes even underperforming, as also confirmed by the only prior benchmark study in this domain by Rau et al. [17]. This indicates the need for a deeper understanding of the limitations of existing VLMs to guide the development of more effective surgical models. Since Rau et al. focused solely on standard benchmarking based on traditional task metrics, we propose to complement such evaluation with explainable AI technologies to analyze the reasoning behind VLM predictions.

Explainable AI (XAI): While deep learning models achieve superior performance, their lack of interpretability poses challenges. Several visualization methods have been developed to identify influential image regions and reveal the evidence behind model predictions, providing insights into model explainability. Visualization methods like Grad-CAM [21] highlight important image regions by computing gradients with respect to feature maps, with extensions including attention-based approaches [26], Grad-CAM++ [27] for multiple objects, and Score-CAM [28] using output scores directly. Additionally, causal interpretation methods like CLEANN [24], [25] provide explanations by learning causal structures from attention mechanisms, testing conditional independence between token pairs to identify which input tokens would change model output if masked. However, limited research in medical XAI has focused on surgical contexts, with most lacking proper explainability evaluation. Zhang et al. [29] noted the absence of unified XAI evaluation methods and standardized metrics for trustworthy AI on surgical tasks like phase and instruments recognition, highlighting the critical need for clinically meaningful explainability frameworks.

3 Proposed Methods↩︎

In this section, we introduce the benchmarked surgical tasks in Section 3.1, explain the involved explainable AI [23] methods in Section [sec:sec:attn95vis], outline the questions guiding our explainability analysis in Section 3.3, and present the proposed explainability-based metrics in Section 3.4.

3.1 Task Definition↩︎

Our benchmark focuses on two fundamental and important tasks for intelligent robotic surgery: (i) instrument classification, and (ii) triplet recognition.

Instrument Classification: The goal of this task is to determine which surgical instruments are present in a given image. Awareness of the presence of instruments will enhance the control and use of them [2]. Moreover, since instrument usage is closely related to surgical phases, accurate instrument classification also supports downstream applications such as phase recognition and skill assessment [5].

Triplet Recognition: In addition to instrument classification, triplet recognition is a task aims to also predict the associated instrument action as subject-verb-object triplets [30], such as (scissors, cut, tissue) triplet, describing which instrument performs what action on which target. This usage information can support downstream needs such as surgical workflow analysis and identification of potential procedure risks.

3.2 XAI Visualization Techniques↩︎

We employ three XAI methods to identify important regions for predictions. For contrastive models with ResNet backbone [31], Grad-CAM computes gradients of similarity scores with respect to features to produce spatial attention heatmaps. For LVLMs, Grad-CAM computes gradients of token logits with respect to features [32]. For transformer architectures [33], we use gradient-weighted attention rollout [26], which leverages self-attention matrices to identify contributing patches through relevance propagation. Additionally, CLEANN [24], [25] analyzes causal relationships between token pairs, discovering how visual attention causally influences language generation. Mathematical formulations are in the supplementary section A.

3.3 Problem Definition↩︎

A main objective of our work is to evaluate VLMs from a novel perspective using XAI technologies to assess whether the models’ prediction processes align with clinically relevant cues. Specifically, our explanability-based analysis focuses on the following questions:

  • (A) When the model makes a correct prediction:

    • (i) Does its attention or causal reasoning behind its prediction focus on clinically relevant visual cues?

    • (ii) Are there cases where the model predicts correctly without attending to the relevant image regions, suggesting that the prediction may be unreliable or coincidental?

  • (B) When the model makes an incorrect prediction:

    • (i) Is the incorrect prediction due to the model attending to irrelevant visual cues?

    • (ii) Does the model focus on relevant cues, but unable to recognize the instrument type due to lack of domain knowledge?

3.4 Explainability-based Metrics↩︎

To quantify the explainability-based analysis, as inspired by [21] and [22], we propose several metrics to measure the alignment between the visual cues utilized by the models and clinically relevant cues, thereby helping answer questions outlined in Section 3.3. These explainability-based metrics are reported alongside standard evaluation metrics for involved tasks to provide a more comprehensive evaluation of the model. Detailed definitions for standard metrics are provided in supplementary material section D.

3.4.1 Metrics for Instrument Classification: AA, AC↩︎

Let \(I\) denote an input image of size \(H \times W\). Grad-CAM is used to produce a heatmap \(L\in \mathbb{R}^{H \times W}\) , in which each pixel reflects the attention value of that location for the model’s prediction. We then apply a percentile-based threshold \(\tau\) to retain information about the relative intensity of attention across spatial locations. We pick top \(\tau\) percent of attention value in the heatmap \(L\). The predicted attention region is then defined as: \[\mathcal{A}_\tau = \left\{ (i, j) \mid L(i,j) \geq \mathrm{Quantile}_{1 - \tau}(L) \right\}.\] where \(L(i,j)\) denotes the pixel at \(i\)-th row and \(j\)-th column in \(L\).

Let \(\mathcal{C} = \{ c_1, \dots, c_K \}\) denote the set of ground-truth class labels (e.g., surgical instruments) present in the image, and \(N_k\) is the number of appearnces of class \(c_k\) in the image,For each class \(c_k \in \mathcal{C}\), let \(\mathcal{G}_{c_k}^{(r)} \subseteq \{1,\dots,H\} \times \{1,\dots,W\}\) denote the set of pixels in the \(r^\text{th}\) annotated region of class \(c_k\), for \(r = 1,\dots,N_k\). Let \(\hat{c}\) be the class predicted by the model. We define the set of all annotated pixels (regardless of class) as: \[\mathcal{G}_{\text{all}} = \bigcup_{k=1}^{K} \bigcup_{r=1}^{N_k} \mathcal{G}_{c_k}^{(r)} \subseteq \{1,\dots,H\} \times \{1,\dots,W\}.\] We define the set of pixels corresponding to the predicted class \(\hat{c}\) as: \[\mathcal{G}_{\hat{c}} = \begin{cases} \displaystyle \bigcup_{\substack{\\ c_k = \hat{c}}} \bigcup_{r=1}^{N_k} \mathcal{G}_{c_k}^{(r)}, & \text{if } \hat{c} \in \mathcal{C} \\ \emptyset, & \text{otherwise} \end{cases}\]

Thresholded Attention Coverage (AC): This metric measures how much of the model’s attention region overlaps with any annotated object, regardless of class correctness: \[\label{eq:AC} \text{AC} = \frac{|\mathcal{A}_\tau \cap \mathcal{G}_{\text{all}}|}{|\mathcal{A}_\tau|}.\tag{1}\]

Thresholded Attention Alignment (AA): This metric evaluates whether the model’s attention aligns specifically with the annotated regions of the predicted class \(\hat{c}\). If \(\hat{c} \notin \mathcal{C}\), the score is defined to be zero: \[\label{eq:AA} \text{AA} = \begin{cases} \displaystyle \frac{|\mathcal{A}_\tau \cap \mathcal{G}_{\hat{c}}|}{|\mathcal{A}_\tau|}, & \text{if } \hat{c} \in \mathcal{C} \\ 0, & \text{otherwise} \end{cases}\tag{2}\]

3.4.2 Metrics for Triplet Recognition: RAS↩︎

When it comes to localizing action spatial regions, things get more complex. While actions can be learned by looking at instruments [34], real applications involve tool-tissue interactions where deformable tissues carry meaningful information. Motion reflects rich regions of interest across consecutive frames—information not captured by standard semantic segmentation datasets.

3.4.2.1 RAFT and Camera Motion Correction:

To address the lack of instrument-tissue interaction reigion annotation, we employed an off-the-shelf optical flow method RAFT [35] to estimate optical flow between consecutive frames, computing dense pixel-wise motion vectors to generate masks highlighting high-motion areas. To reduce the effects of camera movement, we model camera motion as a linear combination of Pan, Tilt, Zoom, and Roll operations [36], using bidirectional RAFT flow with least-squares optimization to subtract camera motion and isolate true interaction motion. Applying percentile threshold \(\gamma\) to the corrected RAFT heatmap yields binary masks marking high-motion regions (Figure 2).

3.4.2.2 RAFT Attention Score (RAS):

Based on this motion-aware supervision, where \(\mathcal{A}_{\tau^v}\) denotes thresholded attention heatmap of a triplet prediction, and \(\mathcal{M}_{\text{raft}} \in \{0,1\}^{H \times W}\) denotes the binary mask generated by RAFT method, \(\mathcal{G}_{s}\) the predicted instrument pixel set, and \(\mathcal{G}_{\text{all}}\) the union of all ground-truth instrument regions.

Figure 2: Pipeline of extracting instrument-tissue interaction region for benchmark triplet recognition task. Optical flow is estimated by RAFT [35], and heatmaps represent motion magnitude computed from the flow vectors. Camera correction is applied to reduce background motion in the heatmap. Threshold \gamma retains high motion magnitude regions to generate binary masks.

3.4.2.3 Local RAS:

Measures alignment of verb attention with motion or region of the predicted instrument: \[\label{eq:ras-local} \text{RAS}_{\text{local}} = \frac{|\mathcal{A}_{\tau^v} \cap (\mathcal{M}_{\text{raft}} \cup \mathcal{G}_{s})|}{|\mathcal{A}_{\tau^v}|}.\tag{3}\]

3.4.2.4 Global RAS:

Measures alignment with all ground-truth instrument regions: \[\label{eq:ras-global} \text{RAS}_{\text{global}} = \frac{|\mathcal{A}_{\tau^v} \cap (\mathcal{M}_{\text{raft}} \cup \mathcal{G}_{\text{all}})|}{|\mathcal{A}_{\tau^v}|}.\tag{4}\] This score quantifies how much attention of triplet predictions overlap with instrument-tissue interaction regions.

4 Experiments Set up↩︎

4.1 Dataset↩︎

We use the following two publicly available robotic-assisted laparoscopic datasets.

Cholec80BBox [19], [20] includes 5 videos with 51.7K frames annotated with instrument bounding boxes and class labels. We use this dataset to benchmark instrument classification, with class labels as ground truth for instrument classification evaluation and bounding boxes as ground truth for computing explainability-based metrics.

CholecT45 [30] consists of 45 videos with 90.5K frames annotated with frame-level triplet annotations. This dataset is used to benchmark triplet recognition. Since our \(\text{RAS}_{\text{local}}\) metric 3 requires instrument bounding box annotations to measure attention alignment, we use only 5,957 frames from videos #42 and #43, which are the only ones with such annotations.

Table 1: Models used in this study. LLaVA-v1.5-7B\(^\ddagger\) uses LLaMA2 as LLM backbone.
Model Type Training Data
SurgVLP Contrastive Surgical Video
HecVLP Contrastive Surgical Video
PeskaVLP Contrastive Surgical Video
CLIP Contrastive Web Image-Text
BLIP Contrastive Web Image-Text
LLaVA-v1.5-7B\(^\ddagger\) LVLM Web Image-Text
Figure 3: Instrument classification results of General VLMs (CLIP[11], BLIP[18], LLaVA[12]) and Surgical VLMs (SurgVLP[14], HecVL[15], PeskaVLP[16]) on Cholec80BBox dataset. Results are reported using standard metric (a) F1 scores, and proposed explainability-based metrics that measure model attention alignment with clinically relevant cues: (b) TP_AA, (c) TP_AC, and (d) FP_AC.
Figure 4: Triplet recognition results on CholecT45[30]dataset. (a) Box plots of RASlocal for IVT, IV, and IT matches, and RASglobal for missed cases. (b) Percentage breakdown of how ground truth triplets are matched by model predictions: IVT (complete match), IV (instrument-verb match), IT (instrument-target match), and Missed (no instrument match).

4.2 Benchmarked Models↩︎

We evaluate the zero-shot performance of six pre-trained VLMs, including three General VLMs CLIP, BLIP, LLaVA, along with three Surgical VLMs SurgVLP, HecVL, and PeskaVLP. More details of the benchmarked models are provided in Table 1.

4.3 Evaluation Strategy↩︎

We report standard classification metrics (precision, recall, F1) [37] and our attention alignment scores to assess prediction trustworthiness beyond accuracy. To address question (A-ii) from Section 3.3, we design Attention-Based Occlusion Analysis inspired by counterfactual explanations [38]. Contrastive models compute image-prompt similarity; prompts exceeding threshold \(\delta\) form predicted set \(\hat{\mathcal{P}}\). We generate heatmaps using post-hoc XAI methods (Section [sec:sec:attn95vis]) for each predicted class \(\hat{p} \in \hat{\mathcal{P}}\). Details of implementation are in supplementary section C.

4.3.1 Instrument Classification Task↩︎

For each image, Instrument predictions are categorized as True Positive (TP) or False Positive (FP), and we compute alignment scores using post-hoc explainability methods (Section [sec:sec:attn95vis]). Let \(\mathcal{P}\) denote the ground truth set for an image. For TP predictions (\(\hat{p} \in \mathcal{P}\)), both explainability-based metrics for instrument classification task, AA 2 and AC 1 scores are computed, while for FP predictions (\(\hat{p} \notin \mathcal{P}\)), only AC 1 is calculated. We report instrument-wise F1-scores on the Cholec80BBox dataset, along with True Positive AA and AC scores and False Positive AC scores. This enables statistical analysis of attention alignment patterns, addressing questions A-i, B-i, and B-ii from Section 3.3.

4.3.2 Triplet Recongition Task↩︎

We apply a percentile threshold \(\gamma\) to RAFT motion heatmaps to obtain binary masks and report attention alignment via RAS score box plots on videos 42 and 43 from the CholecT45 dataset. We evaluate each ground truth by combining standard triplet metrics [30] with our explainability-based metrics as follows:

  • IVT match: All components (instrument, verb, target) match in a top-\(k\) prediction. We compute \(\text{RAS}_{\text{local}}\).

  • IV match: If no IVT match, but a top-\(k\) prediction matches instrument and verb, we compute \(\text{RAS}_{\text{local}}\).

  • IT match: If no IV or IVT match, but a top-\(k\) prediction matches instrument and target, we compute \(\text{RAS}_{\text{local}}\).

  • Missed: If no top-\(k\) prediction matches the instrument, we compute average \(\text{RAS}_{\text{global}}\) over all predictions.

This captures the relationship between prediction correctness and attention behavior, addressing A-i, B-i, and B-ii in Section 3.3. For LLaVA, we apply the same evaluation using all generated prediction set.

Figure 5: LLaVA predictions with CLEANN-generated causal graphs (radius 3, top-5 attention heads). (a): Correct grasper identification; (b): hook misclassified as grasper.

Attention-Based Occlusion Analysis: To evaluate question A-ii, we use VID42 and VID43 from CholecT45, selecting top-5 prompts as predictions. For frames with IVT-covered triplets, we apply Grad-CAM to generate heatmaps, retain top \(1-\tau\) high-attention regions using percentile threshold \(\tau\), then occlude these regions with black pixels following [39]. We report effects on IVT coverage rates and similarity scores.

Causal Graph Analysis: To visualize how the model attributes predictions to visual input, we apply CLEANN to generate causal graphs from the top five attention heads which is a parallel mechanisms where each head in the transformer attention learns to focus on different visual features and relationships that attend most strongly to visual tokens during the generation of each prediction token.

Figure 6: Counterfactual occlusion analysis results on SurgVLP. We picked two frames with the two most common instruments in the CholecT45 dataset as examples. Prompts with top-5 predicted similarity scores are shown, with the instrument tip marked by a green box in the image and corresponding prompt marked with a green background indicating IVT coverage. (a) An example of occluding irrelevant areas reducing the similarity score of the correct prediction, removing it from top-5 and leading to a wrong prediction. (b) An example of occluding relevant regions, in contrast, does not affect the prediction with correct prediction still has a relatively high similarity score.

5 Results↩︎

5.1 Instruments Attention Quality Analysis↩︎

Figure 3 shows instrument classification results evaluated using both standard and proposed explainability-based metrics. General contrastive learning VLMs outperform surgical VLMs in attention alignment with higher AA and AC scores across most instruments regardless of prediction correctness, with BLIP showing strongest attention alignment (bag TP_AC: 66.9%, grasper TP_AC: 32.1%). This suggests general contrastive learning VLMs can localize instrument regions but misclassify them due to lacking surgical knowledge, while surgical VLMs exhibit better classification performance on most of instruments, with PeskaVLP achieves highest F1 for multiple classes (hook: 0.7410, bipolar: 0.7899, irrigator: 0.7962) despite lower attention scores (hook TP_AA: 6.6%, TP_AC: 7.6%). This suggests that surgical VLMs may rely on visual shortcuts rather than relevant cues, we further investigate through occlusion studies in Section 5.4. Additional detailed boxplots and precision recall results are provided in supplementary material section E.1.

5.2 Triplets Attention Quality Analysis↩︎

Figure 4 shows triplet recognition results. In Figure 4 (a), contrastive general VLMs exhibit higher \(\text{RAS}_{\text{local}}\) and \(\text{RAS}_{\text{global}}\) scores (BLIP: 47.5%) than surgical VLMs (SurgVLP: 22.1%), while LLaVA shows weaker attention alignment. However, Figure 4 (b) shows general VLMs struggle with tissue recognition. CLIP achieves 59.1% IV-matching but only 1.4% IVT-matching, while LLaVA produces no IVT-matched triplets (0.0%) despite 48.9% IV-matching. Surgical VLMs demonstrate stronger tissue recognition but lower overall RAS scores. PeskaVLP leads with 20.8% IVT-matching, followed by SurgVLP (11.9%) and HecVL (7.6%).

5.3 Causal Graph Analysis on LVLM↩︎

Two examples of LLaVA’s causal graph analysis on instrument classification are presented in Figure 5. Even when selecting the top five heads most focused on visual tokens, the CLEANN algorithm reveals that many text tokens still emerge as direct causal contributors to the prediction. This suggests that certain keywords, such as surgical, image, and instrument, may exert a direct influence to the final prediction than visual tokens. Additionally, most visual tokens do not lie within clinically relevant regions for instrument classification. Instead, they are often scattered, with no consistent spatial pattern observed across examples. More causal graph examples are provided in the supplementary section E.3.

5.4 Attention-based Occlusion Analysis↩︎

Figure 6 shows result on SurgVLP, after occluding image regions based on the attention heatmaps, 28.2% of frames that contained IVT (instruments, verbs, targets) matches before occlusion no longer contained IVT matches after occlusion in top-5 high similarity score predictions, while remaining matched frames had average similarity scores drop by 9.87 for the IVT-matched prompt predictions. Figure 6 (a) shows an example where matches were lost despite occluding irrelevant regions, while Figure 6 (b) shows an example where others persisted even when instruments were fully blocked. Additional counterfactual explanations are in supplementary material section E.2.

6 Discussion↩︎

6.0.0.1 Surgical VLM requires stronger visual supervision.

General VLMs can roughly localize instruments but often fail to accurately recognize their types. In contrast, surgical VLMs trained on surgical video data tend to achieve moderately higher classification accuracy, but this improved performance does not result from better attention to clinically relevant cues; in fact, surgical VLMs often present worse alignment between model attention and meaningful image regions in our benchmarked tasks. For general VLMs, the low accuracy is primarily due to the lack of surgical domain knowledge. Surgical VLMs, despite being trained on domain-specific data, still fail to achieve satisfactory performance and often even weaker ability to attend to relevant cues. This may be because, in the surgical lecture videos, the language supervision in the video datasets is often provided at the video-clip level rather than the frame level. This weak supervision may encourage models to rely on high-level contextual patterns, such as visually similar organs or tissues in the background, rather than accurately localizing and recognizing individual instruments, as supported by our occlusion experiments in Figure 6.

LVLMs in Surgical applications may require supervision on reasoning. According to the causal graph analysis, current LVLM may rely more on text tokens to make decisions, at least on the tasks that are benchmarked in this work. For many surgical tasks, the text prompt may not provide deterministic cues, and decisions should be grounded more in visual information. Therefore, this behavior is suboptimal and suggests that model training should encourage more reliance on visual cues for decision-making.

Limitations and Future work. Our work focuses on instrument and action classification, although these are two essential tasks in the domain, other important tasks such as tissue or organ identification, phase recognition, and workflow analysis should be explored in the future. Although the proposed explainability-based benchmark pipeline can be flexibly extended to these tasks, defining clinically relevant cues and extracting them as ground truth for evaluating model attention and causal reasoning remain open challenges. Addressing these issues will require closer collaboration with clinical experts.

7 Conclusion↩︎

To bridge the gap in understanding the limitations of existing VLMs for surgical tasks, we present SurgXBench, the first benchmark that emphasizes explainability-driven analysis of VLMs in surgical domain. We analyze the attention behavior and causal mechanisms of three general VLMs and three surgical VLMs both qualitatively through attention-based occlusion analysis and quantitatively by proposing novel explainability-based metrics. This benchmark will serve as a foundation for advancing trustworthy multimodal models in surgical applications.

Supplementary Material

8 Post-hoc XAI Visualization Techniques - Mathematical Formulations↩︎

This section provides the detailed mathematical formulations for the post-hoc XAI visualization methods described in Section 3.2 of the main paper.

8.1 Grad-CAM for ResNet VLM↩︎

For VLMs that use ResNet-style backbones [14][16], the Grad-CAM formulation is defined as follows. Let \(I \in \mathbb{R}^{H' \times W' \times 3}\) be the input image, and let \(A \in \mathbb{R}^{K \times H \times W}\) denote the output of a selected convolutional layer in the image encoder, where \(K\) is the number of channels and \(H \times W\) is the spatial resolution. Let \(A_k(i,j)\) denote the activation at spatial position \((i,j)\) in channel \(k\). Let \(\mathcal{P} = \{P_1, P_2, \dots, P_N\}\) be a set contain \(N\) candidate natural language prompts. The vision-language model computes an embedding for the image \(\phi_{\text{img}}(I)\) and for each text prompt \(\phi_{\text{text}}(P_k)\), and calculates a similarity score \(S_{P_k}\) (typically cosine similarity) for each prompt in \(\mathcal{P}\): \[S_{P_k} = \frac{\phi_{\text{img}}(I)^\top \phi_{\text{text}}(P_k)}{\|\phi_{\text{img}}(I)\| \cdot \|\phi_{\text{text}}(P_k)\|}.\]

The predicted prompt \(\hat{P}\) is then selected as the one with the highest similarity score: \[\hat{P} = \arg\max_{P_k \in \mathcal{P}} S_{P_k},\] and let \(S_{\hat{P}}\) denote the scalar similarity score corresponding to the predicted prompt \(\hat{P}\). Grad-CAM computes the gradient of the score \(S_c\) with respect to the feature map \(A_k(i,j)\), and then applies global average pooling over spatial dimension: \[\alpha_k = \frac{1}{H \cdot W} \sum_{i=1}^H \sum_{j=1}^W \frac{\partial S_{\hat{P}}}{\partial A_k(i,j)}.\] The gradient tells how much each feature map channel \(A_k\) contributes to the model’s prediction \(S_{\hat{c}}\). it does this by averaging the gradient of predicted score with respect to all locations \((i,j)\) in that channel and use it act as a weight that reflects the importance of that channel. Based on it, to compute the Grad-CAM heatmap, we first obtain a weighted combination of the activation maps using channel-wise importance weights \(\alpha_k\), followed by a ReLU. Finally, we apply bilinearly upsampling to resize \(L\) to the size of original image.

\[\label{smiqlogd} L_{\text{Grad-CAM}} = \text{Upsample}_{\text{bilinear}}\left(\text{ReLU}\left( \sum_{k=1}^K \alpha_k \cdot A_k \right)\right).\tag{5}\]

8.2 Gradient-Based Attention Rollout for CLIP-ViT↩︎

Following the method from [26], in transformer model, we leverage the self-attention matrices and their gradients to identify input image patches that contribute most to the similarity between an image and a given text prompt. Let \(\mathcal{T}^{(l)} \in \mathbb{R}^{N \times N}\) denote the self-attention matrix from the \(l\)-th transformer block in the ViT encoder, where \(N\) is the number of tokens, a special token added at the beginning of the input, and its output representation is used to summarize the entire image for classification tasks. We extract \(\mathcal{T}^{(l)}\) after the softmax operation during the forward pass.

We compute the gradient of the similarity score with respect to the attention map: \[\nabla \mathcal{T}^{(l)} = \frac{\partial S_{\hat{P}}}{\partial \mathcal{T}^{(l)}},\] where \(S_{\hat{P}}\) is the predicted similarity score corresponding to the selected text prompt in a zero-shot setting. To capture influence on the similarity score, we compute the gradient-weighted attention map: \[\tilde{\mathcal{T}}^{(l)} = \text{ReLU} \left( \nabla \mathcal{T}^{(l)} \odot \mathcal{T}^{(l)} \right),\] where \(\odot\) denotes the elementwise (Hadamard) product. This highlights token-to-token interactions that both receive high attention and significantly impact the similarity score. To propagate relevance through the transformer layers, we recursively update a relevance matrix \(\mathbf{R}^{(l)} \in \mathbb{R}^{N \times N}\) as follows: \[\mathbf{R}^{(L)} = I, \quad \mathbf{R}^{(l)} = \mathbf{R}^{(l+1)} + \tilde{\mathcal{T}}^{(l)} \mathbf{R}^{(l+1)},\] starting from the final layer \(L\), where \(I\) is the \(N \times N\) identity matrix. This recursive formulation accumulates relevance flow across all layers. Let each patch token indexed by \(k \in \{1,\dots,N-1\}\), after propagating to the input layer, we extract the relevance scores from the [CLS] token to each image patch token: \[r_k = \mathbf{R}^{(0)}_{\texttt{CLS},\, k}, \quad \text{for } k = 1, \dots, N-1,\] where \(r_k\) denotes the relevance of the \(k\)-th image patch token to the final similarity score.

Finally, we reshape and upsample the vector \([r_1, \dots, r_{N-1}] \in \mathbb{R}^{N-1}\) into the input image size using bilinear interpolation. The final heatmap can be constructed as following: \[\label{uwzscrmg} L_{\text{Grad-CAM-ViT}} = \text{Upsample}_{\text{bilinear}}\left( \text{reshape}\left( [r_1, \dots, r_{N-1}] \right) \right),\tag{6}\]

8.3 Grad-CAM for Multimodal Large Language Models↩︎

For large language models, we adopt a method inspired by [32]. Since the predicted classes are generated as natural language, we apply Grad-CAM to specific tokens in the output sequence. To obtain a Grad-CAM heatmap for a given token \(t_j\), we isolate its corresponding logit \(z_j\) and compute the gradient with respect to the visual feature maps \(A_k\) from the last layer of the language model’s decoder. Specifically, we compute: \[G_k = \frac{\partial z_j}{\partial A_k}.\] The remaining steps follow the standard Grad-CAM procedure described earlier.

8.3.1 CLEANN: Causal Learning for Attention Networks↩︎

Unlike contrastive learning, where taking the derivative of the similarity score with respect to visual tokens or feature maps can provide straightforward visual explainability, large vision-language models (LVLMs) involve more complex reasoning and interaction processes. As discussed in [32], Grad-CAM in LVLMs may indicate where the model focuses during generation, but it does not fully capture the underlying reasoning. As a result, our attention analysis procedure for LLaVA serves more as a soft interpretability measure. To better support our investigation, we adopt the Causal Graph Analysis method CLEANN [24], [25], which provides a more principled view of the model’s internal reasoning. For target token \(t\) and relevant token set \(\mathcal{T}\), the method tests conditional independence between token pairs \(X, Y \in \mathcal{T}\) given conditioning set \(\mathcal{Z} \subset \mathcal{T}\) using their attention distributions, where \(\mathbf{a}_X\) represents the attention vector (row) of token \(X\) in the attention matrix. This approach enables the discovery of how visual attention patterns causally influence language generation beyond simple correlation in multi-modal transformer architectures.

9 Camera Motion Correction - Mathematical Formulation↩︎

This section provides the detailed mathematical formulation for the camera motion correction method described in the main paper.

9.1 Camera Motion Model↩︎

We model the global camera motion as a linear combination of four basic operations: Pan (\(P\)), Tilt (\(T\)), Zoom (\(Z\)), and Roll (\(R\)). Each operation corresponds to a known optical flow prototype vector at any given pixel coordinate \((x, y)\) relative to the image center:

Pan (p): \(p = \begin{pmatrix} -1 \\ 0 \end{pmatrix}\), Tilt (t): \(t = \begin{pmatrix} 0 \\ -1 \end{pmatrix}\), Zoom (z): \(z = \begin{pmatrix} -x \\ -y \end{pmatrix}\), Roll (r): \(r = \begin{pmatrix} y \\ -x \end{pmatrix}\).

The predicted flow from the camera, \(f_{\text{cam}}\), is a weighted sum of these prototypes: \[f_{\text{cam}} = P \cdot p + T \cdot t + Z \cdot z + R \cdot r\]

9.2 Bidirectional Optimization↩︎

To find the actual camera motion parameters robustly, we first use RAFT to compute total flow in both directions—the forward flow (\(f_{\text{fwd}}\)) and the backward flow (\(f_{\text{bwd}}\))—and solve a least-squares problem over the valid pixel domain \(\Omega \subset \mathbb{R}^2\). The optimization goal is to find the parameters \(P, T, Z, R\) that minimize the total squared error \(E = E_{\text{fwd}} + E_{\text{bwd}}\), which is the sum of the error contributions from both directions.

The forward error component is: \[\begin{align} &E_{\text{fwd}} = \sum_{(x,y) \in \Omega} \| f_{\text{cam}}(x,y) - f_{\text{fwd}}(x,y) \|^2 \notag \\ &= \sum_{(x,y) \in \Omega} \| (P \cdot p + T \cdot t + Z \cdot z + R \cdot r) - f_{\text{fwd}}(x,y) \|^2 \end{align}\]

The backward error component is: \[E_{\text{bwd}} = \sum_{(x,y) \in \Omega} \| f_{\text{cam}}(x,y) + f_{\text{bwd}}(x,y) \|^2,\]

where the backward error assumes that camera motion should be consistent in both temporal directions, with the backward flow representing the negative of the forward camera motion.

Solving this enhanced problem yields the best-fit parameters for the camera’s movement. With these parameters, we construct the pure camera flow field, \(f_{\text{cam}}\). Finally, we correct the original forward flow by subtracting this calculated camera motion, leaving only the motion of the independent objects: \[f_{\text{corrected}} = f_{\text{fwd}} - f_{\text{cam}}\]

10 Implementation Details↩︎

10.1 Parameters↩︎

All heatmaps from post-hoc XAI methods are thresholded using percentile-based Grad-CAM, where \(\tau = 0.8\) selects the top 20% high-attention regions. For RAFT-derived binary masks, we use a motion threshold of \(\gamma = 0.8\). Across CLIP, BLIP, SurgVLP, HecVL, and PeskaVLP, a class is predicted if its similarity score exceeds the 90th percentile (\(\delta = 0.9\)). For the triplet recognition task, due to the large number of class combinations, we select the top 5 classes with highest similarity scores as predictions. CLEANN is implemented with key parameters: attention threshold \(\kappa = 0.01\) to filter relevant tokens; p-value threshold \(\alpha = 10^{-5}\) to enforce strong statistical significance in conditional independence tests; sample size \(n = 128\) for reliable inference; and a cap of 50 image tokens per analysis to balance efficiency and coverage. Rather than analyzing all attention heads, we select the top-5 heads that prioritize visual over textual content. Head importance is computed as \(\text{head\_importance} = \frac{\max(\text{image\_attention})}{\max(\text{text\_attention})}\) where higher values indicate greater visual focus for the target prediction.

10.2 Prompts Design↩︎

To align with VLMs’ prompt-based input format, we construct template-based prompts. For instrument classification, we use: “What surgical tools do you see? Choose from: Grasper, Bipolar, Hook, Scissors, Clipper, Irrigator, Bag” covering all instrument classes. For triplet reasoning, we design a detailed prompt that guides the model to identify surgical actions by providing instrument capabilities and target options. The prompt instructs the model to look at the surgical image carefully and identify all visible actions, providing specific lists of what each instrument can do (e.g., grasper can grasp, retract, dissect, or manipulate tissue) and all possible surgical targets (cystic_plate, gallbladder, omentum, etc.). We constrain the output to a three-word format: “instrument verb target”.

11 Metrics↩︎

11.1 Standard Instrument Classification Metrics↩︎

Let TP, FP, and FN denote the number of true positives, false positives, and false negatives across all instrument classes. The metrics are computed as: \(\text{Precision} = \text{TP} / (\text{TP} + \text{FP})\), \(\text{Recall} = \text{TP} / (\text{TP} + \text{FN})\), \(F1 = 2 \cdot \text{Precision} \cdot \text{Recall} / (\text{Precision} + \text{Recall})\).

11.2 Standard Triplet Recognition Metrics:↩︎

We adopt the standard triplet metrics from [34]. Each predicted action is represented as a triplet of class labels \(\langle \textit{instrument}, \textit{verb}, \textit{target} \rangle = (s, v, o)\), with the corresponding ground-truth triplet denoted as \((s^*, v^*, o^*)\). Binary match indicators are defined as: \[\text{Match}(s, v, o; s^*, v^*, o^*) = (\mathbb{1}_{s = s^*},\;\mathbb{1}_{v = v^*},\;\mathbb{1}_{o = o^*}).\] The standard evaluation metrics focus on three specific matching conditions: IVT (instrument–verb–target), IV (instrument–verb), and IT (instrument–target). These metrics provide a finer understanding of the model’s ability to recognize structured surgical actions, which are inherently instrument-centric; the verb and target gain full semantic meaning only in the context of the acting instrument.

12 Additional Results↩︎

12.1 Instrument classification↩︎

Addition results include pericison, recall and box plot of attentiona quality metrics for instrument classification result are provided in figure 7

12.2 Occlusion Analysis↩︎

Additional results for the occlusion analysis are provided in Figure 8 showing successful tool alignment under occluded conditions. The left panel shows cases where occlusion blocks irrelevant areas, yet the correct IVT(instrument-verb-target) match is no longer among the top-5 predictions. The right panel shows cases where relevant regions are occluded, but the correct prediction still appears in the top-5. Prompts highlighted in green indicate triplets that achieve IVT coverage with the ground truth, while gray prompts represent cases where the instrument was not correctly identified. The green bounding box on the images represents the instrument-relevant area in the triplets.

12.3 Causal Graph Analysis↩︎

Two additional results for triplet recognition are shown in Figure 9. These figures highlight same findings discussed in Section 5 of the main paper, causal graphs generated using the CLEANN method (radius 3, top-5 visually important attention heads). Generated responses are in token format where each box contains the causal graph of each head for each token. Green circles indicate visual tokens that are in or close to the relevant area, and white boxes represent text tokens that were previously generated.

Figure 7: Surgical instrument detection performance and attention alignment across seven instrument types from the Cholec80BBox dataset. For each instrument, the left subplot shows classification performance (Precision, Recall, F1 Score) and the right subplot displays attention overlap AA and AC score between heatmaps and ground truth regions as box plots for True Positive and False Positive predictions.
Figure 8: Occlusion analysis results for SurgVLP, HecVLP, and PeskaVLP.
Figure 9: This figure shows triplet recognition examples from LLaVA

12.4 Text token ratio Analysis↩︎

Text token ratio analysis using two complementary methods: (i) a CLEANN-based causal selection that identifies tokens directly influencing target generation through conditional independence testing and computes text-visual ratios among causal dependencies, and (ii) an attention-based approach that calculates text-visual ratios by summing attention weights across text and image regions. Both approaches detected substantial text over-reliance: attention analysis showed 91-92 % text dominance for tokens like "yst", "plate", and "cut", while CLEANN revealed genuine text bias in tokens such as "cutting" (77.6 % text dominance). The consistent detection of high text dominance across both methodologies confirms that surgical vision-language models exhibit over-reliance on linguistic context rather than visual evidence.

Table 2: Comparison of Attention-Based vs. Causal Analysis for Text Dominance Detection
Subword Token Method Text Dom. Visual Dom.
cut Attention 0.922 0.078
CLEANN 0.328 0.672
yst Attention 0.920 0.080
CLEANN 0.133 0.967
plate Attention 0.918 0.082
CLEANN 0.240 0.946
re Attention 0.924 0.076
CLEANN 0.195 0.805
cutting Attention 0.913 0.087
CLEANN 0.776 0.224
gr Attention 0.917 0.083
CLEANN 0.000 1.000

Subword fragment from tokenization (e.g., yst from “cystic”, re from “retract”, gr from “grasper”)

References↩︎

[1]
G. Ciuti, R. J. Webster III, K.-W. Kwok, and A. Menciassi, “Robotic surgery,” Nature Reviews Bioengineering, pp. 1–14, 2025.
[2]
D. Bouget, M. Allan, D. Stoyanov, and P. Jannin, “Vision-based and marker-less surgical tool detection and tracking: A review of the literature,” Medical image analysis, vol. 35, pp. 633–654, 2017.
[3]
P. E. Dupont et al., “A decade retrospective of medical robotics research from 2010 to 2020,” Science robotics, vol. 6, no. 60, p. eabi8017, 2021.
[4]
M. Yip, “The robot will see you now: Foundation models are the path forward for autonomous robotic surgery,” Science Robotics, vol. 10, no. 104, p. eadt0684, 2025.
[5]
A. S. Twinanda, S. Shehata, D. Mutter, J. Marescaux, M. de Mathelin, and N. Padoy, “Endonet: A deep architecture for recognition tasks on laparoscopic videos,” IEEE Transactions on Medical Imaging, vol. 36, no. 1, pp. 86–97, 2016.
[6]
L. C. Garcia-Peraza-Herrera et al., “Toolnet: Holistically-nested real-time segmentation of robotic surgical tools,” 2017 , organization={IEEE}, pp. 5717–5722.
[7]
S. Lin, F. Qin, Y. Li, R. A. Bly, K. S. Moe, and booktitle=2020. I. I. C. on I. R. and S. (IROS). Hannaford Blake, “Lc-gan: Image-to-image translation based on generative adversarial network for endoscopic images,” 2020 , organization={IEEE}, pp. 2914–2920.
[8]
Z.-L. Ni, G.-B. Bian, Z.-G. Hou, X.-H. Zhou, X.-L. Xie, and booktitle=2020. I. international conference on robotics and automation (ICRA). Li Zhen, “Attention-guided lightweight network for real-time segmentation of robotic surgical instruments,” 2020 , organization={IEEE}, pp. 9939–9945.
[9]
T. Roß et al., “Comparative validation of multi-instance instrument segmentation in endoscopy: Results of the ROBUST-MIS 2019 challenge,” Medical image analysis, vol. 70, p. 101920, 2021.
[10]
S. Lin, F. Qin, H. Peng, R. A. Bly, K. S. Moe, and B. Hannaford, “Multi-frame feature aggregation for real-time instrument segmentation in endoscopic video,” IEEE Robotics and Automation Letters, vol. 6, no. 4, pp. 6773–6780, 2021.
[11]
A. Radford et al., “Learning transferable visual models from natural language supervision , booktitle = Proceedings of the 38th International Conference on Machine Learning (ICML),” 2021.
[12]
H. Liu, C. Li, Q. Wu, and Y. J. Lee, “Visual instruction tuning,” Advances in Neural Information Processing Systems, vol. 36, pp. 34892–34916, 2023.
[13]
J. Zhang, J. Huang, S. Jin, and S. Lu, “Vision-language models for vision tasks: A survey,” IEEE transactions on pattern analysis and machine intelligence, vol. 46, no. 8, pp. 5625–5644, 2024.
[14]
K. Yuan et al., “Learning multi-modal representations by watching hundreds of surgical video lectures,” arXiv preprint arXiv:2307.15220, 2023.
[15]
K. Yuan, V. Srivastav, N. Navab, and N. Padoy, “Hecvl: Hierarchical video-language pretraining for zero-shot surgical phase recognition,” arXiv preprint arXiv:2405.10075, 2024.
[16]
K. Yuan, V. Srivastav, N. Navab, and N. Padoy, “Procedure-aware surgical video-language pretraining with hierarchical knowledge augmentation , booktitle = Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS),” 2024.
[17]
A. Rau et al., “Systematic evaluation of large vision-language models for surgical artificial intelligence,” arXiv preprint arXiv:2504.02799, 2025.
[18]
J. Li, D. Li, C. Xiong, and S. Hoi, “Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation , booktitle = Proceedings of the International Conference on Machine Learning (ICML),” 2022, pp. 12888–12900.
[19]
N. A. Jalal, T. A. Alshirbaji, P. D. Docherty, H. Arabian, T. Neumuth, and K. M?ller, “Surgical tool classification & localisation using attention and multi-feature fusion deep learning approach,” IFAC-PapersOnLine, vol. 56, no. 2, pp. 5626–5631, 2023.
[20]
T. A. Alshirbaji et al., “Cholec80-boxes: Bounding-box labeling data for surgical tools in cholecystectomy images , note = To be submitted,” 2024.
[21]
R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-cam: Visual explanations from deep networks via gradient-based localization , booktitle = Proceedings of the IEEE International Conference on Computer Vision (ICCV),” 2017, pp. 618–626.
[22]
J. Choe, S. J. Oh, S. Lee, S. Chun, Z. Akata, and H. Shim, “Evaluating weakly supervised object localization methods right , booktitle = Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR),” 2020, pp. 3133–3142.
[23]
?. Zablocki, H. Ben-Younes, P. P?rez, and M. Cord, “Explainability of deep vision-based autonomous driving systems: Review and challenges,” International Journal of Computer Vision, vol. 130, no. 10, pp. 2425–2452, 2022.
[24]
R. Y. Rohekar, Y. Gurwicz, and S. Nisimov, “Causal interpretation of self-attention in pre-trained transformers , booktitle = Advances in Neural Information Processing Systems,” 2023, vol. 36, pp. 31450–31465.
[25]
G. B. M. Stan, E. Aflalo, R. Y. Rohekar, et al., “LVLM-interpret: An interpretability tool for large vision-language models,” arXiv preprint arXiv:2404.03118, 2024.
[26]
H. Chefer, S. Gur, and L. Wolf, “Generic attention-model explainability for interpreting bi-modal and encoder-decoder transformers , booktitle = Proceedings of the IEEE/CVF international conference on computer vision,” 2021, pp. 397–406.
[27]
A. Chattopadhay, A. Sarkar, P. Howlader, and V. N. Balasubramanian, “Grad-cam++: Generalized gradient-based visual explanations for deep convolutional networks , booktitle = 2018 IEEE Winter Conference on Applications of Computer Vision (WACV),” 2018, pp. 839–847.
[28]
H. Wang et al., “Score-cam: Score-weighted visual explanations for convolutional neural networks , booktitle = Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops,” 2020, pp. 24–25.
[29]
Y. Zhang, Y. Weng, and J. Lund, “Applications of explainable artificial intelligence in diagnosis and surgery,” Diagnostics, vol. 12, no. 2, p. 237, 2022.
[30]
C. I. Nwoye et al., “Rendezvous: Attention mechanisms for the recognition of surgical action triplets in endoscopic videos,” Medical Image Analysis, vol. 78, p. 102433, 2022.
[31]
K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition , booktitle = Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR),” 2016, pp. 770–778.
[32]
X. Zhang et al., “From redundancy to relevance: Information flow in LVLMs across reasoning tasks,” arXiv preprint arXiv:2406.06579, 2024.
[33]
A. Dosovitskiy et al., “An image is worth 16x16 words: Transformers for image recognition at scale , booktitle = International Conference on Learning Representations,” 2021.
[34]
A. Twinanda et al., “Cholect50: A benchmark for surgical action triplet recognition,” arXiv preprint arXiv:2204.05235, 2022.
[35]
Z. Teed and J. Deng, “Raft: Recurrent all-pairs field transforms for optical flow , booktitle = Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part II 16,” 2020, pp. 402–419.
[36]
J. Almeida, R. Minetto, T. A. Almeida, R. da S. Torres, and N. J. Leite, “Robust estimation of camera motion using optical flow models , booktitle = Proceedings of the International Symposium on Visual Computing,” 2009, pp. 435–446.
[37]
D. M. Powers, “Evaluation: From precision, recall and f-measure to ROC, informedness, markedness and correlation,” arXiv preprint arXiv:2010.16061, 2020.
[38]
Y. Goyal, Z. Wu, J. Ernst, D. Batra, D. Parikh, and S. Lee, “Counterfactual visual explanations , booktitle = Proceedings of the International Conference on Machine Learning (ICML),” 2019, pp. 2376–2384.
[39]
M. D. Zeiler and booktitle =. P. of the E. C. on C. V. (ECCV). Fergus Rob, “Visualizing and understanding convolutional networks,” 2014, pp. 818–833.