Robustness and sex differences in skin cancer detection: logistic regression vs CNNs

Nikolette Pedersen, Regitze Sydendal, Andreas Wulff, Ralf Raumanns, Eike Petersen +1 more
4/15/2025
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Deep learning has been reported to achieve high performances in the detection of skin cancer, yet many challenges regarding the reproducibility of results and biases remain. This study is a replication (different data, same analysis) of a previous study on Alzheimer's disease detection, which studied the robustness of logistic regression (LR) and convolutional neural networks (CNN) across patient sexes. We explore sex bias in skin cancer detection, using the PAD-UFES-20 dataset with LR trained on handcrafted features reflecting dermatological guidelines (ABCDE and the 7-point checklist), and a pre-trained ResNet-50 model. We evaluate these models in alignment with the replicated study: across multiple training datasets with varied sex composition to determine their robustness. Our results show that both the LR and the CNN were robust to the sex distribution, but the results also revealed that the CNN had a significantly higher accuracy (ACC) and area under the receiver operating characteristics (AUROC) for male patients compared to female patients. The data and relevant scripts to reproduce our results are publicly available (https://github.com/ nikodice4/Skin-cancer-detection-sex-bias).

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{pedersen2025robustness,
  title  = {Robustness and sex differences in skin cancer detection: logistic regression vs CNNs},
  author = {Nikolette Pedersen and Regitze Sydendal and Andreas Wulff and Ralf Raumanns and Eike Petersen and Veronika Cheplygina},
  year   = {2025},
  eprint = {2504.11415},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.11415v2}
}

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/2504.11415.svg)](https://codeofpaper.com/paper/2504.11415)

Discussion