Conformal Forecasting for Surgical Instrument Trajectory

Sara Sangalli, Gary Sarwin, Ertunc Erdil, Carlo Serra, Alessandro Carretta, Victor E. Staartjes, Ender Konukoglu

TL;DR

This paper introduces conformal prediction, a powerful uncertainty quantification technique, to the critical task of forecasting surgical instrument trajectories. By providing statistically guaranteed prediction intervals for instrument movement direction and magnitude, it paves the way for more reliable and interpretable AI assistance in surgery.

What Problem Does This Paper Address?

Surgical robots and AI-assisted surgical systems are increasingly being developed to aid surgeons. A key component for these systems is the ability to predict the future movement of surgical instruments. This is crucial for tasks like providing real-time guidance, automating parts of procedures, and even training new surgeons by analyzing expert movements. However, accurately predicting future motion is inherently difficult due to the temporal nature of the task, leading to significant uncertainty. For safety-critical applications like surgery, it's not enough to just predict the most likely trajectory; we need to quantify the uncertainty associated with these predictions. This paper addresses the challenge of providing reliable, theoretically sound uncertainty estimates for surgical instrument trajectory forecasting, moving beyond simple confidence scores to provide guaranteed prediction intervals.

Methods

The core of this work lies in applying Conformal Prediction (CP) and Conformalized Quantile Regression (CQR) to surgical instrument trajectory forecasting.

  • Conformal Prediction (CP) is a distribution-free, model-agnostic framework that provides theoretically valid prediction intervals (PIs). It works by defining a "conformity score" that measures the discrepancy between a prediction and the ground truth. By analyzing the distribution of these scores on a calibration dataset, CP can construct PIs that are guaranteed to contain the true outcome with a user-specified probability (e.g., 90% coverage).
  • Conformalized Quantile Regression (CQR) is an extension that aims to produce more adaptive and tighter intervals. Instead of a single prediction, CQR uses quantile regression to predict lower and upper bounds of the target variable. These predictions are then used to compute conformity scores, leading to PIs that can be more precise.

The authors specifically apply these methods to predict the direction (angle) and magnitude of the surgical instrument's movement vector separately. They also investigate the challenge of creating joint prediction intervals that cover both angle and magnitude simultaneously. This requires addressing multiple testing corrections (e.g., Bonferroni, Sidak) because combining independent intervals can lead to a significant drop in overall coverage.

Datasets

The study uses a dataset of 144 pituitary surgery videos collected over 10 years. These videos were annotated by expert neurosurgeons, identifying anatomical structures and surgical instruments. The dataset was split into training, validation, and testing sets. A portion of the test set was further divided for calibrating the conformal procedures and evaluating on unseen patients.

Key Insights and Ideas

  • Conformal Prediction is a natural fit for surgical safety: The theoretical guarantees of CP are highly valuable in a safety-critical domain like surgery, where reliable uncertainty quantification is paramount.
  • Separating Angle and Magnitude is Interpretable: Predicting the direction and magnitude of instrument movement independently offers a more interpretable representation of the forecast, aiding in understanding and visualization.
  • Joint Coverage is Tricky: Simply combining independent prediction intervals for angle and magnitude leads to a significant loss of coverage. This highlights the necessity of proper multiple testing corrections for joint uncertainty estimation.
  • CQR offers tighter intervals: Conformalized Quantile Regression generally produces smaller, more precise prediction intervals compared to standard CP, likely due to its ability to adapt to the data distribution.
  • Uncertainty Heatmaps are Practical: The PIs generated by CP and CQR can be visualized as uncertainty heatmaps, providing surgeons with a clear, statistically guaranteed indication of potential instrument locations.

Key Results

  • Coverage Guarantees: Both CP and CQR, when properly applied with corrections for joint predictions, successfully restore empirical coverage to the target levels (e.g., 60% and 70%).
  • PI Widths: CQR generally yields smaller prediction intervals (PIs) than CP, especially for corrected joint tests, indicating more precise uncertainty estimates. For example, for 70% target coverage, CQR joint intervals (Sidak corrected) had a PI size of 0.19, while CP joint intervals were 0.46.
  • Impact of Corrections: Uncorrected joint intervals showed a significant drop in coverage (25-30%). Applying corrections like Sidak successfully restored coverage, albeit with slightly larger PI sizes.
  • Visualization: The paper demonstrates how these PIs can be translated into uncertainty heatmaps, which visually represent the predicted trajectory and its associated uncertainty.

Limitations and Future Work

  • Exchangeability Assumption: The authors acknowledge that the exchangeability assumption required for conformal prediction might be violated in real-world scenarios, especially with sequential data that has memory.
  • Autoregressive Models: The current work focuses on predicting the next few frames. Future work could extend these techniques to more complex autoregressive models that consider longer temporal dependencies.
  • Addressing Complexities: Further research is needed to address complexities like exchangeability violations and to extend these methods to other surgical tasks and modalities.
BibTeX
@inproceedings{sangalli2025conformal,
  author = {Sara Sangalli and Gary Sarwin and Ertunc Erdil and Carlo Serra and Alessandro Carretta and Victor E. Staartjes and Ender Konukoglu},
  title = {{Conformal Forecasting for Surgical Instrument Trajectory}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-05114-1\_12},
}

Loading related content...