Cascaded Context Enhancement for Automated Skin Lesion Segmentation

Ruxin Wang, Shuyuan Chen, Jianping Fan, Ye Li

Abstract

Automated skin lesion segmentation is a critical step in the early detection of melanoma. However, standard deep learning models often struggle with the loss of spatial detail and a lack of global context. This paper introduces the Cascaded Context Enhancement Network (CCENet), which utilizes a gate-based Cascaded Context Aggregation (CCA) module and a Context-Guided Local Affinity (CGL) module to address these challenges. Evaluated on four major dermoscopy datasets (ISIC-2016, 2017, 2018, and PH2), CCENet achieves state-of-the-art performance, demonstrating significant improvements in segmentation accuracy and robustness to common artifacts like hair and low contrast.

Introduction

Skin cancer, particularly melanoma, remains a global health challenge where early detection is the primary factor in survival rates. Computer-aided diagnosis (CAD) systems have improved, but lesion segmentation—the precise outlining of the diseased area—remains difficult due to two main hurdles:

  1. Loss of Detail: Standard Convolutional Neural Networks (CNNs) use consecutive pooling and striding operations that "blur" spatial details, making it difficult to delineate exact boundaries.
  2. Context Blindness: Lesions vary significantly in color, shape, and size, often exhibiting low contrast against healthy skin. Existing models often fail to capture "long-range dependencies"—how distant pixels relate to one another—which is vital for understanding the overall context of the image.

Methods

CCENet is built on a ResNet backbone with an Atrous Spatial Pyramid Pooling (ASPP) module, enhanced by two innovative components designed to preserve detail and capture context.

The CCENet architecture featuring the Cascaded Context Aggregation (CCA) and Context-Guided Local Affinity (CGL) modules.
  • Cascaded Context Aggregation (CCA) Module: Instead of simply passing features forward, this module uses a gate-based approach to selectively merge features from different levels of the encoder with the original raw image. This acts as a smart filter, deciding which high-resolution details from the input image are worth keeping to supplement higher-level semantic features.
  • Context-Guided Local Affinity (CGL) Module: This module uses the output of the CCA as a global guide to calculate the relationship (affinity) between local pixels. By applying a position-based attention mechanism, it ensures that pixels with similar semantic features reinforce each other, leading to sharper, more accurate boundaries.
  • Joint Optimization: The model is trained using a combination of Weighted Binary Cross-Entropy and Dice Loss to handle both pixel-level accuracy and the inherent class imbalance between lesion and non-lesion pixels.

Results and Discussion

The model was rigorously evaluated on four public dermoscopy datasets: ISIC-2016, ISIC-2017, ISIC-2018, and PH2. Qualitative results show that the model is particularly effective at ignoring "distractors" such as hair, ruler marks, and skin folds.

Qualitative segmentation results produced by CCENet, demonstrating robustness to artifacts and varying lesion shapes.

CCENet outperformed several state-of-the-art (SOTA) models, including CE-Net and MultiResUNet. The primary metric used was the Jaccard Index (JA), which measures the overlap between the predicted mask and the ground truth:

Dataset Jaccard Index (JA) Improvement over previous SOTA
ISIC-2016 87.1% +2.8% over best challenge result
ISIC-2017 80.3% +3.8% over best challenge result
ISIC-2018 83.4% Significant gain over AG-Net/CE-Net
PH2 86.6% Proves strong generalization

Ablation studies confirmed that the CCA and CGL modules were essential to these gains; removing either component led to a measurable drop in performance.

Conclusion

CCENet effectively addresses the limitations of traditional CNNs in skin lesion segmentation by integrating global context and preserving high-resolution spatial details. While the results are impressive, future work will focus on extending this approach to 3D medical imaging (such as CT or MRI scans) and optimizing the computational complexity of the attention-based modules for real-world clinical integration.

Summary updated

BibTeX
@article{wang2022cascaded,
  author = {Ruxin Wang and Shuyuan Chen and Jianping Fan and Ye Li},
  title = {{Cascaded Context Enhancement for Automated Skin Lesion Segmentation}},
  journal = {Expert Systems with Applications},
  year = {2022},
  doi = {10.1016/j.eswa.2022.117069},
}
Figure