alphaFeedback

WorksComputer Science

GRAC: Graph-Based Retrieval-Augmented Captioning for Surgical Scene Description

AI contributions
Not recorded for this paper
View details

Abstract

Purpose: Surgical operative reports support procedural documentation, surgical training, performance assessment, and workflow review. However, extracting meaningful information often requires extensive manual review and clinical expertise. Automated surgical scene descriptions could reduce this burden by leveraging recurring surgical activities and prior knowledge. Methods: We propose GRAC (Graph-Based Retrieval-Augmented Captioning), a framework that represents surgical scenes as graphs capturing relationships among instruments, actions, and anatomical structures. Given an input scene graph, GRAC learns to retrieve relevant graph-caption pairs from training data. It compares instrument-tissue interactions between retrieved examples and the input scene, using comparison features to condition retrieved-caption representations during generation. Results: On the EndoVis-18 benchmark, GRAC achieved a CIDEr-D of 5.88, compared with 4.23 for SGT and 3.36 for the strongest conventional Transformer baseline. Exact instrument-action-target triplet-set accuracy reached 52.6%, compared with 32.7% for SGT and 26.2% for the strongest conventional baseline. These results demonstrate improvements in language quality and factual agreement. On TORS, GRAC achieved a CIDEr-D of 5.06, compared with 3.80 for the strongest baseline. Conclusion: GRAC demonstrates that combining structured surgical scene representations with retrieved examples improves surgical scene captioning and produces more contextually meaningful descriptions.

Introduction

Surgical video recordings provide valuable information about operative procedures and support surgical training, performance assessment, and workflow analysis [1]. Automatically translating surgical activities into meaningful descriptions can facilitate procedural documentation, video retrieval, and the development of computer-assisted surgical systems. Surgical scene graphs provide a structured representation of these activities [2], where nodes represent surgical instruments and anatomical structures, and edges describe their relationships and interactions.

Existing surgical report generation methods primarily learn a direct mapping from scene representations to natural-language descriptions [3, 4, 5]. Although these approaches can generate descriptions of surgical activities, learning the relationships between structured scene information and language can be challenging when annotated training data are limited. Surgical procedures, however, contain recurring patterns of instrument use, actions, and anatomical interactions, often described using similar terminology. These characteristics suggest that descriptions of previously observed surgical scenes can provide useful prior information for generating new reports. Retrieval-based approaches offer a complementary direction [6, 7] by incorporating relevant examples from the training data into the generation process.

Although surgical scenes frequently exhibit similar patterns, effectively using prior examples for caption generation requires careful consideration. Similar instruments may perform different actions or interact with different anatomical structures. Thus, retrieving relevant examples must be complemented by comparing their interactions with the current scene to ensure that the generated descriptions reflect the observed surgical activity. To address these challenges, we propose GRAC, a scene-graph-to-caption framework with three complementary components. First, an interaction-aware graph encoder represents relationships among surgical instruments, their actions, and anatomical structures. Second, a caption-supervised retrieval module learns to retrieve prior graph–caption pairs based on surgical activity rather than appearance alone. Third, a graph-conditioned caption memory compares the retrieved and current scenes and uses this comparison to guide caption generation. We evaluate GRAC on the EndoVis-18 and TORS datasets using language-generation metrics and measures of factual correctness.

The main contributions of this work are summarized as follows:

I. Surgical activity-guided retrieval We introduce a caption-supervised contrastive learning strategy that brings graph embeddings of similar surgical activities closer together, enabling the model to retrieve relevant prior scene graphs and their corresponding captions based on learned graph similarity.

II. Graph comparison-guided caption generation: We develop an instrument-aligned comparison mechanism that captures differences between current and retrieved scene graphs and incorporates this information into retrieved caption representations to guide generation.

III. Integrated surgical scene-captioning framework: We combine interaction-aware graph encoding, activity-guided retrieval, and graph-conditioned caption generation in a unified framework, demonstrating their combined effectiveness through evaluations on EndoVis-18 and TORS and systematic ablation studies.

Related Work

Surgical Captioning and Scene-Graph Methods

Surgical scene understanding is central to context-aware computer-assisted intervention, where recognizing surgical instruments, anatomical structures, and their interactions provides important information for downstream applications. The EndoVis-18 robotic scene segmentation challenge [8] has become a widely used benchmark for this setting. Building on this work, Islam et al. [2] introduced surgical scene graphs, representing instruments and anatomical structures as nodes and their spatial or functional interactions as edges. These structured representations have subsequently been explored for surgical visual question answering [9] and surgical report generation [5, 10].

Existing surgical captioning approaches have primarily focused on improving visual representations, graph encoding, and language generation. CIDA [4] addresses domain shift and class-incremental adaptation, while SwinMLP-TranCAP [11] reduces dependence on detector-based regional features through shifted-window MLP patches. Scene Graph-guided Transformer (SGT) [5] incorporates graph relationships into Transformer-based generation to capture instrument–tissue interactions. Its extension, SGT++ [10], further develops graph-based representations by modeling surgical relationships through explicit and implicit interactions. These approaches demonstrate the value of structured surgical information for generating descriptions of operative activities.

However, existing methods primarily learn surgical language patterns through model parameters, despite the repetitive and structured nature of surgical descriptions. Previously observed captions may provide useful examples of how similar activities are described, particularly when annotated training data are limited. GRAC extends scene-graph-based captioning by incorporating retrieved graph–caption examples as semantic priors, allowing the generator to draw on previously observed descriptions in addition to the current scene representation.

Transformer and Transformer-based image-captioning architectures [12, 13, 14, 15] provide complementary approaches to sequence generation. For graph encoding, GRAC employs GATv2 [16], which introduces dynamic attention to address limitations of the static attention ranking in GAT [17]. This enables context-dependent aggregation of graph information, which is relevant when surgical scenes contain similar entities but different interaction patterns.

Retrieval-Augmented Generation for Captioning

Retrieval-augmented generation (RAG) [18] combines a parametric generator with an external memory, enabling previously observed information to guide the generation of new content. In image captioning, approaches such as SmallCap [6], EXTRA [7], and COS-Net [19] explore the use of retrieved captions or semantic information to support description generation. Retrieval has also attracted interest in medical reporting, where descriptions often follow recurring linguistic patterns while requiring accurate representation of clinical findings. X-REM [20] uses contrastive image–text matching to retrieve relevant chest X-ray reports, while FactMM-RAG [21] incorporates fact-aware retrieval to support factual consistency in radiology report generation.

Liu et al. [22] explored retrieval-augmented surgical captioning using a large multimodal model that retrieves surgical concepts from visually similar images to support long-form description generation. Their approach incorporates retrieved knowledge into visual representations through a dedicated attention mechanism. In contrast, GRAC operates on structured surgical scene graphs and learns to retrieve prior graph–caption pairs through caption-supervised training. It further compares instrument-level interactions between the retrieved and current scenes to condition caption generation on their relational similarities and differences.

These studies demonstrate the potential of retrieval-based approaches to incorporate prior information into surgical caption generation. However, surgical activities are defined by specific relationships among instruments, actions, and anatomical targets, which may differ even between otherwise similar scenes. Consequently, the relevance of a retrieved description depends not only on overall scene similarity but also on whether its underlying interactions correspond to those of the current scene. GRAC addresses this distinction at two levels: caption-supervised retrieval selects examples according to surgical activity, and graph-conditioned caption memory grounds the retrieved text in the interactions of the current scene. Through this integration, retrieved descriptions provide contextual information that is informed by graph-based relational agreement with the current scene, connecting structured scene understanding with retrieval-guided caption generation.

