Abstract
Additional clinical data did not significantly improve CNN image model performance. Model accuracy for predicting malignant lesions was comparable to dermatologists (model: 71.31% vs. 3 dermatologists: 77.87, 69.88, and 71.93%), validating clinical utility. Prospective validation of the model in primary care setting will enhance understanding of the model's clinical utility.
Introduction
Skin cancer incidence is rising globally, placing a significant burden on healthcare systems. While dermatologists provide the gold standard for diagnosis, limited access often makes Primary Care Physicians (PCPs) the first point of contact. However, PCPs may misdiagnose over half of skin malignancies. Artificial intelligence, specifically Convolutional Neural Networks (CNNs), offers a potential solution for triage. While many models excel on curated "lab" datasets, this study evaluates performance using "messy" real-world smartphone images and investigates whether patient medical history (metadata) enhances diagnostic accuracy.
Methodology
The researchers developed a two-stage deep learning pipeline. The first stage utilized a Faster-RCNN architecture to detect lesions and generate bounding boxes within wide-field smartphone images. The second stage employed a ResNet-50 backbone to classify these lesions as benign or malignant (including melanoma, basal cell carcinoma, and squamous cell carcinoma).
To evaluate the impact of clinical context, three model variants were compared:
- Image-only: Processed only pixel data.
- Clinical-data-only: A logistic regression model using 69 discrete variables from Electronic Health Records (EHR), such as age, sex, and comorbidities.
- Combined: A fusion model concatenating standardized clinical features with CNN feature maps before final classification.
Data Selection and Processing
The study relied on a retrospective dataset from the Duke University Health System (2013–2018), prioritizing cases with histopathological ground truth from biopsy reports.
The final modeling dataset consisted of 7,307 images from 4,295 patients. As shown in the data selection process, a significant portion of the initial image pool was excluded due to lack of annotation or poor image quality, ensuring the model was trained on reliable ground-truth data.
Results and Comparative Analysis
The image-only model achieved an accuracy of 71.31%, performing comparably to three board-certified dermatologists (who scored 69.88%, 71.93%, and 77.87%). It demonstrated a sensitivity of 79% and a specificity of 64%.
A key finding was the redundancy of clinical metadata. The combined model achieved an Area Under the Curve (AUC) of 0.792, which was not significantly higher than the image-only model's AUC of 0.788. While factors like older age and male sex were strong predictors in the clinical-only model, they did not provide additional discriminative power when visual features were available to the CNN. Both image-based models significantly outperformed the clinical-only model (Average Precision of 0.78–0.79 vs. 0.64).
Discussion and Limitations
The results suggest that for deep learning models, visual characteristics of malignancy are dominant, making structured demographic data largely redundant for classification tasks. This supports the feasibility of using consumer-grade smartphone images for effective triage in settings without specialized equipment.
However, the study notes several limitations. The dataset lacked diversity, with only 28 non-white cases in the test set, limiting generalizability to skin of color. Additionally, the structured EHR data lacked "temporal" nuances—such as lesion evolution or symptoms like itching—which clinicians often weigh heavily. Future research should focus on prospective trials in primary care environments to measure the impact on real-world clinical outcomes.
Summary updated