SurgAnt-ViVQA: Learning to Anticipate Surgical Events through GRU-Driven Temporal Cross-Attention

Shreyas C. Dhake, Jiayuan Huang, Runlong He, Danyal Z. Khan, Evangelos B. Mazomenos, Sophia Bano, Hani J. Marcus, Danail Stoyanov, Matthew J. Clarkson, Mobarak I. HoquearXiv 2025

TL;DR

SurgAnt-ViVQA advances surgical AI from retrospective description to proactive anticipation by introducing a video-language model driven by GRU-gated temporal cross-attention. Alongside the model, the authors introduce PitVQA-Anticipation, the first large-scale surgical Visual Question Answering (VQA) dataset designed specifically for forecasting future phases, steps, instruments, and remaining operative time.

What Problem Does This Paper Address?

In complex, minimally invasive procedures like endonasal transsphenoidal pituitary surgery, surgeons operate within narrow anatomical corridors with a highly restricted field of view. Real-time AI assistance could drastically improve operating room (OR) efficiency—for instance, by helping scrub nurses prepare instruments ahead of time or optimizing OR scheduling.

However, existing surgical VQA systems are fundamentally retrospective. They analyze isolated video frames or short clips to answer questions about the current scene (e.g., "What instrument is being used right now?"). They lack the temporal reasoning required to understand surgical progression and predict upcoming events. Furthermore, existing benchmarks do not provide the forward-looking question-answer (QA) pairs needed to train predictive models.

Methods

To enable predictive reasoning, the authors propose SurgAnt-ViVQA, a video-language architecture that integrates temporal video dynamics directly into a Large Language Model (LLM) stream.

Fig. 2: The SurgAnt-ViVQA architecture processes text through the LLM’s tokenizer and embeddings, while the GRU-Gated Cross-Attention module fuses video features before passing the combined representation to the LLM, adapted via parameter- efficient fine-tuning (LoRA) [13].

The pipeline consists of three core components:

  1. Temporal Video Encoding: Video frames are first processed via a Vision Transformer (ViT) encoder. The resulting frame features are passed through a bidirectional GRU to capture sequential dependencies, actions, and transitions over time.
  2. GRU-Gated Temporal Cross-Attention: Text embeddings from the question query the temporal video features using multi-head cross-attention. Crucially, an adaptive gating mechanism computes a gating vector for each text token, precisely controlling how much visual context is injected into the language stream.
  3. Parameter-Efficient Fine-Tuning (PEFT): Instead of updating the entire LLM, the model applies LoRA (Low-Rank Adaptation) to the attention and projection layers of the language backbone (testing both GPT-2 and Qwen3-0.6B), customizing it efficiently for the surgical domain.

Datasets

The paper introduces PitVQA-Anticipation, a massive, expert-annotated dataset derived from 33.5 hours of high-definition endoscopic pituitary surgery videos.

Fig. 1: Sample question–answer (QA) pairs from the PitVQA-Anticipation dataset displays anticipatory queries regarding upcoming surgical phases, steps, instruments, and time durations.

The dataset contains 734,769 QA pairs built from 8-frame clips across 40 distinct annotation categories. It focuses on four anticipatory tasks:

  • Future Steps (15 categories)
  • Future Phases (4 categories)
  • Future Instruments (18 categories)
  • Remaining Time (3 categories: remaining time for the step, phase, and overall surgery)

To evaluate cross-procedural generalizability, the authors also test their model on the public EndoVis18-VQA benchmark (nephrectomy surgeries).

Key Insights and Ideas

  • Architecture Over Scale: Interestingly, the lightweight GPT-2 backbone performed comparably to (and occasionally outperformed) the larger Qwen3-0.6B backbone. This indicates that performance gains in anticipatory VQA are driven primarily by targeted temporal modeling (the GRU-Gated Cross-Attention) rather than raw language model scale.
  • The Frame Budget Trade-off: The authors conducted a frame budget study (8 vs. 16 vs. 32 frames). They found that a shorter window (8 frames) maximizes linguistic fluency and text metrics (highest BLEU-4). However, a longer window (32 frames) significantly reduces the Mean Absolute Error (MAE) for numeric time estimation, showing that the model needs broader temporal context to calculate remaining durations accurately.
  • Zero-Shot Failure: General-purpose vision-language models (like Video-LLaMA3 or Qwen 2.5 VL) struggle heavily in zero-shot settings on this dataset. They generate fluent text but lack domain-specific grounding, often guessing generic tools rather than anticipating precise surgical needs.

Key Results

SurgAnt-ViVQA achieved state-of-the-art results on the new benchmark, substantially outperforming both zero-shot foundation models and fully fine-tuned image baselines.

Table 2: Performance comparison of SurgAnt-ViVQA with various baseline mod- els using the PitVQA-Anticipation dataset. Our framework integrates two language backbones that both outperform image based and video language baselines, with SurgAnt-ViVQA (GPT-2) achieving the best overall performance.
  • PitVQA-Anticipation Benchmark: SurgAnt-ViVQA (GPT-2) achieved a BLEU-4 score of 72.38, a ROUGE-L of 84.94, and a METEOR of 87.05. For comparison, the strongest zero-shot video model (Video-LLaMA3) only managed a BLEU-4 of 19.76.
  • Task-Specific Accuracy: The model excelled at predicting the future phase (~82.5% accuracy) and upcoming instruments (~60.29%), though it found predicting the exact next step more challenging (~37.12%).
  • Generalization on EndoVis18-VQA: When applied to the standard EndoVis18 benchmark, SurgAnt-ViVQA set a new state-of-the-art with a BLEU-4 of 81.29, outperforming the previous best image-based model, PitVQA++ (79.15).

Limitations and Future Work

While a major step forward, the authors note that PitVQA-Anticipation currently focuses on a single surgical procedure (pituitary surgery) and relies on structured question templates, limiting linguistic diversity.

Future work will focus on expanding the benchmark to encompass multiple types of surgeries, introducing broader and more diverse question types, and exploring alternative video embedding strategies to better capture long-range surgical workflows.

Summary updated

BibTeX
@misc{dhake2025surgant,
  author = {Shreyas C. Dhake and Jiayuan Huang and Runlong He and Danyal Z. Khan and Evangelos B. Mazomenos and Sophia Bano and Hani J. Marcus and Danail Stoyanov and Matthew J. Clarkson and Mobarak I. Hoque},
  title = {{SurgAnt-ViVQA: Learning to Anticipate Surgical Events through GRU-Driven Temporal Cross-Attention}},
  year = {2025},
  eprint = {2511.03178},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.03178},
}
Figure