Methodology

Problem Formulation and Overview

GRAC generates a natural-language description of surgical activity from a scene graph representing a single video frame. Following the surgical scene-graph formulation of Islam et al. [2], each frame is represented as G=(V,E,Xv,Xe)G = (V, E, X^{v}, X^{e}), where VV contains instrument nodes and a single tissue node, and EE represents their connections. The feature matrices Xv∈R∣V∣×512X^{v} \in\mathbb{R}^{|V| \times512} and Xe∈R∣E∣×512X^{e} \in\mathbb{R}^{|E| \times512} contain ResNet-18 ROI and interaction features extracted from annotated bounding boxes using the representation of Xu et al. [3]. Nonzero edge features represent annotated active (non-idle) tissue–instrument interactions without explicitly specifying the performed action, while all other connections have zero-valued edge features.

As illustrated in Figure 1, given a query graph GG, the objective is to generate a caption Y=(y1,…,yT)Y = (y_1,\ldots,y_T) describing the observed surgical activity. The caption’s factual content is represented by a set S(Y)S(Y) of instrument–action–target triplets ⟨i,a,t⟩\langle i,a,t\rangle. GRAC maintains a training-only memory bank B={(Gj,Yj)}j=1N\mathcal{B} = \{(G_j,Y_j)\}_{j=1}^{N}, where each entry associates a training scene graph with its reference caption. For a query graph (G)(G), GRAC selects K=3K = 3 graph–caption examples, denoted by R(G)={(Grk,Yrk)}k=1K⊆B\mathcal{R}(G) = \{(G_{r_k},Y_{r_k})\}_{k=1}^{K} \subseteq\mathcal{B}, where (rk)(r_k) indexes the (kthk^{\mathrm{th}}) retrieved example. Each selected graph–caption pair (Grk,Yrk)(G_{r_k},Y_{r_k}) is referred to as a retrieved example, consisting of a retrieved graph and its associated caption. During training, retrieval candidates from the query’s own surgical sequence are excluded to prevent self-retrieval and near-duplicate matches. Then, the caption generation is formulated as Pθ(Y∣G,R(G))P_{\theta}(Y \mid G,\mathcal{R}(G)). During inference, the full training memory bank is available for retrieval, as the query originates from an unseen surgical sequence.

Overview of GRAC

Figure 1. Overview of GRAC. The input surgical scene graph is encoded to capture surgical interactions and retrieve similar prior scene graphs with their corresponding captions. GRAC then compares the retrieved graphs with the current scene and uses these comparisons to guide caption generation through a Transformer decoder.

Scene-graph encoder and query memory

Given a scene graph G=(V,E)G = (V,E) with N=∣V∣N = |V| nodes representing the tissue and visible surgical instruments, GRAC employs an edge-aware Graph Attention Network (GATv2) [16] to capture structural and relational information. The encoder consists of two GATv2 layers, each with four attention heads of dimension 128, producing 512-dimensional node representations. During message passing, node features are updated through attention-weighted aggregation of neighboring node features, with edge information guiding the aggregation. Edge features contribute to the computation of attention coefficients, allowing node representations to be updated according to the observed instrument–tissue interactions. The resulting node features H∈RN×512H \in\mathbb{R}^{N \times512} are contextualized with edge information and are aggregated through attention pooling to obtain a graph-level representation hg∈R512h_g \in\mathbb{R}^{512}.

To preserve global scene context and individual instrument–tissue interactions, GRAC constructs a query memory using three types of tokens: a graph-level token (hgh_g), contextualized node tokens (HH), and interaction tokens derived from the original 512-dimensional edge features. Each node contributes one token, while each annotated instrument–tissue interaction contributes two directed edge tokens. The sequence is padded to a fixed length of 19 tokens (one graph token, up to six node tokens, and twelve edge tokens), sufficient to accommodate all graphs in both EndoVis-18 and TORS without truncation, with padded positions masked during attention. All tokens are projected into a shared 384-dimensional space and augmented with learned token-type and positional embeddings. A learned [CLS] token is prepended and the sequence is processed by a two-layer Transformer encoder with four attention heads to produce the query memory (QQ). This memory, together with the graph-conditioned representations of retrieved captions, guides the report decoder in generating surgical descriptions.

Contrastive Caption Retrieval

GRAC retrieves reference examples whose captions describe surgical activities similar to the query scene. During training, caption-supervised contrastive learning establishes a shared embedding space in which training graphs associated with similar relationships are encouraged to have similar representations. A query graph is subsequently mapped into this learned space using the same graph encoder and retrieval head, allowing GRAC to identify relevant training graphs through embedding similarity and retrieve their associated captions.

Here, a retrieval head fretf_{\mathrm{ret}} is implemented as a two-layer multilayer perceptron (MLP) with GELU activation and maps the pooled graph representation hgh_g of the current frame to an L2normalized embedding

z=fret(hg)∥fret(hg)∥2∈R128(1)\mathbf{z} = \frac{f_{\mathrm{ret}}(\mathbf{h}_g)}{\lVert f_{\mathrm{ret}}(\mathbf{h}_g) \rVert_2} \in\mathbb{R}^{128} \tag*{(1)}

For each query graph, its L2-normalized embedding is compared with the stored training graph embeddings using cosine similarity. During training, candidates from the query’s own surgical sequence are excluded to prevent self-retrieval and near-duplicate matches. Candidates are ranked by similarity, and the highest-ranked scene from each distinct instrument–action–target triplet set is retained until three graph–caption pairs are selected. This promotes diversity while reducing redundant descriptions of similar activities. Although InfoNCE learns graph similarities, the top-KK selection is non-differentiable, and similarity scores are detached before graph comparison. Thus, the retrieval head is trained only through InfoNCE, while the shared graph encoder is jointly optimized through caption-generation, contrastive retrieval, and compatibility objectives. The retrieved captions provide contextual examples, then GRAC utilizes subsequent graph comparison to account for differences between the query and retrieved surgical interactions.

Graph Comparison with Retrieved Scenes

For each retrieved scene, GRAC identifies instruments corresponding to those in the query graph and compares their instrument–tissue interactions. Instrument correspondence is established based on class labels, obtained from training annotations for retrieved graphs and predicted using a frozen eight-class multinomial logistic regression classifier for query graphs. For each matched instrument pair, GRAC extracts their contextualized node representations hqh_q and hrh_r from the GATv2 node embeddings HH of the query and retrieved graphs, respectively, along with their corresponding raw instrument–tissue edge features eqe_q and ere_r. Two learned linear projections P,R:R512→R128P, R : \mathbb{R}^{512} \to\mathbb{R}^{128} transform the node and edge features, respectively. With q=P(hq)q = P(h_q) and r=P(hr)r = P(h_r), the comparison vector is computed as

v=fcmp([q;r;q−r;q⊙r;R(eq);R(er);R(eq−er);s])∈R256(2)v = f_{\mathrm{cmp}}\left([q; r; q-r; q \odot r; R(e_q); R(e_r); R(e_q-e_r); s]\right) \in\mathbb{R}^{256} \tag*{(2)}

