arXiv:2608.23928cs.CVAug 2026

Manuscript Offprint

arXiv:2608.23928

RefineRank: Joint Box Refinement and Ranking for Surgical Spatio-Temporal Grounding

Linzhe Jiang, Jiayuan Huang, Changhao Zhang, Chunyang Jiang, Zhehua Mao, Mobarak I. Hoque

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Linzhe Jiang 1∗^{1*}, Jiayuan Huang 2^{2}, Changhao Zhang 1^{1}, Chunyang Jiang 3^{3}, Zhehua Mao 1^{1}, and Mobarak I. Hoque 4^{4}

1^{1} UCL Hawkes Institute, University College London, London, UK

linzhe.jiang.23@ucl.ac.uk

2^{2} Visual Understanding Research Group, Department of Informatics, King's College London, London, UK

3^{3} School of Medicine, Nankai University, Tianjin, China

4^{4} Division of Informatics, Imaging and Data Sciences, University of Manchester, Manchester, UK

Abstract. Surgical spatio-temporal grounding (STG) requires locating, at each video time specified by a procedural question, the object that the question asks about. Existing approaches face a trade-off: vision language models understand the question context but produce imprecise coordinates, whereas open-set detectors provide localized candidate boxes whose confidence does not reflect which box answers the question. We introduce RefineRank, which closes this gap at the candidate-box level. A compact trainable module, RefineNet, combines the language and regional features of a frozen medical vision language model with the proposals of a frozen open-set detector: it predicts a bounded coordinate correction and a quality score for every candidate box, and a fixed decoding rule returns the original or refined box with the highest score. On the MedVidBench Official Rankings (Verified), RefineRank records 0.421 STG mIoU, the highest displayed STG score, while its global multi-metric rank is 11. In a controlled evaluation on separate training and evaluation videos, coordinate correction raises the candidate oracle upper bound from 0.6772 to 0.7302, and ranking the joint pool of original and refined candidates by their RefineNet scores improves STG mIoU from 0.2719 to 0.4534, whereas separately trained selectors over the same pool reach at most 0.4186. These results show that a small box-level module can reconcile question understanding with precise localization without retraining either backbone. Code is available at https://github.com/linzhe001/RefineRank.

Keywords: Surgical video · Spatio-temporal grounding · Box refinement · Candidate ranking

1 Introduction

Surgical spatio-temporal grounding (STG) answers procedural questions such as “which instrument is the surgeon holding at 01:35?” by locating the queried

  • Corresponding author.

L. Jiang et al.

object in the video. The question names a target, a temporal interval, and a sampling step, which together determine an ordered set of requested video times; the system must return one object box at each requested time. The target may be a small instrument, an anatomical region, or a surgeon's hand, and it can be occluded or visually similar to nearby objects. The task therefore requires the spatial, temporal, and language interactions emphasized by prior STG models [7, 10, 19], together with the domain language and fine visual distinctions of surgical video [16].

Two model families address complementary halves of this problem. Medical vision language models (MedVLMs), multimodal large language models adapted to medical images and video, can interpret complex clinical questions, but semantic understanding alone does not ensure accurate coordinates. Grounded multimodal models such as Kosmos-2, Shikra, and Ferret add location tokens, coordinate interfaces, regional representations, or dedicated grounding data to obtain spatial outputs [2, 14, 20]. Open-set detectors offer the complementary strength: given a text query, a detector such as GroundingDINO [11] returns a set of candidate boxes, each with coordinates and a confidence score. That confidence measures how well a box matches the detector query rather than how well it answers the complete timestamped surgical question, so the box that best answers the question is often not the highest-scoring one.

Combining the two families is nontrivial. Learning a dense alignment between their feature spaces would require correspondences across different tokenizations, dimensions, spatial grids, and pretraining objectives, a problem that joint multimodal detectors address through grounded pretraining and internal cross-modal fusion [8,11]. Learning a comparable alignment between two existing frozen backbones from surgical STG data is harder still. Candidate boxes offer a compact alternative: each proposed box already has coordinates, a detector score, and a matching region in the MedVLM visual features, so the two models can be connected through the boxes themselves rather than through their internal features.

RefineRank realizes this idea. It keeps a frozen MedVLM and a frozen GroundingDINO detector and connects them only through the detector's candidate boxes. The single trainable component, RefineNet, reads the MedVLM's language and regional features at each candidate box and jointly learns two outputs: a bounded correction that improves the box coordinates, and a quality score that reflects how well the box answers the question. A fixed decoding rule with no learned parameters returns the highest-scoring candidate from the joint pool of original and refined boxes, so no separate selector module is needed. In this way, question understanding improves detector grounding without learning a dense alignment between the two feature spaces.

Our evaluation separates the two questions this design raises: whether refinement creates better candidate boxes, and whether the learned scores select better boxes. RefineNet's corrections raise the localization upper bound of the candidate pool, its scores improve final selection over detector confidence and over separately trained selectors, and a gap to the candidate oracle remains.

We make three contributions. First, RefineRank, a complete grounding pipeline whose compact trainable RefineNet module jointly learns scores and corrections for detector candidates from MedVLM language and regional features while both backbones remain frozen. Second, a controlled evaluation that separates selection quality from localization potential by comparing the final prediction with the best available box. Third, a selector analysis showing that selectors trained only after RefineNet has modified the boxes do not improve on the built-in decoding rule of RefineRank.