Skip to content

Menu

WorksEngineering

SurgCBVR: A Multi-Domain Benchmark for Content-Based Surgical Video-to-Video Retrieval

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_44jbt6k2. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Hospitals record thousands of hours of surgical video annually, yet these archives remain difficult to search by content. Surgeons cannot readily retrieve similar operations, complications, or workflow events. Existing surgical computer vision primarily produces labels rather than retrieving relevant videos. We introduce SurgCBVR, the first benchmark for content-based video-to-video retrieval in surgery. It integrates eight public datasets across four domains-ophthalmic, laparoscopic, robotic-assisted, and colonoscopy-covering six procedure types, 679 cases, and 76,489 clips (106 hours). SurgCBVR comprises two tiers: Scene, retrieving the same operative state across cases and sites, and Workflow, retrieving and localizing phase transitions and deviations. Scene includes 74,765 clips spanning 40 classes, three temporal granularities, and three playback speeds; Workflow contains 1,724 transition clips. Fixed clip lengths and frame counts, together with phase-classifier oracle and duration-only baselines, help assess label and timing shortcuts. We evaluate six generic and surgical foundation models, two video retrieval methods, and contrastive heads trained on SurgCBVR, using within-dataset, cross-dataset, and pooled-gallery retrieval restricted to the same procedure type. Frozen representations barely outperform a timing-only baseline, transition retrieval approaches chance, and trained heads lose up to half their accuracy across datasets. These findings expose substantial limitations in current video representations and establish SurgCBVR as a benchmark for advancing surgery-aware retrieval.

Introduction

Minimally invasive and microscope-guided surgery have made the operating room a major source of medical video. Laparoscopic, robotic, endoscopic, and ophthalmic procedures routinely rely on live video for visualization, and substantial amounts of this footage are archived. These recordings capture how surgeons approach anatomical variation, perform complex maneuvers, and manage intraoperative challenges. Yet, despite their potential educational and clinical value, surgical video archives remain difficult to search. When searchable at all, retrieval typically depends on manually entered metadata or free-text descriptions rather than the visual content of the recordings.

Importance and applications. Surgical expertise is built through experience with cases. Residents learn by observing how experienced surgeons handle difficult dissections; departments review complications in morbidity-and-mortality conferences; video-based assessment compares surgical technique against reference performances; and surgeons preparing for challenging procedures may benefit from reviewing cases with similar anatomy or operative conditions. These applications share a fundamental requirement: given a surgical video clip, retrieve other clips depicting clinically similar situations. A phase classifier can identify a clip as showing phacoemulsification, but it cannot directly retrieve the most similar phacoemulsification segments from a large surgical archive. The potential value of such retrieval is particularly evident for rare but clinically significant events. For example, posterior capsule rupture is an important intraoperative complication of cataract surgery. A recent UK multicentre study of 961,208 cataract operations reported a posterior capsule rupture rate of 1.01% [28]. Management may require anterior vitrectomy, modification of the intraocular lens implantation strategy, or other interventions depending on the circumstances of the rupture. Retrieving comparable events could help surgeons review alternative management strategies and allow trainees to study the operative conditions preceding complications. Such clinically meaningful retrieval is a long-term objective. Achieving it requires video representations that capture operative states and temporal workflow, together with standardized benchmarks for evaluating retrieval performance.

The data gap. Despite growing interest in surgical video understanding, content-based video-to-video retrieval remains relatively underexplored. Prior work on surgical video-to-video retrieval, notably Yu et al. [38], has demonstrated the feasibility of retrieving surgical content across procedures and events. However, a publicly reproducible, multi-domain benchmark with standardized relevance definitions, case-level splits, and cross-dataset evaluation remains lacking. More recent surgical video–language resources [4, 25, 40] have emphasized text-to-video retrieval, which addresses a different task from identifying visually similar intraoperative segments. Furthermore, clinically important events such as complications are infrequently annotated in publicly available datasets, partly because of their rarity and the practical and medico-legal challenges of collecting and sharing such data [16]. Existing annotations are therefore insufficient to support a large-scale, reproducible benchmark for incident retrieval (§ 4.3). SurgCBVR addresses the first gap by building a public, reproducible retrieval benchmark from openly licensed surgical datasets.

Our approach. Rather than restricting retrieval research to sparsely annotated complications, we build on the surgical annotations that are already widely available. Public surgical datasets provide temporal labels for phases, steps, actions, and other clinically meaningful events across multiple procedures and imaging modalities. We introduce SurgCBVR, a standardized benchmark that transforms these annotations into reproducible content-based video-to-video retrieval tasks with case-level splits and graded relevance.

Our primary focus is retrieval within a procedure type. Because procedure identity is generally available from clinical metadata, distinguishing cataract surgery from cholecystectomy is not the central challenge. Instead, the objective is to identify relevant operative moments among recordings of the same procedure, potentially acquired under different conditions. Cross-procedure retrieval is therefore outside the scope of this work. We also distinguish retrieval of annotated operative states from retrieval of clinically significant incidents (§ 4.3).

Retrieval is not classification in disguise. An important methodological concern is whether retrieval based on phase annotations simply reproduces a classification task. If relevance is determined solely by phase identity, a sufficiently accurate classifier could rank gallery clips by their predicted labels without learning a representation optimized for retrieval. We explicitly investigate this possibility by including a phase-classifier oracle baseline.

Contributions. We introduce SurgCBVR, the first publicly reproducible, multi-domain benchmark for content-based surgical video-to-video retrieval, comprising eight public datasets across four surgical domains and six procedure types, with 76,489 clips from 679 cases totaling approximately 106 hours of video. We formulate two complementary retrieval tiers: SCENE, which retrieves matching operative states across cases at three temporal granularities, and WORKFLOW, which retrieves and localizes phase transitions and workflow deviations. The benchmark includes 40 scene classes spanning surgical phases, robotic training tasks, and polyp histology, with 74,765 Scene clips sampled at three temporal granularities and three playback speeds, alongside 1,724 Workflow clips. We provide clips, standardized relevance annotations and case-level splits, and evaluate generic video encoders, surgical foundation models, phase-classification baselines, and trained retrieval methods to assess retrieval performance beyond label- and duration-based shortcuts.

Related Work

Content-based video retrieval. General-domain CBVR distinguishes duplicate, complementary and incident scene retrieval [13], with methods ranging from global clip descriptors to fine-grained spatio-temporal similarity learning [14] and distillation for efficient indexing [15]. Related formulations include partially relevant [6] and composed video retrieval [32]. These benchmarks are built from web video, where near-duplicates are common and visual diversity is large. Surgical video inverts both properties: duplicates never occur across patients, and the visual domain is narrow, so clinically distinct scenes can look alike while equivalent scenes look different. SurgCBVR adopts the query–gallery protocol of FIVR [13] but redefines relevance around clinical semantics.

Surgical video understanding. Public surgical datasets have driven phase recognition [9, 10, 17, 31, 37], action and triplet recognition [22, 26], gesture and skill analysis [8], and polyp detection in colonoscopy [5, 21]. Their evaluation is almost exclusively classification, detection or segmentation. SurgCBVR re-uses their annotations but asks a different question: whether learned representations place clinically similar content close together across patients and sites.

Surgical retrieval and video–language models. Yu et al. [38] introduced live laparoscopic video-to-video retrieval using uncertainty-aware compressed hashing, evaluated on cholecystectomy phases, gastric bypass phases, and surgical events across six procedure types. Although their work established an early benchmark for surgical retrieval, the underlying data were not publicly released, limiting reproducibility. We extend this direction through a publicly reproducible benchmark spanning eight datasets across four surgical domains (ophthalmic, laparoscopic, robotic-assisted, and colonoscopy), with broader task design encompassing graded relevance, multiple temporal granularities, cross-dataset evaluation, phase transitions, workflow deviations, and temporal localization. In parallel, surgical video–language pre-training approaches [4, 25, 40] have explored text-to-video retrieval, primarily using narrated surgical content. While these models provide relevant baselines, their ability to retrieve visually and temporally similar intraoperative segments remains insufficiently evaluated.

Adverse events in surgical video. Intraoperative adverse events are rarely annotated. Existing resources cover bleeding in laparoscopy [20, 24], simulated hemorrhage control [16], lens irregularities in cataract surgery [9], multi-type adverse events re-annotated on Cholec80 and robotic surgery [7], and graded events in gastric bypass [18]. Each is small, task-specific and annotated under its own schema; § 4.3 discusses why, taken together, they do not yet support a retrieval benchmark.

The SurgCBVR Benchmark

Problem formulation

Let VV be a collection of surgical videos, each belonging to a case c(v)c(v), a procedure p(v)p(v), a domain d(v)d(v), a source dataset D(v)D(v) and a site s(v)s(v). A clip x=(v,ts,te)x = (v,t_s,t_e) is a temporal window of vv, rendered to a fixed length of 5 s (125 frames); windows longer than 5 s are played faster. Given a query clip qq and a gallery G\mathcal{G}, a retrieval model ff maps clips to embeddings and ranks G\mathcal{G} by similarity sim⁡(f(q),f(g))\operatorname{sim}(f(q), f(g)). Each task defines a graded relevance function

rel⁡(q,g)∈{0,1,…,R},(1)\operatorname{rel}(q,g) \in\{0,1,\ldots,R\}, \tag*{(1)}

where 0 denotes irrelevant. Two rules hold for every task: (i) gallery clips from the same case as the query, c(g)=c(q)c(g) = c(q), are removed from the ranking (neither positive nor negative), so that patient identity cannot be exploited; (ii) cases are split 40/20/40 into train/val/test within each source dataset, no case appears in more than one split, and queries and galleries are both drawn from the test split.

Within-procedure galleries. Every query is searched only against clips of the same procedure, G(q)={g:p(g)=p(q)}\mathcal{G}(q) = \{g : p(g) = p(q)\}. This mirrors clinical use, where the procedure type is known from the operative record, and it removes trivially easy negatives that would inflate scores (a cataract query will never confuse a colonoscopy frame). Query and gallery clips are of the same kind: a SCENE query is searched among clips of its granularity, a speed-variant query among short (5 s) clips (§ 4), and a WORKFLOW query among transition clips.

Evaluation settings. Within-dataset: query and gallery come from the same source dataset. Cross-dataset: for procedures covered by two datasets, query and gallery come from different datasets, D(g)≠D(q)D(g) \ne D(q), restricted to labels both datasets share; this measures robustness to a change of hospital, equipment and annotation team. Pooled: the gallery holds all clips of the procedure. The site s(v)s(v) is recorded for future cross-site evaluation.

Domains and source datasets

