Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Nov 12;24(22):7231.
doi: 10.3390/s24227231.

Double-Condensing Attention Condenser: Leveraging Attention in Deep Learning to Detect Skin Cancer from Skin Lesion Images

Affiliations

Double-Condensing Attention Condenser: Leveraging Attention in Deep Learning to Detect Skin Cancer from Skin Lesion Images

Chi-En Amy Tai et al. Sensors (Basel). .

Abstract

Skin cancer is the most common type of cancer in the United States and is estimated to affect one in five Americans. Recent advances have demonstrated strong performance on skin cancer detection, as exemplified by state of the art performance in the SIIM-ISIC Melanoma Classification Challenge; however, these solutions leverage ensembles of complex deep neural architectures requiring immense storage and computation costs, and therefore may not be tractable. A recent movement for TinyML applications is integrating Double-Condensing Attention Condensers (DC-AC) into a self-attention neural network backbone architecture to allow for faster and more efficient computation. This paper explores leveraging an efficient self-attention structure to detect skin cancer in skin lesion images and introduces a deep neural network design with DC-AC customized for skin cancer detection from skin lesion images. We demonstrate that our approach with only 1.6 million parameters and 0.32 GFLOPs achieves better performance compared to traditional architecture designs as it obtains an area under the ROC curve of 0.90 on the public ISIC 2020 test set and 0.89 on the private ISIC test set, over 0.13 above the best Cancer-Net SCa network architecture design. The final model is publicly available as a part of a global open-source initiative dedicated to accelerating advancement in machine learning to aid clinicians in the fight against cancer. Future work of this research includes iterating on the design of the selected network architecture and refining the approach to generalize to other forms of cancer.

Keywords: deep learning; self-attention; skin cancer.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
Example skin lesion images.
Figure 2
Figure 2
Sample skin lesions that look like the other class.
Figure 3
Figure 3
Sample images that include additional elements beyond the skin lesion.
Figure 4
Figure 4
DC-AC architecture with condenser layers (orange), embedding layers (yellow), and expansion layers (blue) comprising DC-AC modules [10]. The numbers each layer is annotated with correspond to the depth dimension of the layer. DC-AC modules leverage an additional condensation step before selective attention is applied, leading to a more computationally efficient feature representation.
Figure 5
Figure 5
Sample skin lesions where the DC-AC design gave a correct prediction but the Cancer-Net SCa suite was incorrect.

Similar articles

References

    1. American Academy of Dermatology Association Skin Cancer. 2023. [(accessed on 16 April 2023)]. Available online: https://www.aad.org/media/stats-skin-cancer.
    1. National Cancer Institute Skin Cancer (Including Melanoma)—Patient Version. [(accessed on 2 July 2023)];2023 Available online: https://www.cancer.gov/types/skin.
    1. Celebi M.E., Wen Q., Iyatomi H., Shimizu K., Zhou H., Schaefer G. A state-of-the-art survey on lesion border detection in dermoscopy images. Dermoscopy Image Anal. 2015;10:97–129.
    1. Redelmeier D.A., Ferris L.E., Tu J.V., Hux J.E., Schull M.J. Problems for clinical judgement: Introducing cognitive psychology as one more basic science. Cmaj. 2001;164:358–360. - PMC - PubMed
    1. Budhiman A., Suyanto S., Arifianto A. Melanoma Cancer Classification Using ResNet with Data Augmentation; Proceedings of the 2019 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI); Yogyakarta, Indonesia. 5–6 December 2019; pp. 17–20. - DOI

LinkOut - more resources