Chain-of-Look Spatial Reasoning for Dense Surgical Instrument Counting
Rishikesh Bhyri, Brian R Quaranto, Philip J Seger, Kaity Tung, Brendan Fox, Gene Yang, Steven D. Schwaitzberg, Junsong Yuan, Nan Xi, Peter C W Kim
TL;DR
This work tackles the challenge of counting densely packed surgical instruments by introducing Chain-of-Look Spatial Reasoning (CoLSR), which imposes a structured visual counting chain and spatial constraints to mimic human sequential counting. A Visual Chain Generator, augmented with class-specific prompts, and a neighboring loss enforce coherent spatial ordering, improving robustness in high-density scenes. The authors introduce SurgCount-HD, a 1,464-image dataset of densely arranged instrument handles, and demonstrate that CoLSR surpasses state-of-the-art counting methods and multimodal LLMs in both accuracy (MAE≈0.88, RMSE≈1.27) and speed (real-time mobile inference). Combined ablations, analysis, and extended evaluations show the approach benefits from CSL prompts, visual exemplars, and the neighboring loss, with potential applicability to other dense-object counting tasks in medical and industrial settings.
Abstract
Accurate counting of surgical instruments in Operating Rooms (OR) is a critical prerequisite for ensuring patient safety during surgery. Despite recent progress of large visual-language models and agentic AI, accurately counting such instruments remains highly challenging, particularly in dense scenarios where instruments are tightly clustered. To address this problem, we introduce Chain-of-Look, a novel visual reasoning framework that mimics the sequential human counting process by enforcing a structured visual chain, rather than relying on classic object detection which is unordered. This visual chain guides the model to count along a coherent spatial trajectory, improving accuracy in complex scenes. To further enforce the physical plausibility of the visual chain, we introduce the neighboring loss function, which explicitly models the spatial constraints inherent to densely packed surgical instruments. We also present SurgCount-HD, a new dataset comprising 1,464 high-density surgical instrument images. Extensive experiments demonstrate that our method outperforms state-of-the-art approaches for counting (e.g., CountGD, REC) as well as Multimodality Large Language Models (e.g., Qwen, ChatGPT) in the challenging task of dense surgical instrument counting.
