OphCLIP: Hierarchical Retrieval-Augmented Learning for Ophthalmic Surgical Video-Language Pretraining

Ming Hu, Kun Yuan, Yaling Shen, Feilong Tang, Xiaohao Xu, Lin Zhou, Wei Li, Ying Chen, Zhongxing Xu, Zelin Peng, Siyuan Yan, Vinkle Srivastav, Diping Song, Tianbin Li, Danli Shi, Jin Ye, Nicolas Padoy, Nassir Navab, Junjun He, Zongyuan Ge

TL;DR

This paper introduces OphCLIP, a novel framework for understanding ophthalmic surgical videos by combining hierarchical video-language pretraining with a retrieval-augmented approach. By leveraging a massive new dataset of surgical videos and their corresponding text, OphCLIP achieves state-of-the-art zero-shot performance on surgical phase and instrument recognition tasks, paving the way for more intelligent surgical AI.

What Problem Does This Paper Address?

The field of surgical AI has seen progress in analyzing surgical videos, but a significant gap remains in developing generalist multi-modal systems that can truly comprehend diverse surgical procedures and communicate effectively with medical professionals. This is particularly challenging in ophthalmic surgery due to the limited availability of large-scale, annotated video-text data, the intricate and hierarchical nature of surgical workflows, and the need for understanding fine-grained actions alongside high-level procedural reasoning. Existing vision-language models, while powerful, often struggle with the specialized terminology and complex temporal dependencies inherent in surgical videos.

Methods

OphCLIP tackles these challenges with a two-pronged approach:

  1. Hierarchical Video-Language Pretraining: OphCLIP leverages a hierarchical structure in its pretraining. It aligns short video clips with detailed narrative descriptions for fine-grained understanding, and longer video segments with high-level title summaries for capturing broader procedural context. This is achieved using a CLIP-like architecture with visual and textual encoders.
  2. Retrieval-Augmented Learning: A key innovation is the use of silent surgical videos as a knowledge base. OphCLIP retrieves semantically similar silent videos based on the titles of narrated videos. These retrieved videos provide auxiliary supervisory signals, allowing the model to integrate implicit visual knowledge and enhance its understanding of narrated procedures. This retrieval mechanism helps bridge the gap between explicit linguistic supervision and implicit visual learning.

Datasets

The paper introduces OphVL, a new, large-scale dataset specifically curated for ophthalmic surgical video-language pretraining. OphVL comprises:

  • 375K clip-text pairs from 7.5K hours of narrative open-source surgical videos.
  • It covers a diverse range of attributes, including surgical phases, operations, actions, instruments, medications, disease causes, surgical objectives, and postoperative care recommendations.
  • OphVL includes both narrated videos (with detailed clip-level narrations and full-length titles) and 30K silent videos to serve as a knowledge base.

This dataset is reported to be 15x larger than existing surgical VLP datasets.

Key Insights and Ideas

  • Hierarchy is Key: Surgical understanding is inherently hierarchical. OphCLIP's success stems from its ability to learn representations at both fine-grained (clip-level actions) and coarse-grained (overall procedure) levels.
  • Silent Videos as a Rich Resource: Leveraging large amounts of readily available silent surgical videos, augmented with titles, provides a powerful way to inject implicit visual knowledge and improve generalization, especially for tasks where explicit narration is scarce.
  • Retrieval as a Bridge: The retrieval mechanism effectively connects narrated procedures with similar silent ones, facilitating knowledge transfer and enhancing the model's ability to learn from diverse visual and textual information.
  • Domain-Specific Pretraining Matters: Pretraining on a specialized dataset like OphVL significantly outperforms general-purpose vision-language models on ophthalmic surgical tasks, highlighting the importance of domain-specific data.

Key Results

  • OphCLIP achieves state-of-the-art zero-shot performance on 11 benchmark datasets for surgical phase recognition and multi-instrument identification.
  • For phase recognition, OphCLIP significantly outperforms baselines like vanilla CLIP and SLIP, with accuracy scores reaching 72.1% / 57.9% on Cataract-1K (full-shot) and 59.5% / 41.6% on Cat-21 (10% data).
  • In instrument recognition, OphCLIP demonstrates a substantial reduction in False Positive Rates (FPR), achieving 11.8% / 18.6% on CaDIS-F and 23.1% / 24.6% on CaDIS-C.
  • Attention maps show that OphCLIP effectively focuses on relevant surgical instruments and anatomy for accurate phase and instrument recognition.

Limitations and Future Work

  • Data Scale: While OphVL is large, the authors acknowledge the ongoing need for even larger and more diverse datasets to further improve generalization.
  • Computational Cost: The retrieval-augmented pretraining process can be computationally intensive.
  • Future Directions: The authors suggest that OphCLIP can serve as a foundation model for more specialized and context-aware AI applications in ophthalmic surgery, implying potential for further fine-tuning and integration into clinical workflows. The framework's ability to handle diverse granularities also opens doors for applications beyond the current evaluation tasks.

Summary updated

BibTeX
@inproceedings{hu2025ophclip,
  author = {Ming Hu and Kun Yuan and Yaling Shen and Feilong Tang and Xiaohao Xu and Lin Zhou and Wei Li and Ying Chen and Zhongxing Xu and Zelin Peng and Siyuan Yan and Vinkle Srivastav and Diping Song and Tianbin Li and Danli Shi and Jin Ye and Nicolas Padoy and Nassir Navab and Junjun He and Zongyuan Ge},
  title = {{OphCLIP: Hierarchical Retrieval-Augmented Learning for Ophthalmic Surgical Video-Language Pretraining}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure