TL;DR
Ophora is a pioneering text-guided video generation model designed specifically for ophthalmic surgery, capable of synthesizing highly realistic surgical videos from natural language instructions. By leveraging a novel data curation pipeline and a two-stage progressive instruction-tuning scheme, Ophora bypasses data scarcity and privacy constraints to generate high-fidelity training data that significantly boosts the performance of downstream surgical AI models.
What Problem Does This Paper Address?
Training AI systems to understand surgical workflows or predict the next steps in an operation requires massive amounts of high-quality, annotated video data. In the medical domain, collecting this data is a notorious bottleneck due to strict patient privacy regulations and the immense labor required for expert medical annotation.
While text-to-video (T2V) generation models offer a potential solution by synthesizing data on demand, existing surgical T2V methods fall short. They typically rely on coarse surgical phase labels (e.g., "incision") rather than detailed descriptions, failing to capture fine-grained tool-tissue interactions. Furthermore, many models struggle with temporal consistency, leading to physically impossible deformations or flickering artifacts in the generated videos.
Methods
The authors introduce Ophora, which adapts a powerful natural video generation backbone (CogVideoX-2b) to the specialized domain of eye surgery using a two-pronged approach:
- Comprehensive Data Curation Pipeline: The authors took raw narrative surgical videos and refined them on both textual and visual fronts. They used a large language model (Qwen2.5-72B) to strip out irrelevant educational or redundant commentary from the transcripts, turning them into clean, direct generation instructions. Visually, they applied a dynamics-based filter using
PySceneDetectto discard clips with extreme camera shaking or completely static content. - Progressive Video-Instruction Tuning: To safely transfer spatial-temporal knowledge from natural videos to medical videos, the authors designed a two-stage training strategy:
- Stage 1: Transfer Pre-Training (TPT): The model is trained on the entire curated dataset to absorb the complex visual dynamics of ophthalmic procedures.
- Stage 2: Privacy-Preserving Fine-Tuning ($P^2FT$): To ensure the model doesn't generate sensitive information (like patient data, burn-in subtitles, or hospital watermarks), a large vision-language model (Qwen2.5-VL-72B) was used to filter out any frames containing text or watermarks. The model was then fine-tuned strictly on this "clean" subset.
Datasets
The paper introduces two key dataset variants derived from open-source narrative surgical videos:
- Ophora-160K: Contains 162,185 high-quality video clip-instruction pairs extracted from 9,819 narrative videos, with an average clip duration of 5.54 seconds.
- Ophora-28K: A privacy-preserved subset of 28,175 pairs, completely scrubbed of frames containing text, subtitles, or watermarks.
For downstream evaluation, the authors utilized OphNet (a surgical workflow benchmark) and the Cataract-1K dataset for expert evaluation.
Key Insights and Ideas
- Natural Video Priors Transfer to Surgery: A key insight is that a model pre-trained on millions of natural videos (like walking dogs or moving cars) already understands fundamental physics, lighting, and continuity. Transferring this spatial-temporal knowledge to surgery yields much better frame consistency than training a medical T2V model from scratch.
- Privacy Filtering Enhances Text Alignment: Surprisingly, the ablation studies showed that fine-tuning on the smaller, privacy-preserved dataset (Ophora-28K) actually improved text-to-video alignment (CLIPScore). Removing extraneous visual elements like watermarks and subtitles allowed the model to focus purely on the relationship between the text prompt and the surgical action.
Key Results
Ophora was evaluated against state-of-the-art surgical video generation models like Endora and Bora, demonstrating superior performance across both quantitative metrics and expert human evaluation:
- Quantitative Superiority: Ophora achieved a Fréchet Video Distance (FVD) of 276.96, drastically outperforming Bora (604.20) and Endora (990.30), indicating significantly higher video realism and temporal consistency. It also scored the highest text-video consistency (CLIPScore of 39.19).
- Downstream Task Boost: When synthesized videos from Ophora were used as data augmentation to train a workflow recognition model (MViTv2) on the OphNet dataset, the Top-1 phase classification accuracy jumped from 37.92% to 42.24%.
- Ophthalmologist Validation: Three professional ophthalmologists evaluated 600 generated videos across seven clinical criteria. Ophora received exceptionally high scores (approaching the maximum realism score of 3) across phases like Capsulorhexis and Lens Implantation, proving its clinical reliability.
Limitations and Future Work
While Ophora marks a significant advancement, the authors note a few limitations:
- Short Durations: The model currently generates short video clips averaging around 5.5 seconds. Generating long-horizon, multi-step surgical procedures remains an open challenge.
- Domain Specificity: The current iteration is strictly tailored to ophthalmic (eye) surgery.
Future work will focus on scaling the architecture to support longer video generation and expanding the data curation pipeline to encompass other types of surgeries.
Summary updated