MFSNet: A multi focus segmentation network for skin lesion segmentation

Hritam Basak, Rohit Kundu, Ram Sarkar

Introduction

Early detection of melanoma is critical for patient survival, with early-stage diagnosis increasing survival rates to approximately 97%. A key step in Computer-Aided Diagnosis (CAD) is skin lesion segmentation—the precise delineation of lesion boundaries from surrounding healthy skin. However, this task is complicated by the inherent "noise" in dermoscopic images, including hair artifacts, low contrast, and highly irregular or blurry boundaries. While traditional architectures like U-Net have served as benchmarks, they often struggle to balance global context with fine-grained edge detection.

The MFSNet Architecture

The Multi-Focus Segmentation Network (MFSNet) is designed to address these challenges through a multi-stage refinement process that mimics clinical observation: identifying the general region of interest before focusing on the specific margins.

1. Preprocessing and Hair Removal

To mitigate the impact of hair artifacts, MFSNet employs a preprocessing pipeline. This involves a Blackhat transformation to highlight hair structures, followed by the Fast Marching Method for inpainting. This ensures the network processes "clean" skin tissue, preventing the model from being distracted by non-biological features.

2. Feature Extraction with Res2Net

Instead of standard convolutional layers, MFSNet utilizes a Res2Net backbone. Res2Net improves upon traditional ResNet by representing multi-scale features at a more granular level, providing a richer feature set for subsequent modules.

3. Parallel Partial Decoder (PPD)

To optimize computational efficiency and focus on high-level semantics, the PPD aggregates features from the deeper layers of the backbone while discarding the initial low-level layers. This creates a coarse "global map" that establishes the general location and shape of the lesion, reducing the semantic gap between encoder and decoder.

4. Boundary and Reverse Attention

The core innovation of MFSNet lies in its dual attention strategy:

  • Boundary Attention (BA) Modules: These modules utilize low-level spatial information to specifically learn and refine the lesion's edges, addressing the "blurry boundary" problem common in medical imaging.
  • Reverse Attention (RA) Modules: These modules employ a "progressive erasing" technique. By masking out the current predicted foreground, the RA module forces the network to focus on the remaining regions, effectively "mining" for subtle details that might have been missed in the initial pass.

Experimental Results

MFSNet was evaluated against three major benchmarks: $PH^2$, ISIC 2017, and HAM10000. The model demonstrated superior performance across multiple metrics, particularly in Mean Dice Similarity Coefficient (mDSC):

  • $PH^2$: 0.954 mDSC
  • ISIC 2017: 0.987 mDSC
  • HAM10000: 0.906 mDSC

A significant finding was the impact of the preprocessing stage. On the HAM10000 dataset, the mDSC improved from 0.872 to 0.906 when the hair-removal inpainting was applied, highlighting the importance of clean input data in medical imaging tasks.

Efficiency and Scalability

Despite its sophisticated attention mechanisms, MFSNet remains computationally efficient. Training on the ISIC 2017 dataset was completed in approximately 3 hours and 51 minutes using an NVIDIA Tesla K80 GPU. This efficiency suggests that the model is suitable for practical clinical applications where rapid processing and limited hardware resources are considerations.

Conclusion and Future Work

MFSNet provides a robust framework for skin lesion segmentation by combining global context with specialized attention for boundaries. By integrating hair removal and a coarse-to-fine refinement strategy, it achieves state-of-the-art results on diverse datasets. Future research will explore the application of this architecture to other medical imaging modalities, such as Brain MRI or Lung CT scans, and investigate semi-supervised learning techniques to leverage the vast amounts of unlabeled medical data available.

Summary updated

BibTeX
@article{basak2022mfsnet,
  author = {Hritam Basak and Rohit Kundu and Ram Sarkar},
  title = {{MFSNet: A multi focus segmentation network for skin lesion segmentation}},
  journal = {Pattern Recognition},
  year = {2022},
}
Figure