Next Article in Journal
Unmasking the Area Postrema on MRI: Utility of 3D FLAIR, 3D-T2, and 3D-DIR Sequences in a Case–Control Study
Next Article in Special Issue
Vision-Based Collision Warning Systems with Deep Learning: A Systematic Review
Previous Article in Journal
Face Boundary Formulation for Harmonic Models: Face Image Resembling
Previous Article in Special Issue
Point-Cloud Instance Segmentation for Spinning Laser Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Skin Lesion Classification Through Test Time Augmentation and Explainable Artificial Intelligence

1
Dipartimento di Ingegneria Informatica, Automatica, e Gestionale “Antonio Ruberti”, Sapienza Università di Roma, Via Ariosto, 25, 00185 Roma, Italy
2
Istituto di Scienze Applicate e Sistemi Intelligenti (ISASI), Consiglio Nazionale delle Ricerche (CNR), DHITECH, Campus Università del Salento, Via Monteroni s.n., 73100 Lecce, Italy
3
Dermatologia Myskin, Poliambulatorio Specialistico Medico-Chirurgico, 73030 Tiggiano, Italy
*
Author to whom correspondence should be addressed.
J. Imaging 2025, 11(1), 15; https://doi.org/10.3390/jimaging11010015
Submission received: 21 November 2024 / Revised: 13 December 2024 / Accepted: 28 December 2024 / Published: 9 January 2025

Abstract

Despite significant advancements in the automatic classification of skin lesions using artificial intelligence (AI) algorithms, skepticism among physicians persists. This reluctance is primarily due to the lack of transparency and explainability inherent in these models, which hinders their widespread acceptance in clinical settings. The primary objective of this study is to develop a highly accurate AI-based algorithm for skin lesion classification that also provides visual explanations to foster trust and confidence in these novel diagnostic tools. By improving transparency, the study seeks to contribute to earlier and more reliable diagnoses. Additionally, the research investigates the impact of Test Time Augmentation (TTA) on the performance of six Convolutional Neural Network (CNN) architectures, which include models from the EfficientNet, ResNet (Residual Network), and ResNeXt (an enhanced variant of ResNet) families. To improve the interpretability of the models’ decision-making processes, techniques such as t-distributed Stochastic Neighbor Embedding (t-SNE) and Gradient-weighted Class Activation Mapping (Grad-CAM) are employed. t-SNE is utilized to visualize the high-dimensional latent features of the CNNs in a two-dimensional space, providing insights into how the models group different skin lesion classes. Grad-CAM is used to generate heatmaps that highlight the regions of input images that influence the model’s predictions. Our findings reveal that Test Time Augmentation enhances the balanced multi-class accuracy of CNN models by up to 0.3%, achieving a balanced accuracy rate of 97.58% on the International Skin Imaging Collaboration (ISIC 2019) dataset. This performance is comparable to, or marginally better than, more complex approaches such as Vision Transformers (ViTs), demonstrating the efficacy of our methodology.
Keywords: skin disease classification; skin dataset; test time augmentation; explainable artificial intelligence; explanatory task; convolution neural network skin disease classification; skin dataset; test time augmentation; explainable artificial intelligence; explanatory task; convolution neural network

Share and Cite

MDPI and ACS Style

Cino, L.; Distante, C.; Martella, A.; Mazzeo, P.L. Skin Lesion Classification Through Test Time Augmentation and Explainable Artificial Intelligence. J. Imaging 2025, 11, 15. https://doi.org/10.3390/jimaging11010015

AMA Style

Cino L, Distante C, Martella A, Mazzeo PL. Skin Lesion Classification Through Test Time Augmentation and Explainable Artificial Intelligence. Journal of Imaging. 2025; 11(1):15. https://doi.org/10.3390/jimaging11010015

Chicago/Turabian Style

Cino, Loris, Cosimo Distante, Alessandro Martella, and Pier Luigi Mazzeo. 2025. "Skin Lesion Classification Through Test Time Augmentation and Explainable Artificial Intelligence" Journal of Imaging 11, no. 1: 15. https://doi.org/10.3390/jimaging11010015

APA Style

Cino, L., Distante, C., Martella, A., & Mazzeo, P. L. (2025). Skin Lesion Classification Through Test Time Augmentation and Explainable Artificial Intelligence. Journal of Imaging, 11(1), 15. https://doi.org/10.3390/jimaging11010015

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop