Multi-Layer Dense Attention Decoder for Polyp Segmentation

Krushi Patel, Fengjun Li, Guanghui Wang · DOI

Abstract

Automated polyp segmentation is a critical task for colorectal cancer prevention. While Vision Transformers have advanced the field by capturing global context, they often struggle with local feature representation and efficient multi-scale aggregation. This paper presents a novel Multi-Layer Dense Attention Decoder that addresses these limitations. By incorporating a Dense Attention Gate (DAG) and a horizontally expanded nested decoder structure, the proposed model achieves state-of-the-art performance across five benchmark datasets, demonstrating superior accuracy and generalization capabilities.

Introduction

Colorectal cancer remains a leading cause of cancer-related mortality worldwide. Early detection and removal of polyps during colonoscopy procedures are vital for improving patient outcomes. However, the visual characteristics of polyps—varying significantly in size, color, and texture—make automated segmentation a challenging task. Polyps often blend into the surrounding mucosa, leading to high miss rates even among clinical experts.

Recent deep learning approaches, particularly those based on Vision Transformers (ViTs), have shown promise by modeling long-range dependencies. Nonetheless, these models frequently suffer from two main weaknesses: "local blindness," where they fail to capture the fine-grained boundary details necessary for precise segmentation, and inefficient feature aggregation, where standard decoders fail to fully exploit the hierarchical features generated by the encoder.

Proposed Methodology

The proposed architecture leverages a Pyramid Vision Transformer (PVT) backbone to generate multi-scale features. To enhance the decoding process, the authors introduce two primary components: the Dense Attention Gate (DAG) and the Camouflage Attention Module (CAM).

Figure 1: Overview of the proposed architecture featuring the Dense Attention Gate (DAG) and Camouflage Attention Module (CAM) within a multi-layer decoding framework.

As illustrated in Figure 1, the Dense Attention Gate (DAG) represents a significant departure from traditional skip connections. Instead of simply concatenating features from a single encoder layer, the DAG adaptively fuses information from all preceding encoding layers. This "dense" approach allows the model to maintain a rich memory of multi-scale features, which is crucial for delineating subtle polyp boundaries. Additionally, the Camouflage Attention Module (CAM) is integrated into every decoder block to specifically target polyps that exhibit high visual similarity to the background.

Multi-Layer Nested Decoder Design

A key innovation of this work is the horizontal expansion of the decoder. Traditional U-Net-like structures employ a single vertical decoding path. In contrast, this model utilizes a nested structure where the output of one decoding layer serves as the input for the next.

Figure 2: Comparison of decoder architectures: (a) standard skip connections, (b) dense skip connections, (c) multi-scale aggregation, and (d) the proposed multi-layer nested decoder.

As shown in Figure 2(d), this multi-layer design progressively refines local features within the global context provided by the Transformer encoder. Deep supervision is applied at the end of each decoding layer, forcing the network to learn meaningful representations at every stage of the refinement process.

Experimental Evaluation

The model was rigorously evaluated on five benchmark datasets: Kvasir-Seg, CVC-ClinicDB, CVC-300, CVC-ColonDB, and ETIS. The latter three datasets were used to assess the model's generalization ability across different clinical settings and equipment.

Key Results

The proposed model consistently outperformed nine state-of-the-art (SOTA) methods, including PraNet and Polyp-PVT:

  • Superior Accuracy: On the CVC-ClinicDB dataset, it achieved a mean Dice (mDice) score of 0.939.
  • Strong Generalization: It demonstrated robust performance on the challenging ETIS and CVC-ColonDB datasets, achieving mDice scores of 0.795 and 0.818, respectively.
  • Ablation Proof: Increasing the number of horizontal decoding layers from one to three resulted in a significant performance boost, raising the mDice from 0.919 to 0.930 on the primary test setting.

Conclusion and Future Work

The Multi-Layer Dense Attention Decoder offers a powerful solution for automated polyp segmentation by effectively bridging the gap between global context and local detail. The combination of dense attention gates and nested decoding allows for superior feature aggregation and boundary refinement. While the model sets new benchmarks for accuracy, future research should focus on optimizing the architecture for real-time clinical deployment and exploring its applicability to other medical imaging domains, such as skin lesion or lung infection segmentation.

Summary updated

BibTeX
@inproceedings{patel2024multi,
  author = {Krushi Patel and Fengjun Li and Guanghui Wang},
  title = {{Multi-Layer Dense Attention Decoder for Polyp Segmentation}},
  booktitle = {ICBET},
  year = {2024},
  doi = {10.1145/3678935.3678955},
}
Figure