where ⊙\odot denotes element-wise multiplication, ss is the detached cosine similarity score from retrieval, and fcmpf_{\mathrm{cmp}} consists of two linear layers (897→\to256→\to256), GELU activation, and layer normalization. The terms qq and rr preserve individual instrument representations, while q−rq-r captures their differences and q⊙rq \odot r captures feature-wise agreement. Similarly, R(eq)R(e_q) and R(er)R(e_r) represent the respective instrument–tissue interactions, while R(eq−er)R(e_q-e_r) captures their differences. Together with the graph-level similarity score ss, these features form a comparison vector that conditions the corresponding retrieved caption tokens, as described in § 3.5.

Graph-Conditioned Caption Representations

For each query, GRAC constructs a caption memory from three retrieved examples, each padded to 20 word-token slots. Each caption is processed by a two-layer Transformer encoder (Table 6) to obtain contextualized token representations. The comparison vectors obtained in § 3.4 are then incorporated into the corresponding caption tokens to reflect differences between the retrieved and current surgical scenes.

ComponentConfiguration
Architecture and retrieval
Graph encoder2 GATv2 layers; hidden dimension 512; 4 heads; ELU; dropout 0.057
Query-memory encoder2 pre-norm Transformer layers; d=384d = 384; 4 heads; FFN 1,536; dropout 0.10
Retrieved-caption encoder2 pre-norm Transformer layers; d=384d = 384; 4 heads; FFN 1,536; dropout 0.10
Caption decoder2 Transformer layers; d=384d = 384; 4 heads; FFN 1,536; dropout 0.30
Retrieval128-dimensional embeddings; K=3K = 3 distinct triplet sets; bank refreshed every 10 steps and after each epoch
Optimization
Retrieved-caption dropout0.3 per caption; 0.1 for all captions
InfoNCE temperatureτ=0.1\tau= 0.1
Label smoothing0.0197
OptimizerAdamW; weight decay 10−410^{-4}
Learning rates1.08×10−41.08 \times10^{-4} (decoder backbone); 1.41×10−41.41 \times10^{-4} (other modules)
Learning-rate scheduleCosine annealing; Tmax⁡=80T_{\max} = 80 epochs; minimum LR 10−610^{-6}
Batch size32 captioning queries + 64 contrastive scenes
Gradient clipping1.0
Model selectionMinimum validation caption cross-entropy; maximum 80 epochs; patience 10
Inference and resources
DecodingBeam width 2; length normalization 0.8; maximum 20 tokens
Trainable parameters15,932,143 (15.9 M)
Hardware/softwareNVIDIA Tesla V100 (32 GB); PyTorch 2.5.1

Table 6. GRAC architecture, optimization, and inference configuration.

For each token ll, the associated comparison vectors are averaged to obtain v‾l∈R256\overline{\mathbf{v}}_l \in\mathbb{R}^{256}, or set to zero if no matching instrument is available. A learned embedding ml∈R32\mathbf{m}_l \in\mathbb{R}^{32} indicates its matching status (neutral, matched, shared, ambiguous, or unmatched). These features are combined with the original caption-token representation xl\mathbf{x}_l as

x~l=LN(Whxl+Wu[v‾l;ml])(3)\widetilde{x}_l = LN\left(W_h x_l + W_u[\overline{v}_l; m_l]\right) \tag*{(3)}

where WhW_h projects the caption-token representation into the 384-dimensional decoder space, Wu∈R384×288W_u \in\mathbb{R}^{384 \times288} projects the comparison and matching-status features, and LNLN denotes layer normalization. The resulting graph-conditioned caption memory, together with the independently encoded query graph, guides surgical description generation.

Training Objective and Inference

GRAC is jointly trained with three objectives: caption generation for accurate surgical descriptions, contrastive retrieval learning to align scenes with similar surgical activities, and compatibility supervision to capture factual agreements and discrepancies between retrieved captions and the query scene.

Caption-generation loss. The decoder is trained using teacher forcing with token-level cross-entropy and label smoothing. Given a ground-truth caption YY, the caption-generation loss is

Lcap=−∑t∑w∈Vp~t(w)log⁡Pθ(w∣Y<t,Q,X~)(4)\mathcal{L}_{cap} = -\sum_t \sum_{w \in\mathcal{V}} \widetilde{p}_t(w) \log P_{\theta}\left(w \mid Y_{<t}, Q, \widetilde{X}\right) \tag*{(4)}

where V\mathcal{V} is the caption vocabulary, p~t\widetilde{p}_t is the label-smoothed target distribution, QQ is the query memory, and X~\widetilde{X} denotes the graph-conditioned retrieved caption representations.

Contrastive retrieval loss. GRAC employs a multi-positive InfoNCE objective [23] to encourage similar graph embeddings for identical surgical activities across sequences while distinguishing different activities, even when the same instruments are present. Each batch contains 64 training frames: 16 forming eight cross-sequence positive pairs, 16 instrument-matched hard negatives, and 32 randomly sampled frames. For any two frames ii and jj, the temperature-scaled similarity between their L2-normalized graph embeddings ziz_i and zjz_j is sij=ziTzj/τs_{ij} = z_i^{\mathsf{T}}z_j/\tau, where τ=0.1\tau= 0.1. The contrastive loss is defined as

Lret=−1∣I∣∑i∈I1∣P(i)∣∑p∈P(i)log⁡exp⁡(sip)∑a∈A(i)exp⁡(sia)(5)\mathcal{L}_{ret} = -\frac{1}{|\mathcal{I}|}\sum_{i \in\mathcal{I}}\frac{1}{|\mathcal{P}(i)|}\sum_{p \in\mathcal{P}(i)}\log\frac{\exp(s_{ip})}{\sum_{a \in\mathcal{A}(i)}\exp(s_{ia})} \tag*{(5)}

where I\mathcal{I} is the set of frames ii having at least one positive match, P(i)\mathcal{P}(i) contains positive frames pp with identical instrument–action–target triplet sets from different sequences, and A(i)\mathcal{A}(i) contains comparison frames aa, excluding ii and frames sharing both its triplet set and surgical sequence. The notation ∣⋅∣|\cdot| denotes the number of elements in a set. Frames without positive matches do not contribute individual loss terms but can still serve as negatives for other frames.

Compatibility supervision. An auxiliary compatibility head learns whether the action–target relationship in a retrieved caption agrees with the corresponding instrument in the query scene. Using graph-comparison features and learned action–target embeddings, it predicts a compatibility score κr\kappa_r. Labels are derived from the query annotations, with additional negative examples generated from counterfactual action–target pairs. The objective uses positive-class-weighted binary cross-entropy:

Lcomp=−1N~∑r=1N~[wyrlog⁡σ(κr)+(1−yr)log⁡(1−σ(κr))](6)\mathcal{L}_{comp} = -\frac{1}{\widetilde{N}}\sum_{r=1}^{\widetilde{N}}\left[w y_r \log\sigma(\kappa_r) + (1-y_r)\log(1-\sigma(\kappa_r))\right] \tag*{(6)}

where yry_r is the binary compatibility label, N~\widetilde{N} is the number of scored pairs, and w=N~neg/N~posw = \widetilde{N}_{neg}/\widetilde{N}_{pos} is the positive-class weight estimated from initial training selections. This auxiliary loss supervises graph-comparison representations during training, while the compatibility head is omitted during inference. Thus, the overall training objective is

