SurgPLAN++: Universal Surgical Phase Localization Network for Online and Offline Inference

Zhen Chen, Xingjian Luo, Jinlin Wu, Long Bai, Zhen Lei, Hongliang Ren, Sebastien Ourselin, Hongbin Liu

TL;DR

SurgPLAN++ redefines surgical phase recognition by shifting from frame-by-frame classification to a temporal detection paradigm. By utilizing clever data augmentation to simulate "complete" videos for real-time use and a rectification mechanism for retrospective analysis, it achieves state-of-the-art performance on major surgical benchmarks like Cholec80 and Cataract.

What Problem Does This Paper Address?

In the operating room, AI systems need to understand the "surgical phase"—knowing exactly which step of a procedure is happening. Traditionally, researchers have treated this as a frame-wise classification problem: looking at the current and preceding frames to guess the current label.

However, this "greedy" approach has two major flaws:

  1. Inconsistency: Because the model lacks a global view of the entire procedure, its predictions can be "jittery," switching rapidly between phases in a way that is physically impossible.
  2. Offline Limitations: While real-time (online) analysis is vital for live assistance, retrospective (offline) analysis is crucial for surgeon training and hospital management. Existing online-focused models don't leverage the full video context available in offline scenarios, leading to sub-optimal accuracy.
Comparison between traditional frame-wise classification (a) and the proposed SurgPLAN++ temporal detection approach (b).

Methods

SurgPLAN++ introduces a universal framework designed for both online and offline inference based on the principle of temporal action localization.

The Architecture

The system consists of two main components:

  • Spatial Temporal Encoder: Uses a "SlowFast" architecture to extract both static spatial details (Slow path) and dynamic motion information (Fast path) from the video.
  • Phase Localization Network: Instead of labeling frames, this network generates phase proposals—segments with predicted start and end points. It uses multi-scale max-pooling to handle phases of varying lengths.

The "Online" Trick: Data Augmentation

Detectors usually need to see a whole segment to identify it. To make this work in a live stream where the "future" hasn't happened yet, the authors developed a data augmentation strategy to create a pseudo-complete video:

  • Mirroring: Reverses the preceding video. This exploits the natural symmetry of surgery (e.g., instruments enter at the start and withdraw at the end).
  • Center-Duplication: Repeats the current frame to ensure the model pays sufficient attention to the "now."
  • Down-sampling: Keeps the sequence length manageable for real-time processing.

The "Offline" Trick: Rectification

For retrospective analysis, SurgPLAN++ uses a Rectification Mechanism. As the video progresses, the model continuously generates new proposals. If a new, high-confidence proposal covers past frames, the system "rectifies" its previous predictions, leading to a much smoother and more accurate final timeline.

The SurgPLAN++ framework, highlighting the data augmentation for online use and the rectification mechanism for offline refinement.

Datasets

The model was evaluated on two gold-standard benchmarks:

  • Cholec80: 80 videos of gallbladder removals (laparoscopic cholecystectomy) divided into 7 surgical phases.
  • Cataract: 50 videos of cataract surgeries featuring 19 complex phase categories.

Key Insights and Ideas

  • Detection > Classification: Treating surgical phases as "objects in time" rather than just labels for images significantly reduces noise and inconsistent predictions.
  • Exploiting Surgical Symmetry: The use of mirroring to simulate a "future" for the detector is a clever domain-specific insight. It acknowledges that surgical workflows often have a predictable, rhythmic structure.
  • Dynamic Refinement: The ability to "change its mind" about the past as more data arrives (rectification) allows the model to bridge the gap between online speed and offline precision.

Key Results

SurgPLAN++ outperformed all existing state-of-the-art (SOTA) methods across both datasets:

  • Cholec80: Achieved a record-breaking 94.1% accuracy and 83.5% Jaccard score in offline mode. Even in online mode, it reached 92.7% accuracy, surpassing recent transformer-based models like SKiT.
  • Cataract: In this more complex 19-phase environment, it reached 84.3% offline accuracy, a significant jump over the previous SOTA (Trans-SVNet at 75.9%).
  • Qualitative Smoothness: As shown in the "ribbon" plots, SurgPLAN++ produces continuous, clean prediction intervals that closely match the ground truth, whereas frame-wise models often produce fragmented results.
Qualitative comparison showing the prediction "ribbons." SurgPLAN++ (Offline) is nearly identical to the Ground Truth.

Limitations and Future Work

While highly effective, the paper leaves a few areas for further exploration:

  • Computational Overhead: Running a full detection pipeline plus augmentation at every time step is more demanding than simple classification. Future work could optimize this for lower-power hardware.
  • Non-Linear Workflows: The mirroring strategy assumes a degree of temporal symmetry. Its effectiveness might vary in highly irregular surgeries or cases with unexpected complications.
  • Multi-modal Integration: The authors suggest that incorporating other data streams, such as tool tracking or robotic kinematics, could further enhance the robustness of the phase proposals.

Summary updated

BibTeX
@inproceedings{chen2025surgplan,
  author = {Zhen Chen and Xingjian Luo and Jinlin Wu and Long Bai and Zhen Lei and Hongliang Ren and Sebastien Ourselin and Hongbin Liu},
  title = {{SurgPLAN++: Universal Surgical Phase Localization Network for Online and Offline Inference}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11127834},
}
Figure