Manuscript Offprint

arXiv:2610.21895

SurgStreamer: proactive, request-driven monitoring of surgical video streams with structured state and a reusable reasoning layer

Bowen Xiang, Jon S. Heiselman, Michael I. Miga

Abstract

Surgical teams could benefit from assistants that watch the video for requested events, such as “tell me when the clip applier appears during Calot triangle dissection”, and answer questions about what has already happened. We formalise this task as request-driven event detection with exact semantics and causal alert decisions, and present SurgStreamer. It separates procedure-specific perception, which maps the 1-FPS stream to a structured state over tools, actions and phases, from procedure-agnostic reasoning, which evaluates a formal monitoring condition over this state and an event memory, either with exact rules or with a small controller that addresses entities through pointers rather than names. We evaluate this monitoring core with gold conditions. On a pre-registered, sealed test set of 12 laparoscopic cholecystectomies, SurgStreamer reached a macro event-F1 of 0.598 over full procedures. On identical 75-s windows with only the window available to every method, it scored 0.677. The tested configurations of the streaming vision–language model OneStreamer-4B, including ones fine-tuned on SurgStreamer’s state or on video with an adapted vision encoder, scored at most 0.540 (Holm-adjusted p≤0.012p \leq 0.012). At three external centres, re-training only perception raised performance on held-out procedures from 0.239 to 0.470. On a new procedure, pituitary surgery, controller weights trained on cholecystectomy matched an in-domain controller on oracle state (0.947 vs 0.938). On predicted state they missed the pre-registered non-inferiority margin (-0.024 [-0.040, -0.008]) unless the alert thresholds were re-calibrated. The results support separating perception from reasoning and point to perception under distribution shift as the main limitation.

Keywords: surgical video understanding, proactive monitoring, streaming video, vision–language models, surgical workflow, domain transfer

1. Introduction

Laparoscopic cholecystectomy is among the most frequent abdominal operations. Its most feared complication, bile-duct injury, is linked to the misidentification of structures before they are clipped and cut. Surgical guidelines therefore require a critical view of safety before the cystic duct and artery are divided (Strasberg and Brunt, 2010), and recent work has automated the assessment of this view from video (Mascagni et al., 2022). Beyond such fixed checks, a surgical team may want to ask an assistant to watch for events of its choice: “tell me when the cystic duct is being clipped”, “alert me if the clip applier appears during Calot triangle dissection”, or “has the cystic artery been cut yet?”. Such requests are phrased in natural language but refer to a predefined vocabulary of instruments, actions and phases, combined by a small set of operators. They are time-critical: an answer is useful only if it arrives when the event happens, once per occurrence, and never for an event that did not happen. In this work, events are visible events as defined by the dataset annotations; we do not assess whether an action was performed correctly, the quality of structure handling, or the prevention of complications.

Surgical data science has mainly addressed recognition (Maier-Hein et al., 2017): phases (Twinanda et al., 2017; Jin et al., 2018; Czempiel et al., 2020; Garrow et al., 2021), instruments, and actions (Nwoye et al., 2022). These methods label frames or segments; they do not answer user requests, and their metrics do not measure when an event is signalled. Streaming vision–language models (VLMs) can be prompted with such requests (Chen et al., 2024; Zeng et al., 2026), and streaming models now narrate surgery as it unfolds (He et al., 2026). A recent time-aware benchmark found that general and medical VLMs degrade markedly when they must decide when to answer or alert (Wang et al., 2026). In the configurations we tested, streaming VLMs alerted when an instrument was merely visible rather than appearing, alerted on absent objects, rarely detected disappearances or phase changes, and needed hundreds of milliseconds of GPU time per request and second of video. Fine-tuning reduced but did not remove these failures, even when it included the vision encoder. Fig. 1 shows a request on a sealed test procedure, the decisions SurgStreamer takes on it, and the silence of the two strongest fine-tuned VLMs.

We argue that proactive monitoring should be grounded in a structured state, and that the reasoning over this state should be separated from the procedure. SurgStreamer (Fig. 2) maps the video stream to a probabilistic state over a closed vocabulary of tools, actions and phases. A formal monitoring condition is evaluated over the state stream and an event memory, and

∗^{*}Corresponding author.

Email address: bowen.xiang@vanderbilt.edu (Bowen Xiang)

Figure

Figure 1: Request-driven monitoring on a sealed Cholec80 test procedure (75-s window, equal context: every method has only the window). The request is compiled once into an executable monitoring condition. From the 1-FPS frames, perception computes a structured state: predicted phase, hook probability (shaded) and decoded flag (line); grey: reference presence; orange band: matching tolerance around the reference occurrence; dashed line: its confirmation. Bottom: per-frame decisions. SurgStreamer accumulates evidence causally: UNCERTAIN at the onset second, a single ALERT once the onset has persisted K = 2 s, then silence. The strongest state-text baseline (C-LLM) and the vision-adapted VLM (V-VA) stay silent over the whole window, as does V-LoRA (not shown). The example was selected for illustration; Fig. 9 shows a failure, and Section 5 the quantitative results.

alerts are decided causally. Perception is procedure-specific and must be trained for each procedure, and possibly for each centre. Reasoning sees entities only through their kind and state, never through their names, which makes it a candidate for reuse across procedures. A natural-language compiler maps requests to conditions; it is an interface module, and our evaluation targets the monitoring core given formal conditions. This paper tests three claims:

  1. Event-level monitoring with exact semantics. Request-driven monitoring can be specified as event detection with exact semantics and causal alert decisions, covering confirmation, once / every / n-th modes, composition and retrospective memory. We provide a benchmark of 20 query families with exact references and hard negatives.

  2. Name-free pointer control over structured state. A small learned controller that reads the state through entity pointers and structured temporal features improves event monitoring over the exact rules on a pre-registered sealed test. Built on this state, the system outperforms the tested streaming-VLM configurations, including fine-tuned and vision-adapted ones, under equal context.

  3. The transfer boundary. Frozen controller weights transfer to a new procedure on oracle state, while perception, and on predicted state the alert thresholds, must be adapted. We measure this at three external centres and on a new procedure, and we report where the claim fails.

The perception components (a fine-tuned DINOv3 encoder, causal temporal heads, an ordered phase model) are established techniques that we use as a strong, documented substrate. Pre-registration and sealed test sets serve to make the three claims testable.

References (39)