A Unified Multi-Task Learning Model with Joint Reverse Optimization for Simultaneous Skin Lesion Segmentation and Diagnosis

Mohammed A. Al‐masni, Abobakr Khalil Al-Shamiri, Dildar Hussain, Yeong Hyeon GuBioengineering 2024

TL;DR

This paper introduces a novel multi-task learning model that simultaneously segments skin lesions and classifies them as benign or malignant. By employing a "joint reverse learning" optimization technique, the model enhances both tasks by fostering mutual learning and preventing one task from dominating the other, leading to improved diagnostic accuracy and efficiency.

What Problem Does This Paper Address?

Diagnosing skin cancer accurately and efficiently is a critical challenge in healthcare. Dermoscopy images, while providing a magnified view, are often fuzzy, have low contrast, and can contain artifacts, making it difficult to precisely identify and classify skin lesions. Traditional approaches often tackle segmentation (outlining the lesion) and classification (determining if it's cancerous) as separate tasks, which can lead to information loss and inefficiencies. This paper addresses the need for a unified system that can perform both tasks concurrently and effectively, improving the overall diagnostic capability and potentially reducing the workload on dermatologists.

Methods

The core of this work is a unified multi-task learning framework built upon a U-Net architecture. This architecture is designed to handle both segmentation and classification simultaneously. Key methodological contributions include:

  • Shared Encoder: The model utilizes a shared encoder to extract features relevant to both segmentation and classification, promoting efficient learning.
  • Joint Reverse Learning: This novel optimization technique is central to the paper. It involves establishing connections between the segmentation decoder and the classification path, and reversely, between classification weights and segmentation decoder layers. This allows for mutual enhancement, where segmentation informs classification and vice-versa, while also preventing one task from overpowering the other.
  • Attention Mechanism (CBAM): Convolutional Block Attention Modules (CBAM) are integrated into the later encoder layers to further refine feature representations and improve classification performance by focusing on salient image regions.
  • Loss Function: A combined loss function is used, balancing the binary cross-entropy loss for classification and the Dice loss for segmentation.

Datasets

The study utilizes two publicly available dermoscopy image datasets:

  • ISIC 2016: This dataset contains 1279 dermoscopy images with ground-truth segmentation masks and labels for benign and melanoma skin cancers. It was used for training and testing.
  • PH²: This dataset comprises 200 dermoscopy images with segmentation masks and labels. It was used as an additional, unseen testing set to evaluate the model's generalizability.

The paper also discusses data preparation steps including normalization, resizing, and augmentation techniques to address class imbalance, particularly for melanoma cases.

Key Insights and Ideas

  • Synergy of Segmentation and Classification: The paper strongly advocates for the combined approach, demonstrating that segmentation can significantly aid classification, and vice-versa, when integrated effectively.
  • The "Dominance Problem" in MTL: The authors highlight a common issue in multi-task learning where one task can overshadow another, leading to suboptimal performance. Their "joint reverse learning" is designed to mitigate this.
  • Reverse Connections for Enhanced Learning: The idea of using classification predictions to update segmentation weights is a clever way to introduce a form of "self-attention" that guides segmentation refinement.
  • Generalizability is Key: Evaluating on an unseen dataset (PH²) is crucial for demonstrating the practical applicability of the proposed model beyond the training data.

Key Results

The proposed unified multi-task learning model achieved significant improvements:

  • Classification: The F1 score for classification improved from 78.26% (baseline ResNet50) to 82.07% on ISIC 2016 and from 82.38% to 85.50% on PH².
  • Segmentation: The model achieved a Dice Similarity Coefficient (DSC) of 89.48% on ISIC 2016 and 88.81% on PH². While slightly lower than the U-Net baseline on ISIC 2016, the overall diagnostic capability was enhanced.
  • Efficiency: The model uses fewer parameters (10.90 million) compared to the baseline ResNet50 (23.84 million), suggesting more efficient feature extraction.
  • Qualitative Results: Visual examples show the model accurately segmenting lesions and classifying them, even for challenging cases with visually similar benign and malignant lesions.

Limitations and Future Work

  • Class Imbalance: While augmentation was used, the model still showed some challenges with melanoma classification due to class imbalance, especially in visually similar cases. The authors addressed this by incorporating more melanoma data.
  • Segmentation Score Trade-off: The segmentation DSC score was slightly lower than the U-Net baseline on one dataset, though the authors argue the overall diagnostic improvement outweighs this.
  • Future Work: The authors suggest expanding the model to include more skin cancer classes for a more comprehensive diagnostic tool. They also plan to explore fairness learning approaches to address potential biases from sample size disparities and ensure equitable performance across different lesion types. Further evaluation on diverse datasets is also warranted.

Summary updated

Abstract

Classifying and segmenting skin cancer represent pivotal objectives for automated diagnostic systems that utilize dermoscopy images. However, these tasks present significant challenges due to the diverse shape variations of skin lesions and the inherently fuzzy nature of dermoscopy images, including low contrast and the presence of artifacts. Given the robust correlation between the classification of skin lesions and their segmentation, we propose that employing a combined learning method holds the promise of considerably enhancing the performance of both tasks. In this paper, we present a unified multi-task learning strategy that concurrently classifies abnormalities of skin lesions and allows for the joint segmentation of lesion boundaries. This approach integrates an optimization technique known as joint reverse learning, which fosters mutual enhancement through extracting shared features and limiting task dominance across the two tasks. The effectiveness of the proposed method was assessed using two publicly available datasets, ISIC 2016 and PH<sup>2</sup>, which included melanoma and benign skin cancers. In contrast to the single-task learning strategy, which solely focuses on either classification or segmentation, the experimental findings demonstrated that the proposed network improves the diagnostic capability of skin tumor screening and analysis. The proposed method achieves a significant segmentation performance on skin lesion boundaries, with Dice Similarity Coefficients (DSC) of 89.48% and 88.81% on the ISIC 2016 and PH<sup>2</sup> datasets, respectively. Additionally, our multi-task learning approach enhances classification, increasing the F1 score from 78.26% (baseline ResNet50) to 82.07% on ISIC 2016 and from 82.38% to 85.50% on PH<sup>2</sup>. This work showcases its potential applicability across varied clinical scenarios.
BibTeX
@inproceedings{almasni2024unified,
  author = {Mohammed A. Al‐masni and Abobakr Khalil Al-Shamiri and Dildar Hussain and Yeong Hyeon Gu},
  title = {{A Unified Multi-Task Learning Model with Joint Reverse Optimization for Simultaneous Skin Lesion Segmentation and Diagnosis}},
  booktitle = {Bioengineering},
  year = {2024},
  doi = {10.3390/bioengineering11111173},
}
Figure