Hospitals increasingly record surgeries, but the recordings are rarely linked back to the written operative note. Finding "the video where the gallbladder was perforated during dissection" in an archive of hundreds of near-identical cholecystectomies is still done by hand. This is a partially relevant video retrieval problem: searching a collection of long, untrimmed videos with a text query that describes only a short moment inside one of them. The query here is unusual, though. It is a messy clinical note, full of abbreviations and inconsistent sections. It also makes many negative statements: "no bile spillage," "cystic artery clipped without bleeding," "no adhesions." Current retrieval models score text against video with a similarity in a shared embedding space. That similarity cannot tell "bleeding" from "no bleeding," so a negated complication pulls the note toward exactly the wrong videos.
We propose to treat an operative note as a structured query. Clinical information extraction turns the note into two sets: events the note asserts happened, and events it asserts did not happen. The video is scored by finding each asserted event somewhere in the recording and by finding no convincing trace of each denied event. Within one procedure type, most videos share the same phases. The information that tells them apart lies largely in complications and difficulty findings, and notes often record these by negation. Our claim is that denied events are usable retrieval evidence rather than noise to be pruned. Using them requires an uncertainty-weighted absence penalty, because surgical video features are noisy.
Core Claim
Two pieces combine into a strong baseline: a careful clinical extraction pipeline that removes negated and historical mentions, followed by a strong partially-relevant retriever. We claim this baseline leaves measurable accuracy on the table in same-procedure archives. Adding an explicit, confidence-weighted term that penalizes videos containing note-denied events will improve note-to-video Recall@1. The gain should be largest on the hardest pairs: videos of the same procedure that differ by the presence of one complication. Let $P$ be the set of asserted-present events and $A$ the set of asserted-absent events extracted from note $q$. Let $c_1,\dots,c_T$ be clip embeddings of video $v$, and let $\mathrm{sim}$ be the learned event-to-clip similarity. We score
$$ s(q,v) = \sum_{e \in P} \max_t \mathrm{sim}(e, c_t) \;-\; \lambda \sum_{e \in A} u_e(v)\, \max_t \mathrm{sim}(e, c_t), $$
where $u_e(v)\in[0,1]$ is the model's confidence that its best-matching clip for $e$ is a real detection rather than an artifact, and $\lambda$ is a single weight tuned on validation data. The first term is the standard "find it somewhere" logic of multiple-instance retrieval. The second term is new: it asks whether a denied event appears anywhere in the video. It is dangerous without $u_e$, because a smoke-filled frame can look like bleeding.
What Exists and What This Changes
The retrieval side supplies the machinery. Partially Relevant Video Retrieval introduced multi-scale clip and frame matching under multiple-instance learning, which treats a video as a bag of clips and scores it by its best clip. Bridging the Semantic Granularity Gap showed that splitting a compound query into separate semantic units before matching frames helps. This motivates our decomposition, but their units are learned by slot attention over short captions. Ours are explicit clinical events with assertion labels (present, absent, historical, or hypothetical). Revisiting Uncertainty: On Evidential Learning for PRVR (Holmes) models match scores as distributions over evidence and uses a "dustbin" to discard irrelevant frames. We reuse its evidential uncertainty to produce $u_e$, applying it to a question Holmes never asks: whether a specific event is missing from a video. Uneven Event Modeling builds variable-length segments by merging frames whose features are similar. It constrains our design. Its merge threshold needed different tuning on each dataset, and UniSurg shows raw surgical frame features are corrupted by smoke and glare. So we start from fixed multi-scale windows over UniSurg's motion-aware features and treat adaptive segmentation only as an ablation.
The extraction side motivates the assertion labels and supplies the parser. Self-Verification Improves Few-Shot Clinical Information Extraction showed that a pass which recovers omissions, quotes evidence, and prunes negated or historical items lifts MIMIC-IV ICD-10 F1 from 0.487 to 0.533. CLEAR showed that focusing an LLM on windows around recognized clinical entities beats both chunked retrieval and whole-note prompting: 0.90 versus 0.86 and 0.79 average F1. Both works discard negated items because their goal is a list of true findings. Our proposal keeps those items and routes them into a separate scoring term.
The closest cross-modal work leaves this task open. MedScope grounds answers to short clinical questions in long surgical videos through iterative cropping. LLaVA-Surg extracts structured facts from lecture narrations to train a video question-answering assistant. OphCLIP uses retrieval only as an auxiliary pretraining signal. None of them retrieves whole videos from an archive using an operative note, and none models negated statements as evidence.
Research Program
We will build a note-to-video benchmark on laparoscopic cholecystectomy, where annotations already exist. The gallery draws on Cholec80 and AutoLaparo (phase labels; used with LoViT in LoViT), CholecT50 (instrument–verb–target action labels), and the 100 CholecScore videos from SurgPrOD, which carry Parkland, Sugrue, and Nassar difficulty grades. Notes come from two sources. The first is a large synthetic set. An LLM writes operative notes from each video's annotations, in deliberately messy styles: shorthand, missing or reordered sections in the spirit of MedSecId, and negations generated from action labels that are absent in that video. The second is a smaller real set. Surgeons watch roughly 60 held-out videos and write notes as they normally would, with no access to the annotations. All headline conclusions will be drawn from the surgeon-written set. The synthetic set is for training and for controlled stress tests. To avoid circularity, a different LLM family writes the synthetic notes than the one that parses them.
The parser follows the Self-Verification recipe, with an added step that assigns each event one of the four assertion labels. It maps each event to a CholecT50-style label or free text, and the same pipeline is used for every baseline. The retriever uses frozen UniSurg features and multi-scale windows. It is trained contrastively at the event level: clips carrying an event's label are positives for that event, and CholecT50 labels provide weak clip-level supervision for this. An evidential head in the style of Holmes outputs $u_e$. The final score combines events as in the equation above.
Baselines
The naive reference is global matching. The whole note is embedded with a clinical text encoder, the video is mean-pooled into one vector, and videos are ranked by cosine similarity. This shows how much the dilution problem, where the short relevant signal is swamped, costs in this domain.
The strongest existing method is the extract-then-retrieve pipeline. Self-Verification extraction removes negated and historical items. The surviving events are joined into a clean query and passed to Holmes, retrained on our training notes with the same UniSurg features, windows, data, and tuning budget as our model. No result is reported on Lacuna for note-to-surgical-video retrieval. The closest published figure for Holmes is a SumR (sum of Recall@1, 5, 10, and 100) of 156.8 on ActivityNet Captions, reported in Revisiting Uncertainty. We will rerun it ourselves rather than transfer that figure. We also report MS-SL++ in the same setup as a simpler retriever.
The long-context vision-language model baseline asks a commercial multimodal model to score each note–video pair directly. Its cost rules out full-archive ranking, so it reranks the top 20 candidates from the extract-then-retrieve pipeline.
Three ablations isolate the key ingredient. The first uses our architecture with $\lambda=0$, which reduces to event-set presence matching. The second sets $u_e \equiv 1$, an absence penalty without uncertainty weighting. The third keeps negated events in the query text, for example "no bleeding," letting the encoder handle negation implicitly.
Beating the strongest baseline means a statistically reliable Recall@1 gain on the surgeon-written notes, using bootstrap confidence intervals over queries. We also require a larger gain on the stress subset described below. A gain on synthetic notes alone does not count.
Why not just…?
Why not just extract with an LLM, drop the negations, and use an existing retriever? This is the real threat, and it is our main baseline. It will likely capture most of the benefit of decomposing the note into events, and our $\lambda=0$ ablation should roughly match it. Our claim concerns only the remainder. When two cholecystectomies share every phase and differ by one complication, a note saying "no bleeding" is the only evidence that separates them, and pruning throws it away. If the full model does not beat the $\lambda=0$ ablation on the complication-contrast subset, the claim is false, and we will report that denied events carry no usable retrieval signal.
Why not just give the note and the full video to a long-context multimodal model? MedScope reports that passive frame sampling leaves GPT-4o at 35.75 mIoU on OphVL temporal grounding, against 64.42 for active grounding. This suggests brief complications get missed. Scoring a whole archive this way is also impractically expensive. We still include it as a reranker, because it could plausibly handle negation better than embeddings. If it matches our model on the complication-contrast subset, the practical conclusion becomes "cheap retrieval followed by model-based reranking," and we will say so.
Why not just let the text encoder read the negation? Negated phrases sit close to their positive forms in contrastive embedding spaces. The third ablation, which keeps "no bleeding" in the query, tests this directly. We expect it to perform worse than dropping negations, because it pulls the query toward bleeding videos.
Why not just penalize denied events without uncertainty weighting? UniSurg's finding that smoke and glare corrupt frame features predicts many false detections of complications. The $u_e \equiv 1$ ablation measures how much the confidence weighting matters. If it does not matter, the method becomes simpler, which would be good news.
Decisive Checks
The central test is Recall@1, Recall@5, and SumR on surgeon-written notes, over a gallery of all 200-plus cholecystectomy videos. We report it for the naive, MS-SL++, Holmes-pipeline, reranker, and ablation conditions. The stress test is a complication-contrast subset: note–video pairs where a distractor video matches every asserted phase but contains an event that the note denies, as identified from CholecT50 labels or CholecScore difficulty findings. There we report how often the correct video outranks the distractor.
Three secondary checks follow. The first measures sensitivity to extraction errors: we inject controlled mistakes in assertion labels and track how fast the absence term's benefit decays. This matters because Self-Verification F1 is far from perfect. The second is calibration of $u_e$: whether confidence predicts true detections on clips with held-out labels. The third is a transfer check on AutoLaparo hysterectomies, with no retuning of $\lambda$. The outcome that would sink the proposal is a zero or negative effect of the absence term on the stress subset for real notes. It would show that the synthetic negations were easier than the ones surgeons actually write.
References
- Partially Relevant Video Retrieval
- Bridging the Semantic Granularity Gap Between Text and Frame Representations for Partially Relevant Video Retrieval
- Revisiting Uncertainty: On Evidential Learning for Partially Relevant Video Retrieval
- Uneven Event Modeling for Partially Relevant Video Retrieval
- UniSurg: A Video-Native Foundation Model for Universal Understanding of Surgical Videos
- Self-verification improves few-shot clinical information extraction
- Clinical entity augmented retrieval for clinical information extraction
- MedScope: Incentivizing "Think with Videos" for Clinical Reasoning via Coarse-to-Fine Tool Calling
- LLaVA-Surg: Towards Multimodal Surgical Assistant via Structured Lecture Learning
- OphCLIP: Hierarchical Retrieval-Augmented Learning for Ophthalmic Surgical Video-Language Pretraining
- LoViT: Long Video Transformer for Surgical Phase Recognition
- Early operative difficulty assessment in laparoscopic cholecystectomy via snapshot-centric video analysis
- A New Public Corpus for Clinical Section Identification: MedSecId