Artificial intelligence and endoanal ultrasound: pioneering automated differentiation of benign anal and sphincter lesions.
Authors
Affiliations (9)
Affiliations (9)
- Department of Gastroenterology, Precision Medicine Unit, São João University Hospital, 4200-427, Porto, Portugal. [email protected].
- WGO Gastroenterology and Hepatology Training Center, 4200-047, Porto, Portugal. [email protected].
- Faculty of Medicine of the University of Porto, 4200-047, Porto, Portugal. [email protected].
- Department of Gastroenterology, Precision Medicine Unit, São João University Hospital, 4200-427, Porto, Portugal.
- WGO Gastroenterology and Hepatology Training Center, 4200-047, Porto, Portugal.
- Department of Mechanical Engineering, Faculty of Engineering of the University of Porto, 4200-065, Porto, Portugal.
- Faculty of Medicine of the University of Porto, 4200-047, Porto, Portugal.
- Manoph Gastroenterology Clinic, 4000-007, Porto, Portugal.
- School of Medicine and Biomedical Sciences (ICBAS), 4050-313, Porto, Portugal.
Abstract
Anal injuries, such as lacerations and fissures, are challenging to diagnose because of their anatomical complexity. Endoanal ultrasound (EAUS) has proven to be a reliable tool for detailed visualization of anal structures but relies on expert interpretation. Artificial intelligence (AI) may offer a solution for more accurate and consistent diagnoses. This study aims to develop and test a convolutional neural network (CNN)-based algorithm for automatic classification of fissures and anal lacerations (internal and external) on EUAS. A single-center retrospective study analyzed 238 EUAS radial probe exams (April 2022-January 2024), categorizing 4528 frames into fissures (516), external lacerations (2174), and internal lacerations (1838), following validation by three experts. Data was split 80% for training and 20% for testing. Performance metrics included sensitivity, specificity, and accuracy. For external lacerations, the CNN achieved 82.5% sensitivity, 93.5% specificity, and 88.2% accuracy. For internal lacerations, achieved 91.7% sensitivity, 85.9% specificity, and 88.2% accuracy. For anal fissures, achieved 100% sensitivity, specificity, and accuracy. This first EUAS AI-assisted model for differentiating benign anal injuries demonstrates excellent diagnostic performance. It highlights AI's potential to improve accuracy, reduce reliance on expertise, and support broader clinical adoption. While currently limited by small dataset and single-center scope, this work represents a significant step towards integrating AI in proctology.