TrajPred: Trajectory-Conditioned Joint Embedding Prediction for Surgical Instrument-Tissue Interaction Recognition in Vision-Language Models

Jiajun Cheng, Xiaofan Yu, Subarna Tripathi, Sainan Liu, Shan LinarXiv 2026

TL;DR

TrajPred is a novel framework that significantly improves surgical instrument-tissue interaction recognition in Vision-Language Models (VLMs). By explicitly encoding instrument trajectories and shifting from standard contrastive learning to a predictive embedding paradigm, it captures the fine-grained temporal and spatial details crucial for understanding complex surgical procedures.

What Problem Does This Paper Address?

Recognizing instrument-tissue interactions—structured as "action triplets" like (instrument, verb, target), such as grasper, retract, gallbladder—is vital for building context-aware AI assistants in robotic surgery. While general-purpose and surgical VLMs generalize well across many tasks, their performance on triplet recognition remains limited due to two primary challenges:

  1. Lack of Temporal Depth: Many existing surgical VLMs operate on single frames. However, while an action like "grasping" can be inferred statically, actions like "dissecting" or "retracting" inherently require multi-frame motion cues to disambiguate (see Figure 2).
  2. Detail Suppression in Contrastive Learning: Standard contrastive learning aligns global image features with text. In a complex surgical scene, global pooling dilutes local action semantics, causing text prompts to mistakenly align with background pixels or endoscope boundaries rather than the specific interaction zone.
Visualizing the alignment problem and architecture comparisons

Methods

TrajPred addresses these gaps by building on the Joint Embedding Predictive Architecture (VL-JEPA) framework and introducing several key innovations:

  • Trajectory Token Encoding Pathway: To guide the model toward informative instrument dynamics, TrajPred uses an off-the-shelf instrument detector to extract bounding boxes across video frames. It processes these through two streams: an appearance stream (visual features inside the box) and a position stream (sinusoidal coordinate embeddings). These are fused via cross-attention pooling into a single trajectory token per instrument.
  • Predictive Embedding Paradigm: Instead of global contrastive alignment, a trainable predictor module uses these trajectory tokens alongside video tubelet tokens to forecast target semantic embeddings.
  • CoOp-Style Prompt Tuning: To preserve the rich semantic priors of the text encoder (Embedding Gemma), the backbone weights are frozen, and only a small set of learnable context tokens are optimized.
  • Verb Rephrasing: To bridge the domain gap between specialized surgical terminology and general-language pretraining, technical verbs are mapped to descriptive phrases (e.g., "dissect" becomes "separating by cutting", "clip" becomes "clipping closed").
Overview of the TrajPred pipeline

Datasets

The framework was evaluated on CholecT50, a standard surgical action triplet recognition benchmark consisting of 50 laparoscopic cholecystectomy videos sampled at 1 FPS. It features 100 action triplet classes composed of 6 instruments, 10 verbs, and 15 targets.

To rigorously test the model's generalization capabilities, the authors evaluated it on two data configurations:

  • The official Rendezvous (RDV) split.
  • A challenging, self-constructed unseen-verb split, where all training frames containing the verbs irrigate, retract, pack, and aspirate were removed, forcing the model to generalize to unseen action compositions during testing.

Key Insights and Ideas

  • Moving Beyond Global Contrast: Global contrastive pooling is a blunt instrument for localized action recognition. Shifting to a trajectory-conditioned predictive architecture forces the self-attention mechanism to focus tightly on the active tool and its immediate interaction site.
  • The Power of Descriptive Rephrasing: Surgical jargon is highly long-tailed. Rephrasing technical verbs into simpler, descriptive natural language acts as a powerful regularizer, allowing the model to successfully exploit general-domain linguistic priors for rare or completely unseen surgical actions.
  • Detector-Agnostic Inductive Bias: Explicitly tracking instrument coordinates provides a strong spatial inductive bias that helps the model ignore spurious video motion, such as sudden camera movements common in laparoscopic footage.

Key Results

  • State-of-the-Art Accuracy: On the standard RDV split, TrajPred achieves a triplet average precision ($AP_{IVT}$) of 14.77% and a Top-K accuracy ($Top@(K=|GT|)$) of 65.45%, consistently outperforming strong baselines like SurgVLP and baseline video-based VL-JEPA.
  • Robust Zero-Shot Generalization: In the grueling unseen-verb setting, TrajPred maintains a substantial lead over all baselines, hitting an $AP_{IVT}$ of 11.26% and a $Top@(K=|GT|)$ score of 20.88%.
  • Precise Localization: Cosine similarity heatmaps demonstrate that TrajPred accurately localizes the exact instrument-tissue interaction regions, whereas contrastive models produce diffuse heatmaps that drift toward background elements.
Image-text similarity heatmaps over consecutive frames
  • Minimal Computational Overhead: The trajectory module adds negligible burden, increasing the model size by only 3.4M parameters and adding just 0.34 ms to end-to-end inference latency (+1.1%).
Comparison of parameter count and inference latency

Limitations and Future Work

The primary limitation of the current framework is its reliance on a fixed 1 FPS sampling rate. Surgical actions vary drastically in speed—from rapid cutting to subtle, slow tissue retraction—meaning a fixed frame rate might fail to capture optimal motion cues across all action types. The authors note that future work will focus on exploring adaptive frame rates and scaling this spatiotemporal trajectory encoding strategy to large-scale VLM pretraining.

Summary updated

BibTeX
@misc{cheng2026trajpred,
  author = {Jiajun Cheng and Xiaofan Yu and Subarna Tripathi and Sainan Liu and Shan Lin},
  title = {{TrajPred: Trajectory-Conditioned Joint Embedding Prediction for Surgical Instrument-Tissue Interaction Recognition in Vision-Language Models}},
  year = {2026},
  eprint = {2603.06999},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.06999},
}
Figure