ClassifyViStA:WCE Classification with Visual understanding through Segmentation and Attention
Journal:
arXiv
Published Date:
Dec 24, 2024
Abstract
Gastrointestinal (GI) bleeding is a serious medical condition that presents
significant diagnostic challenges, particularly in settings with limited access
to healthcare resources. Wireless Capsule Endoscopy (WCE) has emerged as a
powerful diagnostic tool for visualizing the GI tract, but it requires
time-consuming manual analysis by experienced gastroenterologists, which is
prone to human error and inefficient given the increasing number of patients.To
address this challenge, we propose ClassifyViStA, an AI-based framework
designed for the automated detection and classification of bleeding and
non-bleeding frames from WCE videos. The model consists of a standard
classification path, augmented by two specialized branches: an implicit
attention branch and a segmentation branch.The attention branch focuses on the
bleeding regions, while the segmentation branch generates accurate segmentation
masks, which are used for classification and interpretability. The model is
built upon an ensemble of ResNet18 and VGG16 architectures to enhance
classification performance. For the bleeding region detection, we implement a
Soft Non-Maximum Suppression (Soft NMS) approach with YOLOv8, which improves
the handling of overlapping bounding boxes, resulting in more accurate and
nuanced detections.The system's interpretability is enhanced by using the
segmentation masks to explain the classification results, offering insights
into the decision-making process similar to the way a gastroenterologist
identifies bleeding regions. Our approach not only automates the detection of
GI bleeding but also provides an interpretable solution that can ease the
burden on healthcare professionals and improve diagnostic efficiency. Our code
is available at ClassifyViStA.