<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Oncol.</journal-id>
<journal-title>Frontiers in Oncology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Oncol.</abbrev-journal-title>
<issn pub-type="epub">2234-943X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fonc.2025.1507322</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Oncology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Deep learning in assisting dermatologists in classifying basal cell carcinoma from seborrheic keratosis</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" equal-contrib="yes">
<name>
<surname>Mei</surname>
<given-names>Li-Hong</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="author-notes" rid="fn003">
<sup>&#x2020;</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<name>
<surname>Cao</surname>
<given-names>Meng-Ke</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="author-notes" rid="fn003">
<sup>&#x2020;</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<name>
<surname>Li</surname>
<given-names>Jing</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="author-notes" rid="fn003">
<sup>&#x2020;</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ye</surname>
<given-names>Xuan-Guang</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Liu</surname>
<given-names>Xiang-Dong</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Yang</surname>
<given-names>Gao</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1661582/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Department of Dermatology, Jinshan Hospital of Fudan University</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Dermatology, Shanghai Eighth People&#x2019;s Hospital</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Department of Pathology, Jinshan Hospital, Fudan University</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<aff id="aff4">
<sup>4</sup>
<institution>Department of Dermatology, Shanghai Sixth People&#x2019;s Hospital, Jiaotong University</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Vladimir Spiegelman, Penn State Milton S. Hershey Medical Center, United States</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Emmanouil Karampinis, University of Thessaly, Greece</p>
<p>Zenghao Chang, Sun Yat-sen University Cancer Center (SYSUCC), China</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Gao Yang, <email xlink:href="mailto:dr_yanggao@163.com">dr_yanggao@163.com</email>; Xiang-Dong Liu, <email xlink:href="mailto:liuer_69@sina.com">liuer_69@sina.com</email>
</p>
</fn>
<fn fn-type="equal" id="fn003">
<p>&#x2020;These authors have contributed equally to this work</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>24</day>
<month>04</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>15</volume>
<elocation-id>1507322</elocation-id>
<history>
<date date-type="received">
<day>07</day>
<month>10</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>07</day>
<month>04</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Mei, Cao, Li, Ye, Liu and Yang</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Mei, Cao, Li, Ye, Liu and Yang</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<sec>
<title>Objectives</title>
<p>This study aimed to evaluate the effectiveness of deep learning model in assisting dermatologists in classifying basal cell carcinoma (BCC) from seborrheic keratosis (SK). The goal was to assess whether AI-assisted diagnostics could improve accuracy, reduce misdiagnoses, and potentially enhance clinical outcomes.</p>
</sec>
<sec>
<title>Methods</title>
<p>This prospective study included 707 patients with histopathologically confirmed BCC or SK as an internal dataset (validation cohort), along with 5572 patients from the ISIC public dataset as an external dataset (split into training and test cohort). The images were preprocessed and augmented before being fed into a deep learning model based on the CLIP ViT-B/16 architecture. The model&#x2019;s performance was assessed using the area under the receiver operating characteristic (ROC) curves (AUC). Two dermatologists, one with 3 years of experience and another with 15 years of experience, reviewed the cases before and after receiving the deep learning model&#x2019;s predictions. Net reclassification index (NRI) and integrated discrimination improvement (IDI), was used to quantify the improvement in reclassification performance.</p>
</sec>
<sec>
<title>Results</title>
<p>The model achieved an AUC of 0.76 in the training cohort and 0.79 in the test cohort for differentiating between BCC and SK. In the validation cohort, the model demonstrated an AUC of 0.71. Dermatologist 1&#x2019;s AUC improved from 0.75 to 0.82 with deep learning model assistance, while Dermatologist 2&#x2019;s AUC increased from 0.79 to 0.82. NRI and IDI analysis revealed statistically significant improvements, with Dermatologist 1 showing a 18% improvement and Dermatologist 2 showing a 11% improvement. Additionally, attention mechanisms like Grad-CAM provided insights into the model&#x2019;s decision-making process, enhancing the interpretability of its predictions.</p>
</sec>
<sec>
<title>Conclusion</title>
<p>The deep learning model demonstrated significant potential in aiding dermatologists in classifying BCC from SK.</p>
</sec>
</abstract>
<kwd-group>
<kwd>basal cell carcinoma</kwd>
<kwd>seborrheic keratosis</kwd>
<kwd>deep learning</kwd>
<kwd>dermatologist assistance</kwd>
<kwd>skin cancer diagnosis</kwd>
</kwd-group>
<counts>
<fig-count count="5"/>
<table-count count="1"/>
<equation-count count="0"/>
<ref-count count="18"/>
<page-count count="10"/>
<word-count count="4221"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-in-acceptance</meta-name>
<meta-value>Skin Cancer</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Basal cell carcinoma (BCC) is the most prevalent form of skin cancer, accounting for approximately 75% of non-melanoma skin cancers globally. Early and accurate diagnosis of BCC is crucial to ensure appropriate treatment and to prevent progression (<xref ref-type="bibr" rid="B1">1</xref>). Seborrheic keratosis (SK) is a benign lesion (<xref ref-type="bibr" rid="B2">2</xref>). Differentiating SK from pigmented BCC can be clinically challenging, particularly in individuals with dark skin. Dermoscopically, pigmented basal cell carcinoma (BCC) in darker skin can manifest as pigmented nodules, patches, or plaques, as well as ulcers, red nodules, red patches or plaques, or lesions resembling scars, depending on the specific BCC subtype and location on the body (<xref ref-type="bibr" rid="B3">3</xref>).</p>
<p>Current diagnostic methods of BCC and SK, including dermoscopy and histopathological examination, which are reliable but time-consuming. Additionally, dermoscopic interpretation depends heavily on the expertise of the dermatologist, which introduces a risk of human error, particularly in ambiguous cases (<xref ref-type="bibr" rid="B4">4</xref>). As a result, the need for non-invasive, efficient, and accurate diagnostic tools is becoming a clinical urgent.</p>
<p>Deep learning is a subset of artificial intelligence, which has made significant strides in the field of medical diagnostics in image classification, particularly. Deep learning models can be trained to identify patterns in medical images, enabling them to assist healthcare professionals in diagnosis. In dermatology, deep learning models have demonstrated remarkable accuracy in distinguishing between various types of skin lesions, offering a promising tool for reducing diagnostic workload and improving accuracy (<xref ref-type="bibr" rid="B5">5</xref>). Deep learning models are particularly well-suited to tackle image classification tasks, which is critical in the potential useful in differentiating benign lesions from malignant ones (<xref ref-type="bibr" rid="B6">6</xref>, <xref ref-type="bibr" rid="B7">7</xref>). However, despite these advancements, there is a gap in the literature regarding the application of deep learning to the specific problem of assisting dermatologists in classifying BCC from SK. These two conditions that can appear visually similar (<xref ref-type="bibr" rid="B3">3</xref>, <xref ref-type="bibr" rid="B8">8</xref>).</p>
<p>We assumed that deep learning can improve diagnostic accuracy to achieve this task. Thus, the aim of this study is to evaluate the performance of deep learning algorithms in assisting dermatologists in classifying BCC from SK. By comparing the diagnostic accuracy of dermatologists with and without the assistance of deep learning model, we seek to determine whether deep learning can serve as a valuable decision-support tool. The successful integration of these models into clinical practice could potentially reduce unnecessary biopsies and enhance early detection of BCC, improving overall patient care.</p>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Ethics</title>
<p>This prospective study adhered to the principles outlined in the Declaration of Helsinki and received approval from the Institutional Review Board of Jinshan Hospital (JIEC 2023-S85). Prior to enrollment, all participants provided written informed consent for the publication of any potentially identifiable data or images.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Dataset</title>
<p>Between November 1, 2023, and November 1, 2024, adult patients who underwent surgical resection for skin neoplasm were included in the study. The inclusion criteria were: (1) Histopathologically confirmed BCC or SK; and (2) Age &#x2265; 18 years. Exclusion criteria were: (1) Presence of systemic infection; (2) Incomplete clinical data; and (3) Images with motion blur or artifacts. A total of 707 patients with BCC or SK were ultimately enrolled, forming the internal dataset. The image were captured by both dermoscopy and smart devices with cameras. Additionally, the international skin imaging collaboration dataset (ISIC, <ext-link ext-link-type="uri" xlink:href="https://www.isic-archive.com">https://www.isic-archive.com</ext-link>) was accessed with the same inclusion criteria. Images with visible artifacts or interference from nearby structures were excluded. Finally, 5,572 patients with BCC or SK in the external dataset (images from both dermoscopy and other devices were included).</p>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Data split</title>
<p>The external ISIC dataset was divided into training and test cohorts in a 9:1 ratio. The internal hospital dataset was used as a validation cohort to evaluate the model&#x2019;s performance and verify the effectiveness of deep learning model in assisting dermatologists in classifying BCC from SK.</p>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>Preprocessing and image resizing</title>
<p>All images were resized to a standard size compatible with the input layer of the deep learning model and converted into tensor format. Additionally, the preprocessing phase involved data augmentation techniques such as random cropping, rotation, flipping, and color adjustments. Random cropping provided image information from varying locations, while rotation and flipping helped the model recognize objects from different orientations. Meanwhile, color adjustments increased the model&#x2019;s robustness to changes in lighting and color variations.</p>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>Normalization</title>
<p>The normalization process involved subtracting the mean value of the entire dataset and dividing by the standard deviation, bringing pixel values into a standardized range. This operation minimized brightness differences and color biases between images, allowing the model to focus on relevant features rather than noise or irrelevant details. By normalizing the data, the issues of gradient explosion and vanishing gradients during training were effectively mitigated, leading to improved model stability and faster convergence. Additionally, normalization ensured that the model remained sensitive to the scale of input data, enhancing its robustness when handling images of varying scales.</p>
</sec>
<sec id="s2_6">
<label>2.6</label>
<title>Deep learning model architecture</title>
<p>The deep learning model utilized was based on the multimodal pre-trained CLIP model (<xref ref-type="bibr" rid="B9">9</xref>), employing the ViT-B/16 architecture (<xref ref-type="bibr" rid="B10">10</xref>). In the ViT-B/16 architecture, images were divided into fixed-size patches, with each patch flattened and embedded into a vector. These vectors were then fed into the Transformer encoder to capture global image relationships. Using the self-attention mechanism, the Transformer learns connection between different image regions and generates a comprehensive image representation. This representation was subsequently processed through several fully connected layers to produce the final classification or regression outputs.</p>
</sec>
<sec id="s2_7">
<label>2.7</label>
<title>Feature extraction</title>
<p>The feature extraction process of the CLIP model converted raw image data into normalized high-dimensional feature vectors. The input images were divided into fixed-size patches, and each patch was mapped to a low-dimensional space via a learnable linear projection, creating an embedding vector for each patch. To capture the spatial relationships between the patches, position encodings were added to these embedding vectors. The Transformer encoder was then employed to process the sequence of embedding vectors, utilizing self-attention mechanisms and fully connected feed-forward networks to extract semantic information and contextual relationships between image patches. After encoding, a fixed-length vector representation was obtained through feature pooling, which was then projected via a fully connected layer into the same embedding space as the text features. In addition, CLIP simultaneously learned semantic information from both images and text.</p>
</sec>
<sec id="s2_8">
<label>2.8</label>
<title>Training</title>
<p>The model was trained using the stochastic gradient descent (SGD) optimizer, a widely-used method for deep learning tasks that works by updating the model&#x2019;s weights at each iteration to minimize the loss function. To enhance convergence speed, SGD with momentum was applied, helping the model reach local optima more efficiently during training. The initial learning rate was set at 0.002, with a momentum value of 0.9 and a weight decay parameter of 0.005.</p>
</sec>
<sec id="s2_9">
<label>2.9</label>
<title>Loss function</title>
<p>The loss function used was CrossEntropy Loss, which quantified the difference between the model&#x2019;s predictions and the true labels. In this function, the model&#x2019;s outputs were first passed through a softmax layer to convert them into a probability distribution. These predicted probabilities were then compared to the true labels to calculate the cross-entropy loss, which measured the negative log-likelihood of the correct class. For each sample, the loss reflected the confidence of the model in its prediction for the true label. The goal of this loss function was to minimize the disparity between the predicted probability distribution and the true labels, thus enabling the model to improve its accuracy in classifying the samples.</p>
</sec>
<sec id="s2_10">
<label>2.10</label>
<title>Training process</title>
<p>The training approach employed CoOp, a parameter-efficient fine-tuning technique (<xref ref-type="bibr" rid="B11">11</xref>). CoOp focused on freezing the parameters of the model backbone while introducing a learnable text prompt parameter at the input of the text encoder. This parameter was learned during training, allowing it to adapt to specific downstream tasks, thus achieving effective fine-tuning with minimal computational resources. Following the prompt-learning methodology of CLIP, each class name was integrated into a prompt, generating a set of prompts for the text encoder in a given classification task. Each prompt included a common set of learnable parameters along with a specific class name. These prompts were fed into the text encoder to generate corresponding feature vectors. Simultaneously, training images were processed through the image encoder to produce their respective feature vectors. The next step involved calculating the normalized similarity between the image feature vector and each output feature vector from the text encoder. Finally, CrossEntropy Loss was computed against the ground truth labels to optimize the model&#x2019;s performance. A linear classifier was attached to the CLIP image encoder as an evaluation module for the downstream task.</p>
</sec>
<sec id="s2_11">
<label>2.11</label>
<title>Evaluation metrics</title>
<p>To explore the clinical application of the deep learning model, two dermatologists (dermatologist 1 with 3 years of experience and dermatologist 2 with 15 years of experience) reviewed the images of each case to identify BCC or SK without access to histopathological data. Afterward, the dermatologists were presented with the classification results generated by the deep learning model. Any reclassification decisions made by the dermatologists following the presentation of the model&#x2019;s results were documented. The area under the receiver operating characteristic (ROC) curves (AUC) were used to evaluate the clinical application of the deep learning model in assisting dermatologists. Attention mechanisms were employed to visualize the regions of interest that the model focused on during image recognition. Specifically, attention maps were generated to illustrate which parts of the images the model emphasized, such as color, shape, or texture. Gradient-weighted Class Activation Mapping (Grad-CAM) was used to highlight the areas in the images that the model deemed most important for predicting the corresponding labels. Additionally, an analysis was conducted on cases where the model underperformed or failed. This included investigating the characteristics of such cases and identifying potential reasons for the model&#x2019;s performance issues.</p>
</sec>
<sec id="s2_12">
<label>2.12</label>
<title>Computational requirements and runtime</title>
<p>Our server was equipped with two NVIDIA RTX 4090 GPUs, each offering 24 GB of memory. The central processing unit (CPU) was an Intel Core i9-13900K with 24 cores and 36 threads. The system had 256 GB of DDR4 RAM, ensuring ample memory for large datasets and computational tasks. Data storage was handled by a 1 TB SSD, which provided high-speed data read and write operations. The operating system was Ubuntu 20.04, and the software environment included key tools and libraries such as PyTorch 1.10, CUDA 11.2, Anaconda 23.3.1, CUDA 12.0, cuDNN v8.8.1, PyTorch 1.13.1, and Python 3.7.16. For the public ISIC dataset, the total training time for 100 epochs was around 1.1 hours, and the average inference time per instance was 20.50 milliseconds. For the internal dataset, the total runtime for 100 epochs was approximately 3 minutes, and the average inference time per instance was 2.56 milliseconds.</p>
</sec>
<sec id="s2_13">
<label>2.13</label>
<title>Clinical usefulness analysis</title>
<p>The net reclassification index (NRI) and the integrated discrimination index (IDI) were calculated to compare the discrimination performance between the dermatologists&#x2019; classifications and the results assisted by the deep learning model. These metrics provided insight into how well the model improved diagnostic accuracy and reclassification compared to human performance alone.</p>
</sec>
<sec id="s2_14">
<label>2.14</label>
<title>Statistical analysis</title>
<p>Statistical analysis was conducted using R software (version 4.3.2; <ext-link ext-link-type="uri" xlink:href="https://www.r-project.org/">https://www.r-project.org/</ext-link>). The normality of the data was assessed using the Shapiro-Wilk test, and the homogeneity of variance was evaluated using Levene&#x2019;s test. For continuous variables, independent-samples t-tests were used to compare groups if the data met the assumptions of normality and homoscedasticity. In cases where these assumptions were not satisfied, the non-parametric Mann-Whitney U test was applied. Categorical variables were analyzed using the chi-squared test or Fisher&#x2019;s exact test, depending on the expected cell counts. A p-value of less than 0.05 was considered statistically significant in all analyses.</p>
</sec>
</sec>
<sec id="s3" sec-type="results">
<label>3</label>
<title>Results</title>
<sec id="s3_1">
<label>3.1</label>
<title>Data sets</title>
<p>The workflow of this study is illustrated in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>. Two case examples of BCC and SK are provided in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2</bold>
</xref>. The training dataset (external dataset) consisted of 5038 patients (1916 females and 3113 males with 9 missing), with an average age of 65 &#xb1; 14.6 years (range 20-85). This included 554 females and 848 males in the SK group (aged 63 &#xb1; 14.3 years, range 20-85) and 1362 females and 2265 males (5 missing) in the BCC group (aged 66 &#xb1; 14.6 years, range 20-85).</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>The process flow for the deep learning model developed to classify basal cell carcinoma (BCC) and seborrheic keratosis (SK). This flow includes data collection, preprocessing, model training, feature extraction, classification, reclassification, and validation.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fonc-15-1507322-g001.tif"/>
</fig>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>The structure and process flow of the deep learning model used for distinguishing BCC and SK, based on the CLIP architecture with ViT-B/16. Images are divided into uniform patches, embedded, and processed through a Transformer encoder that captures relationships across image regions to produce a comprehensive representation.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fonc-15-1507322-g002.tif"/>
</fig>
<p>The test dataset (external dataset) contained 534 patients (200 females and 334 males), with an average age of 65 &#xb1; 15.6 years (range 20-85). Within the SK group, there were 135 females and 244 males (aged 66 &#xb1; 15.3 years, range 25-85), while the BCC group had 65 females and 90 males (aged 62 &#xb1; 15.9 years, range 25-85).</p>
<p>The validation cohort (internal dataset) included a total of 707 patients (389 females and 318 males), with an average age of 56 &#xb1; 13.6 years (range 21-91). Among these patients, 610 were diagnosed with SK and 97 with BCC. Specifically, the SK group included 328 females and 280 males (aged 56 &#xb1; 13.4 years, range 21-91), while the BCC group consisted of 61 females and 38 males (aged 60 &#xb1; 14.2 years, range 25-88).</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Model performance in the training and test cohort</title>
<p>The architecture of the deep learning model is depicted in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3</bold>
</xref>. The initial performance metrics in the training cohort revealed an AUC of 0.76, reflecting a moderate discrimination ability to differentiate between BCC and SK. The model showed a sensitivity of 0.58 and a specificity of 0.94, with positive predictive value (PPV) and negative predictive value (NPV) of 0.79 and 0.85, respectively. In the test cohort, the model exhibited an AUC of 0.79. The model achieved a sensitivity of 0.65 and a specificity of 0.94, with a PPV of 0.81 and an NPV of 0.87. For the validation cohort, the model exhibited an AUC of 0.71, with a sensitivity of 0.92,a specificity of 0.51, a PPV of 0.92 and a NPV of 0.52 (<xref ref-type="table" rid="T1">
<bold>Table&#xa0;1</bold>
</xref>).</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Case examples of BCC and SK classification. <bold>(A)</bold> An incorrectly classified BCC lesion by Dermatologist 2, which was correctly reclassified as BCC with the model&#x2019;s assistance, matching the histopathological diagnosis. <bold>(B)</bold> An incorrectly classified SK lesion by Dermatologist 2, correctly reclassified as SK using the model, with alignment to histopathological findings. <bold>(C)</bold> Histopathological findings of the BCC case in <bold>(A)</bold>, showing typical features such as atypical keratinocytes, parakeratosis, and an irregular stratum corneum. <bold>(D)</bold> Histopathological findings of the SK case in <bold>(B)</bold>, displaying features like acanthosis, hyperkeratosis, and horn cysts.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fonc-15-1507322-g003.tif"/>
</fig>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Area under the curve (AUC) for model performance and dermatologist assessments.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="bottom" align="left"/>
<th valign="bottom" align="left"/>
<th valign="bottom" align="left">AUC</th>
<th valign="bottom" align="left">95%CI</th>
<th valign="bottom" align="left">SPE</th>
<th valign="bottom" align="left">SEN</th>
<th valign="bottom" align="left">NPV</th>
<th valign="bottom" align="left">PPV</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Training cohort</td>
<td valign="middle" align="left">DL model</td>
<td valign="middle" align="left">0.76</td>
<td valign="middle" align="left">0.75-0.77</td>
<td valign="middle" align="left">0.94</td>
<td valign="middle" align="left">0.58</td>
<td valign="middle" align="left">0.85</td>
<td valign="middle" align="left">0.79</td>
</tr>
<tr>
<td valign="middle" align="left">Test cohort</td>
<td valign="middle" align="left">DL model</td>
<td valign="middle" align="left">0.79</td>
<td valign="middle" align="left">0.75-0.83</td>
<td valign="middle" align="left">0.94</td>
<td valign="middle" align="left">0.65</td>
<td valign="middle" align="left">0.87</td>
<td valign="middle" align="left">0.81</td>
</tr>
<tr>
<td valign="middle" rowspan="5" align="left">Validation cohort</td>
<td valign="middle" align="left">DL model</td>
<td valign="middle" align="left">0.71</td>
<td valign="middle" align="left">0.66-0.76</td>
<td valign="middle" align="left">0.51</td>
<td valign="middle" align="left">0.92</td>
<td valign="middle" align="left">0.52</td>
<td valign="middle" align="left">0.92</td>
</tr>
<tr>
<td valign="middle" align="left">Dermatologist 1</td>
<td valign="middle" align="left">0.75</td>
<td valign="middle" align="left">0.71-0.8</td>
<td valign="middle" align="left">0.66</td>
<td valign="middle" align="left">0.85</td>
<td valign="middle" align="left">0.42</td>
<td valign="middle" align="left">0.94</td>
</tr>
<tr>
<td valign="middle" align="left">Dermatologist 1 with DL model</td>
<td valign="middle" align="left">0.82</td>
<td valign="middle" align="left">0.78-0.87</td>
<td valign="middle" align="left">0.72</td>
<td valign="middle" align="left">0.93</td>
<td valign="middle" align="left">0.61</td>
<td valign="middle" align="left">0.95</td>
</tr>
<tr>
<td valign="middle" align="left">Dermatologist 2</td>
<td valign="middle" align="left">0.79</td>
<td valign="middle" align="left">0.74-0.83</td>
<td valign="middle" align="left">0.66</td>
<td valign="middle" align="left">0.91</td>
<td valign="middle" align="left">0.56</td>
<td valign="middle" align="left">0.94</td>
</tr>
<tr>
<td valign="middle" align="left">Dermatologist 2 with DL model</td>
<td valign="middle" align="left">0.82</td>
<td valign="middle" align="left">0.77-0.86</td>
<td valign="middle" align="left">0.69</td>
<td valign="middle" align="left">0.95</td>
<td valign="middle" align="left">0.67</td>
<td valign="middle" align="left">0.95</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>AUC, Area Under the Curve; DL, deep learning; PPV, Positive Predictive Value; NPV, Negative Predictive Value; SEN, Sensitivity; SPE, Specificity.</p>
</fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>The interpretability of the model</title>
<p>The results revealed that the model primarily relied on color features to classify sample categories. When making correct predictions, the model often focused on both color and shape characteristics of the target objects. Specifically, the model identified that SK and BCC shared a reliance on the background color (base) of the images. SK typically presented with light brown or brown hues, while BCC was characterized by light red or dark red shades. Additionally, surface features such as papules or patches were also key factors in the model&#x2019;s classification. SK generally exhibited black papillomatous hyperplasia on the surface, whereas BCC often showed light-colored, damaged nodular hyperplasia. The smoothness of the skin surface also played a role in the model&#x2019;s predictions, with SK typically having a smoother surface compared to the damaged and rough surface seen in BCC (<xref ref-type="supplementary-material" rid="SF1">
<bold>Supplementary Figure&#xa0;1</bold>
</xref>).</p>
<p>The model&#x2019;s misclassifications were attributed to four primary factors: Color blending: The color of the affected area was altered by surrounding skin or external influences, such as post-scratch erythema or sun exposure, causing a blend of colors. Superficial red coloration due to sunlight exposure might coexist with the brown base of seborrheic dermatitis, leading the model to mistakenly identify the erythema as basal erythema or capillary dilation. Blurry images: Image quality issues, such as blurriness from improper handling or equipment malfunction, affected the model&#x2019;s ability to accurately recognize color and shape, which impacted prediction accuracy. Ensuring high-quality images is therefore crucial for improving the model&#x2019;s performance. Interference from similar colors: The model sometimes struggled to differentiate between lesions that shared similar color features, such as BCC and SK. The close resemblance in color could confuse the model, resulting in mispredictions. Enhancing the model&#x2019;s ability to distinguish these subtle differences will be essential in future training iterations. Small sample-specific features: Certain cases with unique characteristics, such as seborrheic skin with enlarged pores, posed challenges to the model&#x2019;s predictions. Differences in skin smoothness between affected and normal skin could aid the model in making correct predictions, but when these differences were less pronounced, the model struggled (<xref ref-type="supplementary-material" rid="SF2">
<bold>Supplementary Figure&#xa0;2</bold>
</xref>).</p>
</sec>
<sec id="s3_4">
<label>3.4</label>
<title>Comparative analysis with dermatologists and reclassification results</title>
<p>The internal dataset was used for comparative analysis with dermatologists and reclassification results in classifying SK from BCC. Dermatologist 1 achieved an AUC of 0.75 with sensitivity, specificity, PPV and NPV of 0.85, 0.66, 0.94, 0.42, respectively. Dermatologist 2 achieved an AUC of 0.79 with sensitivity, specificity, PPV and NPV of 0.91, 0.66, 0.94, 0.56, respectively. After incorporating the model&#x2019;s prediction results, Dermatologist 1 achieved an AUC of 0.82 with sensitivity, specificity, PPV and NPV of 0.93, 0.72, 0.95, 0.61, respectively. Dermatologist 2 also showed an improved performance, with an AUC of 0.82 with sensitivity, specificity, PPV and NPV of 0.95, 0.69, 0.95, 0.67, respectively.</p>
<p>The NRI and IDI were 0.64 (P = 0.006) and 0.18 (P &lt; 0.001) for Dermatologist 1 with the assistance of the model&#x2019;s prediction results in discrimination between BCC and SK. The NRI and IDI were 0.06 (P = 0.049) and 0.11 (P &lt; 0.001) for Dermatologist 2 with the assistance of the model&#x2019;s prediction results in discrimination between BCC and SK (<xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4</bold>
</xref>). The score achieved by the model and dermatologists is shown in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5</bold>
</xref>.</p>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>Net reclassification improvement (NRI) analysis for the deep learning model&#x2019;s classification of BCC and SK. NRI measures the improvement in diagnostic accuracy with the model&#x2019;s input compared to the initial assessments by dermatologists. Red connections represent patients incorrectly reclassified, while green connections indicate correct reclassifications, with patient numbers specified. <bold>(A)</bold> NRI for Dermatologist 1&#x2019;s classification (left half circle) and reclassification (right half circle) of BCC with model assistance. <bold>(B)</bold> NRI for Dermatologist 1&#x2019;s classification and reclassification of SK with model assistancel. <bold>(C)</bold> NRI for Dermatologist 2&#x2019;s classification and reclassification of BCC. <bold>(D)</bold> NRI for Dermatologist 2&#x2019;s classification and reclassification of SK with model assistance.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fonc-15-1507322-g004.tif"/>
</fig>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>Comparative performance of the deep learning model, dermatologists (with/without deep learning model assistance), and pathologically confirmed cases (reference = 100%) on the external validation dataset. Bar plots display the classification scores for <bold>(A)</bold> BCC and <bold>(B)</bold> SK. Deep learning model assistance improved diagnostic accuracy for both dermatologists, bringing their scores closer to model and confirmed values. Der, dermatologist.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fonc-15-1507322-g005.tif"/>
</fig>
</sec>
</sec>
<sec id="s4" sec-type="discussion">
<label>4</label>
<title>Discussion</title>
<p>This study built and validated the capability of the multimodal pre-trained model CLIP in distinguishing between BCC and SK, achieving high accuracy across both the training, test and validation cohorts. The model&#x2019;s robust performance is reflected in the AUC values, particularly in the test and validation cohorts, underscoring its high discriminative power. Furthermore, the deep learning model demonstrated significant potential in aiding dermatologists in classifying BCC from SK, improving diagnostic performance.</p>
<p>The result of this study is consistent with previous studies that have shown that transformer-based architectures, such as Vision Transformers (ViT), have demonstrated strong potential in medical image classification tasks, including dermatology (<xref ref-type="bibr" rid="B12">12</xref>). These models offer improved global context awareness over traditional CNNs, which is particularly beneficial in recognizing complex visual patterns present in pigmented lesions. Recent studies also demonstrated that transformer based models, when trained on large and diverse datasets, achieve high accuracy in classifying skin cancers (<xref ref-type="bibr" rid="B13">13</xref>). Transformers can outperform CNNs in identifying melanoma, BCC, and other pigmented skin disorders due to their ability to model long-range dependencies and attend to subtle lesion features (<xref ref-type="bibr" rid="B14">14</xref>). Our findings corroborate these studies by showing the deep learning model&#x2019;s capacity to handle the task of distinguishing between BCC and SK with comparably to or exceeded the diagnostic accuracy of experienced dermatologists.</p>
<p>The reclassification analysis provided further evidence of the model&#x2019;s utility. Both the NRI and IDI showed significant improvements, indicating that the model could effectively refine its predictions with additional data or through iterative adjustments (<xref ref-type="bibr" rid="B15">15</xref>). Dermatologist 1 and Dermatologist 2, after being assisted by the model, achieved AUCs of 0.80 and 0.89, respectively, indicating that deep learning models integration can enhance diagnostic capabilities and reduce the subjectivity inherent in human diagnosis. Interestingly, without the help of the deep learning model, dermatologists tended to diagnose ambiguous cases as benign SK. However, after seeing the prompts of the deep learning model, dermatologists tended to revise the previously uncertain cases into malignant BCC. This phenomenon was more significant in the junior dermatologist.</p>
<p>The study also underscores the importance of generalization in deep learning models, which is a critical factor for their clinical application. The ability of our model to maintain high performance across both the training and test cohorts reflects its adaptability. This is further reinforced by its performance in external validation datasets, which confirmed the model&#x2019;s robustness when applied to new data. This generalization ability is vital for clinical applications, especially when preformed on diverse patient populations and image qualities (<xref ref-type="bibr" rid="B16">16</xref>). The consistent performance of the model across different cohorts suggests that the integration of deep learning into dermatological practice could yield significant clinical benefits. Deep learning models, including ours, typically exhibit high sensitivity and specificity, reducing the potential for misdiagnosis (<xref ref-type="bibr" rid="B17">17</xref>, <xref ref-type="bibr" rid="B18">18</xref>).</p>
<p>Additionally, the attention-based mechanisms embedded in the CLIP model provided interpretable results, allowing us to visualize the areas of the images that the model focused on during classification. This feature is not only useful for improving the model&#x2019;s transparency but also assists dermatologists in validating the deep learning models&#x2019; decisions. Similar techniques have been employed in other deep learning models to enhance diagnostic accuracy and interpretability in clinical settings. As a previous study incorporated deep learning models in clinical practice to further improve diagnostic performance (<xref ref-type="bibr" rid="B7">7</xref>).</p>
<p>One major limitation is the skewed gender distribution within the dataset, which may limit the generalizability of our findings across more diverse populations. Expanding the dataset to include a broader demographic and geographic range will be important for enhancing the model&#x2019;s robustness. In addition, variations in image acquisition protocols, device resolutions, and population demographics across institutions may influence the performance of deep learning models. Future studies should incorporate with detailed information on imaging devices to better understand and mitigate these effects. Moreover, integrating multi-modal data, such as patients&#x2019; clinical histories or histopathological information, could further improve the model&#x2019;s diagnostic performance (<xref ref-type="bibr" rid="B9">9</xref>). Furthermore, to guarantee the model&#x2019;s practical utility and its tangible effects in real-world scenarios, it is crucial to validate it across a range of clinical environments that have different levels of institutional resources.</p>
</sec>
<sec id="s5" sec-type="conclusions">
<label>5</label>
<title>Conclusion</title>
<p>In conclusion, this study demonstrates that the CLIP-based deep learning model can significantly enhance the diagnostic capabilities of dermatologists when distinguishing between BCC and SK.</p>
</sec>
</body>
<back>
<sec id="s6" sec-type="data-availability">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7" sec-type="ethics-statement">
<title>Ethics statement</title>
<p>The studies involving humans were approved by Institutional Review Board of Jinshan Hospital (JIEC 2023-S85). The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.</p>
</sec>
<sec id="s8" sec-type="author-contributions">
<title>Author contributions</title>
<p>L-HM: Writing &#x2013; original draft, Data curation. M-KC: Writing &#x2013; original draft, Data curation. JL: Writing &#x2013; original draft, Data curation. X-GY: Writing &#x2013; original draft, Data curation. X-DL: Writing &#x2013; review &amp; editing. GY: Writing &#x2013; review &amp; editing, Supervision.</p>
</sec>
<sec id="s9" sec-type="funding-information">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research and/or publication of this article.</p>
</sec>
<sec id="s10" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s11" sec-type="ai-statement">
<title>Generative AI statement</title>
<p>The author(s) declare that no Generative AI was used in the creation of this manuscript.</p>
</sec>
<sec id="s12" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s13" sec-type="supplementary-material">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fonc.2025.1507322/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fonc.2025.1507322/full#supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Image1.tiff" id="SF1" mimetype="image/tiff">
<label>Supplementary Figure&#xa0;1</label>
<caption>
<p>The results revealed that the model primarily relied on color features to classify sample categories. When making correct predictions, the model often focused on both color and shape characteristics of the target objects. Specifically, the model identified that SK and BCC shared a reliance on the background color (base) of the images. SK typically presented with light brown or brown hues, while BCC was characterized by light red or dark red shades. Additionally, surface features such as papules or patches were also key factors in the model&#x2019;s classification. SK generally exhibited black papillomatous hyperplasia on the surface, whereas BCC often showed light-colored, damaged nodular hyperplasia. The smoothness of the skin surface also played a role in the model&#x2019;s predictions, with SK typically having a smoother surface compared to the damaged and rough surface seen in BCC.</p>
</caption>
</supplementary-material>
<supplementary-material xlink:href="Image2.tiff" id="SF2" mimetype="image/tiff">
<label>Supplementary Figure&#xa0;2</label>
<caption>
<p>These insights underscore the importance of addressing factors such as color blending, image quality, and feature similarity in future model training to improve its prediction accuracy and robustness.</p>
</caption>
</supplementary-material>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wong</surname> <given-names>CS</given-names>
</name>
<name>
<surname>Strange</surname> <given-names>RC</given-names>
</name>
<name>
<surname>Lear</surname> <given-names>JT</given-names>
</name>
</person-group>. <article-title>Basal cell carcinoma</article-title>. <source>BMJ</source>. (<year>2003</year>) <volume>327</volume>:<page-range>794&#x2013;8</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1136/bmj.327.7418.794</pub-id>
</citation>
</ref>
<ref id="B2">
<label>2</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hafner</surname> <given-names>C</given-names>
</name>
<name>
<surname>Vogt</surname> <given-names>T</given-names>
</name>
</person-group>. <article-title>Seborrheic keratosis</article-title>. <source>J Dtsch Dermatol Ges</source>. (<year>2008</year>) <volume>6</volume>:<page-range>664&#x2013;77</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/j.1610-0387.2008.06788.x</pub-id>
</citation>
</ref>
<ref id="B3">
<label>3</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Karampinis</surname> <given-names>E</given-names>
</name>
<name>
<surname>Georgopoulou</surname> <given-names>KE</given-names>
</name>
<name>
<surname>Kampra</surname> <given-names>E</given-names>
</name>
<name>
<surname>Zafiriou</surname> <given-names>E</given-names>
</name>
<name>
<surname>Lallas</surname> <given-names>A</given-names>
</name>
<name>
<surname>Lazaridou</surname> <given-names>E</given-names>
</name>
<etal/>
</person-group>. <article-title>Clinical and dermoscopic patterns of basal cell carcinoma and its mimickers in skin of color: A practical summary</article-title>. <source>Medicina (Kaunas)</source>. (<year>2024</year>) <volume>60</volume>:<elocation-id>1386</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/medicina60091386</pub-id>
</citation>
</ref>
<ref id="B4">
<label>4</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>G&#xfc;rsel &#xdc;r&#xfc;n</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Fi&#xe7;icio&#x11f;lu</surname> <given-names>S</given-names>
</name>
<name>
<surname>&#xdc;r&#xfc;n</surname> <given-names>M</given-names>
</name>
<name>
<surname>Can</surname> <given-names>N</given-names>
</name>
</person-group>. <article-title>Clinical, dermoscopic and histopathological evaluation of basal cell carcinoma</article-title>. <source>Dermatol Pract Concept</source>. (<year>2023</year>) <volume>13</volume>:<elocation-id>e2023004</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.5826/dpc.1301a4</pub-id>
</citation>
</ref>
<ref id="B5">
<label>5</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Esteva</surname> <given-names>A</given-names>
</name>
<name>
<surname>Kuprel</surname> <given-names>B</given-names>
</name>
<name>
<surname>Novoa</surname> <given-names>RA</given-names>
</name>
<name>
<surname>Ko</surname> <given-names>J</given-names>
</name>
<name>
<surname>Swetter</surname> <given-names>SM</given-names>
</name>
<name>
<surname>Blau</surname> <given-names>HM</given-names>
</name>
<etal/>
</person-group>. <article-title>Dermatologist-level classification of skin cancer with deep neural networks</article-title>. <source>Nature</source>. (<year>2017</year>) <volume>542</volume>:<page-range>115&#x2013;8</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/nature21056</pub-id>
</citation>
</ref>
<ref id="B6">
<label>6</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Haenssle</surname> <given-names>HA</given-names>
</name>
<name>
<surname>Fink</surname> <given-names>C</given-names>
</name>
<name>
<surname>Schneiderbauer</surname> <given-names>R</given-names>
</name>
<name>
<surname>Toberer</surname> <given-names>F</given-names>
</name>
<name>
<surname>Buhl</surname> <given-names>T</given-names>
</name>
<name>
<surname>Blum</surname> <given-names>A</given-names>
</name>
<etal/>
</person-group>. <article-title>Man against machine: diagnostic performance of a deep learning convolutional neural network for dermoscopic melanoma recognition in comparison to 58 dermatologists</article-title>. <source>Ann Oncol</source>. (<year>2018</year>) <volume>29</volume>:<page-range>1836&#x2013;42</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1093/annonc/mdy166</pub-id>
</citation>
</ref>
<ref id="B7">
<label>7</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tschandl</surname> <given-names>P</given-names>
</name>
<name>
<surname>Rinner</surname> <given-names>C</given-names>
</name>
<name>
<surname>Apalla</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Argenziano</surname> <given-names>G</given-names>
</name>
<name>
<surname>Codella</surname> <given-names>N</given-names>
</name>
<name>
<surname>Halpern</surname> <given-names>A</given-names>
</name>
<etal/>
</person-group>. <article-title>Human-computer collaboration for skin cancer recognition</article-title>. <source>Nat Med</source>. (<year>2020</year>) <volume>26</volume>:<page-range>1229&#x2013;34</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41591-020-0942-0</pub-id>
</citation>
</ref>
<ref id="B8">
<label>8</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname> <given-names>K</given-names>
</name>
<name>
<surname>He</surname> <given-names>X</given-names>
</name>
<name>
<surname>Jin</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>L</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>X</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>Z</given-names>
</name>
<etal/>
</person-group>. <article-title>Assistant diagnosis of basal cell carcinoma and seborrheic keratosis in chinese population using convolutional neural network</article-title>. <source>J Healthc Eng</source>. (<year>2020</year>) <volume>2020</volume>:<elocation-id>1713904</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1155/2020/1713904</pub-id>
</citation>
</ref>
<ref id="B9">
<label>9</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hentschel</surname> <given-names>S</given-names>
</name>
<name>
<surname>Kobs</surname> <given-names>K</given-names>
</name>
<name>
<surname>Hotho</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>CLIP knows image aesthetics</article-title>. <source>Front Artif Intell</source>. (<year>2022</year>) <volume>5</volume>:<elocation-id>976235</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/frai.2022.976235</pub-id>
</citation>
</ref>
<ref id="B10">
<label>10</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hong</surname> <given-names>S</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>J</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>L</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>W</given-names>
</name>
</person-group>. <article-title>Brain tumor classification in VIT-B/16 based on relative position encoding and residual MLP</article-title>. <source>PloS One</source>. (<year>2024</year>) <volume>19</volume>:<elocation-id>e0298102</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1371/journal.pone.0298102</pub-id>
</citation>
</ref>
<ref id="B11">
<label>11</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tian</surname> <given-names>Q</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>M</given-names>
</name>
</person-group>. <article-title>Enhancing visual-language prompt tuning through sparse knowledge-guided context optimization</article-title>. <source>Entropy (Basel)</source>. (<year>2025</year>) <volume>27</volume>:<elocation-id>301</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/e27030301</pub-id>
</citation>
</ref>
<ref id="B12">
<label>12</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Hu</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Li</surname> <given-names>K</given-names>
</name>
<name>
<surname>Pan</surname> <given-names>X</given-names>
</name>
<name>
<surname>Mo</surname> <given-names>X</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>H</given-names>
</name>
</person-group>. <article-title>Exploring the influence of transformer-based multimodal modeling on clinicians' diagnosis of skin diseases: A quantitative analysis</article-title>. <source>Digit Health</source>. (<year>2024</year>) <volume>10</volume>:<elocation-id>20552076241257087</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/20552076241257087</pub-id>
</citation>
</ref>
<ref id="B13">
<label>13</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Khan</surname> <given-names>S</given-names>
</name>
<name>
<surname>Khan</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>SkinViT: A transformer based method for Melanoma and Nonmelanoma classification</article-title>. <source>PloS One</source>. (<year>2023</year>) <volume>18</volume>:<elocation-id>e0295151</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1371/journal.pone.0295151</pub-id>
</citation>
</ref>
<ref id="B14">
<label>14</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Karampinis</surname> <given-names>E</given-names>
</name>
<name>
<surname>Toli</surname> <given-names>O</given-names>
</name>
<name>
<surname>Georgopoulou</surname> <given-names>KE</given-names>
</name>
<name>
<surname>Kampra</surname> <given-names>E</given-names>
</name>
<name>
<surname>Spyridonidou</surname> <given-names>C</given-names>
</name>
<name>
<surname>Roussaki Schulze</surname> <given-names>AV</given-names>
</name>
<etal/>
</person-group>. <article-title>Can artificial intelligence "Hold" a dermoscope?-the evaluation of an artificial intelligence chatbot to translate the dermoscopic language</article-title>. <source>Diagnostics (Basel)</source>. (<year>2024</year>) <volume>14</volume>:<elocation-id>1165</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/diagnostics14111165</pub-id>
</citation>
</ref>
<ref id="B15">
<label>15</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aractingi</surname> <given-names>S</given-names>
</name>
<name>
<surname>Pellacani</surname> <given-names>G</given-names>
</name>
</person-group>. <article-title>Computational neural network in melanocytic lesions diagnosis: artificial intelligence to improve diagnosis in dermatology</article-title>? <source>Eur J Dermatol</source>. (<year>2019</year>) <volume>29</volume>:<fpage>4</fpage>&#x2013;<lpage>7</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1684/ejd.2019.3538</pub-id>
</citation>
</ref>
<ref id="B16">
<label>16</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname> <given-names>L</given-names>
</name>
<name>
<surname>Li</surname> <given-names>J</given-names>
</name>
<name>
<surname>Zou</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>T</given-names>
</name>
</person-group>. <article-title>ETU-Net: edge enhancement-guided U-Net with transformer for skin lesion segmentation</article-title>. <source>Phys Med Biol</source>. (<year>2023</year>) <volume>69</volume>:<fpage>015001</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1088/1361-6560/ad13d2</pub-id>
</citation>
</ref>
<ref id="B17">
<label>17</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rezk</surname> <given-names>E</given-names>
</name>
<name>
<surname>Eltorki</surname> <given-names>M</given-names>
</name>
<name>
<surname>El-Dakhakhni</surname> <given-names>W</given-names>
</name>
</person-group>. <article-title>Improving skin color diversity in cancer detection: deep learning approach</article-title>. <source>JMIR Dermatol</source>. (<year>2022</year>) <volume>5</volume>:<elocation-id>e39143</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.2196/39143</pub-id>
</citation>
</ref>
<ref id="B18">
<label>18</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Barata</surname> <given-names>C</given-names>
</name>
<name>
<surname>Rotemberg</surname> <given-names>V</given-names>
</name>
<name>
<surname>Codella</surname> <given-names>NCF</given-names>
</name>
<name>
<surname>Tschandl</surname> <given-names>P</given-names>
</name>
<name>
<surname>Rinner</surname> <given-names>C</given-names>
</name>
<name>
<surname>Akay</surname> <given-names>BN</given-names>
</name>
<etal/>
</person-group>. <article-title>A reinforcement learning model for AI-based decision support in skin cancer</article-title>. <source>Nat Med</source>. (<year>2023</year>) <volume>29</volume>:<page-range>1941&#x2013;6</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41591-023-02475-5</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>