Deep Learning in High-Resolution Anoscopy: Assessing the Impact of Staining and Therapeutic Manipulation on Automated Detection of Anal Cancer Precursors

Clin Transl Gastroenterol. 2024 Apr 1;15(4):e00681. doi: 10.14309/ctg.0000000000000681.

Abstract

Introduction: High-resolution anoscopy (HRA) is the gold standard for detecting anal squamous cell carcinoma (ASCC) precursors. Preliminary studies on the application of artificial intelligence (AI) models to this modality have revealed promising results. However, the impact of staining techniques and anal manipulation on the effectiveness of these algorithms has not been evaluated. We aimed to develop a deep learning system for automatic differentiation of high-grade squamous intraepithelial lesion vs low-grade squamous intraepithelial lesion in HRA images in different subsets of patients (nonstained, acetic acid, lugol, and after manipulation).

Methods: A convolutional neural network was developed to detect and differentiate high-grade and low-grade anal squamous intraepithelial lesions based on 27,770 images from 103 HRA examinations performed in 88 patients. Subanalyses were performed to evaluate the algorithm's performance in subsets of images without staining, acetic acid, lugol, and after manipulation of the anal canal. The sensitivity, specificity, accuracy, positive and negative predictive values, and area under the curve were calculated.

Results: The convolutional neural network achieved an overall accuracy of 98.3%. The algorithm had a sensitivity and specificity of 97.4% and 99.2%, respectively. The accuracy of the algorithm for differentiating high-grade squamous intraepithelial lesion vs low-grade squamous intraepithelial lesion varied between 91.5% (postmanipulation) and 100% (lugol) for the categories at subanalysis. The area under the curve ranged between 0.95 and 1.00.

Discussion: The introduction of AI to HRA may provide an accurate detection and differentiation of ASCC precursors. Our algorithm showed excellent performance at different staining settings. This is extremely important because real-time AI models during HRA examinations can help guide local treatment or detect relapsing disease.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Acetic Acid
  • Adult
  • Aged
  • Algorithms
  • Anal Canal / diagnostic imaging
  • Anal Canal / pathology
  • Anus Neoplasms* / diagnosis
  • Anus Neoplasms* / diagnostic imaging
  • Anus Neoplasms* / pathology
  • Carcinoma, Squamous Cell* / diagnosis
  • Carcinoma, Squamous Cell* / diagnostic imaging
  • Carcinoma, Squamous Cell* / pathology
  • Deep Learning*
  • Female
  • Humans
  • Male
  • Middle Aged
  • Neural Networks, Computer
  • Precancerous Conditions / diagnosis
  • Precancerous Conditions / diagnostic imaging
  • Precancerous Conditions / pathology
  • Predictive Value of Tests
  • Proctoscopy / methods
  • Sensitivity and Specificity
  • Squamous Intraepithelial Lesions* / diagnosis
  • Squamous Intraepithelial Lesions* / pathology
  • Staining and Labeling / methods

Substances

  • Acetic Acid