Machine Learning Technology for BCC Margin Assessment During Mohs Surgery
By: Wendy LaGrego
Posted: Monday, November 23, 2026
A bioelectrical impedance mapping system guided by machine learning methods demonstrated the ability to identify basal cell carcinoma at surgical margins during Mohs micrographic surgery, according to findings published in npj Biomedical Innovations . The technology generated spatially resolved probability maps of tumor involvement within minutes, potentially providing surgeons with earlier guidance on additional tissue excision while preserving conventional histopathology as the definitive method of margin assessment.
Donato M. Ceres , of NovaScan Inc., Chicago, and colleagues developed and evaluated the MarginScan system, which combines high-frequency bioelectrical impedance spectroscopy with supervised machine learning to distinguish cancer-positive from cancer-negative tissue. The investigators reported that the nondestructive approach appeared feasible for integration into the existing surgical workflow, with a relatively brief scanning time.
Study Design and Methods
The single-center, observational study included 55 patients undergoing Mohs surgery for nodular basal cell carcinoma. Of 118 specimens collected, 98 were eligible for machine learning development and evaluation after exclusion of specimens with other histologic subtypes or technical issues. The mean patient age was 71.9 years, and the average number of Mohs stages per patient was 1.71.
Freshly excised specimens were placed on an electrode array for impedance measurements before undergoing standard frozen-section histopathology. The system measured the electrical properties of tissue and used a two-step machine learning algorithm to distinguish tissue from surrounding conductive gel, then classify tissue locations according to the probability of cancer involvement.
Histopathologic findings were manually mapped to the electrode grid to provide reference labels for model training and evaluation. The investigators also examined discrepancies near tumor boundaries, where tissue handling and differences between specimen positioning and histologic mapping could introduce spatial uncertainty. Device findings were not used to guide clinical decisions during the study.
Key Results
The initial machine learning model distinguished tissue-covered locations from gel-only locations with a mean area under the receiver operating characteristic curve (AUC) of 0.992 ± 0.009. None of the 262 cancer-positive locations was incorrectly classified as gel.
For distinguishing cancer-positive from cancer-negative tissue, the second model achieved a mean AUC of 0.878 ± 0.048 using strict location-level scoring. The investigators found that classification discrepancies were concentrated near tumor boundaries, where errors were approximately three times more frequent than in regions farther from the boundary (relative risk = 3.15, 95% confidence interval = 1.49–6.65; P = .003).
After applying a spatial-tolerance scoring method to account for uncertainty in the alignment of histopathologic findings with electrode-grid locations, the model achieved a mean AUC of 0.993 ± 0.003, with a sensitivity of 95.6% ± 4.7%, a specificity of 96.1% ± 5.0%, and an accuracy of 96.1% ± 4.0%. Spatial-tolerance scoring accounted for uncertainty in the reference labels without altering the model's predictions.
Workflow analysis involving 86 specimens showed a median scanning time of 3.7 minutes (interquartile range [IQR] = 2.6–5.5 minutes), compared with a median frozen-section turnaround time of 40.3 minutes (IQR = 31.3–53.5 minutes). The investigators suggested that early availability of margin-risk maps could facilitate surgical planning and improve workflow efficiency.
The investigators concluded that bioelectrical impedance mapping combined with machine learning may provide rapid, nondestructive guidance for identifying areas of potential residual basal cell carcinoma during Mohs surgery. They emphasized that “the main time-saving benefit is expected to come from enabling batch processing of multiple stages, particularly through more efficient use of the automated stainer.” However, they acknowledged the need for independent multicenter validation and further studies evaluating the technology's effects on surgical workflow and patient outcomes.
DISCLOSURE : For full disclosures of the study authors, visit nature.com.