L=Lcap+λretLret+λcompLcomp(7)\mathcal{L}=\mathcal{L}_{cap}+\lambda_{ret}\mathcal{L}_{ret}+\lambda_{comp}\mathcal{L}_{comp} \tag*{(7)}

The three objectives jointly optimize caption generation, graph retrieval, and interaction-level compatibility. The captioning loss supervises the generated descriptions, the contrastive retrieval loss encourages the selection of relevant prior examples, and the compatibility loss supervises agreement between current and retrieved interactions. These objectives update their respective modules and shared representations during training. Since retrieval involves discrete selection of ranked examples, gradients from the captioning loss do not propagate through the retrieval ranking. The shared graph encoder, however, receives supervision from caption generation, contrastive retrieval, and compatibility objectives.

Inference. Given an input surgical scene graph, GRAC encodes its instrument–tissue interactions and retrieves (K=3K = 3) examples with distinct caption triplet sets from the fixed training memory bank. The retrieved graphs are compared with the query graph, and the resulting features condition their associated caption representations. The decoder then generates a description using both the encoded query graph and the graph-conditioned caption memory. The auxiliary compatibility head is used only during training. Captions are generated using beam search with a beam width of 2, a length-normalization factor of 0.8, and a maximum output length of 20 tokens.

Results

Comparison with Baselines

GRAC achieves the highest reported language-generation performance among the evaluated methods on EndoVis-18, with CIDEr-D of 5.883 ± 0.085, BLEU-4 of 0.715 ± 0.006, METEOR of 0.541 ± 0.007, and ROUGE-L of 0.828 ± 0.008 (Table 1, Figure 2). SGT achieves the second-highest CIDEr-D of 4.234 ± 0.604, while Transformer is the strongest conventional baseline on this measure at 3.356 ± 0.144.

Comparison of GRAC with interaction-feature-augmented baselines and SGT on EndoVis-18

Figure 2. Comparison of GRAC with interaction-feature-augmented baselines (†) and SGT on EndoVis-18 (392 frames). Bars show the mean over three seeds, with error bars for SD; in (a), circles are individual seeds. (a) CIDEr-D; *** p<0.001p < 0.001 vs GRAC (paired frame-level bootstrap, B=10,000B = 10{,}000, Holm-corrected). (b) Language metrics. (c) Instrument hallucination (lower is better). (d) Triplet-level factual correctness.

Table 1: Performance on EndoVis-18 (392 frames). (a) Language-generation metrics; values are mean (first line) and ±SD (second line) over three seeds, and higher is better for all metrics. (b) Paired frame-level bootstrap comparison of GRAC with each baseline in CIDEr-D (GRAC minus baseline; 10,000 resamples; two-sided, Holm-adjusted p-values).

(a) Language-generation metrics
ModelBLEU 1BLEU 2BLEU 3BLEU 4METEORROUGE-LCIDEr-D
Transformer†0.653 ±0.0210.604 ±0.0190.556 ±0.0170.514 ±0.0160.458 ±0.0090.697 ±0.0183.356 ±0.144
M2^{2} Transformer†0.645 ±0.0480.591 ±0.0470.541 ±0.0510.501 ±0.0570.444 ±0.0120.688 ±0.0043.116 ±0.356
AoA†0.525 ±0.0640.466 ±0.0690.409 ±0.0700.357 ±0.0770.389 ±0.0940.646 ±0.0352.220 ±0.283
GET†0.621 ±0.0130.570 ±0.0100.523 ±0.0070.482 ±0.0060.455 ±0.0140.686 ±0.0143.239 ±0.286
SGT0.744 ±0.0440.694 ±0.0390.647 ±0.0340.610 ±0.0330.459 ±0.0030.751 ±0.0214.234 ±0.604
GRAC (ours)0.810 ±0.0060.774 ±0.0060.741 ±0.0060.715 ±0.0060.541 ±0.0070.828 ±0.0085.883 ±0.085
(b) CIDEr-D comparison with GRAC
BaselineΔ\DeltaCIDEr-D95% CIAdjusted p-value
Transformer†+2.527[2.134, 2.932]< 0.001
M2^{2} Transformer†+2.768[2.338, 3.216]< 0.001
AoA†+3.663[3.298, 4.044]< 0.001
GET†+2.644[2.252, 3.048]< 0.001
SGT+1.650[1.394, 1.917]< 0.001

Table 1.

For triplet-based factual agreement (Table 2), GRAC achieves an exact triplet-set accuracy of 0.526 ± 0.008 and a triplet F1 of 0.636 ± 0.012. SGT is the strongest baseline in exact-set accuracy (0.327 ± 0.114), followed by GET (0.262 ± 0.043). SGT achieves a triplet F1 of 0.510 ± 0.107. GRAC exceeds SGT by 0.199 in exact-set accuracy (95% CI [0.171, 0.228]) and 0.126 in triplet F1 (95% CI [0.107, 0.147]).

Table 2: Triplet-based factual agreement on EndoVis-18 (392 frames). Values are mean ± SD over three seeds. Higher is better except instrument hallucination (↓\downarrow).

ModelExact setTriplet prec.Triplet recallTriplet F1Instr. halluc. ↓\downarrow
Transformer†0.253±0.0230.473±0.0200.569±0.0230.516±0.0210.056±0.019
M2^{2} Transformer†0.221±0.0590.437±0.0340.530±0.0050.479±0.0220.041±0.010
AoA†0.090±0.0930.357±0.0790.401±0.0660.369±0.0170.080±0.061
GET†0.262±0.0430.457±0.0320.573±0.0540.508±0.0410.052±0.008
SGT0.327±0.1140.479±0.0830.547±0.1370.510±0.1070.047±0.003
GRAC (ours)0.526±0.0080.616±0.0100.657±0.0130.636±0.0120.037±0.015

Table 2.

Paired frame-level bootstrap analysis with 10,000 resamples shows that GRAC outperforms all baselines in CIDEr-D, exact triplet-set accuracy, and triplet F1 (Holm-adjusted p<0.001p < 0.001). GRAC exceeds every baseline in each of the three seeds on these primary metrics. An error analysis further examined instruments, action, and target correctness. Each predicted triplet was classified as having a wrong or extra instrument relative to the reference, a wrong action, a wrong target, or no error. Wrong-instrument rates were calculated over all predicted triplets, whereas wrong-action and wrong-target rates were calculated among predictions whose instruments appeared in the reference. GRAC had fewer wrong or extra instruments (0.210) than SGT (0.260) and the conventional baselines (0.374–0.439). Among instrument-matched predictions, GRAC also had a lower wrong-action rate (0.215) than SGT (0.344), AoA (0.343), and Transformer (0.242), with statistically significant differences (Holm-adjusted p≤0.034p \le0.034). Differences from M2M^{2} Transformer and GET were not significant. Wrong-target rates remained below 0.02 across all models under the normalized parser.

Ablation Study

Retrieval-set size. We evaluated the effect of retrieving K∈{1,3,5}K \in\{1, 3, 5\} examples on the development split across three seeds. Although caption quality was comparable for K=1K = 1 and K=3K = 3, retrieving three examples increased the likelihood of including the correct surgical activity (R@1=0.621\mathrm{R}@1 = 0.621; R@3=0.855\mathrm{R}@3 = 0.855). Increasing the retrieval set to K=5K = 5 did not improve caption quality. We therefore retained the prespecified K=3K = 3 configuration to provide broader coverage of potentially relevant surgical activities.

