Design and validation of an artificial intelligence system to detect the quality of colon cleansing before colonoscopy

Antonio Z Gimeno-García,Silvia Alayón-Miranda,Federica Benítez-Zafra,Domingo Hernández-Negrín,David Nicolás-Pérez,Claudia Pérez Cabañas,Rosa Delgado,Rocío Del-Castillo,Ana Romero,Zaida Adrián,Ana Cubas,Yanira González-Méndez,Alejandro Jiménez,Marco A Navarro-Dávila,Manuel Hernández-Guerra
DOI: https://doi.org/10.1016/j.gastrohep.2023.12.009
Abstract:Background and aims: Patients' perception of their bowel cleansing quality may guide rescue cleansing strategies before colonoscopy. The main aim of this study was to train and validate a convolutional neural network (CNN) for classifying rectal effluent during bowel preparation intake as "adequate" or "inadequate" cleansing before colonoscopy. Patients and methods: Patients referred for outpatient colonoscopy were asked to provide images of their rectal effluent during the bowel preparation process. The images were categorized as adequate or inadequate cleansing based on a predefined 4-picture quality scale. A total of 1203 images were collected from 660 patients. The initial dataset (799 images), was split into a training set (80%) and a validation set (20%). The second dataset (404 images) was used to develop a second test of the CNN accuracy. Afterward, CNN prediction was prospectively compared with the Boston Bowel Preparation Scale (BBPS) in 200 additional patients who provided a picture of their last rectal effluent. Results: On the initial dataset, a global accuracy of 97.49%, a sensitivity of 98.17% and a specificity of 96.66% were obtained using the CNN model. On the second dataset, an accuracy of 95%, a sensitivity of 99.60% and a specificity of 87.41% were obtained. The results from the CNN model were significantly associated with those from the BBPS (P<0.001), and 77.78% of the patients with poor bowel preparation were correctly classified. Conclusion: The designed CNN is capable of classifying "adequate cleansing" and "inadequate cleansing" images with high accuracy.
What problem does this paper attempt to address?