Skip to main navigation Skip to search Skip to main content

Dual Contrastive Pre-training with Heatmap-Based Segmentation-Guided Attention for Balanced Multi-Class Skin Lesion Classification

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Accurate classification of skin lesions is essential for early diagnosis and treatment planning. However, severe class imbalance in dermatological datasets hinders the effective training of multi-class classification models. To address this challenge, we propose an end-to-end framework combining dual contrastive learning with segmentation-guided attention. Our model uses a ResNet18-based U-Net encoder, pretrained with Self-Supervised Contrastive Learning (SSCL) and Supervised Contrastive Learning (SCL). The U-Net decoder generates a spatial attention map that leverages segmentation information to identify lesion boundaries. This segmentation-guided attention map is element-wise multiplied with the original image to create lesion-focused input for classification. This enhanced input is then processed by a classification head for final diagnosis. Evaluated on SLICE-3D and HAM10000 datasets, the proposed method achieved 72.19% accuracy, 72.96% weighted F1-score, and 88.39% macro AUC. Ablation studies confirm the effectiveness of both segmentation and attention, as well as the synergy of the dual contrastive strategy. The framework demonstrates robust and balanced performance, making it clinically applicable for the skin lesion classification.

Original languageEnglish (US)
Title of host publication2025 7th International Conference on Robotics and Computer Vision, ICRCV 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages132-136
Number of pages5
ISBN (Electronic)9798331569525
DOIs
StatePublished - 2025
Event7th International Conference on Robotics and Computer Vision, ICRCV 2025 - Hong Kong, China
Duration: Oct 24 2025Oct 26 2025

Publication series

Name2025 7th International Conference on Robotics and Computer Vision, ICRCV 2025

Conference

Conference7th International Conference on Robotics and Computer Vision, ICRCV 2025
Country/TerritoryChina
CityHong Kong
Period10/24/2510/26/25

Keywords

  • contrastive learning
  • heatmap
  • medical image analysis
  • segmentation-guided attention
  • skin lesion classification

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Science Applications
  • Computer Vision and Pattern Recognition

Fingerprint

Dive into the research topics of 'Dual Contrastive Pre-training with Heatmap-Based Segmentation-Guided Attention for Balanced Multi-Class Skin Lesion Classification'. Together they form a unique fingerprint.

Cite this