TL;DR
Surgical Visual Question Answering (VQA) models traditionally analyze static, isolated frames, completely missing the temporal dynamics of a procedure. This paper introduces SurgViVQA, a framework that combines a tube-masked video-text encoder with a fine-tuned LLM to reason over dynamic surgical events. To test it, the authors also release REAL-Colon-VQA, the first publicly available colonoscopy video dataset featuring motion-aware questions and linguistic perturbations.
What Problem Does This Paper Address?
In minimally invasive surgeries, understanding the scene requires tracking movements over time—such as instrument motion, tissue deformation, or endoscope navigation. However, current surgical VQA systems treat video as a collection of independent static images. They fail to capture cause-and-effect relationships or temporal dependencies.
Furthermore, existing surgical VQA datasets lack temporal annotations and evaluate models using rigid, predictable question templates. This allows models to cheat by exploiting language biases (memorizing text patterns) rather than actually understanding the surgical video. When asked the same question rephrased slightly differently, these models often fail catastrophically.
Methods
The authors propose SurgViVQA, a modular framework designed to process short 8-frame video clips alongside a textual question to generate open-ended answers.
The core components include:
- Masked Video-Text Encoder: It leverages a repurposed VideoMAE visual backbone. To force the model to learn high-level motion semantics rather than relying on low-level pixel continuity between adjacent frames, they apply high-ratio tube-masking (blocking out the same spatial blocks across the entire temporal dimension).
- Cross-Modal Fusion: Video tokens and question tokens are fused using a cross-attention text encoder (based on BLIP), allowing question tokens to attend to the full spatiotemporal sequence.
- LoRA-Adapted LLM Decoder: The fused embeddings are fed into a frozen lightweight LLM (like GPT-2 or Qwen) adapted via Low-Rank Adaptation (LoRA) to generate free-form text answers.
- Keyword Penalization: To prevent the model from omitting critical clinical terms (e.g., misidentifying a tool or organ), they introduce a weighted Binary Cross-Entropy loss ($L_{WBCE}$) that penalizes keyword errors by a factor of $\lambda$.
Datasets
The paper evaluates its method on two datasets:
- REAL-Colon-VQA (New): The first publicly available colonoscopy VideoQA dataset, consisting of 5,200 clip-QA pairs across 20 categories (such as instrument presence, sizing, movement, and operation notes). It provides both short factual answers and long descriptive answers, alongside "out-of-template" rephrased questions to test linguistic robustness.
- EndoVis18-VQA: A benchmark dataset derived from 14 nephrectomy (kidney removal) videos, adapted by the authors into 8-frame video clips to suit the temporal task.
Key Insights and Ideas
- Tube-Masking Overcomes Temporal Redundancy: Because consecutive video frames are highly correlated, standard vision models can easily guess missing pixels using adjacent frames. Tube-masking forces the model to perform high-level semantic reasoning about tool-tissue interactions and anatomical dynamics.
- Linguistic Robustness is a Major Blindspot: Evaluating models on out-of-template questions reveals a massive drop in performance for traditional image-based surgical VQA models. This proves they rely heavily on language shortcuts rather than visual grounding.
- Clinical Keywords Matter More Than Filler Words: In medical VQA, missing a word like "forceps" or "advancing" is a critical failure. The introduction of keyword penalization ($\lambda=10$) successfully guides the model to prioritize factual accuracy without sacrificing conversational fluency.
Key Results
- Superior Keyword Accuracy: SurgViVQA (with a GPT-2 backbone) outperforms existing image-based baselines like PitVQA, achieving a +9% improvement in Keyword Accuracy (K-ACC) on both REAL-Colon-VQA (62.80% vs 54.13%) and EndoVis18-VQA (48.27% vs 40.35%).
- Dominance in Motion Reasoning: When evaluated specifically on motion-aware questions within REAL-Colon-VQA, video-based models completely dominated. SurgViVQA (Qwen) achieved 83.0% K-ACC compared to the image-based PitVQA's 42.0%.
- Encoder Ablation: Comparing various temporal backbones (X-CLIP, ViViT, TimeSformer, VideoMamba, VideoMAE) revealed that VideoMAE consistently yielded the highest BLEU, ROUGE, and METEOR scores, confirming the power of masked visual pre-training for this task.
Limitations and Future Work
- Short Temporal Horizon: The current architecture is optimized for short-horizon dynamics, processing only 8-frame clips (~1 second of video). It cannot yet reason over long-term procedural steps or multi-minute dependencies.
- Out-of-Template Degradation: While SurgViVQA generalizes better than image-only baselines, all models still experience a performance drop when facing unseen, heavily rephrased questions. The authors suggest incorporating more diverse question sampling during training.
- Lack of Clinical Validation: The framework has only been tested on offline datasets. Future work includes conducting clinical user studies with practicing endoscopists to evaluate its real-world utility and workflow integration.
Summary updated