Latent Graph Representations for Critical View of Safety Assessment

Aditya Murali, Deepak Alapatt, Pietro Mascagni, Armine Vardazaryan, Alain Garcia, Nariaki Okamoto, Didier Mutter, Nicolas Padoy

Abstract

Assessing the critical view of safety in laparoscopic cholecystectomy requires accurate identification and localization of key anatomical structures, reasoning about their geometric relationships to one another, and determining the quality of their exposure. Prior works have approached this task by including semantic segmentation as an intermediate step, using predicted segmentation masks to then predict the CVS. While these methods are effective, they rely on extremely expensive ground-truth segmentation annotations and tend to fail when the predicted segmentation is incorrect, limiting generalization. In this work, we propose a method for CVS prediction wherein we first represent a surgical image using a disentangled latent scene graph, then process this representation using a graph neural network. Our graph representations explicitly encode semantic information - object location, class information, geometric relations - to improve anatomy-driven reasoning, as well as visual features to retain differentiability and thereby provide robustness to semantic errors. Finally, to address annotation cost, we propose to train our method using only bounding box annotations, incorporating an auxiliary image reconstruction objective to learn fine-grained object boundaries. We show that our method not only outperforms several baseline methods when trained with bounding box annotations, but also scales effectively when trained with segmentation masks, maintaining state-of-the-art performance.

Introduction

In laparoscopic cholecystectomy (gallbladder removal), surgeons must achieve the Critical View of Safety (CVS)—a specific anatomical exposure—to prevent life-altering bile duct injuries. Automating the assessment of CVS is a major goal for surgical AI, but it faces two significant hurdles. First, previous state-of-the-art models require dense, pixel-level semantic segmentation masks, which are incredibly time-consuming and expensive to produce. Second, existing models often fail to explicitly model the geometric relationships between structures (e.g., whether the cystic duct is actually connected to the gallbladder), leading to brittle reasoning that collapses if the segmentation is slightly inaccurate.

Methodology

The proposed Latent Graph-CVS (LG-CVS) framework addresses these issues by representing surgical scenes as latent graphs rather than simple images or masks. This approach allows the model to reason about anatomy in a manner more aligned with a surgeon's mental checklist.

Latent Graph Encoder and Edge Proposal

The process begins with an object detector that identifies anatomical structures and tools. Each detected object becomes a node in a graph, containing its location (bounding box), class probability, and high-dimensional visual features extracted via RoIAlign. The model then predicts edges between these nodes, representing geometric and semantic relationships such as spatial orientation and connectivity.

The feature extraction pipeline uses an object detector to identify structures and RoIAlign to extract visual features for each node.

Graph Neural Network (GNN) and Reconstruction

A 2-layer GNN processes this graph, allowing information to flow between nodes so the model can reason about the global scene layout. To help the model learn fine-grained boundaries from mere bounding boxes, the authors added an auxiliary reconstruction task. A decoder tries to reconstruct the original image from the latent graph, forcing the representation to capture essential visual details that a simple box would miss.

The latent graph representation encodes anatomical structures as nodes and their spatial relationships as edges, facilitating anatomy-driven reasoning.

Experimental Setup

The study utilizes Endoscapes+, an expanded version of the Endoscapes dataset containing 11,090 images with CVS annotations—roughly five times larger than previous benchmarks. Unlike datasets with "hand-picked" clear frames, Endoscapes+ uses frames sampled at regular intervals, including challenging moments with smoke, blood, and tool occlusions. A subset of 1,933 images includes bounding boxes and segmentation masks for training the object detectors.

Results and Discussion

LG-CVS demonstrates that graphs are more robust than masks. By disentangling location, class, and visual features, the model becomes resilient to minor detector errors.

  • Superior Efficiency: LG-CVS trained with only bounding boxes achieved a mean Average Precision (mAP) of 63.6, outperforming the best baseline (DeepCVS) that used full segmentation masks (62.8 mAP).
  • State-of-the-Art Scaling: When given access to segmentation masks, LG-CVS improved further to 67.3 mAP, setting a new benchmark.
  • Criterion-Specific Gains: The model showed massive improvements in identifying the "two and only two structures" entering the gallbladder (Criterion C1) and the "cystic plate" (Criterion C3), which are notoriously difficult for standard CNNs to distinguish without relational reasoning.

Conclusion

LG-CVS represents a significant step forward in AI-assisted surgical safety by moving away from expensive pixel-level annotations toward a graph-based scene understanding approach. While currently dependent on the quality of the initial object detector, future work aims to incorporate temporal context (video-level reasoning) to further improve stability and validate the model's performance in more diverse, real-world surgical environments.

Summary updated

BibTeX
@article{murali2024latent,
  author = {Aditya Murali and Deepak Alapatt and Pietro Mascagni and Armine Vardazaryan and Alain Garcia and Nariaki Okamoto and Didier Mutter and Nicolas Padoy},
  title = {{Latent Graph Representations for Critical View of Safety Assessment}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2024},
  url = {https://openreview.net/forum?id=EZBi35aSeU},
}
Figure