Abstract
Artificial intelligence has impacted many aspects of modern medical care but depends critically on data. Videos of medical procedures are a valuable resource for computer vision algorithms but labeling them can be costly and requires expert knowledge. This paper explores how to leverage low-quality, unlabeled videos scraped from the internet in addition to a limited amount of labeled images to improve object detection during surgical procedures. We establish the first benchmark for semi-supervised hand detection during open surgery and show that existing benchmarks in non-medical contexts are not indicative of performance differences on real-world medical applications, where data is noisy and poorly labeled. We propose an end-to-end trainable two-stage object detector that employs consistency loss to learn from unlabeled images. The model is robust to missing labels, variance in hand morphology, and extreme domain shifts such as those encountered in open-source videos of surgeries scraped from YouTube. Our method can predict surgeons’ hands in surgical videos even when only a fraction of hands are labeled in each frame of the labeled set. Adding unlabeled data, we can detect hands more accurately than existing end-to-end semi-supervised object detection algorithms.
Introduction
While AI has made massive strides in laparoscopic (minimally invasive) surgery—where video is captured by default—open surgery remains a "black box" for computer vision. Open surgery is more common and complex, involving varied lighting, diverse procedures, and significant occlusions.
The primary bottleneck is data. Labeling surgical video requires expert knowledge and is incredibly time-consuming. Furthermore, existing surgical datasets are often "poorly labeled," meaning human annotators frequently miss hands in complex frames. Standard semi-supervised methods, which rely on "pseudo-labels," often fail in this domain because incorrect predictions can lead the model to learn erroneous patterns. To address this, we utilize the AVOS (Annotated Videos of Open Surgery) dataset, containing 1,997 diverse videos from YouTube, and propose a method robust to incomplete labeling.
Methodology
The authors propose an end-to-end trainable two-stage object detector based on Faster R-CNN that replaces traditional pseudo-labeling with a localization consistency loss ($L_{cons}$).
As shown in the framework overview, the model processes an unlabeled image alongside an augmented version. Instead of treating predictions as ground truth, the model is trained to ensure that bounding boxes for the same object remain consistent across different augmentations. To optimize this process, the framework employs:
- Top-$\\kappa$ Filtering: Limiting the model to the 5 most confident proposals (as surgeons' hands are limited in number), making matching computationally efficient.
- IoU Thresholding: Only calculating consistency loss when predicted boxes in the original and augmented images overlap significantly, preventing the reinforcement of "hallucinations."
Key Results and Insights
The proposed method achieved an AP@50 of 88.8 on the AVOS dataset, outperforming the supervised baseline (86.6) and the previous state-of-the-art STAC (87.9).
A key finding is that performance on standard benchmarks like MS-COCO does not necessarily translate to surgical environments. Methods like Soft Teacher, which are state-of-the-art for general vision, performed worse than simple baselines on surgical data due to its heterogeneity. Our model proved exceptionally robust to missing labels; in a stress test where 90% of hand labels were removed, it maintained significantly higher accuracy than competitors. Qualitatively, the model is better at detecting partial hands and is less likely to be confused by surgical gauze or skin-toned tissues.
Conclusion
This research demonstrates that low-quality, uncurated video from the internet can be a goldmine for medical AI if the training strategy is robust enough to handle noise. By leveraging localization consistency, we can detect surgeons' hands more accurately even with incomplete training data. Future work will explore extending this framework to multi-class detection of surgical tools and anatomical structures.
Summary updated