Skip to main content
QUICK REVIEW

[Paper Review] The Impact of Lesion Focus on the Performance of AI-Based Melanoma Classification

Tanay Donde|arXiv (Cornell University)|Jan 1, 2026
Cutaneous Melanoma Detection and ManagementMedicine0 citations
TL;DR

The paper analyzes how model attention to lesion areas affects melanoma classification performance using masked images, bounding boxes, and transfer learning, with explainability methods to assess alignment. It finds that greater lesion-focused attention generally improves diagnostic metrics.

ABSTRACT

Melanoma is the most lethal subtype of skin cancer, and early and accurate detection of this disease can greatly improve patients' outcomes. Although machine learning models, especially convolutional neural networks (CNNs), have shown great potential in automating melanoma classification, their diagnostic reliability still suffers due to inconsistent focus on lesion areas. In this study, we analyze the relationship between lesion attention and diagnostic performance, involving masked images, bounding box detection, and transfer learning. We used multiple explainability and sensitivity analysis approaches to investigate how well models aligned their attention with lesion areas and how this alignment correlated with precision, recall, and F1-score. Results showed that models with a higher focus on lesion areas achieved better diagnostic performance, suggesting the potential of interpretable AI in medical diagnostics. This study provides a foundation for developing more accurate and trustworthy melanoma classification models in the future.

Motivation & Objective

  • Motivate the need for reliable AI in melanoma diagnosis by examining how lesion attention influences performance.
  • Assess whether increasing attention to lesion regions improves classification accuracy, precision, recall, and F1-score.
  • Evaluate techniques such as masking, bounding box detection, and transfer learning to enhance lesion focus.
  • Compare multiple explainability methods to qualitatively assess alignment between attention maps and lesions.

Proposed method

  • Train and compare CNN-based classifiers (InceptionV3 baseline) on ISIC-2019 and HAM10000 datasets.
  • Use bounding box detection via YOLOv8 (trained on HAM10000) to localize lesions before classification.
  • Generate masked images isolating lesions by applying segmentation masks to create a white background.
  • Perform masked-to-regular transfer where a model trained on masked images is fine-tuned on regular images.
  • Combine masked and regular datasets with varying regular-image ratios (50/75/90%) and two training starting points (ImageNet-pretrained and skin-cancer pretrained).
  • Apply Grad-CAM, Sobol’, and RISE to qualitatively assess lesion-area alignment of final models.

Experimental results

Research questions

  • RQ1Does increased model attention on lesion areas correlate with improved melanoma classification performance?
  • RQ2Can lesion localization and masking strategies enhance diagnostic metrics compared to baseline classifiers?
  • RQ3How do explainability methods reflect attention alignment with lesions across different training configurations?
  • RQ4What is the impact of combined masked and regular datasets on accuracy, precision, recall, and F1-score?

Key findings

  • Baseline InceptionV3 achieved 90.22% accuracy and 0.743 F1 (precision 0.8096, recall 0.6868).
  • YOLO-based lesion detection achieved 85.13% accuracy but only 0.348 F1, indicating poor balance for melanoma detection.
  • Masked-to-regular transfer (best config) yielded 90.19% accuracy and 0.734 F1 (precision 0.831, recall 0.657).
  • Combined dataset with 75% regular images (Method 2) achieved 91.87% accuracy and 0.780 F1 (precision 0.853, recall 0.719).
  • For true melanoma cases, improved attention alignment in the combined dataset model correlated with increased recall (0.719).
  • For true non-melanoma cases, improved attention alignment correlated with higher precision (0.853).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.