SkinGEN: an Explainable Dermatology Diagnosis-to-Generation Framework with Interactive Vision-Language Models

Bo Lin, Yingjing Xu, Xuanwen Bao, Zhou Zhao, Zhouyang Wang, Jianwei Yin · DOI · OpenReview

TL;DR

This paper introduces SkinGEN, a novel framework that enhances the explainability of dermatology diagnosis by Vision-Language Models (VLMs). SkinGEN leverages Stable Diffusion to generate visual demonstrations of potential skin conditions, helping users better understand and trust VLM-based diagnoses.

What Problem Does This Paper Address?

Vision-Language Models (VLMs) have shown great promise in healthcare, including dermatology, for tasks like diagnosis. However, a significant challenge is their "black box" nature, making it difficult for users, especially non-experts, to understand why a VLM made a particular diagnosis. This lack of explainability can lead to distrust and hinder adoption. Dermatology is particularly prone to this issue due to the visual similarity of many skin conditions. Existing VLM applications often provide only textual diagnoses, which are insufficient for conveying complex visual information and differentiating subtle differences between diseases.

Methods

SkinGEN tackles this by integrating VLM diagnosis with image generation. The framework has three main components:

  1. Dermatology Diagnosis Diagram: This uses a pre-trained VLM (SkinGPT-4) to diagnose an uploaded skin image and provide potential alternative diagnoses.
  2. Dermatology Masked Image Generation Diagram: This component uses models like GroundingDINO and skinSAM to identify and segment the affected skin area in the input image, creating a masked image.
  3. Dermatology Demonstration Generation Diagram: This is the core of SkinGEN's explainability. It uses Stable Diffusion (SD) with adapter-based fine-tuning techniques like LoRA and Ip-adapter. The system generates visual demonstrations (images) of the diagnosed condition and other similar conditions, using the masked image and textual prompts derived from the diagnosis. This allows users to visually compare and understand the differences between various skin diseases.

The authors also explored different training strategies for SD, including using BLIP2 for enhanced captions and varying dataset sizes (5-shot, 30-shot, all), to optimize image generation quality.

Datasets

The study utilized two primary datasets for training the image generation model:

  • Fitzpatrick17k: A dataset of 16,577 clinical images covering 114 skin conditions, annotated with information like the Fitzpatrick scale.
  • SCIN Dataset: A crowdsourced dataset from 5,000 volunteers with over 10,000 images, employing a weighted labeling system for multiple conditions per case.

The authors created 12 subsets from these datasets by varying captioning methods (original labels vs. BLIP2-augmented captions) and data scales (5-shot, 30-shot, all).

Key Insights and Ideas

  • Visual explanations are crucial for trust: The study strongly suggests that generating visual examples of skin conditions significantly improves user comprehension and trust in VLM diagnoses, especially when differentiating similar-looking diseases.
  • Adapter fusion enhances generation: Combining LoRA and Ip-adapter techniques for fine-tuning Stable Diffusion yielded the best results in generating realistic and relevant skin disease patterns.
  • Dataset scale and caption quality matter, but with caveats: While BLIP2-enhanced captions and larger datasets generally improved semantic understanding, there were inconsistencies. Overfitting or data imbalance in larger datasets could sometimes degrade performance, highlighting the need for careful training strategies.
  • Interactive VLM + Generation is a powerful combination: SkinGEN demonstrates that combining the diagnostic capabilities of VLMs with the generative power of diffusion models creates a more user-centric and explainable AI system for complex domains like dermatology.

Key Results

  • User Study: A user study with 32 participants showed that SkinGEN significantly outperformed a baseline SkinGPT system and a system using reference case retrieval in terms of perceived trust, ease of understanding, and cognitive effort.
  • SkinGEN achieved higher ratings (mean ± SD) for Perceived Trust (4.38 ± 0.75), Ease of Understanding (4.41 ± 0.71), and Cognitive Effort (4.03 ± 0.69) compared to the baselines.
  • System Performance: Participants generally agreed that SkinGEN's diagnoses were relevant (4.16 ± 0.63), descriptions informative (4.41 ± 0.61), and suggestions useful (4.31 ± 0.78). They also expressed a willingness to use SkinGEN in the future (4.31 ± 0.78) and found the generated images realistic (4.16 ± 0.77).
  • Image Generation Metrics: Quantitative analysis using CLIP, DINOv2, and MSE scores showed that while BLIP captions and dataset scaling had varying impacts, the overall framework was capable of generating informative images.

Limitations and Future Work

  • Diagnostic Accuracy: The authors acknowledge that current VLMs, including SkinGPT-4, can still "hallucinate" or provide inconsistent responses, and their diagnostic outcomes are not yet fully reliable. The generated images of other conditions should be considered reference material.
  • Differentiating Similar Diseases: One user noted that SkinGEN is more effective for conditions with obvious differences and could be improved for differentiating very similar ailments.
  • Actionable Advice: Feedback suggested that SkinGEN's recommendations are often too generic (e.g., "consult a doctor") and could be more specific, offering actionable advice or lifestyle adjustments.
  • Future Work: The authors suggest developing more robust models by acquiring and integrating higher-quality datasets. They also envision diagnostic models applicable to diverse medical scenarios with enhanced capabilities for providing more precise medical suggestions. Future iterations could also focus on visually highlighting distinguishing features in generated images to further aid differential diagnosis.

Summary updated

BibTeX
@inproceedings{lin2025skingen,
  author = {Bo Lin and Yingjing Xu and Xuanwen Bao and Zhou Zhao and Zhouyang Wang and Jianwei Yin},
  title = {{SkinGEN: an Explainable Dermatology Diagnosis-to-Generation Framework with Interactive Vision-Language Models}},
  booktitle = {IUI},
  year = {2025},
  doi = {10.1145/3708359.3712098},
}
Figure