Interaction Features and Retrieval. The ablation results demonstrate the complementary contributions of interaction-edge features and caption retrieval. Removing both components yields a CIDEr-D score of 4.870. Incorporating interaction-edge features without retrieval improves performance to 5.632, highlighting the importance of explicitly modeling instrument–tissue relationships. Adding caption-only retrieval further increases CIDEr-D to 5.805, suggesting that retrieved descriptions provide complementary contextual information beyond the query graph representation. Together, these findings indicate that relational scene modeling and retrieval augmentation contribute incrementally to caption generation performance.

Graph Comparison and Compatibility Supervision. Introducing graph comparison without compatibility supervision yields a CIDEr-D score of 5.744, compared with 5.805 for caption-only retrieval, indicating that comparison features alone do not improve mean caption quality under the evaluated configuration. Incorporating compatibility supervision increases CIDEr-D to 5.883, exact triplet-set accuracy to 0.526, and triplet F1 to 0.636, compared with 5.805, 0.520, and 0.630, respectively, for caption-only retrieval. However, these incremental differences do not reach statistical significance in the paired frame-level analysis (CIDEr-D: p=0.054p = 0.054; exact triplet-set accuracy: p=0.21p = 0.21; triplet F1: p=0.23p = 0.23). In contrast, instrument hallucination decreases from 0.049 to 0.037 (p=0.003p = 0.003). These findings suggest that compatibility supervision may help the model utilize graph-comparison features, with the clearest observed benefit being reduced instrument hallucination rather than a substantial improvement in aggregate caption accuracy.

This result suggests that introducing relational comparison features does not necessarily improve generation when their relevance to the current surgical activity is learned only through caption supervision. The improvement observed with compatibility supervision is consistent with the auxiliary objective helping the model learn more useful comparison representations, although the present experiments do not directly establish this mechanism.

Temporal Context. Incorporating neighboring frames (t−1t - 1), (tt), and (t+1t + 1) yields a CIDEr-D score of 5.749 and an exact triplet-set accuracy of 0.514, compared with 5.883 and 0.526, respectively, for the single-frame GRAC model. Although temporal context produces a slight improvement in BLEU-4, it does not improve CIDEr-D or exact triplet-set accuracy. These findings indicate that incorporating adjacent frames provides no additional benefit on the primary evaluation metrics under the current experimental setting. The single-frame configuration was selected on the DEV split and does not require neighboring frames during inference; benchmark results for the temporal variant are reported for completeness.

Table 3 and Figure 3 summarize the language-generation performance of the ablation variants across three training seeds. Paired frame-level bootstrap comparisons were performed between full GRAC and the ablation variants, whereas the successive component differences were otherwise interpreted descriptively.

Ablation of GRAC on EndoVis-18

Figure 3. Ablation of GRAC on EndoVis-18 (392 frames). Bars show CIDEr-D (mean ±\pm SD over three seeds; dots are individual seeds; y-axis starts at 4.0). pp-values compare each variant with GRAC using a paired frame-level bootstrap (B=10,000B = 10{,}000), Holm-corrected across comparisons.

Table 3: GRAC ablations on EndoVis-18 (392 frames). (a) Component configuration of each variant; a check mark denotes an enabled component and a dash an excluded component; the default input is frame tt. (b) Language-generation results; values are mean ±\pm SD over three seeds, and higher is better.

(a) Component configuration
VariantEdge featuresRetrievalGraph comparisonCompat. lossQuery frames
No retrieval or edges––––tt
Graph only (with edges)✓–––tt
Caption retrieval✓✓––tt
Comparison, no compat. loss✓✓✓–tt
Temporal context✓✓✓✓t−1,t,t+1t-1, t, t+1
GRAC (ours)✓✓✓✓tt
(b) Language-generation results
VariantBLEU-4METEORROUGE-LCIDEr-D
No retrieval or edges0.651±0.0140.651\pm0.0140.493±0.0180.493\pm0.0180.778±0.0250.778\pm0.0254.870±0.4504.870\pm0.450
Graph only (with edges)0.699±0.0190.699\pm0.0190.527±0.0060.527\pm0.0060.811±0.0140.811\pm0.0145.632±0.0905.632\pm0.090
Caption retrieval0.710±0.0130.710\pm0.0130.532±0.0160.532\pm0.0160.814±0.0220.814\pm0.0225.805±0.1425.805\pm0.142
Comparison, no compat. loss0.709±0.0140.709\pm0.0140.531±0.0130.531\pm0.0130.818±0.0160.818\pm0.0165.744±0.1985.744\pm0.198
Temporal context0.721±0.0090.721\pm0.0090.532±0.0100.532\pm0.0100.821±0.0130.821\pm0.0135.749±0.1515.749\pm0.151
GRAC (ours)0.715±0.0060.715\pm0.0060.541±0.0070.541\pm0.0070.828±0.0080.828\pm0.0085.883±0.0855.883\pm0.085

Table 3. GRAC ablations on EndoVis-18 (392 frames). (a) Component configuration of each variant; a check mark denotes an enabled component and a dash an excluded component; the default input is frame tt. (b) Language-generation results; values are mean ±\pm SD over three seeds, and higher is better.

Comparison with caption copying. To assess whether caption generation provides benefits beyond retrieving previously observed descriptions, we evaluated a Top-1 Copy baseline that directly outputs the caption of GRAC’s highest-ranked training example (Table 4). Top-1 Copy achieved a CIDEr-D of 5.332 ±\pm 0.150 and an exact triplet-set accuracy of 0.461 ±\pm 0.012, compared with 5.883 ±0.085\pm0.085 and 0.526±0.0080.526 \pm0.008 for GRAC. The improvements were statistically significant (CIDEr-D: +0.552+0.552, 95% CI [0.353, 0.760]; exact-set accuracy: +0.065+0.065, 95% CI [0.044, 0.088]; Holm-adjusted p<0.001p < 0.001). The caption-only retrieval variant achieved a CIDEr-D of 5.805±0.1425.805 \pm0.142, accounting for most of the improvement over copying. These findings indicate that retrieval of recurring surgical activities explains a substantial portion of the performance, while generation conditioned on the query graph provides additional benefits. Representative qualitative examples are shown in Figure 4.

Qualitative examples from the EndoVis-18 benchmark

