Introduction
Medical image segmentation is a cornerstone of computer-aided diagnosis, yet it remains challenging due to two primary issues: the "microtumor" problem and the edge delineation problem. Standard neural networks often lose small pathologies during downsampling, while accurately marking organ or tumor boundaries is difficult when local textures are noisy and global context is insufficient. While Vision Transformers (ViTs) have improved global modeling, they often struggle with local feature integration. Existing U-shaped models, such as Swin-Unet, typically mirror the encoder in the decoder, which may be suboptimal for reconstructing high-resolution masks from abstract features.
Methodology: The AFFSegNet Architecture
To address these limitations, we introduce AFFSegNet (Adaptive Feature Fusion Segmentation Network). The architecture is a Transformer-based U-shaped network featuring two primary innovations: an Enhanced Forward Feedback Network (EFFN) in the encoder and an Adaptive Feature Fusion (AFF) decoder.
MWA Encoder with EFFN
The encoder utilizes Multi-scale Window Attention (MWA) blocks. Unlike standard Transformers that employ a simple Multi-Layer Perceptron (MLP), AFFSegNet incorporates an Enhanced Forward Feedback Network (EFFN). By integrating depth-wise and pixel-wise convolutions into the feedback loop, the model explicitly models long-range dependencies during the feature extraction phase, complementing the attention mechanism.
Adaptive Feature Fusion (AFF) Decoder
The core contribution of this work is the AFF decoder, which replaces standard upsampling paths with three specialized blocks:
- Long-Range Dependencies (LRD) Block: Maintains a wide receptive field during reconstruction using a series of convolutions and LeakyReLU activations.
- Multi-Scale Feature Fusion (MFF) Block: Synergistically fuses feature maps from different scales to prevent the loss of small structures like microtumors.
- Adaptive Semantic Center (ASC) Block: Refines the output by extracting local region information and performing channel-wise enhancement via adaptive average pooling, focusing the model on the semantic core and edges of objects.
Experimental Results
The model was evaluated on three diverse public benchmarks: LiTS2017 (liver and tumor), ISICDM2019 (bladder tumor), and Synapse (multi-organ).
Performance Analysis
AFFSegNet achieved new state-of-the-art (SOTA) performance across all benchmarks:
- Liver Tumor (LiTS2017): Achieved a 95.47% Dice Similarity Coefficient (DSC), outperforming TransUNet by over 2%.
- Bladder Tumor (ISICDM2019): Reached 96.75% DSC, a 3.25% improvement over the next best method.
- Multi-Organ (Synapse): Achieved an average DSC of 90.73%, with notable success in segmenting small organs like the Gallbladder (87.08%) and Stomach (87.72%).
A comparison with the Segment Anything Model (SAM) revealed that despite SAM's extensive pre-training, it performed significantly worse on medical images (34.16% DSC on ISIDM2019), underscoring the necessity of specialized architectures in clinical settings.
Discussion and Conclusion
Ablation studies confirmed the importance of each architectural component. The LRD block, in particular, was found to be vital; its removal caused Dice scores to drop by nearly 20% on certain datasets, highlighting the critical role of long-range dependency modeling.
While AFFSegNet demonstrates superior performance, future work could address its computational complexity and explore extensions to native 3D volumetric convolutions. Additionally, testing on diverse modalities such as MRI or Ultrasound would further validate the robustness of the AFF decoder. In conclusion, AFFSegNet provides a powerful framework for high-precision medical image segmentation, effectively bridging the gap between local details and global context.
Summary updated