Manuscript Offprint

arXiv:2611.01913

SurgQ-VLM: Question-Conditioned Dual-Stream Compression and Answer-Type-Aware Reinforcement for Surgical Video Question Answering

Dhruv Makwana, Ananya Mantravadi

Abstract

Reasoning about surgical video — which phase is underway, which instruments act, and when events occur — underpins operative documentation, workflow analysis, and skill assessment. Yet surgical visual question answering is still largely built on single frames and closed labels that cannot express a duration, an ordering, or a count, and the video models that lift the frame limit typically compress every clip the same way regardless of the question, discarding the temporal evidence the answer needs. Worse, the answers are structurally heterogeneous, spanning five incompatible structures — binary, classification, multi-label, counting, and sentence-temporal — that no single training signal scores uniformly well. We propose SurgQ-VLM, a two-stage model for surgical video question answering. Stage 1 trains a question-conditioned dual-stream (slow/fast) compressor for a LoRA-adapted Qwen2.5-VL-7B: cross-attention conditions both streams on the question, and each clip's visual tokens shrink 49× from the raw ViT patches (11× vs. post-merge backbone tokens). Stage 2 post-trains with GRPO under an answer-type-aware reward that scores each question on the metric matching its answer structure (micro-F1 for label sets, normalised error for counts, a content-timing blend for temporal windows). On a sealed 21,840-question test split over Cholec80 and CholecT50, SurgQ-VLM reaches 0.779 keyword accuracy and a 10× BLEU-4 gain over zero-shot; GRPO adds 2.5 pp K-Acc (2.0 pp attributable to the answer-type-aware reward), concentrated in the structurally hard types, with answer format unchanged (ROUGE-L). Code is available at https://github.com/DhruvMakwana/SurgQ-VLM.

1. Introduction

Automated reasoning over surgical video underpins a growing set of clinically motivated tasks — operative documentation, operating-room workflow analysis and scheduling, and objective skill assessment — each of which depends on knowing not only what happens in a procedure but in

Same 30-second clip — different questions need different evidence

Figure

Figure 1. The same 30-second laparoscopic clip requires different temporal evidence for different questions. Prior methods (a) compress without question context, producing incomplete or mistimed answers. SurgQ-VLM (b) conditions both streams on the question via four independent GuidelInjectors, then refines with GRPO's answer-type-aware reward.

what order and when [22, 36]. This evidence is inherently temporal: a phase begins at one second and ends at another, an instrument first appears just before a transition, a clip contains some number of distinct actions. Yet surgical visual question answering (VQA) is still built on single frames and closed label sets [9, 29, 43], which cannot express a duration, an ordering, or a count by construction.

Video vision-language models (VLMs) [15, 19, 21] remove the single-frame limit, but they compress every clip the same way regardless of the question, so the temporal

Accepted to the 2027 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). © 2027 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

evidence a question needs is often the first evidence the compressor discards (Fig. 1a). Surgery makes this acute: from the same pixels, the same clip may be asked for a phase label, an instrument set, a count, or the second at which a transition occurs — answers spanning five incompatible structures (binary, classification, multi-label, counting, sentence-temporal) that no single training signal scores correctly.

Prior work addresses only fragments of this. Surgical video VLMs that move beyond single frames still train with supervised fine-tuning alone [17, 37]; question-conditioned compressors condition a single unified stream [20]; dual-rate samplers keep a slow and a fast stream but compress both question-agnostically [6, 40]; and reinforcement post-training for medical video normalises one reward across datasets [34] rather than across the answer structures inside a single task. Three gaps remain. (i) Question-agnostic compression discards the temporal evidence a question needs before the language model ever sees it. (ii) SFT plateaus on the structurally hard question types (multi-label, sentence-temporal). (iii) A single scalar RL reward conflates the five incompatible answer structures. We propose SurgQ-VLM (Fig. 1b): Qwen2.5-VL [4] with LoRA [11] and a per-stream question-conditioned dual-stream compressor that extends HICom [20] and SlowFast-LLaVA [40], post-trained through a two-stage supervised fine-tuning (SFT) → GRPO [31] pipeline whose continuous reward dispatches on answer structure. Surgery is our testbed; all experiments are on laparoscopic cholecystectomy. The compressor design and answer-type reward family make no procedure-specific assumptions — ordered phases, acting instruments, and time-stamped events recur across procedural domains — but cross-procedure generalization is untested and a concrete next step.

References (42)