Skip to main content
QUICK REVIEW

[Paper Review] Shallow Attention Network for Polyp Segmentation

Jun Wei, Yiwen Hu|arXiv (Cornell University)|Aug 2, 2021
Advanced Neural Network ApplicationsComputer Science22 references9 citations
TL;DR

This paper proposes the Shallow Attention Network (SANet) for polyp segmentation, addressing color variation, small polyp degradation, and foreground-background class imbalance. By introducing color exchange to decouple content from color, a shallow attention module to enhance high-resolution features, and a probability correction strategy for inference, SANet achieves state-of-the-art performance with 72 FPS inference speed across five benchmarks.

ABSTRACT

Accurate polyp segmentation is of great importance for colorectal cancer diagnosis. However, even with a powerful deep neural network, there still exists three big challenges that impede the development of polyp segmentation. (i) Samples collected under different conditions show inconsistent colors, causing the feature distribution gap and overfitting issue; (ii) Due to repeated feature downsampling, small polyps are easily degraded; (iii) Foreground and background pixels are imbalanced, leading to a biased training. To address the above issues, we propose the Shallow Attention Network (SANet) for polyp segmentation. Specifically, to eliminate the effects of color, we design the color exchange operation to decouple the image contents and colors, and force the model to focus more on the target shape and structure. Furthermore, to enhance the segmentation quality of small polyps, we propose the shallow attention module to filter out the background noise of shallow features. Thanks to the high resolution of shallow features, small polyps can be preserved correctly. In addition, to ease the severe pixel imbalance for small polyps, we propose a probability correction strategy (PCS) during the inference phase. Note that even though PCS is not involved in the training phase, it can still work well on a biased model and consistently improve the segmentation performance. Quantitative and qualitative experimental results on five challenging benchmarks confirm that our proposed SANet outperforms previous state-of-the-art methods by a large margin and achieves a speed about 72FPS.

Motivation & Objective

  • To address overfitting caused by inconsistent color distribution in polyp images due to varying endoscopic conditions.
  • To improve segmentation of small polyps degraded by repeated feature downsampling in deep networks.
  • To mitigate severe foreground-background pixel imbalance that biases model training and degrades performance on small polyps.
  • To develop a lightweight, fast inference model that maintains high accuracy without requiring retraining.
  • To achieve state-of-the-art performance on multiple public polyp segmentation benchmarks with minimal computational overhead.

Proposed method

  • Proposes a color exchange (CE) operation that transfers color from a random image to the input, decoupling content from color and reducing spurious color-based correlations.
  • Introduces a shallow attention module (SAM) that uses deep features to filter background noise from high-resolution shallow features, preserving fine details of small polyps.
  • Employs a probability correction strategy (PCS) during inference to recalibrate biased predictions, improving segmentation without modifying the training process.
  • Uses a U-Net-like encoder-decoder architecture with residual connections and multi-scale supervision for robust feature learning.
  • Applies standard data augmentation (random flip, rotation, multi-scale training) and end-to-end training with BCE + Dice loss for optimization.
  • Leverages high-resolution shallow features to maintain spatial detail critical for small polyp segmentation.

Experimental results

Research questions

  • RQ1Can decoupling image content from color distribution reduce overfitting in polyp segmentation models?
  • RQ2Can enhancing shallow features with attention mechanisms improve the segmentation of small polyps?
  • RQ3Can a post-processing correction strategy effectively improve segmentation performance on biased models without retraining?
  • RQ4Does combining color exchange, shallow attention, and probability correction lead to consistent performance gains across diverse datasets?
  • RQ5Can the proposed method achieve state-of-the-art performance with high inference speed (e.g., 72 FPS) on real-world polyp segmentation benchmarks?

Key findings

  • SANet achieves the highest mDice (0.904) and mIoU (0.847) on the Kvasir dataset, outperforming all six SOTA methods.
  • On CVC-ClinicDB, SANet achieves mDice of 0.916 and mIoU of 0.859, significantly exceeding PraNet (0.898 and 0.840).
  • On ETIS, SANet achieves mDice of 0.750 and mIoU of 0.654, surpassing the previous SOTA PraNet (0.628 and 0.567).
  • The ablation study confirms that all components—backbone, SAM, CE, and PCS—are essential, with full SANet achieving 0.753 mDice on ColonDB and 0.904 mDice on Kvasir.
  • SANet achieves a real-time inference speed of 72 FPS on RTX 2080Ti, faster than PraNet’s 64 FPS, demonstrating high efficiency.
  • Visual comparisons show that SANet produces sharper, more accurate masks with better background suppression, especially on small and challenging polyps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.