DDANet: Dual Decoder Attention Network for Automatic Polyp Segmentation

Nikhil Kumar Tomar, Debesh Jha, Sharib Ali, Håvard D. Johansen, Dag Johansen, Michael A. Riegler, Pål HalvorsenarXiv 2020

TL;DR

DDANet is a novel deep learning architecture designed for real-time, automatic polyp segmentation in colonoscopy images. By employing a dual-decoder strategy—where one decoder segments the polyp and an auxiliary decoder reconstructs the image to generate attention maps—the model achieves high accuracy and impressive speeds of over 70 frames per second.

What Problem Does This Paper Address?

Colorectal cancer is a leading cause of cancer-related deaths, yet it is highly preventable through regular colonoscopies. The goal is to find and remove pre-cancerous polyps. However, manual detection is challenging; studies show that clinicians miss between 6% and 27% of adenomas during procedures.

While Computer-Aided Diagnosis (CADx) systems aim to solve this, polyps are notoriously difficult to segment automatically. They vary wildly in size, shape, and color (intra-class variation), often blend into the surrounding tissue (low contrast), and images are frequently obscured by noise or reflections. The authors aim to create a model that is not only accurate enough to delineate these boundaries but also fast enough to be used by doctors in real-time during a live procedure.

Methods

The authors propose the Dual Decoder Attention Network (DDANet). Its architecture is built on an encoder-decoder framework, but with a clever twist:

  1. Shared Encoder: A single encoder (based on residual blocks) extracts features from the input RGB image.
  2. Dual Decoders: The network splits into two parallel paths.
  3. Segmentation Decoder: The primary branch that predicts the final binary mask of the polyp.
  4. Autoencoder Decoder: An auxiliary branch that attempts to reconstruct a grayscale version of the input image.
  5. Attention Mechanism: The output of the autoencoder branch is passed through a $1 \times 1$ convolution and a sigmoid function to create an attention map. This map is then multiplied by the feature maps in the segmentation branch. This "auxiliary task" forces the encoder to learn more robust, representative features that benefit the main segmentation goal.
  6. Building Blocks: The network utilizes Residual Blocks to prevent vanishing gradients in deep layers and Squeeze and Excitation (SE) blocks, which act as a channel-wise attention mechanism to help the model focus on the most important feature channels.
Fig. 1: DDANet architecture and its components.

Datasets

The model was trained and evaluated using datasets from the Endotect challenge:

  • Kvasir-SEG: A publicly available dataset containing 1,000 polyp images with corresponding ground truth masks and bounding boxes. The authors used 88% for training and 12% for validation.
  • Unseen (Challenge) Dataset: A separate test set of 200 images provided by the challenge organizers to test the model's generalization ability on data it had never encountered before.

Key Insights and Ideas

  • Auxiliary Learning as a Booster: The core "aha" moment is using image reconstruction as a side-task. By forcing the network to "understand" the whole image well enough to reconstruct it, the shared encoder learns richer spatial features that make the actual segmentation task easier.
  • Efficiency is Feature, Not an Afterthought: Many high-accuracy models are too computationally heavy for clinical use. By keeping the architecture streamlined, DDANet achieves real-time speeds (~70 FPS) without sacrificing significant accuracy.
  • Skip Connections for Detail: The use of skip connections between the encoder and decoders ensures that fine-grained spatial information from early layers isn't lost during the downsampling process, which is critical for precise boundary delineation.

Key Results

DDANet demonstrated strong performance and excellent generalization. On the unseen challenge dataset, it achieved:

  • Dice Coefficient (DSC): 0.7874
  • mIoU: 0.7010
  • Recall: 0.7987
  • Precision: 0.8577
  • Speed: 70.23 FPS

On the Kvasir-SEG validation set, the results were even higher, with a DSC of 0.8576. The high FPS is particularly noteworthy, as it comfortably exceeds the standard 30-60 FPS required for real-time video processing in a clinical setting.

Table 1: Quantitative results on Kvasir-SEG and unseen (Challenge) dataset.

Qualitatively, the model proves capable of identifying both large, obvious polyps and smaller, more subtle ones.

Fig. 2: Qualitative results of the DDANet on the Kvasir-SEG test dataset. The blue line divides the segmentation and the reconstruction part. Columns 4 and 5 show the reconstruction part that was used in the DDANet as an auxiliary task.

Limitations and Future Work

Despite its success, the authors note that flat or sessile polyps remain a significant challenge. These polyps have very little vertical relief and blend into the colon wall, making them difficult for even the most advanced models to distinguish.

For future iterations, the team suggests:

  • Replacing the simple grayscale reconstruction with image super-resolution as the auxiliary task to further improve feature extraction.
  • Incorporating post-processing techniques to refine the predicted masks.
  • Conducting more extensive parameter optimization to squeeze out further performance gains.

Summary updated

BibTeX
@misc{tomar2020ddanet,
  author = {Nikhil Kumar Tomar and Debesh Jha and Sharib Ali and Håvard D. Johansen and Dag Johansen and Michael A. Riegler and Pål Halvorsen},
  title = {{DDANet: Dual Decoder Attention Network for Automatic Polyp Segmentation}},
  year = {2020},
  eprint = {2012.15245},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.15245},
}
Figure