Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Currently submitted to: JMIR Dermatology

Date Submitted: Nov 3, 2026
Open Peer Review Period: Nov 23, 2026 - Jan 18, 2027
(currently open for review)

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

An Intake Gate and Sensitivity-Weighted Referral Rules for Skin Lesion Triage From Dermoscopic and Smartphone Images: Development and Validation Study

  • Susith Athukorala; 
  • Lasuni Prabuddhi Kariyawasam

ABSTRACT

Background:

Artificial intelligence tools for skin lesion triage are moving toward public and primary care use. Two safety problems remain: classifiers give confident answers for images that do not show a lesion, and reporting the most likely class misses many cancers.

Objective:

This study aimed to develop and internally validate a three-tier triage pipeline, comprising an intake gate, a lesion classifier and sensitivity-weighted referral rules, for dermoscopic and smartphone images.

Methods:

We used 12,006 images from HAM10000 (dermoscopic, n=9,900) and PAD-UFES-20 (smartphone, n=2,106) in six classes, split by lesion or patient into training (n=8,616), validation (n=1,694) and test (n=1,696) sets. The Tier 1 gate, a MobileNetV3-Small classifier, was trained with texture images, 950 clinician-reviewed smartphone skin patches and close-up photographs of non-lesion skin, and was evaluated on 97 such photographs with cross-validation grouped by body site. For Tier 2, hierarchical and flat EfficientNet-B0 classifiers were trained under identical settings. Tier 3 referred an image when the probability of melanoma plus basal cell carcinoma (BCC) reached a cutoff set for at least 95% sensitivity on validation data. All settings were frozen before a single test run. The primary outcome was the share of test melanomas and BCCs that passed the gate and were referred; 95% CIs came from a bootstrap that resampled lesions or patients.

Results:

The gate wrongly passed 1 of 72 photographs of plain skin and skin folds (1.4%) and 0.24% of held-out texture images, and on the test set passed 98.0% (95% CI 97.0%–98.8%) of lesions, including all 169 melanomas, but only 89.9% of smartphone images. The hierarchical pipeline referred 94.7% (95% CI 91.4%–97.5%) of the 342 test melanomas and BCCs (melanoma 93.5%), while referring 51.7% of all images and 40.0% of benign lesions; 98.0% of images marked low risk were not melanoma or BCC. Referring on the most likely class alone would have caught 67.8% of melanomas and BCCs (melanoma 61.5%). The hierarchical classifier gave no benefit over the flat one: test macro recall was 72.7% vs 75.4% (difference −2.7 percentage points, 95% CI −7.6 to 0.5), and the area under the curve for melanoma and BCC was 89.3% vs 89.6%. Only 31.4% of smartphone actinic keratosis and intraepithelial carcinoma images were referred, and only 5 test cancers came from Fitzpatrick skin types IV or V.

Conclusions:

A learned intake gate tested against real non-lesion skin, together with referral rules frozen on validation data, referred about 95% of melanomas and BCCs in a held-out test, at the cost of referring about half of all lesions; a hierarchical classifier added nothing over a matched flat model. External and prospective evaluation in low-prevalence settings and on darker skin types is needed before clinical use.


 Citation

Please cite as:

Athukorala S, Kariyawasam LP

An Intake Gate and Sensitivity-Weighted Referral Rules for Skin Lesion Triage From Dermoscopic and Smartphone Images: Development and Validation Study

JMIR Preprints. 03/11/2026:116095

DOI: 10.2196/preprints.116095

URL: https://preprints.jmir.org/preprint/116095

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.