Self-Supervised Multi-Modality Learning for Multi-Label Skin Lesion Classification

Hao Wang, Euijoon Ahn, Lei Bi, Jinman KimarXiv 2023

TL;DR

The paper introduces SM3, a self-supervised learning framework designed for multi-modal (clinical + dermoscopic) and multi-label skin lesion classification without relying on expensive manual annotations. By maximizing mutual information across image modalities and using a Transformer-based module to capture correlations between clustered pseudo-labels, SM3 significantly outperforms existing self-supervised methods and matches or beats fully supervised baselines.

What Problem Does This Paper Address?

Diagnosing melanoma accurately requires looking at a skin lesion from multiple perspectives. Dermatologists typically evaluate both clinical images (standard digital photographs showing geometry and color) and dermoscopic images (magnified views showing subsurface skin structures). They score these images using a "seven-point checklist" of visual attributes (like pigment networks or vascular structures) to determine the likelihood of cancer.

Fig. 1. Examples of multi-modal skin lesion images comprising of clinical images and dermoscopy images. Each pair of images is labeled with seven-point checklist and its diagnosis (Melanoma, Nevus or Seborrhic Keratosis).

While deep learning models excel at this multi-modal, multi-label classification task, they are bottlenecked by data. Annotating thousands of medical images with up to eight different labels is incredibly time-consuming, expensive, and prone to human error. Existing self-supervised learning (SSL) techniques help mitigate data scarcity, but they usually focus on single image modalities and fail to capture the complex relationships between different clinical attributes without explicit labels.

Methods

The authors propose SM3 (Self-supervised Multi-Modality learning for Multi-label skin lesion classification), which trains a robust model on unlabeled data through three core innovations:

  1. Multi-Modality SSL: The architecture uses two parallel neural network branches—one for dermoscopic images and one for clinical images. Beyond standard contrastive learning (SimCLR), which matches augmented views of the same image, SM3 introduces a cross-contrastive loss. This loss maximizes the similarity between different augmented views of paired clinical and dermoscopic images from the same patient, forcing the network to learn complementary, cross-modal features.
  2. Multi-Label SSL: To teach the model to recognize multiple attributes without ground-truth labels, the framework applies independent $k$-means clustering to project features into multiple pseudo-labels, serving as a surrogate target.
  3. Label-Relation-Aware Module: Instead of treating these pseudo-labels as isolated classes, SM3 passes them through a Transformer encoder layer. This allows the model to learn the underlying correlations and structures between different clinical attributes (e.g., how certain pigment patterns often co-occur with specific vascular structures).
A schematic of the proposed SM3 framework

During downstream inference, the pre-trained multi-modal features are simply concatenated and passed to the refined classifier.

Pipeline of the inference module

Datasets

The framework was validated using the well-benchmarked Derm7pt dataset.

  • Composition: 1,011 total clinical studies, split into 413 for training, 203 for validation, and 395 for testing.
  • Data per study: A paired clinical image, a dermoscopic image, a final diagnosis label (DIAG), and seven-point checklist attribute labels.

Key Insights and Ideas

  • Patient-Level Cross-Modality Pairing is a Strong Supervisor: Clinical and dermoscopic images of the same lesion share high mutual information. Explicitly contrasting them across domains prevents the network from relying on domain-specific shortcuts (like background skin texture) and forces it to focus on the actual lesion characteristics.
  • Separate Projection Heads are Crucial: Ablation studies revealed that using separate projection heads for each modality (sep_sep) significantly outperforms sharing a projection head or naively concatenating features prior to contrastive learning. In fact, naive concatenation degrades performance due to the severe domain shift between clinical photos and dermoscopy.
  • Pseudo-Labels Need Structure: Simply generating pseudo-labels via clustering isn't enough. Without the Transformer-based label-relation module, multi-label performance drops because the model ignores how clinical attributes naturally cluster and interact.

Key Results

The authors evaluated SM3 using both Linear Probing (freezing the feature extractor to test representation quality) and Fine-Tuning (updating all weights).

Classification performance on the Derm7pt dataset
  • Linear Probing: SM3-linear achieved a mean Area Under the Curve (AUC) of 80.4%, outperforming standard SimCLR (78.2%) and the specialized medical SSL method SSD-KD (79.6%).
  • Fine-Tuning: Initializing a baseline model with SM3 weights boosted its mean AUC to 82.9%, outperforming fully supervised baselines like Inception-Combined (81.5%) and HcCNN (82.5%).
  • State-of-the-Art Boost: When SM3 pre-trained weights were integrated into an existing state-of-the-art supervised framework (FM4-FS + SM3), the model achieved a top mean AUC of 84.6% and a massive precision jump to 76.0% (up from 63.4% without SM3).

Limitations and Future Work

The primary limitation acknowledged by the authors is class imbalance. Because self-supervised clustering naturally favors more dominant patterns in the dataset, the model still struggles with extremely rare attributes (such as specific irregular vascular structures that only appear in a fraction of the training cases).

To address this, future work will focus on developing pre-training strategies that account for imbalanced data, potentially by training ensembles on different subsets of the data. Additionally, the authors note that the SM3 framework is general enough to be applied to other multi-modal medical imaging pairs, such as PET-CT or PET-MR scans.

Summary updated

BibTeX
@misc{wang2023self,
  author = {Hao Wang and Euijoon Ahn and Lei Bi and Jinman Kim},
  title = {{Self-Supervised Multi-Modality Learning for Multi-Label Skin Lesion Classification}},
  year = {2023},
  eprint = {2310.18583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.18583},
}
Figure