NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Gland Segmentation Via Dual Encoders and Boundary-Enhanced Attention

Huadeng Wang, Jiejiang Yu, Bingbing Li, Xipeng Pan, Zhenbing Liu, Rushi Lan, Xiaonan Luo

TL;DR

Researchers have developed DEA-Net, a novel deep learning architecture that significantly improves the automated segmentation of glands in histopathology images. By employing a dual-encoder strategy and a specialized boundary-enhanced attention mechanism, the model effectively overcomes the common pitfalls of segmenting severely deformed malignant glands and separating tightly packed, adherent glandular structures.

What Problem Does This Paper Address?

Accurate gland segmentation is a cornerstone of digital pathology, particularly for diagnosing and grading colorectal adenocarcinoma. However, pathologists and computer vision models face three major hurdles:

  1. Morphological Diversity: Benign and malignant glands vary wildly in size and shape. Malignant glands, in particular, can be severely deformed.
  2. Adhesion: Glands often grow so close together that they appear to "stick" to one another, making it difficult for standard algorithms to identify individual instances.
  3. Feature Loss: Traditional deep learning models (like U-Net) rely heavily on downsampling to capture global context. Unfortunately, this process often destroys the fine-grained edge details necessary to distinguish gland boundaries.
Challenges in gland segmentation: (a) cohesive glands, (b) deformed malignant glands, and (c) inconsistent shapes.

Methods

The authors propose the DEA-Net (Dual Encoders and Boundary-Enhanced Attention), which introduces several architectural innovations to preserve and enhance edge information:

  • Dual-Encoder Architecture: Instead of a single path, the model uses two. A standard backbone encoder captures high-level contextual features, while a Local Semantic-Guided Encoder (LD)—utilizing a pre-trained DeepLabv3+—focuses specifically on extracting low-level edge features.
  • Feature Fusion Module (FFM): This module integrates the outputs of the dual encoders. It uses a multi-scale extractor with varying dilation rates to ensure the network can handle glands of different sizes, followed by channel attention to highlight the most salient features.
  • Deep Feature Decoder (DFB): Unlike standard decoders that simply concatenate features, the DFB uses adaptive pooling and bilinear interpolation to better restore spatial information during the upsampling process.
  • Boundary-Enhanced Attention (BEA): This is the "secret sauce" for separating adherent glands. It calculates an adaptive threshold to generate a weight map specifically for gland boundaries, forcing the network to focus its "attention" on the edges that define individual glands.
The complete DEA-Net architecture, featuring the dual encoders and specialized modules.

Datasets

The model was evaluated on two widely recognized public benchmarks:

  • GlaS (Gland Segmentation Challenge): Contains 165 H&E-stained histopathology images. It is split into a training set (85 images) and two test sets (A and B) containing both benign and malignant glands.
  • CRAG (Colorectal Adenocarcinoma Gland): A more challenging dataset with 213 images. It contains a higher proportion of irregular malignant glands, which are significantly harder to identify than those in the GlaS dataset.

Key Insights and Ideas

  • Edges Matter More Than Context for Separation: The core "aha" moment is that while global context helps identify what a gland is, local edge features are what define where one gland ends and another begins. By using a dedicated encoder for local semantics, the model avoids the "blurring" effect of heavy downsampling.
  • Adaptive Thresholding for Boundaries: Rather than using a fixed edge-detection method, the BEA module's ability to calculate an adaptive threshold ($\delta$) based on the feature map itself allows it to be robust across different staining intensities and tissue types.
  • Ablation Success: The authors proved that every piece of the puzzle matters. Adding the LD module improved the Hausdorff distance (a measure of shape similarity) significantly, and the BEA module further sharpened the results, particularly in cases where glands were touching.
Visual comparison showing how adding the LD, FFM, and BEA modules progressively solves under-segmentation and adhesion issues.

Key Results

DEA-Net achieved state-of-the-art (SOTA) performance across both datasets:

  • GlaS Dataset: The model reached an F1 score of 89.3% and a Dice score of 89.6%, outperforming the previous leader (GAGLVT-Net) by 0.5% and 1.1% respectively. Crucially, it achieved a significantly lower Hausdorff distance (60.8 vs 70.2), indicating much better shape accuracy.
  • CRAG Dataset: On this more difficult dataset, DEA-Net achieved an F1 of 86.0% and a Dice of 89.9%. It outperformed TA-Net, the second-best model, by 1.8% in F1 score, proving its superior generalization to malignant cases.

Limitations and Future Work

While DEA-Net shows impressive results, the authors note a few areas for growth:

  • Dataset Scope: The model has currently only been validated on colorectal gland segmentation. Its performance on other types of glandular tissue (e.g., breast or prostate) remains to be seen.
  • Computational Complexity: The dual-encoder approach and multi-scale fusion likely increase the computational overhead compared to simpler models like U-Net, which might impact deployment in resource-constrained clinical settings.
  • Future Directions: The team plans to test the method on broader datasets and further refine the architecture to improve its generalization capabilities across diverse pathological conditions.

Summary updated

BibTeX
@inproceedings{wang2024gland,
  author = {Huadeng Wang and Jiejiang Yu and Bingbing Li and Xipeng Pan and Zhenbing Liu and Rushi Lan and Xiaonan Luo},
  title = {{Gland Segmentation Via Dual Encoders and Boundary-Enhanced Attention}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10447267},
}
Figure