SurgCBVR covers four domains with complementary imaging modalities: operating microscope (ophthalmic: cataract and glaucoma MIGS surgery), rigid endoscope (laparoscopic), robotic stereo endoscope (robotic) and flexible endoscope (colonoscopy). Two procedures are covered by two independent datasets each, phacoemulsification (Cataract-LMM, Cataract-1K) and cholecystectomy (Cholec80, He-iChole), which enables the cross-dataset setting. Table 1 summarizes the sources. Shared clip filenames encode the source dataset, video, tier, label, granularity and source start time, and clips.csv gives each clip’s exact source window, case, split and playback speed. Every clip can thus be traced back to its source video, so that further annotations released with the source datasets (e.g. tool presence, anatomy or tissue labels) can be synchronized with SurgCBVR clips and used to define new relevance criteria. Retrieval methods may use only the pixel content; filenames and metadata are used for evaluation only.

DomainDatasetProcedureSCENEWORKFLOW
OphthalmicCataract-1K [9]phacoemulsification✓✓
Cataract-LMM [1]phacoemulsification✓✓
Glaucoma MIGS [34]120° Goniotomy✓✓
LaparoscopicCholec80 [31]Cholecystectomy✓
HeiChole [33]Cholecystectomy✓
Robotic-assisted surgeryGraSP [3]Prostatectomies✓
SurgVU [41]Training tasks (porcine model)✓
ColonoscopyREAL-Colon [5]Colonoscopy✓

Table 1. Source datasets in SurgCBVR. ✓ marks the tiers each dataset contributes to.

Unified Annotation Layers

Source datasets differ in annotation granularity and terminology. To standardize their representation, we adopt a four-level hierarchy:

domain⊃procedure⊃semantic class⊃action(2)\mathrm{domain} \supset\mathrm{procedure} \supset\mathrm{semantic\ class} \supset\mathrm{action} \tag*{(2)}

Annotations from each dataset are converted into a unified, video-level table of temporal segments (c,ts,te)(c,t_s,t_e), accompanied by case identifiers and site information when available. Idle periods, generic catch-all categories, and labels unsuitable for reliable cross-case retrieval (e.g. insufficient frequency or limited comparability) are excluded, with dataset-specific criteria detailed in the supplementary material.

The semantic-class level accommodates different annotation types: surgical phases or steps for most procedures, robotic training tasks for SurgVU’s porcine-model sessions, and polyp histology (adenoma or hyperplastic) for REAL-Colon, which lacks conventional surgical phases. For colonoscopy, segments correspond to intervals during which an annotated lesion is visible; frames with insufficient lesion visibility, including lesions that are excessively small, enlarged, or truncated by image boundaries, are excluded. The action level and a separate event annotation layer, designed to capture event type, onset, offset, severity, and management, are reserved for future extensions and remain unpopulated in the current benchmark (§ 4.3). Datasets covering the same procedure are aligned to a common semantic-class vocabulary. Cross-dataset evaluation is restricted to shared classes, retaining 10 of 11 classes for phacoemulsification and all six for cholecystectomy.

Tier 1: SCENE retrieval

Goal. Retrieve clips showing the same operative state from other patients, surgeons and, where possible, sites. This tier calibrates the benchmark: it is where label-based shortcuts are expected to work.

Why clip length needs care. Two naive choices for clip length both fail across procedures. Fixed absolute lengths do not transfer: a 5 s clip covers a meaningful part of a cataract phase, which often lasts under two minutes, but a tiny and often uninformative fraction of a laparoscopic or robotic phase lasting tens of minutes. Lengths proportional to phase duration do transfer, but then the clip length itself encodes the phase—short phases yield short clips—so a model, or a trivial baseline, can match clips by duration rather than content. We resolve both by separating the source window WW, the amount of surgery a clip covers, from the output length, which is the same for every clip.

Clip construction. For every phase segment [ts,te][t_s,t_e] of duration D=te−tsD=t_e-t_s, we sample clips around the phase centre tc=ts+D/2t_c=t_s+D/2 with symmetric offsets proportional to duration,

O={−2D10,−D10,0,D10,2D10},tstart=tc+o−W2,(3)\mathcal{O}=\left\{-\frac{2D}{10},-\frac{D}{10},0,\frac{D}{10},\frac{2D}{10}\right\},\qquad t_{\mathrm{start}}=t_c+o-\frac{W}{2}, \tag*{(3)}

clamped to [ts,te−W][t_s,t_e-W] so that clips land in the core execution region of the phase. Table 2 lists the source windows. The short window is fixed at 5 s and kept at real speed. The medium window is set per dataset to 0.2D~0.2\tilde{D}, capped at 60 s; if it falls below 7.5 s (1.5× the short window) medium is omitted for that dataset, so it never duplicates short. Because D~\tilde{D} is estimated on the training split, the window adapts to each procedure without looking at test cases. The phase window is D/5D/5, discarded when D/5<5D/5<5 s. For all three, segments with D<1.5WD<1.5W are skipped and duplicate starts after clamping are removed. To probe temporal robustness we add playback-speed variants of the centre clip, read over W=5sW=5s seconds and played at s×s\times (s∈{2,3,5}s\in\{2,3,5\}), skipping segments with D<WD<W. Colonoscopy clips are centred on annotated lesion appearances.

GranularityLevelSource window WWOutput
shortaction5 s5 s, 1×
mediumstep0.2D~∈[7.5,60]0.2\tilde{D} \in[7.5,60] s5 s, compressed
phasephaseD/5D/55 s, compressed
speed-ssrobustness5s5s s, s∈{2,3,5}s \in\{2,3,5\}5 s, s×s\times

Table 2. Temporal granularities of SCENE clips. Every clip is rendered to the same output length (5 s at 25 fps, i.e. 125 frames); granularities differ only in the source window WW compressed into it. D~\tilde{D} is the median phase duration of the dataset (training split), DD the duration of the phase segment.

Every clip—medium and phase included—is then rendered to 5 s at 25 fps. All clips therefore have exactly 125 frames, whatever the dataset, phase or granularity, so neither duration nor frame rate can reveal the source (§ 4.4 reports a duration-only baseline that uses the original segment duration). Clips are re-encoded with frame-accurate seeking and their frame counts verified; we note that stream-copy cutting, a common shortcut, snaps cut points to key-frames and silently shortens clips by several seconds.

Positives and negatives. For a SCENE query qq, a gallery clip gg of the same procedure is a positive if it carries the same label, ϕ(g)=ϕ(q)\phi(g)=\phi(q) (phase, training task or lesion class), and a negative otherwise. Clips from the query’s own case are removed (§ 3.1), so every positive comes from another patient or session; queries left without a positive are skipped. mAP, Recall@kk and Precision@10 use this binary relevance.

Graded relevance. Neighboring phases share instruments and anatomy, so confusing them is a milder error than confusing distant phases. We therefore also report nDCG@10 with graded gains

