Introduction
Dermatology is a visually intensive field where diagnosis often relies on synthesizing information from diverse imaging modalities. Clinicians must navigate wide-field clinical photographs, high-magnification dermoscopic views, longitudinal tracking of changing lesions, and microscopic pathology. While specialized AI models have shown promise in narrow tasks, such as classifying single dermoscopic images, they often lack the versatility required for real-world clinical workflows. Furthermore, the scarcity of expert-labeled medical data remains a significant bottleneck for developing robust deep learning systems.
To address these challenges, we present PanDerm, a general-purpose multimodal foundation model designed for clinical dermatology. PanDerm is pretrained on a massive scale of unlabeled data, enabling it to learn versatile representations that generalize across a wide array of clinical tasks with minimal supervision.
Methodology and Data Scale
PanDerm utilizes a Vision Transformer (ViT-Large) backbone and is trained using a decoupled architecture consisting of an encoder and a regressor. The training process employs two self-supervised objectives: Masked Latent Modeling, where the model predicts latent representations of masked image patches, and CLIP Feature Alignment, which leverages a CLIP-Large teacher model to guide feature learning.
The model's strength lies in its pretraining dataset, which comprises 2,149,706 unlabeled images sourced from 11 international institutions. This dataset is uniquely multimodal, covering four key areas of dermatological imaging:
- 3D Total Body Photography (TBP) Tiles (35.3%)
- Dermatopathology Tiles (25.4%)
- Clinical Images (21.4%)
- Dermoscopic Images (17.9%)
This diverse data mix allows PanDerm to develop a unified representation of skin disease, mirroring the holistic diagnostic approach used by human specialists.
Performance and Label Efficiency
PanDerm was evaluated across 28 diverse clinical benchmarks, ranging from standard classification tasks to complex longitudinal analysis and metastasis prediction. It consistently achieved state-of-the-art (SOTA) results, outperforming established self-supervised methods like DINOv2 and MILAN, as well as supervised models pretrained on natural images.
A defining characteristic of PanDerm is its extreme label efficiency. In many scenarios, the model achieved superior performance using only 10% of the labeled training data compared to other models using the full dataset. This suggests that the pretraining phase successfully captured the fundamental structural and pathological features of skin conditions.
Clinical Utility and Human-AI Collaboration
Beyond benchmark metrics, PanDerm demonstrates significant utility in real-world clinical settings:
- Diagnostic Enhancement: In reader studies, PanDerm improved the diagnostic accuracy of dermatologists by 11% and non-specialist healthcare providers by 16.5% across 128 different conditions.
- Longitudinal Analysis: The model excels at detecting early-stage melanoma by comparing lesions over time, outperforming clinicians by 10.2% in this specific task.
- Prognostic Insights: PanDerm showed an emergent ability to predict melanoma metastasis and patient survival from dermoscopic images alone, reaching an AUROC of 0.964 for metastasis prediction.
- Operational Efficiency: For tasks like lesion segmentation, PanDerm proved to be 4–5 times faster than specialized models like MedSAM, facilitating smoother clinical integration.
Discussion and Future Directions
PanDerm represents a shift toward general-purpose AI in dermatology. By breaking down the "silos" of single-modality models, it provides a more comprehensive tool for clinicians. However, challenges remain. While the model covers approximately 200 conditions, it has yet to be fully validated on the more than 1,000 known dermatological diagnoses, including rare genetic disorders.
Future work will focus on expanding the model's diagnostic breadth and refining fairness metrics. Ensuring that foundation models perform equitably across diverse skin tones and demographics is paramount for their safe and ethical deployment in global healthcare.
Summary updated