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

Morgan May, Pierpaolo Dondio, Simon Caton
10/5/2026
cs.AIcs.CVcs.LG

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{may2026impact,
  title  = {On Impact of Loss Function on the Performance of Neural Networks in Melanoma Diagnosis},
  author = {Morgan May and Pierpaolo Dondio and Simon Caton},
  year   = {2026},
  eprint = {2610.06139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.06139v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.06139.svg)](https://codeofpaper.com/paper/2610.06139)

Discussion