The deployment of vision-language models (VLMs) in dermatology is hindered by the trilemma of high computational costs, extreme data scarcity, and the black-box nature of deep learning. To address these challenges, we present SkinCLIP-VL, a resource-efficient framework that adapts foundation models for trustworthy skin cancer diagnosis. Adopting a frozen perception, adaptive reasoning paradigm, we integrate a frozen CLIP encoder with a lightweight, quantized Qwen2.5-VL via low-rank adaptation (LoRA). To strictly align visual regions with clinical semantics under long-tailed distributions, we propose the Consistency-aware Focal Alignment (CFA) Loss. This objective synergizes focal re-weighting, semantic alignment, and calibration. On ISIC and Derm7pt benchmarks, SkinCLIP-VL surpasses 13B-parameter baselines by 4.3-6.2% in accuracy with 43% fewer parameters. Crucially, blinded expert evaluation and out-of-distribution testing confirm that our visually grounded rationales significantly enhance clinical trust compared to traditional saliency maps.
Fig. 2: The overall framework of SkinCLIP-VL. The architecture consists of three key stages: (1) Meta-Data Enhancement : We leverage GPT-4o to expand tabular meta-data into comprehensive clinical descriptions, providing semantic guidance for the visual branch. (2) Parameter-Efficient Encoding : Instead of full fine-tuning, we employ a frozen CLIP visual encoder and a LoRA-adapted Qwen2.5-VL generative decoder to extract and align visual and textual features. (3) Consistency-Aware Focal Alignment (CFA) : To capture fine-grained correlations, the Focal Pooling Layer aggregates the N×M interaction map into compact focal vectors. These vectors are fused via a Transformer Encoder under the joint supervision of focal and alignment losses ( Lfocal,Lalign ).
Model
Params
ISIC 2019
Derm7pt
ISIC 2024 (OOD)
B-ACC ↑
AUROC ↑
ECE ↓
B-ACC ↑
AUROC ↑
ECE ↓
B-ACC ↑
AUROC ↑
ECE ↓
Multimodal Models
EfficientNet-B4 [ 24 ]
19M
81.1%
0.901
0.084
78.2%
0.899
0.093
79.0%
0.890
0.098
ResNet-34 [ 10 ]
22M
79.5%
0.890
0.095
77.0%
0.885
0.100
78.0%
0.880
0.105
ConvNeXt-Base [ 18 ]
88M
82.1%
0.908
0.080
78.8%
0.905
0.090
80.0%
0.900
0.090
CaFormer-B36 [ 28 ]
152M
81.8%
0.905
0.082
78.5%
0.902
0.091
79.5%
0.895
0.092
TABLE I: Performance comparison on ISIC 2019, Derm7pt, and ISIC 2024.
Fig. 3: Hyperparameter sensitivity analysis.
Model Configuration
B-ACC ↑
AUROC ↑
ECE ↓
Baseline (CE Loss)
71.5%
0.820
0.155
+ Lfocal
79.2%
0.910
0.095
+ Lfocal + Lalign
82.5%
0.945
0.088
+ Lfocal + Lcal
80.1%
0.915
0.045
+ LCFA (Full)
85.0%
0.972
0.033
TABLE II: Ablation of CFA components on ISIC 2024 (OOD).
Model
Train-100%
Train-12%
Δ Drop
EfficientNet-B4
79.0%
58.3%
-20.7%
SkinGPT-4
81.0%
64.1%
-16.9%
SkinCLIP-VL
85.0%
82.4%
-2.6%
TABLE III: Data Efficiency Analysis on ISIC 2024 .
Vision--language models (VLMs) have recently shown promise for assisting clinical reasoning in dermatological diagnosis. However, their trustworthiness and clinical utility remain limited by three key challenges: heterogeneous datasets with inconsistent diagnostic labels and concept annotations, the lack of grounded diagnostic rationales for reliable reasoning supervision, and limited scalability when transferring knowledge from small, densely annotated datasets to large collections with sparse labels. To address these challenges, we propose Skin-R1, a dermatology-oriented VLM that integrates textbook-grounded clinical reasoning supervision with reinforcement learning (RL) to improve the accuracy and robustness of diagnostic prediction. First, we construct a textbook-based reasoning generator that synthesizes hierarchy-aware and differential-diagnosis (DDx) diagnostic trajectories derived from authoritative dermatology knowledge. Second, these trajectories are used for supervised fine-tuning (SFT), establishing a clinically grounded reasoning foundation for the model. Finally, we introduce an RL training framework that incorporates the hierarchical structure of dermatological diseases into the reward design, enabling the model to generalize grounded diagnostic reasoning to large-scale datasets with sparse annotations. Extensive experiments across multiple dermatology benchmarks demonstrate that Skin-R1 consistently improves diagnostic accuracy and robustness compared to state-of-the-art Med-VLM baselines. Ablation studies further highlight the critical role of grounded reasoning supervision introduced during the SFT stage.
Zehao Liu, Weijieying Ren, Jipeng Zhang +4
Pennsylvania State University, University Park, PA 16802, USA · Stanford University, Stanford, CA 94305, USA · Hong Kong University of Science and Technology, Hong Kong, China
Medical Vision-Language Models (VLMs) show significant promise for clinical image understanding, offering accurate diagnosis with interpretable reasoning. However, a critical performance gap exists between their strong vision encoders and the full multimodal model: in dermatology, the MedSigLIP encoder outperforms MedGemma by an average of 10.26 percentage points even when both use zero target-task labels; few-shot linear probing provides further evidence of strong visual representations. This gap motivates an investigation of how visual information is used in end-to-end diagnosis and why plausible-sounding predictions can lack grounding in image evidence. Using dermatology as our primary testbed, we systematically investigate three hypotheses for this phenomenon. We further provide a mechanistic analysis of the model's internal attention patterns, showing that a simple describe-then-decide prompting strategy increases vision attention by 30-40% during generation. Task-specific fine-tuning improves dermatology classification but reduces cross-domain medical question-answering performance in our evaluation. To address these challenges, we combine label-free prompting with low-label encoder-assisted reranking while keeping the VLM frozen. We validate the interventions across five VLM backbones in dermatology and provide supporting representation and attention analyses across additional medical modalities.
Skin cancer is a common and fast rising malignancy worldwide. Early detection is critical for improving outcomes. Deep learning models trained on dermoscopic and clinical images can support automated and fast triage. However, many studies evaluate only a limited set of architectures. Experimental setups also vary across studies. In this paper, we present a unified evaluation of twelve deep learning models for binary skin cancer detection on the PAD-UFES-20 dataset. The models span four families: convolutional neural networks (CNN), vision transformers (ViT), hybrid convolution transformer backbones, and vision language models (VLM). Performance is assessed using AUC, the maximum F1 score with its precision and recall, and sensitivity at 80% specificity, reflecting screening oriented requirements. Our results show that well tuned CNNs already provide strong baselines, but transformer based families consistently improve discrimination. Hybrid models (MaxViT Tiny, CoAtNet0) and a SigLIP based VLM achieve the best overall trade off between ranking performance and clinically relevant operating points, while CLIP based model offers high precision. The full codebase for all experiments is publicly released. Together, these findings offer practical guidance on which model families are most suitable for real world deployment in skin cancer screening and establish a reproducible reference point for future work on PAD-UFES-20.
Durjoy Dey, Yuhong Yan, Hassan Hajjdiab
Department of Computer Science and Software Engineering, Concordia University, Montreal, Canada · Ebovir Biotechnologie Inc., Montreal, Canada