Ensuring privacy protection in the era of big laparoscopic video data: development and validation of an inside outside discrimination algorithm (IODA)

A. Schulze, Dat Q. Tran, Marie T. J. Daum, Anna Kisilenko, Lena Maier‐Hein, Stefanie Speidel, Marius Distler, Jürgen Weitz, Beat P. Müller‐Stich, Sebastian Bodenstedt, Martin WagnerSurgical 2023

Abstract

IODA is able to discriminate between inside and outside with a high certainty. In particular, only a few outside frames are misclassified as inside and therefore at risk for privacy breach. The anonymized videos can be used for multi-centric development of surgical AI, quality management or educational purposes. In contrast to expensive commercial solutions, IODA is made open source and can be improved by the scientific community.

Introduction

The advancement of surgical AI and "Big Data" analytics in the operating room is currently hindered by significant privacy concerns. Laparoscopic videos frequently capture "outside" moments—such as camera removal for cleaning or initial insertion—that may reveal recognizable faces, unique tattoos, or identifying body morphologies. Under strict regulations like GDPR and HIPAA, sharing this data requires either explicit consent or robust anonymization. Manual censoring is prohibitively slow for the massive datasets required for AI training. The Inside-Outside Discrimination Algorithm (IODA) was developed as an automated, open-source solution to ensure only intraabdominal views are preserved for analysis.

Methods

IODA utilizes a hybrid deep learning architecture to process both visual features and temporal context. The model employs a pretrained AlexNet as a feature extractor, with standard classification layers replaced by a stateless Long Short-Term Memory (LSTM) network. The LSTM is critical as it allows the model to consider sequences of 32 frames (approximately 1.28 seconds), acknowledging that "inside" and "outside" states typically persist over time. To address the class imbalance—where roughly 81% of footage is "inside"—the authors implemented Focal Loss, forcing the model to prioritize "hard" examples and minority classes.

Datasets and Validation

The study utilized a diverse dataset of 100 laparoscopic videos covering 23 different operation types, totaling over 207 hours and 18.6 million frames. Every frame was manually annotated by medical experts into categories such as Abdominal Cavity, Trocar, and Operation Site (Outside).

Typical intra-abdominal view used for training the 'inside' classification.

Key Insights

A significant finding was that when the algorithm disagreed with human annotators, the AI was often correct. Humans occasionally missed short "outside" segments due to fatigue. However, the "translucent trocar" remains a challenge. These ports allow a faint view of the patient's skin while the camera is technically inside the port, representing a subtle but genuine privacy risk.

A view through a trocar, illustrating the visual complexity of transition states that the algorithm must navigate.

Results

IODA demonstrated high performance, achieving a mean F1-score of 0.96 for identifying outside frames and a sensitivity of 96.6%. In a standard one-hour video, only about 25 seconds of "outside" footage might be missed. Furthermore, the algorithm processes video at 45 frames per second on a single GPU, making it approximately 380 times faster than manual human annotation.

Conclusion

While highly effective, IODA still faces challenges with rare events, such as hand-assisted procedures where a latex glove might be misclassified. Future work will focus on validating the model across different surgical setups and refining predictions with rule-based post-processing. As an open-source tool, IODA provides a scalable foundation for privacy-compliant surgical data sharing.

Summary updated

BibTeX
@inproceedings{schulze2023ensuring,
  author = {A. Schulze and Dat Q. Tran and Marie T. J. Daum and Anna Kisilenko and Lena Maier‐Hein and Stefanie Speidel and Marius Distler and Jürgen Weitz and Beat P. Müller‐Stich and Sebastian Bodenstedt and Martin Wagner},
  title = {{Ensuring privacy protection in the era of big laparoscopic video data: development and validation of an inside outside discrimination algorithm (IODA)}},
  booktitle = {Surgical},
  year = {2023},
  doi = {10.1007/s00464-023-10078-x},
}
Figure