Skip to main content
Have a personal or library account? Click to login
SkinNet: Explainable Lightweight CNN Model for Skin Disease Classification Cover

Abstract

Dermatological disorders constitute a significant global health burden, yet the accurate and timely diagnosis remains a challenge due to the subjective nature of visual inspections and the lack of specialists. Although deep learning (DL) has shown promise in automated classification, the black box nature of these models and their high computational costs often hinder clinical adoption. This study proposes a lightweight, interpretable Custom Convolutional Neural Network (CNN) for the multi-class classification of five distinct skin conditions: Acne, Vitiligo, Hyperpigmentation, Nail Psoriasis, and Stevens-Johnson syndrome/toxic epidermal necrolysis (SJS-TEN). Using a data set of 9,548 images, we implemented a comprehensive pipeline featuring a two-stage augmentation and balance strategy to mitigate class imbalance. The new proposed SkinNet model was benchmarked against four established architectures: ZooCNN, CNN, MobileNetV2, and DenseNet121. Experimental results demonstrate that SkinNet achieved superior performance with an overall accuracy of 86% and a macro-averaged F1-score of 0.85, outperforming transfer learning baselines. To address the critical need for transparency in medical AI, the model’s decision-making process was validated using four Explainable AI (XAI) techniques: Local Interpretable Model-agnostic Explanations (LIME), Gradient-weighted Class Activation Mapping (Grad-CAM), Integrated Gradients, and Diverse Counterfactual Explanations (DiCE). These visualizations confirmed that the model consistently focuses on relevant pathological features such as inflammatory papules, depigmented patches, and onycholysis rather than background noise. This research highlights the efficacy of task-specific, lightweight architectures to provide accurate, efficient, and reliable diagnostic support for dermatology

DOI: https://doi.org/10.2478/fcds-2026-0011 | Journal eISSN: 2300-3405 (formerly 0867-6356) | Journal ISSN: 0867-6356
Language: English
Page range: 337 - 376
Submitted on: Feb 2, 2026
Accepted on: Aug 2, 2026
Published online: Oct 11, 2026
Published in print: Sep 1, 2026
Published by: Poznan University of Technology
In partnership with: Paradigm Publishing Services

© 2026 Md. Abdul Awal, Abrar Rakin, Md. Samiul Alom, Sharmin Sultana Akhi, Nazmul Hasan Shouvo, Md. Istiak Ahamed, Ishtiak Al Mamoon, Utpal Kanti Das, published by Poznan University of Technology
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 3.0 License.