Related Experiment Video
Updated: Sep 13, 2025

Tissue-simulating Phantoms for Assessing Potential Near-infrared Fluorescence Imaging Applications in Breast Cancer Surgery
Published on: September 19, 2014
Anomaly detection using intraoperative iKnife data: a comparative analysis in breast cancer surgery
Olivia Radcliffe1, Laura Connolly2, Amoon Jamzad2
1School of Computing, Queen's University, Kingston, ON, Canada. 19omr@queensu.ca.
Purpose:
Intraoperative margin assessment is crucial to ensure complete tumor removal and minimize the risk of cancer recurrence during breast-conserving surgery. The Intelligent Knife (iKnife), a mass spectrometry device that analyzes surgical smoke, shows promise in near-real-time margin evaluation. However, current AI models depend on labeled ex-vivo datasets, which are costly and time-consuming to produce. This research explores the potential of machine learning anomaly detection models to reduce reliance on labeled ex-vivo datasets by utilizing unlabeled intraoperative spectra.
Methods:
iKnife spectra were collected intraoperatively from 15 breast cancer surgeries. Ex-vivo samples were recorded from the resected specimen by a pathologist. Healthy samples were from the margin, and tumor samples were from the cross-section. We trained four anomaly detection methods, Isolation Forest (iForest), One Class Principal Component Analysis (OCPCA), Generalized One Class Discriminative Subspaces (GODS), and its Kernelized extension (KGODS), under two strategies: (i) intraoperative data only and (ii) intraoperative data plus healthy ex-vivo data. Performance was evaluated via four-fold cross-validation on labeled ex-vivo samples, with an additional ensemble approach on a held-out set. We compared the models to benchmark supervised classifiers and explored intraoperative feasibility with a retrospective case.
Results:
Using intraoperative data alone, the average balanced accuracies were 70% (iForest), 81% (OC-PCA), 77% (GODS), and 81% (KGODS) during four-fold cross-validation. Adding healthy ex-vivo data improved performance across all models; however, OC-PCA remained competitive without ex-vivo labels. On the held-out set, OC-PCA trained only on intraoperative data achieved 81% balanced accuracy, 90% sensitivity, and 72% specificity. OC-PCA was selected for intraoperative feasibility and correctly detected the tumor breach with one false positive.
Conclusion:
Anomaly detection models, particularly OC-PCA, can identify positive breast cancer margins with no labeled ex-vivo data. Though slightly lower in performance than supervised classifiers, they offer a promising low-resource alternative for intraoperative label generation and semi-supervised training, which can enhance clinical deployment.
Insights
Anomaly detection models, particularly One Class Principal Component Analysis (OCPCA), can identify positive breast cancer margins using unlabeled intraoperative data. This offers a promising, low-resource alternative for real-time margin assessment in breast-conserving surgery.
Area of Science:
- Oncology
- Surgical Technology
- Artificial Intelligence
Background:
- Intraoperative margin assessment is vital for successful breast-conserving surgery.
- The Intelligent Knife (iKnife) analyzes surgical smoke for real-time margin evaluation.
- Current AI models require costly, time-consuming labeled ex-vivo datasets.
Purpose of the Study:
- To explore anomaly detection models for margin assessment using unlabeled intraoperative spectra.
- To reduce reliance on labeled ex-vivo datasets for AI model training.
- To assess the feasibility of anomaly detection for intraoperative margin identification.
Main Methods:
- Collected iKnife spectra intraoperatively from 15 breast cancer surgeries.
- Trained four anomaly detection models (iForest, OCPCA, GODS, KGODS) using intraoperative data, with and without healthy ex-vivo data.
- Evaluated performance via cross-validation on labeled ex-vivo samples and intraoperative feasibility testing.
Main Results:
- Anomaly detection models achieved balanced accuracies between 70-81% using intraoperative data alone.
- OCPCA trained solely on intraoperative data yielded 81% balanced accuracy, 90% sensitivity, and 72% specificity.
- OCPCA demonstrated intraoperative feasibility, correctly identifying tumor breach with one false positive.
Conclusions:
- Anomaly detection models, especially OCPCA, can identify positive breast cancer margins without labeled ex-vivo data.
- These models present a viable low-resource alternative to supervised classifiers for intraoperative margin assessment.
- The approach supports intraoperative label generation and semi-supervised training, enhancing clinical deployment.

