S4500 Automated Image-Based Classification of Stool Morphology Using a Mobile Convolutional Neural Network

Introduction: Patient Bristol Stool Form Scale (BSFS) self-assessment is often unreliable. We trained and validated a smartphone-compatible convolutional neural network (CNN) to classify stool images by BSFS type, offering an objective alternative to patient diaries. Case Description: We obtained 208 de-identified stool photographs covering BSFS types 1 through 7. Two physicians (1 internal medicine resident and 1 gastroenterology fellow) independently labeled every image; disagreements were resolved by consensus. Images were randomly divided into an 80% training set and a 20% validation set. The Google Teachable Machine default CNN architecture was trained for 30 epochs with a learning rate of 0.0001. The primary outcome was overall validation accuracy. Secondary outcomes included per-class precision, recall, F1 score, and comparison with physician performance on the same images. A 30-day pilot diary study compared automated classifications with patient self-reports. The CNN achieved an overall validation accuracy of 83%. Per-class precision ranged from 63.6% for type 5 to 92.1% for type 1. Mean sensitivity and specificity across classes were 79.4% and 86% percent, respectively. Two blinded physicians achieved a mean accuracy of 79%; the difference versus the model was not statistically significant (P = 0.42). In the pilot study, the CNN correctly classified 124 of 150 images (83%), exceeding patient diary concordance, which was 67%, by 16 percentage points. Discussion: A CNN trained with 208 images classified stool morphology with accuracy comparable to expert physicians, demonstrating feasibility for objective BSFS assessment in clinical practice and research. Future work will enlarge the dataset, improve performance on under-represented classes, and prospectively assess clinical impact. Institutional review board approval was not required because all images were de-identified and collected for quality improvement.

Authors

Publication Details

Journal
The American Journal of Gastroenterology
Published
2025-10-01
DOI
https://doi.org/10.14309/01.ajg.0001145460.00185.df
Primary Topic
Gastrointestinal Bleeding Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

S4500 Automated Image-Based Classification of Stool Morphology Using a Mobile Convolutional Neural Network

Abhishek Patel, Ahmed Eltelbany, Pooja Viswanath, Evelyn Inga
The American Journal of Gastroenterology
Gastrointestinal Bleeding Diagnosis and Treatment
article

S4500 Automated Image-Based Classification of Stool Morphology Using a Mobile Convolutional Neural Network

Abhishek Patel, Ahmed Eltelbany, Pooja Viswanath, Evelyn Inga
article en

Abstract

Introduction: Patient Bristol Stool Form Scale (BSFS) self-assessment is often unreliable. We trained and validated a smartphone-compatible convolutional neural network (CNN) to classify stool images by BSFS type, offering an objective alternative to patient diaries. Case Description: We obtained 208 de-identified stool photographs covering BSFS types 1 through 7. Two physicians (1 internal medicine resident and 1 gastroenterology fellow) independently labeled every image; disagreements were resolved by consensus. Images were randomly divided into an 80% training set and a 20% validation set. The Google Teachable Machine default CNN architecture was trained for 30 epochs with a learning rate of 0.0001. The primary outcome was overall validation accuracy. Secondary outcomes included per-class precision, recall, F1 score, and comparison with physician performance on the same images. A 30-day pilot diary study compared automated classifications with patient self-reports. The CNN achieved an overall validation accuracy of 83%. Per-class precision ranged from 63.6% for type 5 to 92.1% for type 1. Mean sensitivity and specificity across classes were 79.4% and 86% percent, respectively. Two blinded physicians achieved a mean accuracy of 79%; the difference versus the model was not statistically significant (P = 0.42). In the pilot study, the CNN correctly classified 124 of 150 images (83%), exceeding patient diary concordance, which was 67%, by 16 percentage points. Discussion: A CNN trained with 208 images classified stool morphology with accuracy comparable to expert physicians, demonstrating feasibility for objective BSFS assessment in clinical practice and research. Future work will enlarge the dataset, improve performance on under-represented classes, and prospectively assess clinical impact. Institutional review board approval was not required because all images were de-identified and collected for quality improvement.

The American Journal of GastroenterologyVol. 120(10S2)
Openalex Percentile: Top 45%
Gastrointestinal Bleeding Diagnosis and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

S4500 Automated Image-Based Classification of Stool Morphology Using a Mobile Convolutional Neural Network — Abhishek Patel, Ahmed Eltelbany, et al. · The American Journal of Gastroenterology (2025) | TGRS Research Map | TGRS