An improved SA-Net framework for multi-class skin disease diagnosis using deep learning and self-attention mechanisms

Skin diseases are among the most common global health concerns, and accurate diagnosis is complicated by the high similarity of symptoms across conditions. This paper proposes an Improved Self-Attention Network (SA-Net) for automatic multi-class skin disease diagnosis, combining convolutional layers with a channel-attention (squeeze-and-excitation-style) skin attention block to capture local textural and channel-wise feature importance in dermoscopic and clinical images. An open dataset spanning 21 skin disease categories was used, with preprocessing comprising image rescaling, normalization, and class-balancing augmentation. The Improved SA-Net achieved 97.85% training accuracy and 96.72% validation accuracy, with a macro-averaged F1-score of 0.90, outperforming several CNN and transfer-learning baselines. To address reviewer comments, a separate reduced-budget verification study was conducted, including a four-configuration ablation across five random seeds, computational-complexity profiling, statistical significance testing, and a duplicate-image leakage check. In this verification study, the complete model (mean test accuracy 22.29%, macro-F1 0.197) significantly outperformed a plain CNN backbone and a CNN with attention only ( \\(p<0.05\\) ), while also outperforming a CNN with augmentation only ( \\(p=0.045\\) ), indicating that both augmentation and self-attention contribute to performance, with augmentation providing the larger contribution. These findings demonstrate the potential of the proposed approach for automated skin disease classification while emphasizing that further clinical validation and confirmation of patient-level data separation are required before practical clinical deployment.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-09-07
DOI
https://doi.org/10.1038/s41598-026-68439-0
Primary Topic
Cutaneous Melanoma Detection and Management
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

An improved SA-Net framework for multi-class skin disease diagnosis using deep learning and self-attention mechanisms

Nadeem Sarwar, Omer Riaz, Muhammad Masood ul Rahman Usmani, Muzamil Mehboob et al.
Scientific Reports
Cutaneous Melanoma Detection and Management
article

An improved SA-Net framework for multi-class skin disease diagnosis using deep learning and self-attention mechanisms

Nadeem Sarwar, Omer Riaz, Muhammad Masood ul Rahman Usmani, Muzamil Mehboob, Leila Jamel
article en

Abstract

Skin diseases are among the most common global health concerns, and accurate diagnosis is complicated by the high similarity of symptoms across conditions. This paper proposes an Improved Self-Attention Network (SA-Net) for automatic multi-class skin disease diagnosis, combining convolutional layers with a channel-attention (squeeze-and-excitation-style) skin attention block to capture local textural and channel-wise feature importance in dermoscopic and clinical images. An open dataset spanning 21 skin disease categories was used, with preprocessing comprising image rescaling, normalization, and class-balancing augmentation. The Improved SA-Net achieved 97.85% training accuracy and 96.72% validation accuracy, with a macro-averaged F1-score of 0.90, outperforming several CNN and transfer-learning baselines. To address reviewer comments, a separate reduced-budget verification study was conducted, including a four-configuration ablation across five random seeds, computational-complexity profiling, statistical significance testing, and a duplicate-image leakage check. In this verification study, the complete model (mean test accuracy 22.29%, macro-F1 0.197) significantly outperformed a plain CNN backbone and a CNN with attention only ( \(p<0.05\) ), while also outperforming a CNN with augmentation only ( \(p=0.045\) ), indicating that both augmentation and self-attention contribute to performance, with augmentation providing the larger contribution. These findings demonstrate the potential of the proposed approach for automated skin disease classification while emphasizing that further clinical validation and confirmation of patient-level data separation are required before practical clinical deployment.

Scientific Reports
Princess Nourah bint Abdulrahman University (SA), Bahauddin Zakariya University (PK), Islamia University of Bahawalpur (PK), Bahria University (PK)
Princess Nourah Bint Abdulrahman University
Partnerships for the goals
Openalex Percentile: Top 14%
Cutaneous Melanoma Detection and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.