cs.AIOct 5, 2026

On Impact of Loss Function on the Performance of Neural Networks in Melanoma Diagnosis

Authors: Morgan May, Pierpaolo Dondio, Simon Caton

Organizations: Technological University Dublin, Dublin, Ireland · Research Ireland Centre for Research Training in Machine Learning, ML-Labs, Dublin, Ireland · Dublin City University, Dublin, Ireland · University College Dublin, Dublin, Ireland

Abstract

Melanoma is the deadliest type of skin cancer, whose early diagnosis is crucial for patients' survival. Image classification using deep learning models has shown promising results for melanoma diagnosis. However, the performance of these models on the melanoma datasets such as SIIM-ISIC melanoma classification dataset is a challenge due to the class imbalance. One of the methods to deal with this challenge is using loss function modifications. In this work, we have investigated the effect of different loss functions on the performance of deep neural networks. We trained these networks using focal loss, logit-adjusted softmax cross-entropy (CE) loss, and weighted softmax CE loss, and we report different metrics for evaluating performance and uncertainty calibration. Our results suggest that focal loss delivers a good combination of performance in terms of AUC and uncertainty calibration in terms of expected calibration error (ECE) simultaneously.

Figures & tables

Explore similar work

CardsList
  1. Impact of Data Augmentation on Confidence Calibration in Melanoma Classification

    Oct 5, 2026Morgan May, Simon Caton, Pierpaolo DondioSkin Lesion ClassificationCalibrated Uncertainty

  2. Two-Stage Fine-Tuning of ResNet50 for High-Sensitivity Melanoma Detection on Dermoscopic Images

    Jun 11, 2026Aryan BhagatSkin Lesion ClassificationMelanoma

  3. Uncertainty-Aware and Explainable Ensemble Deep Learning Framework for Multi-Class Skin Lesion Classification

    Aug 11, 2026Rofiqul Islam, Lilatul FerdouseSkin Lesion ClassificationMelanoma