Figure 4. (a) Retrieval correct. Top-1 retrieved ✓ A prograsp forcep manipulating kidney tissue. GRAC ✓ A prograsp forcep manipulating kidney tissue. Caption-only ✓ A prograsp forcep manipulating kidney tissue. Transformer† ✓ A prograsp forcep manipulating kidney tissue. Reference A prograsp forcep manipulating kidney tissue. (b) Retrieved action wrong; GRAC corrects it. Top-1 retrieved ✗ A monopolar curved scissor is cutting kidney tissue and a bipolar forcep is retracting kidney tissue. GRAC ✓ A monopolar curved scissor is cutting kidney tissue and a bipolar forcep is manipulating kidney tissue. Caption-only ✗ A monopolar curved scissor is cutting kidney tissue and a bipolar forcep is retracting kidney tissue. Transformer† ✗ A monopolar curved scissor is cutting kidney tissue and a bipolar forcep is retracting kidney tissue. Reference A monopolar curved scissor is cutting kidney tissue and a bipolar forcep is manipulating kidney tissue. (c) Retrieval wrong; all models fail. Top-1 retrieved ✗ A monopolar curved scissor cauterizing kidney tissue. GRAC ✗ A monopolar curved scissor is cutting kidney tissue and a bipolar forcep is retracting kidney tissue. Caption-only ✗ A bipolar forcep retracting kidney tissue. Transformer† ✗ A bipolar forcep retracting kidney tissue. Reference A monopolar curved scissor cutting kidney tissue. (d) Baseline names an instrument absent from the scene. Top-1 retrieved ✗ A bipolar forcep retracting kidney tissue. GRAC ✗ A bipolar forcep retracting kidney tissue. Caption-only ✗ A bipolar forcep retracting kidney tissue. Transformer† ✗ A prograsp forcep manipulating kidney tissue. Reference A bipolar forcep manipulating kidney tissue. Bold red: instrument, action or target that disagrees with the reference. ✓ / ✗: predicted triplet set matches / differs from the reference.

Table 4: Retrieval-only versus generated captions on EndoVis-18 (392 frames). Values are mean ±\pm SD across three seeds; instrument hallucination is lower-is-better.

MethodCIDEr-DBLEU-4Exact setTriplet F1Instr. halluc. ↓
Top-1 Copy5.332±0.1505.332\pm0.1500.696±0.0130.696\pm0.0130.461±0.0120.461\pm0.0120.576±0.0130.576\pm0.0130.060±0.0110.060\pm0.011
Caption Retrieval5.805±0.1425.805\pm0.1420.710±0.0130.710\pm0.0130.520±0.0150.520\pm0.0150.630±0.0130.630\pm0.0130.049±0.0100.049\pm0.010
GRAC (ours)5.883±0.0855.883\pm0.0850.715±0.0060.715\pm0.0060.526±0.0080.526\pm0.0080.636±0.0120.636\pm0.0120.037±0.015∗∗0.037\pm0.015**

Table 4. Retrieval-only versus generated captions on EndoVis-18 (392 frames). Values are mean ±\pm SD across three seeds; instrument hallucination is lower-is-better.

Evaluation of a Second Dataset (TORS)

To examine whether GRAC’s performance advantage extends beyond EndoVis-18, we conducted an additional evaluation on the TORS dataset. All models were trained from scratch using the TORS training split, with checkpoint selection performed on the validation split, followed by retraining on the combined training and validation data. Each experiment was conducted with three random seeds, without TORS-specific hyperparameter tuning. Given the small validation set of 30 frames, minimum validation caption loss was used for checkpoint selection across all models. All methods received the released TORS scene-graph features, and performance was evaluated on 36 frames from three test sequences.

GRAC achieves the highest language-generation performance on TORS (Table 5), obtaining a CIDEr-D score of 5.06±0.265.06 \pm0.26 and BLEU-4 of 0.444±0.0310.444 \pm0.031. The strongest competing models are Transformer (CIDEr-D 3.80±1.353.80 \pm1.35) and SGT (3.73±1.463.73 \pm1.46). GRAC improves CIDEr-D over Transformer by 1.261.26 (95% CI [0.31, 2.25], p=0.010p = 0.010) and over SGT by 1.341.34 (95% CI [0.59, 2.11], p<0.001p < 0.001). Significant improvements are also observed over the remaining baselines. GRAC’s CIDEr-D also varied little across the three training seeds (SD 0.260.26, compared with 1.191.19–1.691.69 for Transformer, M2^{2}, AoA, and SGT).

(a) Language generation
ModelBLEU-4CIDEr-DΔ\DeltaCIDEr-D95% CIAdjusted p-value
Transformer{sup}†`0.396±\pm0.0113.80±\pm1.35+1.26[0.31, 2.25]0.010
M² Transformer{sup}†`0.363±\pm0.0613.67±\pm1.69+1.39[0.73, 2.08]< 0.001
AoA{sup}†`0.359±\pm0.0453.61±\pm1.19+1.46[0.86, 2.11]< 0.001
GET{sup}†`0.307±\pm0.0191.97±\pm0.24+3.09[1.51, 4.70]< 0.001
SGT0.387±\pm0.0383.73±\pm1.46+1.34[0.59, 2.11]< 0.001
GRAC (ours)0.444±\pm0.0315.06±\pm0.26–––
(b) Triplet-based factual agreement
ModelExact setTriplet F1Instr. halluc. ↓\downarrow
Transformer{sup}†`0.352±\pm0.1600.592±\pm0.0380.102±\pm0.016
M² Transformer{sup}†`0.333±\pm0.1920.523±\pm0.1570.222±\pm0.192
AoA{sup}†`0.324±\pm0.1430.508±\pm0.1290.222±\pm0.147
GET{sup}†`0.130±\pm0.0160.331±\pm0.0110.455±\pm0.039
SGT0.343±\pm0.1530.516±\pm0.1430.245±\pm0.189
GRAC (ours)0.454±\pm0.0160.621±\pm0.0130.083±\pm0.028

Table 5. TORS test-set performance (36 frames). Values are mean ±\pm SD over three seeds. (a) Language generation, including the CIDEr-D comparison with GRAC (GRAC minus baseline; paired frame-level bootstrap, 10,000 resamples; Holm-adjusted p-values). (b) Triplet-based factual agreement (↓\downarrow: lower is better).

For factual agreement, GRAC achieves the highest exact triplet-set accuracy (0.4540.454) and triplet F1-score (0.6210.621), together with the lowest instrument hallucination rate (0.0830.083). Compared with M2^{2}, AoA, GET, and SGT, improvements across all three factual metrics are statistically significant (p≤0.009p \le0.009). Relative to Transformer, the strongest competing model on these measures, the

Figure 4: Qualitative examples from the EndoVis-18 benchmark (sequences 1, 5 and 16). One frame was selected per category, at the median position among the frames that met the category definition: (a) correct Top-1 retrieval, (b) Top-1 retrieval with a wrong action that GRAC corrects, (c) wrong Top-1 retrieval with all models failing, and (d) a baseline naming an instrument absent from the scene. Bold red marks an instrument, action or target that disagrees with the reference; when the instrument is wrong, the whole triplet is marked. ✓/✗ indicate whether the predicted triplet set matches the reference.

improvement in exact triplet-set accuracy is smaller (+0.102, p = 0.043), while differences in triplet F1 (+0.029) and instrument hallucination (−0.019) are not statistically significant.

The TORS evaluation provides complementary evidence that GRAC’s relative advantage can be reproduced after independent training on a second surgical captioning dataset. Under the stated TORS protocol, GRAC has the highest mean language and triplet-based factual-agreement scores among the evaluated models. However, the evaluation comprises only 36 frames from three test sequences, and the reference captions are concentrated in recurring activities; the training set is likewise small. Accordingly, this result should be interpreted as within-dataset replication under a different surgical setting, not zero-shot transfer from EndoVis-18 or proof of robust generalization to independent clinical populations.

Experiments

Experimental Setup and Evaluation

Datasets. We evaluate GRAC on EndoVis-18 [2, 3, 8], comprising 14 annotated robotic nephrectomy sequences with region-of-interest features, instrument–tissue interactions, and reference captions. Sequences 1, 5, and 16 (392 frames) form the held-out benchmark, while the remaining 11 sequences (1,124 frames) are divided into FIT (sequences 2, 3, 4, 6, 7, 10, 12, 14, and 15; 963 frames) and DEV (sequences 9 and 11; 161 frames). Training captions contain 56 distinct descriptions and 46 unique instrument–action–target triplet sets, with the five most frequent captions covering 55.6% of frames. The training vocabulary contains 45 words. We additionally evaluate on TORS [3, 4], comprising 181 frames from 20 transoral robotic surgery sequences, using its predefined split of 115 training frames (14 sequences), 30 validation frames (sequences 1, 8, and 16), and 36 test frames (sequences 3, 10, and 17). The TORS training vocabulary contains 24 words.

Training protocol. Hyperparameters and training duration are selected using the EndoVis-18 FIT/DEV split. GRAC and its ablations use minimum DEV caption cross-entropy for early stopping (patience 10; maximum 80 epochs), while baselines follow their respective training procedures with selection based on DEV CIDEr. All models are subsequently retrained from scratch on the 11 training sequences for their selected durations and evaluated using three independent seeds (1, 42, and 7). Benchmark data are excluded from all development decisions. On TORS, models are trained from scratch using the same architectures and hyperparameters without dataset-specific tuning.

Evaluation metrics. Caption quality is assessed using BLEU-1–4, METEOR, ROUGE-L, and CIDEr-D through the COCO evaluation toolkit [24, 25] (Java METEOR 1.5), following lowercasing and punctuation removal. CIDEr-D is reported on its native scale. For factual evaluation, a rule-based parser extracts instrument–action–target triplets [26], treating “kidney” and “kidney tissue” as equivalent targets across all methods. We report exact triplet-set accuracy, micro-averaged triplet precision, recall, and F1, and instrument hallucination, defined as the proportion of predicted instrument mentions absent from frame annotations. These metrics assess factual agreement but depend on parsing and annotation quality and do not directly quantify clinical error severity.

Statistical analysis. Results are reported as mean ±\pm standard deviation across three seeds. Statistical comparisons use 10,000 paired frame-level bootstrap resamples (392 EndoVis-18 and 36 TORS frames), with identical sampled indices across methods and seeds. Metrics are recomputed and averaged across seeds for each resample. We report 95% percentile confidence intervals and two-sided pp-values with Holm correction. Given within-sequence correlation, inference is limited to frame-level rather than procedure-level variability.

Discussion

The results demonstrate that GRAC benefits from combining relational graph representations with activity-guided retrieval for surgical description generation. The ablation and error analyses further reveal distinct contributions from graph encoding, retrieved descriptions, and supervised graph comparison, particularly in improving factual agreement.

Graph Encoding and Activity-Guided Retrieval

The ablation results show that instrument–tissue interactions and retrieved captions make complementary contributions to caption generation. Incorporating edge features increases CIDEr-D from 4.870 to 5.632, indicating the importance of relational information beyond individual node representations. Adding caption retrieval further improves performance to 5.805, suggesting that previously observed surgical descriptions provide useful contextual information when similar activities recur across sequences.

Importantly, these gains cannot be explained by direct caption copying alone. Reproducing the highest-ranked retrieved caption achieves CIDEr-D of 5.332 and exact triplet-set accuracy of 0.461, compared with 5.883 and 0.526 for GRAC. The improvement indicates that combining retrieved descriptions with query-specific graph information provides benefits beyond simply reusing the closest caption. Nevertheless, the relatively strong copying baseline highlights the influence of recurring activities and the restricted caption vocabulary.

Additional experiments indicate that providing more context does not necessarily improve caption generation. Increasing the number of retrieved examples beyond three reduced performance, while incorporating neighboring frames offered no improvement over the single-frame configuration. These findings suggest that the relevance of contextual information may be more important than its quantity in the evaluated setting.

Graph Comparison and Factual Reliability

The graph-comparison results reveal a distinction between improvements in language quality and factual grounding. Adding comparison features without compatibility supervision reduces CIDEr-D to 5.744, below caption-only retrieval (5.805). The complete model achieves 5.883, although its incremental CIDEr-D improvement over caption-only retrieval is not statistically significant (p=0.054p = 0.054). In contrast, instrument hallucination decreases significantly from 0.049 to 0.037 (p=0.003p = 0.003). This suggests that compatibility supervision helps the model use comparison features, with its clearest observed benefit being improved instrument-level factual agreement rather than a substantial increase in aggregate caption quality.

The error analysis provides further insight into this effect. GRAC corrected 26 instrument errors compared with eight regressions, indicating that graph-conditioned caption representations can help prevent incorrect instrument mentions. However, correcting action errors remains challenging. When the highest-ranked retrieved caption contains the correct instruments but an incorrect action, GRAC reproduces that action in 54–71% of the examined frames. Thus, successful instrument correspondence does not necessarily ensure correct interpretation of the associated surgical activity.

These findings highlight that improved retrieval and instrument-level grounding do not necessarily ensure correct action descriptions, emphasizing the need for more reliable alignment between retrieved surgical interactions and the query scene.

Evaluation and Generalizability

GRAC outperforms the evaluated baselines under the common experimental protocol, including the reproduced SGT model (CIDEr-D: 5.883 versus 4.234). However, comparisons with published SGT and SGT++ results require consideration of differences in input features and evaluation procedures. The published SGT protocols involves benchmark-based model selection, whereas GRAC’s primary training procedure used development-based checkpoint selection. The lack of a complete public SGT++ implementation and matching processed features further limits direct comparison with its published results. An additional evaluation on TORS supports the applicability of GRAC’s approach to another surgical setting, achieving CIDEr-D of 5.06 and exact triplet-set accuracy of 0.454. However, this experiment involved independent training rather than cross-dataset transfer and included only 36 test frames from three sequences.

Practical Implications and Future Directions

Generating concise descriptions of instrument–tissue interactions could support surgical video indexing, activity-based retrieval, and procedural review. By combining retrieved linguistic context with scene-specific relational information, GRAC provides a framework for generating descriptions grounded in structured surgical observations. However, its current output consists of frame-level descriptions rather than complete operative reports.

Despite improved captioning performance, GRAC’s evaluation remains limited by repetitive surgical activities, modest factual accuracy, and small procedure-specific datasets. Further validation on diverse surgical procedures and previously unseen activities is needed to establish its generalizability and clinical reliability. Future work should evaluate the framework using automatically predicted scene graphs and more diverse surgical procedures, with expert assessment of factual accuracy and clinical relevance.

Conclusion

This study presents GRAC, a graph-based retrieval-augmented framework that improves surgical scene captioning performance on EndoVis-18 and TORS. The results demonstrate the complementary benefits of interaction-aware graph encoding and caption retrieval, while compatibility-supervised graph comparison further reduces instrument hallucination. These findings highlight the potential of structured retrieval for generating more accurate and factually consistent surgical scene descriptions.

Declarations

Code and data availability. The code used to generate the reported results will be made publicly available at https://github.com/MIILab-MTU/SurgicalVideoCaptioningByGRAC upon publication. EndoVis-18 and TORS are publicly available from their original sources.

Funding. This research was supported in part by grants from the National Institutes of Health (1R15HL172198 and 1R15HL173852) and the American Heart Association (25AIREA1377168).

