arXiv(opens in a new tab)eess.IVSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.01310

GazeRefine: Expert Gaze as a Test-Time Prompt for Training-Free Medical Image Segmentation

Mohammed Oussama Benyahia, Marouane Tliba, Mohamed Amine Kerkouri, Taifour Yousra, Bin Wang, Max Bengtsson, Gorkem Durak, Elif Keles, Zuheng Ming, Marek Penhaker, Azeddine Beghdadi, Ulas Bagci, Aladine Chetouani

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

Mohammed Oussama Benyahia¹, Marouane Tliba¹, Mohamed Amine Kerkouri¹, Taifour Yousra¹, Bin Wang², Max Bengtsson², Gorkem Durak², Elif Keles², Zuheng Ming¹, Marek Penhaker³, Azeddine Beghdadi¹, Ulas Bagci², Aladine Chetouani¹

Université Sorbonne Paris Nord¹, Northwestern University², VSB-Technical University of Ostrava³

Abstract. Medical image segmentation remains difficult to scale because high-performing methods typically rely on dense expert annotations and task-specific training. We introduce GazeRefine, a training-free framework that uses gaze as an inference-time prompt for zero-shot medical image segmentation. Sparse, duration-weighted fixations are converted into foreground and background priors that initialize semantic prototypes in frozen DINOv3 feature space. These prototypes are iteratively refined through foreground-background discrimination, feature-space affinity propagation, and anchoring to the initial gaze guidance, allowing segmentation to extend beyond directly fixated regions while limiting semantic drift. GazeRefine requires no segmentation masks, fine-tuning, adapters, prompt encoders, or gradient updates. We evaluate the method on gaze-annotated polyp segmentation and prostate MRI segmentation. The results show strong performance on colonoscopy images and competitive performance on prostate MRI, supporting gaze-guided prototype refinement as a promising approach for segmentation-label-efficient, human-in-the-loop medical image segmentation. Our tools and code can be found in the following repository GazeRefine

Keywords: Medical image segmentation; zero-shot learning; gaze-guided segmentation; eye tracking; training-free inference

1 Introduction

Medical image segmentation is essential for computer-aided diagnosis, treatment planning, surgical guidance, and quantitative disease monitoring. Despite substantial progress from U-Net architectures to self-configuring pipelines such as nnU-Net, most high-performing methods still depend on dense pixel-level annotations and task-specific training [11,18,25,32]. This dependence remains a major limitation in medical imaging, where expert masks are costly, time-consuming, subject to inter-observer variability, and difficult to scale across organs, modalities, institutions, and rare pathologies [24]. Domain shifts, heterogeneous acquisition protocols, and privacy constraints further limit the repeated collection of annotations and retraining of specialized models for new clinical settings [9,14].

BENYAHIA et al.

Annotation-efficient segmentation has therefore become an important direction in medical image analysis. Weakly supervised approaches reduce mask requirements through points, scribbles, boxes, or pseudo-labels, but generally still require task-specific training or optimization [2,5,21,30]. Promptable foundation models such as SAM and MedSAM enable interactive segmentation through explicit visual prompts and segmentation-specific architectures [16,22]. In parallel, self-supervised vision transformers such as DINO, DINOv2, and DINOv3 provide dense patch representations with emergent localization and semantic grouping properties without pixel-level supervision [4,23,29]. These representations have motivated training-free segmentation approaches based on frozen features, similarity matching, and feature propagation [1, 7, 10, 20, 26, 35]. In the medical domain, Gaze2Segment [15] demonstrated that gaze-derived cues can support model-free segmentation by combining gaze heatmaps with image saliency. However, many recent interactive approaches still depend on explicit clicks or boxes, segmentation-specific prompt encoders, adapters, fine-tuning, or inference-time optimization [13].

In this context, clinician gaze provides a natural source of clinical guidance for medical image segmentation. During image interpretation, fixation locations and durations reflect task-relevant visual attention and can indicate suspicious structures or clinically meaningful regions. Recent methods have used gaze either as weak supervision for training segmentation models, as in GazeMedSeg and GradTrack [33,36], or as an input prompt to SAM-based segmentation models, as in GazeSAM and GazeMedSAMv2 [28,31]. In contrast, we investigate whether clinician gaze can directly steer frozen self-supervised representations without task-specific training or a segmentation-specific architecture.

We introduce GazeRefine, a training-free framework that uses clinician gaze as an inference-time prompt for zero-shot medical image segmentation. GazeRefine converts sparse, duration-weighted fixations into foreground and background priors that initialize semantic prototypes in frozen DINOv3 feature space [29]. These prototypes are iteratively refined through foreground-background discrimination, feature-space affinity propagation, and anchoring to the initial gaze-derived representations. This formulation enables the predicted mask to extend beyond directly fixated regions while limiting drift from the original clinical guidance. The method requires no segmentation masks, task-specific fine-tuning, adapters, prompt encoders, or gradient updates. We evaluate GazeRefine on two publicly available gaze-annotated medical segmentation benchmarks with distinct imaging characteristics: polyp segmentation in colonoscopy images and prostate segmentation in magnetic resonance imaging. The results show that gaze can effectively guide frozen visual representations, particularly when target and background regions are well separated in feature space.

Our contributions are summarized as follows:

  • We introduce GazeRefine, a training-free and segmentation-label-free framework that uses sparse clinician gaze to guide zero-shot medical image segmentation in frozen DINOv3 feature space.

– We combine gaze-derived foreground and background prototypes with recurrent refinement based on foreground–background discrimination and kNN affinity propagation, enabling segmentation beyond directly fixated regions.

References (36)