Artificial intelligence as a transforming factor in motility disorders-automatic detection of motility patterns in high-resolution anorectal manometry

Sci Rep. 2025 Jan 15;15(1):2061. doi: 10.1038/s41598-024-83768-8.

Abstract

High-resolution anorectal manometry (HR-ARM) is the gold standard for anorectal functional disorders' evaluation, despite being limited by its accessibility and complex data analysis. The London Protocol and Classification were developed to standardize anorectal motility patterns classification. This proof-of-concept study aims to develop and validate an artificial intelligence model for identification and differentiation of disorders of anal tone and contractility in HR-ARM. A dataset of 701 HR-ARM exams from a tertiary center, classified according to London Classification, was used to develop and test multiple machine learning (ML) algorithms. The exams were divided in a training and testing dataset with a 80/20% ratio. The testing dataset was used for models' evaluation through its accuracy, sensitivity, specificity, positive and negative predictive values and area under the receiving-operating characteristic curve. LGBM Classifier had the best performance, with an accuracy of 87.0% for identifying disorders of anal tone and contractility. Different ML models excelled in distinguishing specific disorders of anal tone and contractility, with accuracy over 90.0%. This is the first worldwide study proving the accuracy of a ML model for differentiation of motility patterns in HR-ARM, demonstrating the value of artificial intelligence models in optimizing HR-ARM availability while reducing interobserver variability and increasing accuracy.

Keywords: Anorectal disorders; Anorectal manometry; Artificial intelligence; Gastroenterology; Machine learning.

MeSH terms

  • Adult
  • Aged
  • Algorithms
  • Anal Canal* / physiology
  • Artificial Intelligence*
  • Female
  • Gastrointestinal Motility / physiology
  • Humans
  • Machine Learning
  • Male
  • Manometry* / methods
  • Middle Aged
  • Rectal Diseases / diagnosis
  • Rectal Diseases / physiopathology
  • Rectum