An artificial intelligence model of whole-slide pathology specimens differentiating cutaneous high-grade squamous proliferations

Virchows Arch. 2025 Nov;487(5):1047-1058. doi: 10.1007/s00428-025-04272-6. Epub 2025 Sep 25.

Abstract

Cutaneous squamous cell carcinoma (cSCC) and verruca vulgaris (VV) are skin conditions involving the proliferation of epidermal keratinocytes requiring fundamentally different treatments. Histological evaluation of highly differentiated squamous cell proliferations can be challenging, particularly in small or superficial samples. This study aims to improve diagnostic accuracy using an AI model to distinguish cSCC from VV. We developed a deep-learning model using clustering-constrained attention multiple instance learning (CLAM) to classify hematoxylin and eosin-stained whole-slide images (WSIs) as cSCC or VV. The dataset comprised 289 WSIs (n = 148 cSCC, n = 141 VV). Quality control was ensured through expert review: the training cohort was evaluated by four dermatopathologists, and the evaluation cohort by six additional experts. On the training set, the model achieved an AUROC of 0.99, with an accuracy of 94.9% for cSCC and 91.2% for VV. On the evaluation set, it reached an AUROC of 0.96, and accuracies of 82.4% (cSCC) and 97.4% (VV), similar to the average performance of individual dermatopathologists. We successfully trained and implemented an interpretable deep-learning-based weakly supervised model on WSIs distinguishing cSCC from VV, which could enhance AI-supported diagnostics in the future.

Keywords: Artificial Intelligence; Carcinoma, Squamous Cell; Pathology; Warts.

MeSH terms

  • Aged
  • Aged, 80 and over
  • Cell Proliferation
  • Cutaneous Squamous Cell Carcinoma* / pathology
  • Datasets as Topic
  • Deep Learning*
  • Diagnosis, Differential
  • Eosine Yellowish-(YS) / chemistry
  • Female
  • Hematoxylin / chemistry
  • Humans
  • Image Processing, Computer-Assisted* / methods
  • Male
  • Middle Aged
  • Skin Neoplasms* / pathology
  • Staining and Labeling
  • Warts* / pathology

Substances

  • Hematoxylin
  • Eosine Yellowish-(YS)