rel⁡1(q,g)={2ϕ(g)=ϕ(q)1ϕ(g)∈N(ϕ(q))0otherwise,(4)\operatorname{rel}_{1}(q,g)=\begin{cases}2 & \phi(g)=\phi(q)\\1 & \phi(g)\in\mathcal{N}(\phi(q))\\0 & \text{otherwise,}\end{cases} \tag*{(4)}

where N(ϕ)\mathcal{N}(\phi) is the set of phases adjacent to ϕ\phi in the canonical workflow π⋆\pi^\star (§ 4.1). Where no canonical order exists (lesion classes in colonoscopy), the gains are binary.

Protocol. Query and gallery clips share a granularity, giving one result per granularity; speed-ss queries are searched against the short gallery, as transformed queries in the spirit of FIVR [13]. Results are reported in the within-dataset, cross-dataset and pooled settings (§ 3.1).

Tier 2: WORKFLOW retrieval

Goal. Retrieve moments where the course of the operation changes. Transitions mark changes in surgical intent, instrument use and anatomical interaction

Scope. In this version, WORKFLOW is built for the ophthalmic procedures (Cataract-LMM, Cataract-1K, MIGS). Their phases are short and numerous (7–11 per procedure, some recurring), so each case yields many transitions whose neighboring phases both fit in a short window. Laparoscopic phases last minutes and give only about six transitions per case, and the robotic sessions in SurgVU are sequences of independent training tasks rather than a surgical workflow.

Canonical workflow. For each data set, we estimate the canonical phase order π⋆\pi^\star by sorting phases by the median, over training cases, of the normalized time t/Tt/T of their first occurrence (TT is the duration of the video). We also record the duration distribution of each phase on the training split. π⋆\pi^\star defines the neighbors N(ϕ)\mathcal{N}(\phi) used in Eq. (4).

Transition clips. For a case, excluded segments (e.g. idle) are removed and consecutive segments with the same label are merged, giving an ordered phase sequence (ϕ1,…,ϕn)(\phi_1,\ldots,\phi_n). Each consecutive pair defines a transition ϕi→ϕi+1\phi_i\rightarrow\phi_{i+1} at t(i)t^{(i)}, the midpoint of the gap gi≥0g_i\ge0 between te(ϕi)t_e(\phi_i) and ts(ϕi+1)t_s(\phi_{i+1}), which usually covers the instrument exchange. We extract the window [te(ϕi)−h,ts(ϕi+1)+h][t_e(\phi_i)-h,t_s(\phi_{i+1})+h], centred on t(i)t^{(i)}, which holds the end of ϕi\phi_i, the gap and the start of ϕi+1\phi_{i+1}, with

h=min⁡(Δ,ℓlast(ϕi),ℓfirst(ϕi+1)),Δ=5 s,(5)h=\min\left(\Delta,\ell^{\mathrm{last}}(\phi_i),\ell^{\mathrm{first}}(\phi_{i+1})\right),\qquad\Delta=5\ \mathrm{s}, \tag*{(5)}

where ℓlast(ϕi)\ell^{\mathrm{last}}(\phi_i) and ℓfirst(ϕi+1)\ell^{\mathrm{first}}(\phi_{i+1}) are the lengths of the last uninterrupted part of ϕi\phi_i and the first uninterrupted part of ϕi+1\phi_{i+1}. The window therefore never reaches a third phase, even when a phase is very short (e.g. a 3 s viscoelastic injection gives h=3h=3 s). A transition is skipped if h<2.5h<2.5 s, if the window exceeds 20 s, or if the gap fills more than 40% of it, so that each phase occupies at least a quarter of the clip. As for SCENE, every window is rendered to 5 s at 25 fps (125 frames), i.e. played at 1×1\times–4×4\times, so clip length cannot reveal that a neighboring phase is short. All transitions, including skipped ones, are released with their timestamps. Transitions of every type are kept, including rare ones (e.g. out-of-order or repeated phases) and each clip is tagged in the released metadata as regular or atypical (rare type, or closing an unusually long phase), for future analysis.

Positives and relevance. For a transition query, a gallery transition clip is a positive if it has the same transition type ϕi→ϕi+1\phi_i\rightarrow\phi_{i+1}; mAP, Recall@kk and Precision@10 use this binary relevance. For nDCG@10 we use graded gains

rel⁡2(q,g)={2same transition type1same phase before or same phase after0otherwise.(6)\operatorname{rel}_{2}(q,g)=\begin{cases}2 & \text{same transition type}\\1 & \text{same phase before or same phase after}\\0 & \text{otherwise.}\end{cases} \tag*{(6)}

We report results over all queries.

Towards moment localization. Retrieving pre-cut clips understates the real task, in which the archive consists of full recordings. Because every transition is released with its timestamp in the untrimmed video, SurgCBVR also supports a localization variant: given a transition query, return a temporal window in each untrimmed gallery video, counted as correct if its temporal IoU with a same-type ground-truth transition exceeds τ\tau. We leave its evaluation to future work.

Splits and Statistics

Extracted clips from each dataset are partitioned into training, validation, and test sets (40/20/40) at the case level, independently of any official dataset splits. All clips originating from the same case are assigned to a single split to prevent data leakage. Dataset-specific parameters used in benchmark construction, including the medium-window duration, canonical workflow order π⋆\pi^\star, and overlong-phase thresholds, are estimated exclusively from the training split. The training set supports retrieval model development, while the validation set is used for model selection and hyperparameter tuning. All reported performance results are obtained on the held-out test set. Case-level assignments are fixed and will be preserved in future benchmark versions, allowing newly introduced annotations to inherit the same splits. Table 3 summarizes the statistics for each retrieval tier (test set only).

TierSubset#Queries#Gallery#Classes#Datasets
SCENEshort11,43511,435408
medium3,7753,775204
phase7,2907,290387
speed-ss5,34111,435408
WORKFLOWtransition751751653

Table 3. SurgCBVR statistics (test split).

Table 3. SurgCBVR statistics (test split). #Queries: test clips of the subset. #Gallery: test clips searched (summed over procedures; each query is ranked only against its own procedure, without clips of its own case). Speed-ss (s=2,3,5s = 2, 3, 5) queries are searched in the short gallery. #Classes: phases, tasks or lesion classes (SCENE) and transition types (WORKFLOW), counted per procedure.

Why incident retrieval is not included in this version

Retrieval of intraoperative adverse events, such as posterior capsule rupture (PCR) in cataract surgery, is the clinical target that motivates SurgCBVR. We do not build it from existing public data for three reasons. First, such events are rare (PCR occurs in about 2% of operations [11]), so public datasets contain too few independent cases for case-level splits to give stable scores. Second, the available incident annotations follow incompatible schemas (masks vs. clip labels, severity vs. presence, differing onset definitions) [7, 18, 20, 24, 27], so pooling them would mix non-equivalent events. Third, some announced incident datasets are not yet fully available for redistribution. A credible incident tier therefore requires new expert annotation under one schema, which we leave to a future version.

SurgCBVR is prepared for it: the schema reserves an event layer (§ 3.3), splits are fixed per case so new labels inherit them, and per-procedure galleries let incident queries be added with hard negatives from uneventful cases without altering existing tasks.

Baselines

All methods score a query–gallery pair by the cosine similarity of ℓ2\ell_2-normalised clip embeddings unless stated otherwise. Encoders are used frozen with their public weights.

Clip embeddings from frozen encoders. Every clip is 5 s long (125 frames at 25 fps). An encoder that takes single images is applied to frames sampled across the clip; an encoder that takes short videos is applied to consecutive windows of its native input length covering the clip. The frame or window features are then combined into one clip embedding by averaging them (mean) or by taking their elementwise maximum (max), and we report both. Specifically:

  • DINOv2 ViT-B/14 [12, 23] (image): the CLS token of 25 frames (one every 0.2 s).

  • C3D [30] (video, Sports-1M): fc7 features of 7 windows of 16 consecutive frames.

Image not extracted

Figure 1. Representative frames from the SCENE retrieval task across datasets, illustrating query clips and their corresponding positive and negative samples. The associated video examples are provided in the supplementary material (https://youtu.be/v4oZig-02I0) (best view 300% magnification). More figures are available in supplementary material.

  • VideoMAE V2 ViT-B [29, 35] (video, Kinetics-710): 3 windows of 16 frames (every third frame); mean or max over all tokens of all windows.

  • V-JEPA 2 [2], InternVideo2 [36], SurgVLP/PeskaVLP [39, 40] and SurgRec-MAE [19]. The first three are generic image and video encoders; SurgVLP, PeskaVLP and SurgRec-MAE are surgical foundation models.

Video retrieval methods. (i) ViSiL [14], used as published with its pretrained weights: frames at 1 fps, region features, and its learned frame-to-frame similarity network. It was trained for near-duplicate and same-event retrieval, not for surgical phases. (ii) Frame matching (chamfer): a training-free similarity in the spirit of ViSiL on DINOv2 features of 16 frames per clip; each query frame is matched to its most similar gallery frame and the matches are averaged (we also report the symmetric version).

Trained on SurgCBVR. (i) Contrastive retrieval head (SupCon): a two-layer MLP on frozen features of each encoder, trained on the training split of each dataset with a supervised contrastive loss, where clips with the same label are positives and pairs from the same case are ignored; model selection uses validation mAP. (ii) Phase-classifier oracle: a one-hidden-layer MLP (512 units) on the same frozen features, trained to predict the label on each dataset’s training split. A query is ranked with the classifier of its own dataset, applied to the query and to all gallery clips, so in the cross-dataset setting the classifier has never seen the gallery dataset. We rank (a) by cosine similarity of its hidden-layer features and (b) by predicted label, the shortcut a retrieval benchmark should expose.

Reference baselines. Random ranking gives chance level. Duration only ranks the gallery by −∣D(q)−D(g)∣-|D(q)-D(g)|, the difference in the original duration of the source segment (transition window for WORKFLOW), which the rendered clips do not reveal; it measures how much could be obtained from timing alone.

Results

We report mAP (%) on the test split; queries and gallery clips both come from test cases (§ 3.1). Table 4 gives the main results, using mean pooling for all encoders (max pooling is similar or worse Table 13). Due to space limits, the remaining results are in the supplementary material: Recall@kk and nDCG@10, per-dataset results, the medium granularity, max pooling and confidence intervals.

Table 4. Retrieval mAP (%) on the SurgCBVR test split. SCENE, short clips, within-dataset galleries, per procedure and averaged over all six (Avg); Phase: phase-level clips averaged over the five procedures that have them; WORKFLOW: transition clips, within dataset; Cross-dataset: short clips, gallery from the other dataset of the same procedure. Bold: best non-reference method per column. †Uses the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix.

MethodPhacoGonio.Chole.Prost.SurgVUColonAvgPhasePhacoGonio.PhacoChole.
SCENE (within dataset)WORKFLOWCross-dataset
Reference
Random (chance)11.015.717.913.833.945.523.020.69.821.49.817.8
Duration only†18.726.130.617.038.951.530.527.912.425.418.729.1
Frozen encoders
C3D14.825.228.425.240.960.532.533.612.728.711.825.4
DINOv216.232.731.431.948.348.934.938.412.630.212.227.8
VideoMAE V222.135.430.431.248.151.436.440.716.331.414.326.4
V-JEPA 215.729.032.136.044.754.935.439.613.929.412.029.5
PeskaVLP17.533.145.943.052.454.941.144.714.829.012.640.0
SurgRec-MAE13.925.625.623.543.554.431.131.311.730.111.324.3
Video retrieval
Chamfer (DINOv2 frames)16.934.131.932.549.548.835.639.213.331.612.228.2
ViSiL ‡20.340.130.531.050.455.237.938.519.145.717.127.5
Trained on SurgCBVR (SupCon head)
C3D26.247.242.244.476.146.247.056.919.031.412.432.1
DINOv247.359.863.164.691.343.561.673.627.138.427.648.5
VideoMAE V264.768.166.764.690.447.267.078.040.753.933.653.9
V-JEPA 258.064.865.468.191.351.366.578.237.252.834.451.0
PeskaVLP40.960.364.062.589.150.561.271.625.839.318.449.8
SurgRec-MAE39.456.348.861.785.451.957.267.123.450.615.739.1
Classifier oracle (VideoMAE V2)
hidden features39.556.548.147.770.449.251.960.723.232.027.239.4
predicted label52.855.849.953.081.045.556.367.927.830.015.038.1

Table 4. Retrieval mAP (%) on the SurgCBVR test split. SCENE, short clips, within-dataset galleries, per procedure and averaged over all six (Avg); Phase: phase-level clips averaged over the five procedures that have them; WORKFLOW: transition clips, within dataset; Cross-dataset: short clips, gallery from the other dataset of the same procedure. Bold: best non-reference method per column. †Uses the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix.

EncoderShort meanShort maxPhase meanPhase maxWorkflow meanWorkflow max
C3D32.532.133.633.520.721.4
DINOv234.934.638.437.621.422.2
VideoMAE V236.433.240.736.423.921.7
V-JEPA 235.434.639.639.021.722.9
PeskaVLP41.140.744.743.921.924.5
SurgRec-MAE31.127.931.328.020.920.9

Table 13. Mean vs. max temporal pooling of frozen encoders (mAP %, within dataset): SCENE short (six procedures) and phase (five), WORKFLOW (phaco, goniotomy).

Frozen representations barely exceed timing. Off-the-shelf encoders reach 31–41% average mAP on short clips, against 23% for chance and 30.5% for the duration-only reference, which ranks by the length of the source segment, a quantity no method can observe. On phacoemulsification, only one frozen encoder, VideoMAE V2 (22.1%), beats duration only (18.7%). Generic embeddings are dominated by appearance shared across a case or a setup (illumination, microscope, anatomy) rather than by the surgical phase, so similar-looking clips of different phases are ranked above same-phase clips from other patients. Surgical pretraining helps only within its own domain: PeskaVLP is the best frozen encoder (41.1%), with clear gains on cholecystectomy (45.9%) and prostatectomy (43.0%), but no gain on the ophthalmic procedures; the surgical video encoder SurgRec-MAE is below the generic DINOv2 when frozen.

Video retrieval methods. Pretrained ViSiL, never trained on surgery, is on par with the best generic encoders on SCENE (37.9%) and is the best frozen method on WORKFLOW (19.1% and 45.7% vs. at most 16.3% and 31.4%). Matching DINOv2 frames by chamfer similarity without learning, in contrast, changes little over mean pooling (35.6% vs. 34.9%). Fine-grained spatio-temporal matching thus helps where order matters (a transition is phase AA then BB), not where a single phase must be recognised.

Learning on SurgCBVR closes much of the gap. A small contrastive head on frozen features roughly doubles mAP (VideoMAE V2: 36.4→67.0%), so the relevant information is present in the features but not organised by surgical meaning. The ranking of encoders changes: the generic video encoders VideoMAE V2 and V-JEPA 2 gain most and overtake PeskaVLP, so frozen performance is a poor proxy for how useful a representation is. The benchmark is far from saturated except for SurgVU (91%), whose four training tasks differ strongly in setup.

Ranking with a classifier. We also rank clips with a phase classifier trained on the same features. Comparing clips by the classifier’s predicted probabilities works as well as the contrastive head (VideoMAE V2: 66.8% vs. 67.0%), and this holds for every encoder (Table 20). Using only the predicted label is about ten points worse (56.3%), and using the classifier’s hidden features is worse still (51.9%). What matters is training with the benchmark labels, and then comparing clips by their soft predictions, not their hard labels.

Linear probeMLP probe
EncoderfeatlabelprobfeatlabelprobSupCon
C3D41.238.244.838.039.046.947.0
DINOv257.052.362.650.951.461.861.6
VideoMAE V258.457.066.951.956.366.867.0
V-JEPA 255.854.265.352.254.465.666.5
PeskaVLP52.151.260.650.750.960.261.2
SurgRec-MAE49.546.656.943.945.757.657.2

Table 20. Ranking with a trained classifier vs. a trained retrieval head (SCENE short, within, mAP % averaged over six procedures). feat: cosine of the hidden layer (MLP) or of the logits (linear probe); label: same predicted label, ties broken randomly; prob: cosine of predicted class probabilities.

Granularity and playback speed. Longer temporal context helps every method. Averaged over the five procedures with phase-level clips (all but colonoscopy), phase clips score 4–10 points above short clips (e.g. VideoMAE V2 with the head: 70.9% short vs. 78.0% phase, Table 11), and medium clips lie in between. Playback-speed changes have relatively small effects on frozen encoders: over the same five procedures, frozen encoders are unchanged (VideoMAE V2: 33.4% at 1×, 34.2% at 5×) and SupCon heads improve slightly (70.9% → 75.3%), since a faster clip covers more of the phase. Within this range, retrieval is driven by content rather than motion speed.

WORKFLOW is the hardest tier. Frozen encoders achieve 11.7–16.3% mAP on phacoemulsification against 9.8% for chance, and 28.7–31.4% on goniotomy against 21.4% for chance. The best trained head reaches 40.7% and 53.9%, respectively (Table 16).

MethodmAP WmAP XmAP PR@1nDCGmAPR@1nDCG
PhacoemulsificationGoniotomy
Reference
Random (chance)9.814.28.310.011.321.419.224.8
Duration only†12.414.39.312.114.425.426.329.5
Frozen encoders (mean pooling)
C3D12.715.910.720.719.428.744.438.8
DINOv212.615.610.718.318.530.237.437.4
VideoMAE V216.315.812.828.124.731.444.441.4
V-JEPA 213.913.911.321.020.029.433.335.0
PeskaVLP14.817.111.823.821.229.033.335.5
SurgRec-MAE11.714.910.217.316.830.141.437.5
Video retrieval
Chamfer (DINOv2)13.315.511.220.019.931.640.439.5
Sym. chamfer (DINOv2)12.915.910.818.818.630.139.438.3
ViSiL‡19.120.815.127.828.645.758.657.9
SupCon head (trained)
C3D19.018.114.124.525.731.435.437.4
DINOv227.123.720.435.335.738.439.447.9
VideoMAE V240.729.429.449.950.353.952.562.6
V-JEPA 237.227.626.847.247.352.857.659.8
PeskaVLP25.820.319.433.134.239.351.548.6
SurgRec-MAE23.417.317.632.631.350.660.657.3
Classifier oracle: hidden features
C3D14.816.612.020.820.526.338.434.2
DINOv216.119.412.522.322.633.443.442.1
VideoMAE V223.220.617.134.831.532.047.543.0
V-JEPA 220.117.514.124.226.130.737.435.9
PeskaVLP19.320.414.425.325.331.237.439.0
SurgRec-MAE14.515.812.022.721.738.457.649.4
Classifier oracle: predicted label
C3D15.414.911.115.721.924.826.330.7
DINOv219.717.214.525.328.737.947.546.8
VideoMAE V227.816.916.728.034.330.034.337.7
V-JEPA 224.414.513.225.630.231.939.438.0
PeskaVLP20.615.913.423.527.732.925.239.5
SurgRec-MAE16.114.011.817.821.839.233.345.4

Table 16. WORKFLOW (transition) retrieval (%). W/X/P: within-dataset, cross-dataset and pooled galleries; R@1 and nDCG@10 within dataset. nDCG gains: 2 same transition type, 1 same phase before or after. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

Cross-dataset retrieval exposes a domain gap. (Table 4) Searching the other dataset of the same procedure, with shared labels only, costs the best method 13 points on cholecystectomy (66.7→53.9%) but halves it on phacoemulsification (64.7→33.6%), where frozen encoders fall to near chance (11.3–14.3% vs. 9.8%) and below duration only. The phase classifiers show the same asymmetry: trained on Cataract-LMM, the VideoMAE V2 classifier reaches 72% balanced accuracy on Cataract-LMM but 30% on Cataract-1K (Cholec80→HeiChole: 84→64%). Although both cataract datasets use the same phase names, differences in recording setup and in where annotators place phase boundaries make transfer much harder than within-dataset results suggest, which is the robustness gap SurgCBVR is designed to measure.

Limitations and outlook. Lesion histology is the hardest SCENE task. Distinguishing adenomas from hyperplastic polyps by appearance is difficult even for experienced endoscopists: it depends on subtle surface and vascular patterns, usually inspected at close range or with narrowband imaging, whereas a 5 s clip from routine footage often shows the lesion only briefly or at a distance. Correspondingly (Table 10), no method is reliably above chance (45.5%), and trained heads do not improve on frozen features with only 50 training clips. In laparoscopy, the camera occasionally leaves the abdomen, most often during gallbladder extraction (labeled gallbladder retraction) and for lens cleaning; such moments remain in the current release. The prostatectomy test split contains three patients, so its results are indicative, and SurgVU, whose training tasks differ strongly in setup, is close to saturation once a head is trained. We report colonoscopy and prostatectomy as pilot procedures; larger releases, lesion-centred annotations and out-of-body filtering are natural next steps for these parts of the benchmark.

Table 10. SCENE retrieval mAP (%), Colonoscopy, within-dataset galleries, per granularity. Speed-s queries are searched in the short gallery. Short-clip queries: 145 from 11 test cases. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodShort2×3×
Reference
Random (chance)45.548.248.4
Duration only†51.548.451.4
Frozen encoders (mean pooling)
C3D60.563.156.6
DINOv248.950.643.6
VideoMAE V251.450.845.0
V-JEPA 254.954.957.5
PeskaVLP54.956.758.1
SurgRec-MAE54.453.252.2
Video retrieval
Chamfer (DINOv2)48.849.644.0
Sym. chamfer (DINOv2)49.453.045.6
ViSiL‡55.2——
SupCon head (trained)
C3D46.251.145.3
DINOv243.546.043.8
VideoMAE V247.246.944.5
V-JEPA 251.351.954.1
PeskaVLP50.552.251.0
SurgRec-MAE51.952.749.1
Classifier oracle: hidden features
C3D48.252.746.0
DINOv248.251.842.4
VideoMAE V249.249.644.7
V-JEPA 251.054.554.6
PeskaVLP55.057.257.0
SurgRec-MAE53.949.953.1
Classifier oracle: predicted label
C3D44.849.047.3
DINOv245.949.249.4
VideoMAE V245.548.648.2
V-JEPA 244.847.048.0
PeskaVLP46.751.148.5
SurgRec-MAE47.951.548.0

Table 10.

Limitations and Ethics

Data and licenses. SurgCBVR uses only public, de-identified datasets. Where licenses permit, we redistribute processed clips and annotations under their original licenses, with attribution and documented modifications (github:xx; huggingface:xx). Otherwise, we provide annotations, clip boundaries, and reproduction scripts. Given source licensing restrictions, SurgCBVR is intended for non-commercial research. Scope. SurgCBVR evaluates operative-state and workflow retrieval, not incident retrieval (§ 4.3). Cross-procedure retrieval is excluded because procedure types are documented clinically. Fixed-length clips couple temporal context and playback speed at longer granularities (§ 5). Results from small test splits are indicative. Clinical use. SurgCBVR assesses representation quality, not clinical safety; clinical deployment requires prospective validation.

Conclusion

We introduced SurgCBVR, a benchmark for content-based video-to-video retrieval in surgery that spans four domains, six procedure types and eight public datasets, with SCENE retrieval at several temporal granularities and playback speeds and WORKFLOW retrieval of phase transitions. Retrieval is restricted to the same procedure type and evaluated within datasets, across datasets and in pooled galleries. Our baselines show that frozen generic and surgical foundation models barely exceed a timing-only reference, that transitions remain close to chance, and that a lightweight head trained on SurgCBVR roughly doubles accuracy but still loses up to half of it across datasets. Surgery-aware, order-sensitive and dataset-robust video representations are therefore far from solved. We release clips, annotations and code to support this work, and plan to extend SurgCBVR with expert-annotated intraoperative incidents.

LLM Usage Statement. Large language models (LLMs) were used for proofreading, grammar correction, minor script development, and code review to identify potential errors and inconsistencies. No LLMs contributed to research ideation, experimental design, or substantive manuscript writing. All code and experimental results were reviewed and verified by the authors.

References

Table 5. SCENE retrieval mAP (%), Phacoemulsification, within-dataset galleries, per granularity. Speed-ss queries are searched in the short gallery. Short-clip queries: 975 from 23 test cases. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodShortPhase2×3×5×
Reference
Random (chance)11.016.511.010.910.9
Duration only†18.724.818.919.723.1
Frozen encoders (mean pooling)
C3D14.824.814.914.915.6
DINOv216.223.916.216.016.6
VideoMAE V222.131.122.621.921.5
V-JEPA 215.725.415.615.415.6
PeskaVLP17.524.617.316.717.1
SurgRec-MAE13.922.113.813.613.8
Video retrieval
Chamfer (DINOv2)16.924.816.916.817.6
Sym. chamfer (DINOv2)16.524.316.716.717.7
ViSiL‡20.329.0–––
SupCon head (trained)
C3D26.238.727.328.031.0
DINOv247.356.948.248.952.5
VideoMAE V264.770.066.566.969.6
V-JEPA 258.064.959.760.162.7
PeskaVLP40.949.541.741.845.4
SurgRec-MAE39.450.840.840.644.8
Classifier oracle: hidden features
C3D18.629.518.918.619.8
DINOv229.037.729.128.830.2
VideoMAE V239.546.740.139.138.8
V-JEPA 229.040.029.929.631.6
PeskaVLP24.231.124.123.124.1
SurgRec-MAE24.033.724.023.023.2
Classifier oracle: predicted label
C3D19.430.619.920.321.9
DINOv237.548.038.038.341.2
VideoMAE V252.859.154.654.455.9
V-JEPA 244.350.644.844.345.7
PeskaVLP28.134.027.726.829.3
SurgRec-MAE29.141.029.429.130.9

Table 5.

Table 6. SCENE retrieval mAP (%), Goniotomy (MIGS), within-dataset galleries, per granularity. Speed-ss queries are searched in the short gallery. Short-clip queries: 2,035 from 59 test cases. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodShortPhase2×3×5×
Reference
Random (chance)15.721.516.016.517.1
Duration only†26.129.026.226.527.7
Frozen encoders (mean pooling)
C3D25.238.826.128.230.8
DINOv232.745.532.935.237.7
VideoMAE V235.447.735.937.438.9
V-JEPA 229.042.630.332.935.5
PeskaVLP33.144.733.535.537.2
SurgRec-MAE25.634.226.227.427.9
Video retrieval
Chamfer (DINOv2)34.146.934.436.939.7
Sym. chamfer (DINOv2)32.643.732.734.837.0
ViSiL‡40.151.8–––
SupCon head (trained)
C3D47.261.648.852.657.5
DINOv259.872.360.965.769.7
VideoMAE V268.177.269.172.275.8
V-JEPA 264.877.366.370.274.6
PeskaVLP60.371.161.666.069.5
SurgRec-MAE56.369.356.961.265.8
Classifier oracle: hidden features
C3D37.052.138.441.745.8
DINOv248.961.449.753.156.4
VideoMAE V256.569.858.161.364.1
V-JEPA 248.363.750.454.458.4
PeskaVLP44.155.545.047.750.3
SurgRec-MAE43.957.145.848.650.5
Classifier oracle: predicted label
C3D39.554.140.644.248.1
DINOv246.958.647.451.454.6
VideoMAE V255.866.556.760.363.8
V-JEPA 250.565.051.955.659.4
PeskaVLP48.458.548.851.554.7
SurgRec-MAE43.258.244.747.650.4

Table 6.

MethodShortMediumPhase2×3×5×
Reference
Random (chance)17.918.217.917.817.617.8
Duration only†30.630.130.130.630.430.3
Frozen encoders (mean pooling)
C3D28.430.034.128.128.128.2
DINOv231.435.536.031.832.232.9
VideoMAE V230.433.935.829.930.130.6
V-JEPA 232.136.240.231.631.230.7
PeskaVLP45.952.653.446.647.649.5
SurgRec-MAE25.627.127.025.725.425.5
Video retrieval
Chamfer (DINOv2)31.935.435.832.433.234.0
Sym. chamfer (DINOv2)30.031.032.730.330.331.0
ViSiL‡30.5–30.7–––
SupCon head (trained)
C3D42.248.853.443.844.445.2
DINOv263.171.874.464.566.067.8
VideoMAE V266.775.378.569.569.570.7
V-JEPA 265.473.878.568.169.770.7
PeskaVLP64.074.877.266.367.669.3
SurgRec-MAE48.854.857.650.851.152.0
Classifier oracle: hidden features
C3D36.137.841.436.336.937.1
DINOv249.655.558.950.651.953.0
VideoMAE V248.153.656.249.049.850.8
V-JEPA 250.656.462.651.852.853.8
PeskaVLP55.863.865.856.657.759.4
SurgRec-MAE35.338.240.036.336.737.0
Classifier oracle: predicted label
C3D34.337.843.135.235.736.2
DINOv249.357.160.850.551.852.9
VideoMAE V249.964.367.253.254.754.9
V-JEPA 249.559.662.651.252.352.3
PeskaVLP52.361.864.453.454.755.4
SurgRec-MAE38.745.849.241.541.240.7

Table 7. SCENE retrieval mAP (%), Cholecystectomy, within-dataset galleries, per granularity. Speed-s queries are searched in the short gallery. Short-clip queries: 895 from 30 test cases. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodShortMediumPhase2×3×5×
Reference
Random (chance)13.813.913.114.013.913.2
Duration only†17.017.516.417.017.116.3
Frozen encoders (mean pooling)
C3D25.226.325.024.624.022.1
DINOv231.933.833.031.932.231.4
VideoMAE V231.233.132.931.631.730.5
V-JEPA 236.038.835.736.034.230.9
PeskaVLP43.045.844.644.144.643.0
SurgRec-MAE23.524.824.523.122.621.2
Video retrieval
Chamfer (DINOv2)32.534.133.532.833.032.1
Sym. chamfer (DINOv2)30.831.931.230.730.830.1
ViSiL‡31.0–32.0–––
SupCon head (trained)
C3D44.446.646.245.245.143.9
DINOv264.667.469.066.467.867.8
VideoMAE V264.667.969.266.968.268.5
V-JEPA 268.172.174.369.371.572.9
PeskaVLP62.565.266.864.765.364.7
SurgRec-MAE61.764.567.363.665.764.8
Classifier oracle: hidden features
C3D32.033.632.632.031.629.4
DINOv251.954.554.152.453.453.2
VideoMAE V247.751.251.550.150.047.8
V-JEPA 256.961.762.958.959.559.5
PeskaVLP53.155.654.254.055.153.3
SurgRec-MAE42.445.847.843.845.044.7
Classifier oracle: predicted label
C3D28.530.029.329.229.328.1
DINOv246.251.054.547.849.150.2
VideoMAE V253.056.957.654.154.553.2
V-JEPA 254.661.265.057.857.658.2
PeskaVLP48.550.653.149.151.150.8
SurgRec-MAE39.846.845.142.742.541.0

Table 8. SCENE retrieval mAP (%), Prostatectomy, within-dataset galleries, per granularity. Speed-s queries are searched in the short gallery. Short-clip queries: 940 from 3 test cases. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

Table 9. SCENE retrieval mAP (%), Robotic training (SurgVU), within-dataset galleries, per granularity. Speed-s queries are searched in the short gallery. Short-clip queries: 1,855 from 58 test cases. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodShortMediumPhase2×3×5×
Reference
Random (chance)33.934.433.934.033.933.9
Duration only†38.939.338.938.938.938.9
Frozen encoders (mean pooling)
C3D40.944.545.240.740.840.7
DINOv248.352.853.748.248.448.8
VideoMAE V248.154.156.248.849.049.3
V-JEPA 244.750.754.244.744.444.1
PeskaVLP52.455.556.452.252.252.4
SurgRec-MAE43.546.448.942.942.341.5
Video retrieval
Chamfer (DINOv2)49.553.854.849.649.950.1
Sym. chamfer (DINOv2)47.950.751.547.948.148.3
ViSiL‡50.4—49.1———
SupCon head (trained)
C3D76.183.184.977.277.478.8
DINOv291.394.095.292.892.792.9
VideoMAE V290.494.095.190.791.391.7
V-JEPA 291.395.195.991.892.492.9
PeskaVLP89.192.093.589.589.890.3
SurgRec-MAE85.490.090.683.985.786.5
Classifier oracle: hidden features
C3D56.062.764.156.356.857.4
DINOv277.982.083.378.378.879.1
VideoMAE V270.477.579.471.471.772.2
V-JEPA 277.684.486.378.278.379.0
PeskaVLP72.076.778.172.572.773.3
SurgRec-MAE64.273.674.363.163.965.1
Classifier oracle: predicted label
C3D67.573.476.668.668.468.6
DINOv282.986.188.183.984.183.5
VideoMAE V281.088.089.281.181.482.0
V-JEPA 282.589.590.683.184.184.5
PeskaVLP81.284.386.781.781.982.3
SurgRec-MAE75.883.785.074.676.677.0

Table 9.

Table 11. Effect of temporal granularity and playback speed (SCENE, within dataset, mAP %). Left: averaged over the 5 procedures with phase and speed clips (Phaco, Gonio, Chole, Prost, SurgVU); speed-s queries are searched in the short gallery. Right: averaged over the 3 procedures with medium clips (Chole, Prost, SurgVU). –: not computed for this method. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodShortPhase2×3×5×ShortMediumPhase
Reference
Random (chance)18.520.618.518.518.621.922.221.6
Duration only†26.227.926.326.527.328.829.028.5
Frozen encoders (mean pooling)
C3D26.933.626.927.227.531.533.634.8
DINOv232.138.432.232.833.537.240.740.9
VideoMAE V233.440.733.734.034.236.640.441.6
V-JEPA 231.539.631.631.631.437.641.943.4
PeskaVLP38.444.738.739.339.847.151.351.5
SurgRec-MAE26.431.326.326.326.030.932.833.5
Video retrieval
Chamfer (DINOv2)33.039.233.233.934.738.041.141.4
Sym. chamfer (DINOv2)31.636.731.732.132.836.237.938.5
ViSiL‡34.538.5±±±37.3±37.3
SupCon head (trained)
C3D47.256.948.549.551.354.259.561.5
DINOv265.273.666.668.270.173.077.779.5
VideoMAE V270.978.072.573.675.373.979.180.9
V-JEPA 269.578.271.072.874.874.980.382.9
PeskaVLP63.471.664.866.167.971.977.379.2
SurgRec-MAE58.367.159.260.862.865.369.871.9
Classifier oracle: hidden features
C3D35.944.036.437.137.941.444.746.1
DINOv251.559.152.053.254.459.864.065.4
VideoMAE V252.460.753.754.454.755.460.862.4
V-JEPA 252.563.153.854.956.461.767.570.6
PeskaVLP49.856.950.551.352.160.365.466.0
SurgRec-MAE41.950.642.643.444.147.352.554.0
Classifier oracle: predicted label
C3D37.846.838.739.640.643.447.149.7
DINOv252.662.053.554.956.559.564.767.8
VideoMAE V258.567.959.961.162.061.369.871.4
V-JEPA 256.366.757.858.860.062.270.172.7
PeskaVLP51.759.352.153.254.560.765.668.1
SurgRec-MAE45.355.746.647.448.051.458.859.8

Table 11. Effect of temporal granularity and playback speed (SCENE, within dataset, mAP %). Left: averaged over the 5 procedures with phase and speed clips (Phaco, Gonio, Chole, Prost, SurgVU); speed-s queries are searched in the short gallery. Right: averaged over the 3 procedures with medium clips (Chole, Prost, SurgVU). –: not computed for this method. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodmAPmAPmacroR@1R@5R@10P@10nDCG@10
Reference
Random (chance)23.020.522.063.381.221.931.2
Duration only†30.528.231.032.847.231.139.0
Frozen encoders (mean pooling)
C3D32.529.748.473.783.442.951.3
DINOv234.932.354.379.388.849.457.9
VideoMAE V236.433.457.783.292.652.260.1
V-JEPA 235.432.357.079.487.949.958.8
PeskaVLP41.137.657.879.287.855.162.7
SurgRec-MAE31.128.145.574.384.441.950.6
Video retrieval
Chamfer (DINOv2)35.633.054.781.190.150.458.9
Sym. chamfer (DINOv2)34.532.450.778.588.548.356.9
ViSiL‡37.934.557.382.990.253.761.5
SupCon head (trained)
C3D47.043.454.276.584.151.659.7
DINOv261.658.867.982.588.065.372.7
VideoMAE V267.064.471.986.091.470.676.9
V-JEPA 266.563.973.085.490.470.977.1
PeskaVLP61.258.667.179.887.964.971.9
SurgRec-MAE57.254.363.681.687.562.669.4
Classifier oracle: hidden features
C3D38.035.449.672.883.447.455.6
DINOv250.948.662.980.389.160.668.0
VideoMAE V251.949.667.684.790.963.370.5
V-JEPA 252.250.366.082.588.963.170.4
PeskaVLP50.747.761.980.589.161.468.2
SurgRec-MAE43.941.358.780.087.956.564.0
Classifier oracle: predicted label
C3D39.035.846.974.582.442.751.2
DINOv251.448.056.885.689.255.462.7
VideoMAE V256.353.565.684.990.661.368.8
V-JEPA 254.451.556.481.090.456.363.8
PeskaVLP50.947.755.678.889.655.262.8
SurgRec-MAE45.742.854.879.686.050.958.6

Table 12. SCENE retrieval, short clips, within dataset: all metrics (%), averaged over the six procedures (ViSiL: 500 queries per procedure). nDCG@10 uses graded gains (2 same phase, 1 neighbouring phase). †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

Table 14. Cross-dataset SCENE retrieval, short clips (mAP %); column groups give the query dataset. W: gallery from the query’s dataset; X: gallery from the other dataset (shared labels only); P: pooled gallery of both datasets. The classifier oracle and the SupCon head are trained on the query’s dataset only. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodPhacoemulsification: Cat.-LMM WPhacoemulsification: Cat.-LMM XPhacoemulsification: Cat.-LMM PPhacoemulsification: Cat.-1K WPhacoemulsification: Cat.-1K XPhacoemulsification: Cat.-1K PCholecystectomy: Cholec80 WCholecystectomy: Cholec80 XCholecystectomy: Cholec80 PCholecystectomy: HeiChole WCholecystectomy: HeiChole XCholecystectomy: HeiChole P
Reference
Random (chance)10.59.910.213.19.49.717.418.017.219.317.217.4
Duration only†16.619.716.427.914.615.931.229.229.928.628.928.0
Frozen encoders (mean pooling)
C3D13.012.012.522.810.714.129.025.727.626.424.724.4
DINOv214.312.413.824.311.114.732.627.731.128.128.127.5
VideoMAE V219.715.218.332.610.616.831.426.129.327.527.526.7
V-JEPA 213.012.412.727.510.215.232.729.231.130.630.329.7
PeskaVLP14.112.913.632.511.416.948.940.045.937.440.138.5
SurgRec-MAE13.011.812.817.99.412.425.524.224.526.124.624.5
Video retrieval
Chamfer (DINOv2)14.612.514.126.611.115.333.128.231.528.527.927.4
Sym. chamfer (DINOv2)14.412.713.925.711.314.930.426.429.028.827.427.1
ViSiL‡17.917.416.934.015.618.431.227.229.628.628.227.6
SupCon head (trained)
C3D22.513.020.342.29.916.445.833.042.132.229.729.8
DINOv241.329.638.573.619.335.369.950.664.644.042.942.6
VideoMAE V260.835.855.782.024.742.272.956.968.849.145.545.9
V-JEPA 252.937.349.880.222.339.571.851.866.447.548.747.7
PeskaVLP34.019.731.571.213.127.771.151.366.044.345.644.9
SurgRec-MAE36.616.233.251.913.723.951.241.147.442.033.534.6
Classifier oracle: hidden features
C3D15.512.914.832.010.816.236.931.234.833.930.931.1
DINOv224.521.823.249.115.723.853.243.650.339.538.137.8
VideoMAE V235.229.032.158.019.430.951.240.347.939.337.136.9
V-JEPA 222.520.521.157.518.228.253.742.650.542.041.841.1
PeskaVLP18.516.617.749.213.622.160.047.356.443.947.445.8
SurgRec-MAE21.915.320.833.113.318.935.935.134.433.633.232.6
Classifier oracle: predicted label
C3D17.311.715.628.19.712.036.227.533.728.825.826.0
DINOv233.219.930.256.213.419.453.739.949.537.034.134.3
VideoMAE V250.215.440.264.213.121.354.939.749.935.733.633.7
V-JEPA 240.017.734.963.214.723.153.640.649.438.036.136.1
PeskaVLP22.712.321.151.910.715.856.937.851.139.737.037.2
SurgRec-MAE28.712.524.930.410.315.741.534.238.930.725.726.5
MethodPhacoemulsificationCholecystectomy
Cat.-LMMCat.-1KCholec80HeiChole
WXPWXPWXPWXP
Reference
Random (chance)15.320.715.622.219.918.317.318.217.219.617.417.6
Duration only{sup}†`21.634.022.639.425.925.531.128.829.627.528.427.3
Frozen encoders (mean pooling)
C3D21.525.120.939.721.624.335.529.333.329.929.128.5
DINOv221.423.820.535.624.324.237.430.035.331.931.030.6
VideoMAE V227.626.925.247.423.025.237.528.734.531.031.830.8
V-JEPA 221.323.720.344.024.925.742.234.039.434.637.936.4
PeskaVLP21.125.220.340.321.323.657.144.752.943.045.443.5
SurgRec-MAE19.725.718.933.024.022.726.925.025.727.126.125.7
Video retrieval
Chamfer (DINOv2)22.024.421.037.824.124.437.330.135.231.629.929.5
Sym. chamfer (DINOv2)21.623.920.637.024.424.433.327.531.330.929.729.2
ViSiL{sup}‡`25.927.924.243.024.225.331.325.929.429.328.227.6
SupCon head (trained)
C3D35.025.932.155.520.426.158.437.852.938.935.936.0
DINOv251.337.346.882.632.842.582.260.776.752.450.850.5
VideoMAE V266.432.461.286.627.641.085.470.281.758.654.554.8
V-JEPA 259.949.156.987.634.344.584.762.579.461.060.159.1
PeskaVLP44.033.441.274.621.232.184.559.578.556.856.756.2
SurgRec-MAE47.632.243.165.625.934.160.046.155.650.939.040.6
Classifier oracle: hidden features
C3D25.424.924.248.222.826.843.136.540.536.833.833.5
DINOv233.230.631.458.528.932.363.450.659.646.042.142.1
VideoMAE V241.733.138.169.731.036.360.047.756.345.842.342.2
V-JEPA 232.932.531.172.237.040.366.953.863.150.251.450.1
PeskaVLP26.327.425.153.124.628.671.053.866.250.954.452.5
SurgRec-MAE30.230.028.749.633.334.540.439.338.738.738.237.4
Classifier oracle: predicted label
C3D28.521.825.940.319.520.746.732.142.233.027.928.6
DINOv243.227.038.670.124.227.166.147.660.645.841.942.2
VideoMAE V256.621.846.470.521.830.075.154.468.345.039.740.2
V-JEPA 246.729.842.468.026.832.668.650.462.945.642.542.5
PeskaVLP29.821.327.253.421.323.070.842.662.046.145.645.0
SurgRec-MAE39.725.035.446.725.227.352.540.648.840.030.031.8

Table 15. Cross-dataset SCENE retrieval, phase clips (mAP %); column groups give the query dataset. W: gallery from the query’s dataset; X: gallery from the other dataset (shared labels only); P: pooled gallery of both datasets. The classifier oracle and the SupCon head are trained on the query’s dataset only. †Ranks by the duration of the source segment, which the clips do not reveal. ‡500 random queries per matrix. Bold: best non-reference method per column.

MethodPhaco (23)Gonio. (59)Chole. (30)Prost. (3)SurgVU (58)Colon (11)
Random11.0 [10.7, 11.2]15.7 [15.5, 16.0]17.9 [17.5, 18.3]13.8 [11.4, 14.7]33.9 [33.2, 34.5]45.5 [43.0, 48.9]
Duration only18.7 [17.7, 19.8]26.1 [25.1, 27.2]30.6 [29.3, 31.9]17.0 [15.2, 18.0]38.9 [37.8, 39.9]51.5 [44.7, 59.8]
C3D14.8 [14.0, 15.6]25.2 [24.1, 26.3]28.4 [27.6, 29.2]25.2 [21.5, 26.4]40.9 [40.0, 41.9]60.5 [49.0, 70.3]
DINOv216.2 [15.4, 17.0]32.7 [31.2, 34.2]31.4 [30.2, 32.7]31.9 [27.2, 33.9]48.3 [47.1, 49.4]48.9 [42.4, 56.5]
VideoMAE V222.1 [21.1, 23.4]35.4 [33.7, 36.8]30.4 [29.4, 31.5]31.2 [29.8, 32.2]48.1 [46.9, 49.3]51.4 [45.0, 58.2]
V-JEPA 215.7 [14.7, 16.9]29.0 [27.6, 30.3]32.1 [31.1, 33.1]36.0 [30.0, 38.9]44.7 [43.7, 45.7]54.9 [46.6, 62.0]
PeskaVLP17.5 [16.1, 19.1]33.1 [31.3, 34.6]45.9 [43.6, 48.3]43.0 [35.4, 45.9]52.4 [51.0, 53.8]54.9 [44.0, 63.3]
SurgRec-MAE13.9 [13.5, 14.4]25.6 [24.4, 26.7]25.6 [24.8, 26.4]23.5 [18.3, 26.5]43.5 [42.5, 44.5]54.4 [45.7, 62.6]
ViSiL20.3 [19.0, 21.9]40.1 [37.6, 42.2]30.5 [29.3, 31.7]31.0 [29.5, 32.1]50.4 [48.4, 52.3]55.2 [46.8, 63.0]
C3D + SupCon26.2 [24.5, 28.0]47.2 [44.6, 49.7]42.2 [39.6, 44.9]44.4 [37.6, 48.2]76.1 [73.9, 78.3]46.2 [41.9, 52.0]
DINOv2 + SupCon47.3 [44.7, 50.2]59.8 [57.5, 62.2]63.1 [58.8, 67.6]64.6 [56.0, 67.5]91.3 [89.6, 92.8]43.5 [38.4, 50.3]
VideoMAE V2 + SupCon64.7 [62.3, 67.2]68.1 [65.4, 70.6]66.7 [63.0, 70.7]64.6 [56.1, 68.3]90.4 [88.6, 91.8]47.2 [41.9, 52.9]
V-JEPA 2 + SupCon58.0 [55.4, 60.8]64.8 [62.2, 67.4]65.4 [61.0, 69.4]68.1 [62.3, 70.4]91.3 [89.2, 93.1]51.3 [47.4, 55.9]
PeskaVLP + SupCon40.9 [37.6, 44.5]60.3 [57.7, 62.9]64.0 [59.6, 68.6]62.5 [53.8, 66.2]89.1 [87.5, 90.6]50.5 [46.8, 53.8]
SurgRec-MAE + SupCon39.4 [37.4, 41.3]56.3 [53.5, 58.9]48.8 [47.0, 50.7]61.7 [53.3, 65.2]85.4 [82.8, 87.7]51.9 [44.7, 59.7]

Table 17. SCENE short-clip mAP (%) with 95% bootstrap confidence intervals over test cases (1,000 resamples), within dataset. Number of test cases in brackets in the header; intervals over very few cases (prostatectomy) are unreliable.

Train datasetC3D ownC3D otherDINOv2 ownDINOv2 otherVideoMAE V2 ownVideoMAE V2 otherV-JEPA 2 ownV-JEPA 2 otherPeskaVLP ownPeskaVLP otherSurgRec-MAE ownSurgRec-MAE other
Cataract-LMM37.215.355.634.271.730.062.440.347.320.153.224.2
Cataract-1K45.09.864.122.272.320.273.621.164.614.548.314.2
MIGS-GT57.2—64.5—74.8—70.3—67.2—65.7—
Cholec8064.642.480.061.784.063.881.561.783.057.571.154.1
HeiChole51.347.467.762.064.359.267.663.766.165.557.241.1
GraSP41.9—64.5—68.0—74.7—64.5—66.0—
SurgVU83.4—92.0—91.8—93.3—90.7—89.5—
REAL-Colon54.0—45.6—56.5—54.3—55.8—59.0—
Cataract-LMM (WF)8.811.412.616.319.013.313.511.311.59.015.214.4
Cataract-1K (WF)39.79.245.216.261.823.566.823.355.618.732.413.9
MIGS-GT (WF)25.9—34.4—32.6—33.6—37.1—36.4—

Table 18. Classifier oracle (one-hidden-layer MLP probe on frozen features): balanced accuracy (%) on the test split of the training dataset (own) and of the other dataset of the same procedure (other; shared classes only). WF: transition types as classes.

Train datasetC3DDINOv2VideoMAE V2V-JEPA 2PeskaVLPSurgRec-MAE
ownotherownotherownotherownotherownotherownother
Cataract-LMM36.818.457.336.872.728.764.244.153.324.351.714.5
Cataract-1K41.211.868.823.981.019.872.616.463.616.552.816.3
MIGS-GT55.6—64.8—74.3—71.3—68.6—65.0—
Cholec8066.039.180.459.183.267.581.456.481.051.471.154.5
HeiChole48.444.564.155.867.958.464.665.661.864.157.251.7
GraSP44.3—66.7—69.9—75.8—68.9—67.8—
SurgVU82.8—91.6—92.0—93.6—90.1—89.6—
REAL-Colon46.3—51.3—58.9—46.9—53.5—57.7—
Cataract-LMM (WF)7.26.312.719.418.918.417.514.813.519.111.90.0
Cataract-1K (WF)39.25.552.918.460.917.569.617.656.717.740.523.7
MIGS-GT (WF)22.2—38.0—33.7—27.1—39.8—40.0—

Table 19. Classifier oracle (linear probe on frozen features): balanced accuracy (%) on the test split of the training dataset (own) and of the other dataset of the same procedure (other; shared classes only). WF: transition types as classes.

EncoderCataract-1KCataract-1K WFCataract-LMMCataract-LMM WFCholec80GraSPHeiCholeMIGS-GTMIGS-GT WFREAL-ColonSurgVU
V-JEPA 272.069.356.534.483.067.974.773.742.7–95.5
PeskaVLP67.046.838.119.480.858.683.665.933.5–92.5
SurgRec-MAE47.537.439.720.862.849.358.260.041.1–91.1

Table 21. SupCon head: validation mAP (%) at the selected step, per dataset (WF: transitions). ±: validation split too small to select on (REAL-Colon, 18 clips; the head is then trained for the minimum number of steps).

Qualitative examples

Figures 2–22 illustrate the relevance definition of SurgCBVR on the test split. Each row is one retrieval example: a query clip (blue), three positives that share its label but come from other cases (green), and three negatives with other labels, also from other cases (red). Clips from the query’s own case never appear, as they are removed from every gallery during evaluation. The examples are drawn at random with a fixed seed and show the ground-truth relevance, not the ranking of any method. SCENE tiles show the central frame of the 5 s clip; WORKFLOW tiles show three frames at 5%, 50% and 95% of the clip, i.e. the end of the first phase, the change and the start of the second phase. Below each tile, the first line gives the label and the second the case, the length of the source window and the resulting playback speed (e.g. “32s src (6.4×)”: 32 s of surgery rendered into 5 s). Matching clips for every figure are listed in the released picks_*.csv files, and corresponding videos are provided as supplementary files. Figures 2–5 give an overview across datasets; Figures 6–13 show SCENE examples per dataset, Figures 14–17 cross-dataset SCENE examples, and Figures 18–22 WORKFLOW examples within and across datasets.

Figure 2. SCENE retrieval examples for all eight datasets (one row each), phase-level clips (5 s rendered from D/5D/5 of the source segment); colonoscopy has no phase-level clips and uses short clips. Positives share the query’s phase, task or lesion class; negatives are other labels of the same procedure. Within each procedure, positives and negatives often look alike (e.g. cleaning and coagulation vs. gallbladder dissection on the same liver bed in Cholec80 and HeiChole, or adenoma vs. hyperplastic polyps in REAL-Colon), which is what makes within-procedure retrieval difficult.

Figure 3. Cross-dataset SCENE retrieval, short clips: queries from one dataset, positives and negatives from the other dataset of the same procedure, restricted to the labels both datasets share (Cataract-LMM ↔\leftrightarrow Cataract-1K, Cholec80 ↔\leftrightarrow HeiChole). Differences in microscope or laparoscope, illumination, image framing and patient population are visible between query and gallery, while the phase is the same.

Figure 4. WORKFLOW retrieval examples for the three ophthalmic datasets (one row each). Each tile shows the start, middle and end of a transition clip; positives have the same transition type A→BA \to B, negatives other transition types, which frequently share one of the two phases (e.g. Incision→\toViscoelastic vs. IrrigationAspiration→\toViscoelastic).

Figure 5. Cross-dataset WORKFLOW retrieval for phacoemulsification: a Cataract-LMM query against Cataract-1K transitions (top) and vice versa (bottom), restricted to transition types present in both datasets.

Figure 6. Cataract-LMM, SCENE, phase-level clips. Queries: capsule polishing, lens positioning and phacoemulsification.

Figure 7. Cataract-1K, SCENE, phase-level clips. Queries: phacoemulsification, tonifying/antibiotics and viscoelastic suction.

Figure 8. MIGS-GT (goniotomy), SCENE, phase-level clips. Queries: wound closure, goniotomy and OVD injection. Several phases share the same view of the eye and differ mainly in the instrument.

Figure 9. Cholec80, SCENE, phase-level clips. Queries: cleaning and coagulation, gallbladder retraction (extraction of the specimen bag) and gallbladder packaging. Phase-level clips cover longer source windows and are played faster (up to 24×24 \times here).

Figure 10. HeiChole, SCENE, phase-level clips. Queries: cleaning and coagulation, gallbladder dissection and clipping and cutting.

Figure 11. GraSP (robot-assisted radical prostatectomy), SCENE, phase-level clips. Queries: left pelvic isolated lymphadenectomy (LPIL), vascular pedicle control and Denonvilliers’ fascia dissection. The test split contains only three patients, so positives can repeat a case.

Figure 12. SurgVU (robotic training on porcine models), SCENE, phase-level clips. Queries: uterine horn, suturing and suspensory ligaments. Long task segments give playback speeds above 40×40 \times for phase-level clips.

Figure 13. REAL-Colon, SCENE, short clips (colonoscopy has no phase-level clips). Queries: adenoma and hyperplastic polyp; with two classes, every negative is the other class. Histology is hard to judge from a single white-light view, and lesions can be small in the frame.

Figure 14. Cross-dataset SCENE retrieval, short clips: Cataract-LMM queries (viscoelastic suction, lens implantation, phacoemulsification) against Cataract-1K positives and negatives.

Figure 15. Cross-dataset SCENE retrieval, short clips: Cataract-1K queries (phacoemulsification, viscoelastic, irrigation/aspiration) against Cataract-LMM positives and negatives.

Cross-dataset SCENE retrieval, short clips: Cholec80 queries against HeiChole positives and negatives

Figure 16. Cross-dataset SCENE retrieval, short clips: Cholec80 queries (cleaning and coagulation, gallbladder dissection, gallbladder packaging) against HeiChole positives and negatives.

Cross-dataset SCENE retrieval, short clips: HeiChole queries against Cholec80 positives and negatives

Figure 17. Cross-dataset SCENE retrieval, short clips: HeiChole queries (gallbladder dissection, Calot triangle dissection, gallbladder packaging) against Cholec80 positives and negatives.

Cataract-LMM workflow transitions

Figure 18. Cataract-LMM, WORKFLOW. Queries: Capsulorhexis→Viscoelastic, LensPositioning→TonifyingAntibiotics and Incision→Hydrodissection. Each tile shows the start, middle and end of the transition window.

Cataract-1K workflow transitions

Figure 19. Cataract-1K, WORKFLOW. Queries: Incision→Viscoelastic, Capsulorhexis→Hydrodissection and LensImplantation→LensPositioning.

MIGS-GT workflow transitions

Figure 20. MIGS-GT, WORKFLOW. Queries: goniotomy→OVD irrigation/aspiration, corneal incision (3.2 mm keratome)→OVD injection and OVD injection→corneal incision (15° keratome).

Cross-dataset workflow transitions

Figure 21. Cross-dataset WORKFLOW: Cataract-LMM queries (LensPositioning→ViscoelasticSuction, Hydrodissection→Phacoemulsification, Viscoelastic→Capsulorhexis) against Cataract-1K transitions.

Figure 22. Cross-dataset WORKFLOW: Cataract-1K queries (Incision→Viscoelastic, Capsulorhexis→Hydrodissection, ViscoelasticSuction→TonifyingAntibiotics) against Cataract-LMM transitions.

References

  1. [1]Mohammad Javad Ahmadi, Iman Gandomi, Parisa Abdi, Seyed-Farzad Mohammadi, Amirhossein Taslimi, Mehdi Khodaparast, Hassan Hashemi, Mahdi Tavakoli, and Hamid D. Taghirad. Cataract-Imm large-scale multi-source multi-task benchmark for deep learning in surgical video analysis. Scientific Data, 2026. 4DOI
  2. [2]Assran, M., Bardes, A., Fan, D., Garrido, Q., Howes, R., Muckley, M., Rizvi, A., Roberts, C., Sinha, K., Zholus, A., & al., . et . (2025). V-jepa 2: Self-supervised video models enable understanding, prediction and planning. In arXiv preprint. 2506.09985
  3. [3]Ayobi, N., Rodríguez, S., Pérez, A., Hernández, I., Aparicio, N., Dessevres, E., Peña, S., Santander, J., Caicedo, J. I., Fernández, N., & al., . et . (2025). Pixel-wise recognition for holistic surgical scene understanding. Medical Image Analysis, 103726.
  4. [4]Bellos, F., & al., . et . (2026). SurgAtlas: A large-scale surgical video-language dataset with 2,391 hours of open and minimally invasive surgery. In arXiv preprint. 2606.25905
  5. [5]Biffi, C., & al., . et . (2024). REAL-Colon: A dataset for developing real-world AI applications in colonoscopy. Scientific Data.
  6. [6]X. Chen, D. Liu, X. Yang, X. Li, J. Dong, M. Wang, and X. Wang. PRVR: Partially relevant video retrieval. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025. 2DOI
  7. [7]Ziang Chen. Intraoperative adverse events dataset, 2025. 3, 6DOI
  8. [8]Gao, Y., & al., . et . (2014). JHU-ISI gesture and skill assessment working set (JIGSAWS): A surgical activity dataset for human motion modeling. MICCAI Workshop: M2CAI.
  9. [9]Ghamsarian, N., El-Shabrawi, Y., Nasiri-haghighi, S., Putzgruber-Adamitsch, D., Zinkernagel, M., Wolf, S., Schoeffmann, K., & Sznitman, R. (2024). Cataract-K1 dataset for deep-learning-assisted analysis of cataract surgery videos. Scientific Data, 11(1), 373.
  10. [10]Hu, M., & al., . et . (2024). OphNet: A large-scale video benchmark for ophthalmic surgical workflow understanding. European Conference on Computer Vision (ECCV).
  11. [11]Jaycock, P., Johnston, R., Taylor, H., Adams, M., Tole, D., Galloway, P., Canning, C., & Sparrow, J. (2009). The cataract national dataset electonic multi-centre audit of 55 567 operations: updating benchmark standards of care in the united kingdom and internationally. Eye, 23(1), 38–49.
  12. [12]Jose, C., Moutakanni, T., Kang, D., Baldassarre, F., Darcet, T., Xu, H., Li, D., Marc Szafraniec, M. R., Ouqab, M., & al., . et . (2025). DinoV2 meets text: A unified framework for image-and pixel-level vision-language alignment. 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 24905–24916.
  13. [13]Giorgos Kordopatis-Zilos, Symeon Papadopoulos, Ioannis Patras, and Ioannis Kompatsiaris. FIVR: Fine-grained incident video retrieval. IEEE Transactions on Multimedia, 21(10):2638–2652, 2019. 2, 5DOI
  14. [14]Giorgos Kordopatis-Zilos, Symeon Papadopoulos, Ioannis Patras, and Ioannis Kompatsiaris. ViSiL: Fine-grained spatio-temporal video similarity learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019. 2, 6arxiv.org/abs/1908.07410
  15. [15]Giorgos Kordopatis-Zilos, Christos Tzelepis, Symeon Papadopoulos, Ioannis Kompatsiaris, and Ioannis Patras. DnS: Distill-and-select for efficient and accurate video indexing and retrieval. International Journal of Computer Vision, 2022. 2DOI
  16. [16]Kugener, G., Pangal, D. J., Cardinal, T., Collet, C., Lechtchinsky-Zey, E., Lasky, S., Sundaram, S., Markarian, N., Zhu, Y., Roshnani, A., & al., . et . (2022). Utility of the simulated outcomes following carotid artery laceration video data set for machine learning applications. JAMA Network Open, 5(3), e223177.
  17. [17]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. International journal of computer assisted radiology and surgery, 19(11):2249–2257, 2024. 2DOI
  18. [18]Joël L Lavanchy, Deepak Alapatt, Luca Sestini, Marko Kraljević, Philipp C Nett, Didier Mutter, Beat P Müller-Stich, and Nicolas Padoy. Analyzing the impact of surgical technique on intraoperative adverse events in laparoscopic roux-en-y gastric bypass surgery by video-based assessment. Surgical Endoscopy, 39(3):2026–2036, 2025. 3, 6DOI
  19. [19]Lu, S., Xiao, Z., Wei, J., Sun, D., Lu, Q., Hu, K., Yang, F., Wu, J., Zhang, Y., & Liu, Z. (2026). Scaling video pretraining for surgical foundation models. In arXiv preprint. 2603.29966
  20. [20]Albert J Miao, Shan Lin, Lingpei Jin, Florian Richter, Benjamin Ostrander, Emily K Funk, Ryan K Orosco, and
  21. [21]Misawa, M., & al., . et . (2021). Development of a computer-aided detection system for colonoscopy and a publicly accessible large colonoscopy video database. Gastrointestinal Endoscopy.
  22. [22]Nwoye, C. I., & al., . et . (2022). Rendezvous: Attention mechanisms for the recognition of surgical action triplets in endoscopic videos. Medical Image Analysis.
  23. [23]Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., & al., . et . (2023). DINOv2: Learning robust visual features without supervision. In arXiv preprint.arXiv
  24. [24]Jialun Pei, Zhangjun Zhou, Diandian Guo, Zhixi Li, Jing Qin, Bo Du, and Pheng-Ann Heng. Synergistic bleeding region and point detection in laparoscopic surgical videos. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026. 3, 6arxiv.org/abs/2503.22174
  25. [25]Alejandra Perez, Chinedu Nwoye, Ramtin Raji Kermani, Omid Mohareri, and Muhammad Abdullah Jamal. Surglavi: Large-scale hierarchical dataset for surgical vision-language representation learning. Medical Image Analysis, page 103982, 2026. 2, 3DOI
  26. [26]Psychogyios, D., & al., . et . (2023). SAR-RARP50: Segmentation of surgical instrumentation and action recognition on robot-assisted radical prostatectomy challenge. In arXiv preprint.arXiv
  27. [27]Bhuvan Sachdeva, Sneha Kumari, Rudransh Agarwal, Shalaka Kumaraswamy, Niharika Singri Prasad, Simon Mueller, Raphael Lechtenboehmer, Maximilian W. M. Wintergerst, Thomas Schultz, Kaushik Murali, and Mohit Jain. Cataractcompdetect: Intraoperative complication detection in cataract surgery, 2025. 6arxiv.org/abs/2511.18968
  28. [28]Peng Yong Sim, Paul HJ Donachie, Alexander C Day, and John C Buchan. The royal college of ophthalmologists’ national ophthalmology database study of cataract surgery: Report 17, a risk factor model for posterior capsule rupture. Eye, 38(18):3495–3503, 2024. 1DOI
  29. [29]Zhan Tong, Yibing Song, Jue Wang, and Limin Wang. VideoMAE: Masked autoencoders are data-efficient learners for self-supervised video pre-training. In Advances in Neural Information Processing Systems, pages 10078–10093, 2022. 6arxiv.org/abs/2203.12602
  30. [30]Tran, D., Bourdev, L., Fergus, R., Torresani, L., & Paluri, M. (2015). Learning spatiotemporal features with 3D convolutional networks. Proceedings of the IEEE International Conference on Computer Vision (ICCV), 4489–4497.
  31. [31]Twinanda, A. P., Shehata, S., Mutter, D., Marescaux, J., de Mathelin, M., & Padov, N. (2017). EndoNet: A deep architecture for recognition tasks on laparoscopic videos. IEEE Transactions on Medical Imaging, 36(1), 86–97.
  32. [32]Lucas Ventura, Antoine Yang, Cordelia Schmid, and Gül Varol. CoVR: Learning composed video retrieval from web video captions. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 5270–5279, 2024. 2DOI
  33. [33]Wagner, M., Müller-Stich, B.-P., Kisilenko, K., Tran, D., Heger, P., Mündermann, L., Lubotsky, D. M., Müller, B., Davitashvili, T., Capek, M., & al., . et . (2023). Comparative validation of machine learning algorithms for surgical workflow and skill analysis with the heichole benchmark. Medical Image Analysis, 86, 102770.
  34. [34]Wang, D., Zhang, Y., Li, Y., Zhou, K., Yang, Z., You, Z., Xiaokaiti, D., Zhou, F., Chen, Y., Li, X., & al., . et . (2024). Multicenter fine annotated surgical video dataset for minimally invasive glaucoma surgery. Scientific Data.
  35. [35]Limin Wang, Bingkun Huang, Zhiyu Zhao, Zhan Tong, Yinan He, Yi Wang, Yali Wang, and Yu Qiao. Videomae v2: Scaling video masked autoencoders with dual masking. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14549–14560. IEEE, 2023. 6arxiv.org/abs/2303.16727
  36. [36]Wang, Y., Li, K., Li, X., Yu, J., He, Y., Chen, G., Pei, B., Zheng, R., Wang, Z., Shi, Y., & al., . et . (2024). Internvideo2: Scaling foundation models for multimodal video understanding. European Conference on Computer Vision, 396–416.
  37. [37]Wang, Z., & al., . et . (2022). AutoLaparo: A new dataset of integrated multi-tasks for image-guided surgical automation in laparoscopic hysterectomy. Medical Image Computing and Computer Assisted Intervention (MICCAI).
  38. [38]Yu, T., Mascagni, P., Verde, J., Marescaux, J., Mutter, D., & Padov, N. (2023). Live laparoscopic video retrieval with compressed uncertainty. Medical Image Analysis, 88, 102866.
  39. [39]Yuan, K., Srivastav, V., Navab, N., & Padov, N. (2024). Procedure-aware surgical video-language pretraining with hierarchical knowledge augmentation. Advances in Neural Information Processing Systems, 37, 122952–122983.
  40. [40]Yuan, K., Srivastav, V., Yu, T., Lavanchy, J. L., Marescaux, J., Mascagni, P., Navab, N., & Padov, N. (2025). Learning multi-modal representations by watching hundreds of surgical video lectures. Medical Image Analysis, 105, 103644.
  41. [41]Zia, A., Max, Z., Ren, R. N., Zhang, X., Perreault, C., Wang, Z., Mueller, B., Schmidt, R., Bhattacharyya, K., Liu, X., & al., . et . (2025). Surgical visual understanding (surgyu) dataset. In arXiv preprint.arXiv

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type