WorksComputer Science
SurgEye: Instruction Tuning-Free Perception-Reasoning Framework for Surgical Scene Understanding
Abstract
Surgical scene understanding is pivotal for computer-assisted intervention, yet demands compositional reasoning across instruments, anatomy, and workflow. Existing surgical vision-language models rely on instruction tuning with large-scale question-answer pairs, entailing laborious data curation and costly retraining. To bridge this gap, we propose SurgEye, a perception-reasoning framework that grounds reasoning in a vision foundation model without instruction tuning. Specifically, we devise Routed Multi-Task Perception (RMP) that routes the vision foundation model through task-specific pathways learned from public perception labels, producing spatial and temporal evidence. We further introduce Agentic Compositional Reasoning (ACR) that employs a frozen large language model to coordinate RMP specialists and temporal memory as callable tools, composing evidence across tasks and time into grounded answers. Moreover, we construct SurgEye-Bench spanning eight surgical procedures, pairing each question with perception labels for verifiable evaluation. Extensive experiments demonstrate that SurgEye outperforms state-of-the-arts in surgical reasoning. The source code will be available.
Introduction
Surgical scene understanding plays a crucial role in computer-assisted intervention [1]. Beyond recognizing phases, events, instruments, anatomy, and their interactions [2, 3, 4, 5, 6], intraoperative decision-making requires reasoning over these observations, e.g., whether bleeding occurs near critical anatomy in the current phase. Such reasoning must compose fine-grained spatial evidence with long-range procedural context, while remaining faithful to the observed scene. These demands have given rise to the challenging task of surgical reasoning, which seeks to derive reliable conclusions from the perceived scene.
The classical surgical understanding methods [6, 2, 7] have been designed for specific tasks, resulting in isolated solutions for instrument segmentation, anatomy parsing, and workflow recognition. Meanwhile, vision foundation models (VFMs) self-supervised on large-scale surgical data provide transferable representations [8, 9, 10], efficiently adaptable to individual tasks via adapters [11]. Despite precise task-specific predictions, these models are constrained to fixed outputs and thus cannot support compositional surgical reasoning.
Recent studies on Vision-Language Models (VLMs) have enabled surgical reasoning in natural language, typically through instruction tuning on large-scale question-answer pairs [12, 13, 14]. However, constructing such data requires laborious curation, and every extension to new tasks or procedures entails costly retraining of billion-scale models. In fact, VFMs already deliver precise surgical perception from existing labels, offering a natural alternative to relearning such perception through instruction tuning. This motivates us to treat the VFM as the eyes of a frozen large language model (LLM), grounding its reasoning in VFM-based perception.
To bridge this gap, we propose SurgEye, a perception-reasoning framework that grounds surgical reasoning in a VFM without instruction tuning, as illustrated in Figure 1. Specifically, we devise Routed Multi-Task Perception (RMP) that routes the VFM through task-specific pathways learned from public perception labels, producing structured spatial and temporal evidence. We further introduce Agentic Compositional Reasoning (ACR) that employs a frozen LLM to coordinate RMP specialists and structured temporal memory as callable tools, composing cross-task and cross-temporal evidence into grounded answers. This design avoids training-time question-answer curation and keeps every answer verifiable against perception evidence. Moreover, we construct SurgEye-Bench spanning eight surgical procedures, deriving each question from perception labels across four evaluation dimensions.

Figure 1. Fig. 1. Illustration of SurgEye for surgical reasoning without instruction tuning. (a) Diverse surgical scenes spanning eight procedures. (b) SurgEye employs a VFM as the eyes of a frozen LLM, grounding answers in structured perception evidence. (c) SurgEye-Bench aligns each question-answer pair with its perception labels for verifiable evaluation across four dimensions.
Methodology
We present the SurgEye framework in Figure 2, and achieve surgical reasoning without instruction tuning. To accomplish this, we design the RMP to produce structured surgical evidence and the ACR to coordinate RMP specialists as callable tools for a frozen LLM, with SurgEye-Bench constructed for verifiable evaluation, enabling SurgEye to ground surgical reasoning in reliable VFM-based perception evidence instead of large-scale curated question-answer pairs.

