[Paper Review] SLSNet: Skin lesion segmentation using a lightweight generative adversarial network
SLSNet proposes a lightweight GAN-based skin lesion segmentation model that uses 1-D kernel factorization, position and channel attention, and multiscale aggregation to achieve competitive accuracy with low resource use, achieving 97.61% accuracy and >110 FPS on a GTX1080Ti with 2.35M parameters.
The determination of precise skin lesion boundaries in dermoscopic images using automated methods faces many challenges, most importantly, the presence of hair, inconspicuous lesion edges and low contrast in dermoscopic images, and variability in the color, texture and shapes of skin lesions. Existing deep learning-based skin lesion segmentation algorithms are expensive in terms of computational time and memory. Consequently, running such segmentation algorithms requires a powerful GPU and high bandwidth memory, which are not available in dermoscopy devices. Thus, this article aims to achieve precise skin lesion segmentation with minimum resources: a lightweight, efficient generative adversarial network (GAN) model called SLSNet, which combines 1-D kernel factorized networks, position and channel attention, and multiscale aggregation mechanisms with a GAN model. The 1-D kernel factorized network reduces the computational cost of 2D filtering. The position and channel attention modules enhance the discriminative ability between the lesion and non-lesion feature representations in spatial and channel dimensions, respectively. A multiscale block is also used to aggregate the coarse-to-fine features of input skin images and reduce the effect of the artifacts. SLSNet is evaluated on two publicly available datasets: ISBI 2017 and the ISIC 2018. Although SLSNet has only 2.35 million parameters, the experimental results demonstrate that it achieves segmentation results on a par with the state-of-the-art skin lesion segmentation methods with an accuracy of 97.61%, and Dice and Jaccard similarity coefficients of 90.63% and 81.98%, respectively. SLSNet can run at more than 110 frames per second (FPS) in a single GTX1080Ti GPU, which is faster than well-known deep learning-based image segmentation models, such as FCN. Therefore, SLSNet can be used for practical dermoscopic applications.
Motivation & Objective
- Address the need for precise skin lesion segmentation under limited computational and memory resources.
- Develop a lightweight, automatic segmentation model that performs competitively with state-of-the-art methods.
- Incorporate multiscale feature aggregation and attention mechanisms to handle hair, low contrast, and boundary ambiguities in dermoscopic images.
- Demonstrate practicality of the model for real-time dermoscopy devices and embedded systems.
Proposed method
- Use a GAN-based framework (pix2pix) with a generator G and discriminator D for lesion segmentation.
- Incorporate a multiscale encoder that processes 1/8, 1/4, and 1/2 scaled images to build scale-invariant features.
- Apply Channel Attention Module (CAM) and Position Attention Module (PAM) to enhance discriminative feature representations.
- Introduce a 1-D kernel factorized (FCM) module to reduce computational cost while preserving expressiveness, followed by CAM.
- Employ a joint loss with binary cross-entropy, L1, and Jaccard losses to improve boundary accuracy and IoU metrics.
- Train with data augmentation on ISBI 2017 and ISIC 2018 datasets, using Adam optimization and PSP-based thresholds for mask conversion.
Experimental results
Research questions
- RQ1Can a lightweight GAN-based model achieve segmentation accuracy competitive with state-of-the-art methods on ISBI 2017 and ISIC 2018 datasets?
- RQ2Does multiscale aggregation combined with position and channel attention improve segmentation in the presence of hair, low contrast, and variable lesion shapes?
- RQ3Can the proposed 1-D kernel factorized network reduce parameter count and computation enough to run in real-time on standard GPUs?
- RQ4What is the impact of combining BCE, L1, and Jaccard losses on boundary precision and IoU metrics?
Key findings
- Achieves 97.61% accuracy on evaluated datasets.
- Obtains Dice similarity coefficient of 90.63% and Jaccard similarity coefficient of 81.98%.
- Uses only 2.35 million parameters, enabling faster inference (~>110 FPS) on a GTX1080Ti.
- Provides segmentation results on par with state-of-the-art methods while significantly reducing computational resources.
- Demonstrates real-time applicability suitable for practical dermoscopic devices.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.