Conflict of interest. Dr. Weihua Zhou reports consulting fees from SynterMed Inc., outside the submitted work. All other authors declare no competing interests.

Ethics approval. This study used only publicly available, de-identified datasets; no new data were collected, and ethics approval was not required.

References

  1. [1]Maier-Hein L, Vedula SS, Speidel S, Navab N, Kikinis R, Park A, Eisenmann M, Feussner H, Forestier G, Giannarou S, Hashizume M, Katic D, Kenngott H, Kranzfelder M, Malpani A, März K, Neumuth T, Padoy N, Pugh C, Schoch N, Stoyanov D, Taylor R, Wagner M, Hager GD, Jannin P. Surgical data science for next-generation interventions. Nature Biomedical Engineering 2017;1:691–6. https://doi.org/10.1038/s41551-017-0132-7.
  2. [2]Islam M, Seenivasan L, Lim CM, Ren H. Learning and reasoning with the graph structure representation in robotic surgery, Springer; 2020, p. 627–36. https://doi.org/10.1007/978-3-030-59716-0_60.
  3. [3]Xu M, Islam M, Lim CM, Ren H. Learning domain adaptation with model calibration for surgical report generation, IEEE; 2021. https://doi.org/10.1109/ICRA48506.2021.9561569.
  4. [4]Xu M, Islam M, Lim CM, Ren H. Class-incremental domain adaptation with smoothing and calibration for surgical report generation, Springer; 2021, p. 269–78. https://doi.org/10.1007/978-3-030-87202-1_26.
  5. [5]Lin C, Zheng S, Liu Z, Li Y, Zhu Z, Zhao Y. SGT: Scene graph-guided transformer for surgical report generation, Springer; 2022. https://doi.org/10.1007/978-3-031-16449-1_48.
  6. [6]Ramos R, Martins B, Elliott D, Kementchedjhieva Y. SmallCap: Lightweight image captioning prompted with retrieval augmentation, 2023, p. 2840–9. https://doi.org/10.1109/CVPR52729.2023.00278.
  7. [7]Ramos R, Elliott D, Martins B. Retrieval-augmented image captioning, 2023, p. 3666–81. https://doi.org/10.18653/v1/2023.eacl-main.266.
  8. [8]Allan M, Kondo S, Bodenstedt S, Leger S, Kadkhodamohammadi R, Luengo I, Fuentes F, Flouty E, Mohammed A, Pedersen M, Kori A, Alex V, Krishnamurthi G, Rauber D, Mendel R, Palm C, Bano S, Saibro G, Shih C-S, Chiang H-A, Zhuang J, Yang J, Iglovikov V, Dobrenkii A, Reddiboina M, Reddy A, Liu X, Gao C, Unberath M, Kim M, Kim C, Kim H, Lee G, Ullah I, Luna M, Park SH, Azizian M, Stoyanov D, Maier-Hein L, Speidel S. 2018 robotic scene segmentation challenge. arXiv 2020.
  9. [9]Yuan K, Kattel M, Lavanchy JL, Navab N, Srivastav V, Padoy N. Advancing surgical VQA with scene graph knowledge. International Journal of Computer Assisted Radiology and Surgery 2024;19:1409–17. https://doi.org/10.1007/s11548-024-03141-y.
  10. [10]Lin C, Zhu Z, Zhao Y, Zhang Y, He K, Zhao Y. SGT++: Improved scene graph-guided transformer for surgical report generation. IEEE Transactions on Medical Imaging 2024;43:1337–46. https://doi.org/10.1109/TMI.2023.3335909.
  11. [11]Xu M, Islam M, Ren H. Rethinking surgical captioning: End-to-end window-based MLP transformer using patches, Springer; 2022, p. 376–86. https://doi.org/10.1007/978-3-031-16449-1_36.
  12. [12]Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I. Attention is all you need. vol. 30, 2017, p. 5998–6008.arxiv.org/abs/1706.03762
  13. [13]Cornia M, Stefanini M, Baraldi L, Cucchiara R. Meshed-memory transformer for image captioning, 2020, p. 10578–87. https://doi.org/10.1109/CVPR42600.2020.01059.
  14. [14]Huang L, Wang W, Chen J, Wei X-Y. Attention on attention for image captioning, 2019, p. 4634–43. https://doi.org/10.1109/ICCV.2019.00473.
  15. [15]Ji J, Luo Y, Sun X, Chen F, Luo G, Wu Y, Gao Y, Ji R. Improving image captioning by leveraging intra- and inter-layer global representation in transformer network. Proceedings of the AAAI Conference on Artificial Intelligence 2021;35:1655–63. https://doi.org/10.1609/aaai.v35i2.16258.
  16. [16]Brody S, Alon U, Yahav E. How attentive are graph attention networks?, 2022.arxiv.org/abs/2105.14491
  17. [17]Veličković P, Cucurull G, Casanova A, Romero A, Liò P, Bengio Y. Graph attention networks, 2018.arxiv.org/abs/1710.10903
  18. [18]Lewis P, Perez E, Piktus A, Petroni F, Karpukhin V, Goyal N, Küttler H, Lewis M, Yih W, Rocktäschel T, Riedel S, Kiela D. Retrieval-augmented generation for knowledge-intensive NLP tasks. vol. 33, 2020, p. 9459–74.arxiv.org/abs/2005.11401
  19. [19]Li Y, Pan Y, Yao T, Mei T. Comprehending and ordering semantics for image captioning, 2022, p. 17990–9.arxiv.org/abs/2206.06930
  20. [20]Jeong J, Tian K, Li A, Hartung S, Adithan S, Behzadi F, Calle J, Osayande D, Pohlen M, Rajpurkar P. Multimodal image-text matching improves retrieval-based chest X-ray report generation. vol. 227, PMLR; 2024, p. 978–90.arxiv.org/abs/2303.17579
  21. [21]Sun L, Zhao JJ, Han W, Xiong C. Fact-aware multimodal retrieval augmentation for accurate medical radiology report generation, 2025, p. 643–55. https://doi.org/10.18653/v1/2025.naacl-long.28.
  22. [22]Liu J, Zhu Y, Feng J, Zhang X, Zhou Z, Tao Y, Duan H. Long-text caption generation for surgical image with a concept retrieval augmented large multimodal model. PLOS ONE 2026;21:e0343823. https://doi.org/10.1371/journal.pone.0343823.
  23. [23]Khosla P, Teterwak P, Wang C, Sarna A, Tian Y, Isola P, Maschinot A, Liu C, Krishnan D. Supervised contrastive learning. vol. 33, 2020.arxiv.org/abs/2004.11362
  24. [24]Chen X, Fang H, Lin T-Y, Vedantam R, Gupta S, Dollár P, Zitnick CL. Microsoft COCO captions: Data collection and evaluation server. arXiv 2015.DOI
  25. [25]Vedantam R, Zitnick CL, Parikh D. CIDEr: Consensus-based image description evaluation, 2015, p. 4566–75. https://doi.org/10.1109/CVPR.2015.7299087.
  26. [26]Nwoye CI, Yu T, Gonzalez C, Seeliger B, Mascagni P, Mutter D, Marescaux J, Padoy N. Rendezvous: Attention mechanisms for the recognition of surgical action triplets in endoscopic videos. Medical Image Analysis 2022;78:102433. https://doi.org/10.1016/j.media.2022.102433.

Paper details

vlnc:W_93849agf
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents