ColonNet: A Hybrid Of DenseNet121 And U-NET Model For Detection And Segmentation Of GI Bleeding

Ayushman Singh, Sharad Prakash, Aniket Das, Nidhi KushwahaarXiv 2024 · DOI

Abstract

Wireless Capsule Endoscopy (WCE) is a critical non-invasive diagnostic tool for the gastrointestinal (GI) tract, yet it produces a massive volume of data that requires hours of manual clinical review. This paper presents ColonNet, a hybrid deep learning architecture that integrates DenseNet121 and U-Net to automate the detection, classification, and segmentation of GI bleeding. Evaluated on the Auto-WCBleedGen Challenge dataset, ColonNet achieved an overall accuracy of approximately 80%. Notably, the model reduces the diagnostic timeline from hours to seconds, offering a scalable solution for specialist shortages.

Introduction

The primary challenge in Wireless Capsule Endoscopy (WCE) is the sheer volume of data, typically ranging from 57,000 to 100,000 frames per patient. Gastroenterologists currently spend two to three hours manually reviewing these frames to identify pathologies like GI bleeding. This process is not only labor-intensive but also susceptible to human error and fatigue. ColonNet was developed to serve as an automated "second pair of eyes," capable of rapidly flagging bleeding instances and providing precise segmentation masks to streamline clinical workflows.

Methods

ColonNet utilizes a multi-branch architecture to simultaneously address classification, detection, and segmentation tasks. The architecture is divided into two main functional branches:

  1. ColonSeg Branch: Built upon a DenseNet121 backbone, this branch leverages dense connectivity for robust feature extraction. The output is bifurcated into a classification path (using Dense layers with Sigmoid activation) and a detection path (using fully connected layers with ELU activation to predict bounding boxes).
  2. UNetModel Branch: A standard U-Net architecture is employed for pixel-level segmentation. Its encoder-decoder structure with skip connections ensures that spatial information is preserved while learning deep semantic features.
Figure 1: The ColonNet hybrid architecture, featuring specialized branches for classification/detection (ColonSeg) and segmentation (UNetModel).

The training strategy involved a phased approach: the detection branch was trained first using Mean Squared Error (MSE), followed by the classification branch with a frozen backbone. The segmentation branch was trained independently using Focal Tversky loss to mitigate the extreme class imbalance between bleeding pixels and background tissue.

Datasets

The model was trained and evaluated using the Auto-WCBleedGen Challenge Version V2 dataset. It consists of a training set of 2,618 WCE frames and two distinct test sets: Test Set 1 (Subtle), containing 49 images with nearly imperceptible bleeding, and Test Set 2 (Standard), containing 515 images with varying sizes of bleeding segments.

Results and Discussion

ColonNet demonstrated strong performance on standard cases but faced significant challenges with subtle pathologies. On Test Set 2, the model achieved an accuracy of 81.75% and a Dice Coefficient of 0.6833. However, performance on Test Set 1 dropped to 48.98%, highlighting the difficulty of detecting early-stage or faint bleeding without broader contextual cues.

Figure 2: Visualization of ColonNet outputs, including (a) predicted bounding boxes, (b) generated image masks, and (c) Class Activation Map (CAM) plots for interpretability.

A key finding was the "preprocessing paradox": standard medical imaging enhancements like CLAHE, erosion, and dilation actually degraded model performance by removing subtle features necessary for identifying faint bleeding patches. Despite the drop in accuracy for subtle cases, the model's efficiency is remarkable; it processed the entire test dataset in approximately 28 seconds, a significant improvement over manual review.

Conclusion

ColonNet provides a promising hybrid approach to GI bleeding detection. While future work is needed to improve sensitivity to subtle bleeding and robustness against artifacts like bubbles and debris, the current model offers a significant step toward automating WCE analysis and reducing the burden on medical professionals.

Summary updated

BibTeX
@misc{singh2024colonnet,
  author = {Ayushman Singh and Sharad Prakash and Aniket Das and Nidhi Kushwaha},
  title = {{ColonNet: A Hybrid Of DenseNet121 And U-NET Model For Detection And Segmentation Of GI Bleeding}},
  year = {2024},
  eprint = {2412.05216},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.05216},
}
Figure