Mind the Rarities: Can Rare Skin Diseases Be Reliably Diagnosed via Diagnostic Reasoning?

Yang Liu, Jiyao Yang, Hongjin Zhao, Xiaoyong Li, Yanzhe Ji, Xingjian Li, Runmin Jiang, Tianyang Wang, Saeed Anwar, Dongwoo Kim, Yue Yao, Zhenyue Qin, Min XuarXiv 2026

TL;DR

This paper introduces DermCase, the first long-context multimodal benchmark designed to evaluate how well Large Vision-Language Models (LVLMs) perform step-by-step diagnostic reasoning for rare skin diseases. By evaluating 22 leading models, the authors reveal that current AI struggles significantly with complex clinical logic and rare conditions, and show that while supervised fine-tuning provides massive performance boosts, standard preference optimization techniques fall short.

What Problem Does This Paper Address?

While AI has achieved dermatologist-level accuracy on common skin conditions, diagnosing rare diseases remains a major bottleneck. Existing dermatology benchmarks suffer from two fatal flaws: they focus almost exclusively on common conditions, and they only evaluate the final answer (classification accuracy) rather than the diagnostic reasoning process.

In real-world clinical settings, especially for rare diseases, getting the right answer through flawed logic is dangerous. Studies show that 65% of incorrect clinical diagnoses contain explicit logic errors. Furthermore, many current vision-language models rely on textual heuristics (shortcuts in the text prompt) rather than actually looking at the medical images. This paper tackles the challenge of evaluating and improving true, visually grounded clinical reasoning for rare dermatological conditions.

Methods

The authors developed a rigorous, five-stage pipeline to curate high-quality clinical reasoning data from peer-reviewed case reports, leveraging DeepSeek-R1 for structured extraction and verification:

  1. Data Selection & Filtering: Extracted case reports from 45 authoritative dermatology journals, filtering for permissive licenses and case completeness.
  2. Multi-modal Image Preprocessing: Used YOLO to segment multi-panel figures and Qwen3-VL to filter out non-medical images (like charts) or post-treatment photos, keeping only raw clinical and histopathological images.
  3. Structured Information Extraction: Extracted patient demographics, medical history, and final diagnoses using a two-stage verification process to eliminate LLM hallucinations.
  4. Visual-Grounded Question Generation: Crucially, the authors withheld all textual descriptions of the skin lesions from the questions. Models are forced to look at the images to extract visual features (e.g., "Please refer to images for cutaneous findings").
  5. Expert-Level Reasoning Generation: Generated a standardized 5-step clinical reasoning chain: Clinical Presentation Analysis $\rightarrow$ Physical Examination Findings $\rightarrow$ Diagnostic Test Interpretation $\rightarrow$ Differential Diagnosis Evaluation $\rightarrow$ Pathophysiological Integration.
Fig. 2: The dataset curation pipeline includes: data source selection and filtering, multi-modal image preprocessing, case-level information extraction, visual-grounded question generation, and expert-level diagnostic reasoning generation. Quality con- trol (steps 3-5) combines LLM-based cross-verification and human sampling validation against source reports, triggering regeneration for inconsistencies.

To evaluate the models reliably, the authors introduced DermLIP-based similarity metrics. Traditional text metrics like BERTScore fail in medicine because they cannot recognize that "tinea corporis" and "ringworm" are synonyms, or that "psoriasis" and "eczema" are entirely different conditions despite looking similar. By using embeddings from DermLIP (a domain-specific vision-language model), they achieved much higher alignment with real dermatologists.

Datasets

The primary contribution is the DermCase dataset, which consists of:

  • 6,354 unique, clinically challenging cases spanning 2,101 distinct dermatological conditions.
  • 26,030 high-quality multimodal image-caption pairs (including clinical photos and pathology slides).
  • Long-context data, averaging 110 tokens per question and 1,040 tokens per reasoning chain.

Unlike existing datasets (such as DermNet or SCIN) which focus on simple image-captioning or short-form classification of common diseases, DermCase provides full-length case narratives with multi-step clinical reasoning.

Key Insights and Ideas

  • Forced Visual Grounding is Essential: Withholding the text descriptions of lesions prevents models from guessing the disease purely from textual context clues, exposing the true limits of their vision-language integration.
  • Medical AI Needs Medical Metrics: General-purpose text similarity metrics (BLEU, ROUGE, BERTScore) are unreliable for clinical evaluation. Domain-specific embedding spaces (like DermLIP) are required to capture true clinical equivalence.
  • The Preference Optimization Bottleneck: While Supervised Fine-Tuning (SFT) yields massive diagnostic improvements, Direct Preference Optimization (DPO) and Mixed Preference Optimization (MPO) provide almost no benefit. Detailed analysis shows that current preference optimization algorithms optimize heavily for surface visual perception rather than multi-faceted clinical logic.

Key Results

The authors benchmarked 22 leading LVLMs on DermCase, leading to several stark conclusions:

  • Rare Diseases are Hard: Even the best-performing model, MedGemma-27B-it, achieved a final diagnosis accuracy of only 26.10%, highlighting a massive gap in rare disease diagnosis.
  • Fine-Tuning Works Wonders: Applying SFT to the models dramatically increased final diagnosis accuracy—by 95.61% for InternVL2.5-4B and 151.55% for MedGemma-4B-it.
  • Anatomy of AI Errors: A systematic failure analysis of 1,100 cases revealed that visual interpretation errors were the most dominant failure mode (26.9%), followed closely by logical inconsistencies (18.5%) and factual medical errors (18.3%).
Fig. 1: An example from DermCase. Each case comprises a clinical question with detailed context (patient history, laboratory results), multi-modal images, and step- wise diagnostic reasoning.

Limitations and Future Work

While DermCase sets a new standard for clinical reasoning evaluation, it relies on an LLM-as-a-judge framework (DeepSeek-R1) guided by expert rubrics. Although validated by board-certified dermatologists, automated grading can still introduce subtle biases.

Furthermore, the poor performance of DPO and MPO indicates that standard alignment techniques are fundamentally unsuited for complex, multi-step medical logic. Future work must focus on developing reasoning-aware preference optimization methods that can penalize logical leaps and reward sound clinical deduction.

Summary updated

BibTeX
@misc{liu2026mind,
  author = {Yang Liu and Jiyao Yang and Hongjin Zhao and Xiaoyong Li and Yanzhe Ji and Xingjian Li and Runmin Jiang and Tianyang Wang and Saeed Anwar and Dongwoo Kim and Yue Yao and Zhenyue Qin and Min Xu},
  title = {{Mind the Rarities: Can Rare Skin Diseases Be Reliably Diagnosed via Diagnostic Reasoning?}},
  year = {2026},
  eprint = {2603.18418},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.18418},
}
Figure