Figure 2. The overview of our SurgEye framework for surgical reasoning, consisting of (a) RMP and (b) ACR. SurgEye coordinates VFM-based perception specialists as callable tools for grounded LLM reasoning without instruction tuning.
Routed Multi-Task Perception
The recent VFM [15] delivers powerful general-purpose visual representations, yet adapting it to heterogeneous surgical tasks typically requires an independently fine-tuned backbone for each task, which duplicates parameters and isolates perception capabilities. To address this, we devise RMP that routes the shared VFM through task-specific adaptation pathways learned from public perception labels, producing structured surgical evidence across spatial and temporal granularities.
Specifically, given a surgical image or video clip , we insert a task-specific LoRA module with parameters into the frozen VFM and attach a dedicated decoder for the -th task, as follows:
where denotes the vision encoder parameters shared across all tasks, and denotes the structured prediction of the -th task. Since only and are optimized, the same input can be routed through any requested pathway without duplicating the backbone. We instantiate RMP with five surgical perception tasks spanning different spatial and temporal granularities. At the spatial level, the segmentation decoder delineates instruments and anatomical structures at the pixel level, while the detection decoder localizes instruments and associates them across frames for tracking. Beyond individual objects, the action triplet decoder characterizes instrument–verb–target interactions. At the temporal level, the key event decoder aggregates short-range context to identify critical intraoperative events, whereas the phase decoder models long-range dependencies to recognize procedural phases. In this way, RMP provides structured predictions that serve either as task-specific outputs or as grounded visual evidence for ACR.
Agentic Compositional Reasoning
Existing medical and surgical VLMs [12, 13] infer surgical states within a single instruction-tuned model, whereas surgical reasoning often requires evidence spanning multiple tasks and time points. To overcome this bottleneck, we introduce ACR that employs a frozen LLM as an agent to coordinate RMP specialists and a structured temporal memory as callable tools, composing cross-task and cross-temporal evidence into grounded answers. Different from VLM-based approaches, our agent never processes raw pixels but reasons entirely over structured perception evidence.
Specifically, given a user question and the input surgical image or video, the agent consults a predefined skill bank that specifies the function, inputs, and outputs of each perception and timeline tool, and accordingly invokes one or multiple RMP specialists on the input, where a compositional question triggers multiple tools whose observations span different tasks. For a surgical video sampled at timestamps , ACR further organizes the RMP predictions into a structured temporal memory indexed by time and task, which supports flexible retrieval as follows:
where denotes the input frame or clip at , denotes a temporal window, and denotes the subset of tasks required by the question. Timeline tools instantiate as the current timestamp, a recent window, or the entire procedure to retrieve the current state, recent context, global events, and phase history, so that is constructed once and reused across subsequent questions without re-executing RMP. The agent then iteratively updates its context with the retrieved observations and checks whether the collected evidence is sufficient, invoking additional tools when necessary. The final answer is generated solely from the collected observations, distinguishing unavailable evidence from confirmed negative findings. In this way, ACR grounds the reasoning of the frozen LLM in VFM-based perception evidence, enabling zero-shot surgical reasoning without any instruction tuning.
Perception-Reasoning Paired Benchmark
To jointly evaluate surgical perception and reasoning, we construct SurgEye-Bench, where each question is derived from and paired with the ground-truth perception labels of the same sample. The annotations are collected from nine public datasets [5, 4, 19, 6, 1, 3, 2, 20, 21] spanning eight surgical procedures, covering segmentation, detection, action triplet, key event, and phase recognition. Specifically, these annotations are unified into the image or video clip, task labels, and derived attributes (e.g., area ratios, instrument counts, and event intervals), from which question-answer pairs are automatically generated. This pairing makes every answer verifiable, allowing reasoning errors to be traced back to perception evidence.
On this basis, we organize the question-answer pairs into four evaluation dimensions. Multi-Granular Semantic Reasoning (MSR) and Binary Existential Reasoning (BER) span all five tasks, evaluating the identification of surgical entities, actions, events, and phases, and the presence of a specified target, respectively. Spatial Quantitative Reasoning (SQR) evaluates frame-level area ratios, instrument counts and locations, and action counts, whereas Procedural Temporal Reasoning (PTR) evaluates event durations and phase statistics. Overall, SurgEye-Bench comprises 63K QA samples over 452K surgical frames, including 17.1K, 20.0K, 12.6K, and 13.7K samples for MSR, BER, SQR, and PTR, respectively.
Experiments
Experimental Setup
We perform all experiments on four NVIDIA L20 GPUs using PyTorch. We adopt DINOv3 ViT-L [15] as the frozen VFM in RMP and Qwen3-30B-A3B [24] as the frozen LLM agent in ACR. All images and video frames are resized to , and RMP is optimized by AdamW with an initial learning rate of and cosine annealing with 5% warm-up. We split all datasets at the video level into the training, validation, and test sets as 7:1:2. For perception, we adopt Dice, AP, AP [6], and F1 score for segmentation, detection, action triplet recognition, and key event and phase recognition, respectively. For reasoning, we report the accuracy on each evaluation dimension of SurgEye-Bench.
Comparison with State-of-the-Art Methods
To comprehensively evaluate the performance of SurgEye, we first perform comparisons with state-of-the-art VLMs on SurgEye-Bench. As shown in Table 1, zero-shot VLMs remain close to chance level on BER, while MedGemma [12] and EndoChat [13] show no consistent advantage over general-purpose VLMs [16, 17, 18] despite domain-specific instruction tuning. Although supervised fine-tuning substantially improves Qwen3-VL*, it still lags behind SurgEye with the same 30B LLM scale. In contrast, SurgEye achieves 76.05%, 76.78%, 56.21%, and 78.11% accuracy on MSR, BER, SQR, and PTR, surpassing Qwen3-VL* by 18.86%, 11.25%, 6.29%, and 32.04%, respectively. Moreover, Figure 3 shows that SurgEye produces correct answers with verifiable perception evidence across all four dimensions.
Table 1. Comparison with state-of-the-art methods on surgical reasoning of SurgEye-Bench (Accuracy, %). ⋆ denotes supervised fine-tuning on the training split of SurgEye-Bench.

Figure 3. Qualitative comparisons across four evaluation dimensions of SurgEye-Bench. Our SurgEye exhibits the best results, producing correct answers on all four dimensions, with perception evidence that makes each answer verifiable.
Ablation Study
To investigate the effectiveness of the two core modules in SurgEye, we conduct ablation studies on SurgEye-Bench, as illustrated in Table 2. By removing both RMP and ACR, we construct the baseline ( row), where the frozen LLM answers questions from text alone without visual input. By introducing RMP ( row), whose predictions are directly serialized into the prompt, the average accuracy improves by 8.61%, yet PTR remains only 2.89%, as the LLM is distracted by massive task-irrelevant predictions. On this basis, our complete SurgEye ( row) further employs ACR to coordinate perception tools and structured temporal memory, bringing an average improvement of 42.19%, with the most significant gains on PTR (+75.22%) and SQR (+37.36%). These results validate that RMP and ACR collectively contribute to the superior performance of SurgEye.
| # | RMP | ACR | MSR | BER | SQR | PTR |
| 1 | 25.72 | 50.15 | 8.08 | 0.00 | ||
| 2 | ✓ | 32.71 | 63.96 | 18.85 | 2.89 | |
| 3 | ✓ | ✓ | 76.05 | 76.78 | 56.21 | 78.11 |
Table 2. Ablation study of SurgEye on SurgEye-Bench.
Multi-Task Perception Analysis
To evaluate the perception evidence underlying ACR, we further compare SurgEye with state-of-the-art VFMs on surgical perception in Table 3. SurgEye achieves the best segmentation, detection, and phase recognition performance with 82.59% Dice, 82.66% AP, and 72.40% F1, surpassing SurgeNetDINO-L [10] by 1.36% Dice and 2.92% AP. Meanwhile, SurgEye remains competitive with surgical VFMs on action triplet and key event recognition, while sharing a single frozen VFM across all five tasks without duplicating backbones. These results confirm that our SurgEye framework provides reliable perception evidence for ACR.
Table 3. Comparison with state-of-the-art vision foundation models on surgical perception, averaged over datasets of each task. SEG: segmentation (Dice), DET: detection (AP), ATR: action triplet recognition (AP), KER: key event recognition (F1), PHR: phase recognition (F1).
Conclusion
In this work, we present SurgEye, which employs a VFM as the eyes of a frozen LLM to achieve surgical reasoning without instruction tuning. We devise RMP to produce structured surgical evidence, and ACR to coordinate RMP specialists and structured temporal memory as callable tools for grounded reasoning. Additionally, we construct SurgEye-Bench, pairing perception labels with reasoning questions. Extensive experiments demonstrate that our SurgEye outperforms state-of-the-art methods in surgical reasoning and perception.
References
References
- [1]Nicolás Ayobi, Santiago Rodríguez, Alejandra Pérez, Isabela Hernández, Nicolás Aparicio, Eugénie Dessevres, Sebastián Peña, Jessica Santander, Juan Ignacio Caicedo, Nicolás Fernández, et al., “Pixel-wise recognition for holistic surgical scene understanding,” Med. Image Anal., vol. 106, pp. 103726, 2025.DOI
- [2]Joël L Lavanchy, Sanat Ramesh, Diego Dall’Alba, Cristians Gonzalez, Paolo Fiorini, Beat P Müller-Stich, Philipp C Nett, Jacques Marescaux, Didier Mutter, and Nicolas Padoy, “Challenges in multi-centric generalization: phase and step recognition in roux-en-y gastric bypass surgery,” Int. J. Comput. Assist. Radiol. Surg., vol. 19, no. 11, pp. 2249–2257, 2024.
- [3]Sahar Nasirihaghighi, Negin Ghamsarian, Leonie Peschek, Matteo Munari, Heinrich Husslein, Raphael Sznitman, and Klaus Schoeffmann, “Gynsurg: A comprehensive gynecology laparoscopic surgery dataset,” in ACM MM, 2025, pp. 13141–13147.arxiv.org/abs/2506.11356
- [4]Tobias Rob, Annika Reinke, Peter M Full, Martin Wagner, Hannes Kenngott, Martin Apitz, Hellena Hempe, Diana Mîndroc-Filimon, Patrick Scholz, Thuy Nuong Tran, et al., “Comparative validation of multi-instance instrument segmentation in endoscopy: Results of the robust-mis 2019 challenge,” Med. Image Anal., vol. 70, pp. 101920, 2021.
- [5]W-Y Hong, C-L Kao, Y-H Kuo, J-R Wang, W-L Chang, and C-S Shih, “Colonseg8k: a semantic segmentation dataset for laparoscopic cholecystectomy based on cholec80,” arXiv preprint arXiv:2012.12453, 2020.arxiv.org/abs/2012.12453
- [6]Chinedu Innocent Nwoye, Tong Yu, Cristians Gonzalez, Barbara Seeliger, Pietro Mascagni, Didier Mutter, Jacques Marescaux, and Nicolas Padoy, “Rendezvous: Attention mechanisms for the recognition of surgical action triplets in endoscopic videos,” Med. Image Anal., vol. 78, pp. 102433, 2022.
- [7]Yuxiang Luo, Qing Xu, Yuqi Ouyang, and Zhen Chen, “Rasp: Bridging the long-tail gap in surgical video understanding via retrieval-augmented perception,” in MICCAI. Springer, 2026, pp. 412–421.DOI
- [8]Dominik Batić, Felix Holm, Ege Özsoy, Tobias Czempiel, and Nassir Navab, “Endovit: pretraining vision transformers on a large collection of endoscopic images,” Int. J. Comput. Assist. Radiol. Surg., vol. 19, no. 6, pp. 1085–1091, 2024.DOI
- [9]Tim JM Jaspers, Ronald LPD de Jong, Yiping Li, Carolus HJ Kusters, Franciscus HA Bakker, Romy C van Jaarsveld, Gino M Kuiper, Richard van Hillegersberg, Jelle P Ruurda, Willem M Brinkman, et al., “Scaling up self-supervised learning for improved surgical foundation models,” Med. Image Anal., vol. 108, pp. 103873, 2026.DOI
- [10]Ronald LPD de Jong, Yiping Li, Tim JM Jaspers, Romy C van Jaarsveld, Gino M Kuiper, Franco Badaloni, Richard van Hillegersberg, Jelle P Ruurda, Fons van der Sommen, Josien PW Pluim, et al., “Towards effective surgical representation learning with dino models,” in MIDL, 2026, pp. 1065–1080.
- [11]Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen, “Lora: Low-rank adaptation of large language models,” in ICLR, 2022.arxiv.org/abs/2106.09685
- [12]Andrew Sellegren, Sahar Kazemzadeh, Tiam Jaroensri, Atilla Kiraly, Madeleine Traverse, Timo Kohlberger, Shawn Xu, Fayaz Jamil, Cian Hughes, Charles Lau, et al., “Medgemma technical report,” arXiv preprint arXiv:2507.05201, 2025.
- [13]Guankun Wang, Long Bai, Junyi Wang, Kun Yuan, Zhen Li, Tianxu Jiang, Xiting He, Jinlin Wu, Zhen Chen, Zhen Lei, et al., “Endocatch: Grounded multimodal large language model for endoscopic surgery,” arXiv preprint arXiv:2501.11347, 2025.arxiv.org/abs/2501.11347
- [14]Zhitao Zeng, Zhu Zhuo, Xiaojun Jia, Erli Zhang, Junde Wu, Jiaan Zhang, Yuxuan Wang, Chang Han Low, Jian Jiang, Zilong Zheng, et al., “Surgvlm: A large vision-language model and systematic evaluation benchmark for surgical intelligence,” arXiv preprint arXiv:2506.02555, 2025.arxiv.org/abs/2506.02555
- [15]Oriane Siméoni, Huy V Vo, Maximilian Seitzer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungyeun Yi, Michaël Ramamonjisoa, et al., “Dinov3,” Trans. Mach. Learn. Res., 2026.arxiv.org/abs/2508.10104
- [16]Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zezen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, et al., “Qwen3-vl technical report,” arXiv preprint arXiv:2511.21631, 2025.arxiv.org/abs/2511.21631
- [17]Qwen Team, “Qwen3.8-max: A new bar for coding and cowork,” https://qwen.ai/blog?id=qwen3.8, 2026.
- [18]Gemma Team, Sherif El Abd, Vaibhav Aggarwal, Robin Al-gayres, Alek Andreev, Olivier Bachem, et al., “Gemma 4 technical report,” arXiv preprint arXiv:2607.02770, 2026.
- [19]Zhipeng Xu, Hong Wang, Yongxian Huang, Jianjin Zhang, Yanhong Chen, Shangjie Wu, Zhouyang Hu, Guanghui Yue, Jax Luo, Guoxin Fan, and Xiang Liao, “Spine endoscopic atlas: an open-source dataset for surgical instrument segmentation,” Sci. Data, vol. 12, no. 1, pp. 1611, 2025.DOI
- [20]Negin Ghamsarian, Yosuf El-Shabrawi, Sahar Nasirihaghighi, Doris Putzgruber-Adamitsch, Martin Zinkernagel, Sebastian Wolf, Klaus Schoeffmann, and Raphael Sznitman, “Cataract-1k dataset for deep-learning-assisted analysis of cataract surgery videos,” Sci. Data, vol. 11, no. 1, pp. 373, 2024.
- [21]Adrito Das, Danyal Z Khan, Dimitrios Psychogios, Yitong Zhang, John G Hanrahan, Francisco Vasconcelos, You Pang, Zhen Chen, Jinlin Wu, Xiaoyang Zou, et al., “Pitvis-2023 challenge: Workflow recognition in videos of endoscopic pituitary surgery,” Med. Image Anal., vol. 106, pp. 103716, 2025.DOI
- [22]Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al., “An image is worth 16x16 words: Transformers for image recognition at scale,” in ICLR, 2021.
- [23]Samuel Schmidgall, Ji Woong Kim, Jeffrey Jopling, and Axel Krieger, “General surgery vision transformer: A video pre-trained foundation model for general surgery,” arXiv preprint arXiv:2403.05949, 2024.arxiv.org/abs/2403.05949
- [24]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Cheng'en Huang, Chenxu Lv, et al., “Qwen3 technical report,” arXiv preprint arXiv:2505.09388, 2025.arxiv.org/abs/2505.09388