Skip to main content
Dermatopathology logoLink to Dermatopathology
. 2021 Sep 1;8(3):418–425. doi: 10.3390/dermatopathology8030044

Artificial Intelligence in Dermatopathology: New Insights and Perspectives

Gerardo Cazzato 1,*, Anna Colagrande 1, Antonietta Cimmino 1, Francesca Arezzo 2, Vera Loizzi 2, Concetta Caporusso 1, Marco Marangio 3, Caterina Foti 4, Paolo Romita 4, Lucia Lospalluti 4, Francesco Mazzotta 5, Sebastiano Cicco 6, Gennaro Cormio 2, Teresa Lettini 1, Leonardo Resta 1, Angelo Vacca 6, Giuseppe Ingravallo 1,*
Editor: Gürkan Kaya
PMCID: PMC8482082  PMID: 34563035

Abstract

In recent years, an increasing enthusiasm has been observed towards artificial intelligence and machine learning, involving different areas of medicine. Among these, although still in the embryonic stage, the dermatopathological field has also been partially involved, with the attempt to develop and train algorithms that could assist the pathologist in the differential diagnosis of complex melanocytic lesions. In this article, we face this new challenge of the modern era, carry out a review of the literature regarding the state of the art and try to determine promising future perspectives.

Keywords: AI, machine learning, dermatopathology, skin, future

1. Introduction

In the last two decades, an unprecedented development of information technologies associated with a considerable increase in memory units has allowed giant strides to be made in the futuristic field of artificial intelligence (AI). Although this is the prerogative of the informatics and technological branches, the use of software and new technologies has spread to many different fields of medicine, indeed to practically all branches, including pathological anatomy and, therefore, also the subbranch of dermatopathology [1,2]. For skin diseases that are more easily diagnosed like basal cell carcinoma (BCC), seborrheic keratosis (SK) and dermal nevus, excellent concordance results have been obtained for the first and embryonic convolutional neural networks (CNN). Instead, as was predictable, the difficulty in diagnosing ambiguous lesions, such as Spitz nevi and rare variants of malignant melanoma, together with the lack of interobserver agreement among dermatopathologists, has led to an objective difficulty in training artificial intelligence algorithms as well as those based on machine learning (ML) to a totally reliable, reportable and repeatable level [3,4]. In this review, we address the most recent issues in relation to the application of AI and ML in dermatopathology, discuss the advantages and limitations of the technologies present to date and consider future prospects.

2. Materials and Methods

A systematic review was conducted following the Preferred Reporting Items for Systematic Reviews and Meta-Analyses (PRISMA) guidelines. A search of the PubMed, Medline and Web of Science (WoS) databases was performed until 17 July 2021 using the terms “artificial intelligence” OR “machine learning” OR “digital pathology” in combination with “dermatopathology” OR “skin pathology” OR “digital skin pathology”. Only articles in English were selected.

An independent extraction of articles was performed by two investigators according to the inclusion criteria. Disagreement was resolved by discussion between the two review authors.

3. Results

In total, 28 records were initially identified in the literature search, of which five were related only to the application of AI to clinical dermatology. After screening for eligibility and inclusion criteria, 22 publications were ultimately included (Figure 1). The study and clinical characteristics are summarized in Table 1. The majority of the publications were observational prospective studies (n = 17).

Figure 1.

Figure 1

Literature search and article selection.

Table 1.

Other studies present in the literature besides those analyzed in the Discussion section of this work.

Authors Years Type of AI Results Strengths Limits
Potter et al. [16] 1987 Interactive computer
program
Concordance, 91.8%
Disagreement, 4.8%
Concordance and possibility of integration with patient clinical data Disagreement and little memory space
Crowlet R. et al. [17] 2003 Traditional
intelligent
tutoring system
Possibility of learning rather easily Positive feedback Clear prototypical schemes are indispensable
Joset Feit et al. [18] 2005 Hypertext atlas of dermatopathology A collection of about 3200 dermatopathological images Continuous updating /
Payne et al. [19] 2009 Intelligent
tutoring system
Tutoring made it possible to implement the training of learners Ability to learn from mistakes Greater difficulties in tutoring related to superficial
perivascular dermatitis
Olsen et al. [20] 2018 Deep learning algorithms The artificial intelligence system accurately classified 123/124 (99.45%) BCCs (nodular), 113/114 (99.4%) dermal nevi and 123/123 (100%) seborrheic keratoses Concordance Difficulty in presenting artifacts, poor coloring

4. Discussion

Artificial intelligence applied to pathological anatomy [5] has attracted a particular interest from pathologists and, in more detail, also from dermatopathologists. Increasing attention is being paid to the applications of AI and ML in the diagnosis of simple or more complex skin lesions, and the training of AI algorithms is gathering increasing feedback from the scientific community [4,5,6,7]. In a recent paper by Sam Polesie et al. [8], an attempt was made to understand the degree of perception, attitude and knowledge of AI in general and then as applied to dermatology and dermatopathology. An anonymous, voluntary online survey was prepared and distributed to pathologists who regularly analyze dermatopathology slides/images. The survey consisted of 39 questions divided into five sections: (1) AI as a topic in pathology, (2) previous exposure to AI as a topic in general, (3) applications of AI in dermatopathology, (4) feelings and attitudes towards AI and (5) knowledge of technologies and self-reported demographics. In total, 718 people from 91 countries responded to this survey (64.1% of them women). While 81.5% of the respondents were aware of AI as an emerging topic in pathology, only 18.8% had a good or excellent knowledge of AI. In terms of diagnosis classifications, 42.6% saw a strong or very strong potential for automatic suggestion of the possible skin cancer diagnosis. The corresponding figure for inflammatory skin diseases was 23.0%. For specific applications, the highest potential was considered to be for automatic detection of mitosis (79.2%) and tumor margins (62.1%) and for the evaluation of immunostaining (62.7%). The potential for automatic suggestion of immunostaining (37.6%) and genetic panels (48.3%) was seen as lower. This study highlighted that respondent age did not affect the general attitude towards AI. Only 6.0% of the respondents agreed or firmly agreed that human pathologists will be replaced by AI in the near future. Among the whole group, 72.3% agreed or firmly agreed that AI will improve dermatopathology and 84.1% think AI should be part of medical education. All this demonstrates profound recent changes in the very perception of AI and ML and that an increasing number of applications of these is occurring in various medical fields. For example, in some studies [9,10], artificial intelligence algorithms match or outperform doctors in disease detection related to medical imaging. Additionally, the use of AI has been facilitated by the availability of affordable high-speed Internet, new computing power and secure cloud storage to manage and share datasets. Therefore, it has been possible to make these algorithms scalable on multiple devices, platforms and operating systems, transforming them into modern medical tools [11]. The paper by Esteva et al. [12] applied a deep learning algorithm to a combined skin dataset of 129,450 clinical and dermoscopic images consisting of 2032 different skin lesions. They compared the performance of a deep learning method with that of 21 board-certified dermatologists for the classification and differentiation of carcinomas versus benign seborrheic keratoses and of melanomas versus benign nevi. The AI performance was shown to be on a par with the dermatologists’ performance for skin cancer classification. Deep learning solutions have been successful in the field of digital pathology with whole-slide imaging (WSI). Examples of histopathological images of skin lesions are shown in Figure 2.

Figure 2.

Figure 2

Figure 2

Examples of images of lesions used in various studies in the literature. (A) Basal cell carcinoma, superficial variant (hematoxylin–eosin, original magnification: 4×). (B) Seborrheic keratosis, hyperkeratotic variant (hematoxylin–eosin, original magnification: 10×). (C) Squamous cell carcinoma (hematoxylin–eosin, original magnification: 20×). (D) Intradermic nevus (hematoxylin–eosin, original magnification: 10×). (E) Amelanotic malignant melanoma (hematoxylin–eosin, original magnification: 20×).

Hekler et al. [13] analyzed 695 lesions previously classified by an expert histopathologist according to the guidelines (of which 350 were nevi and 345 were melanomas). Hematoxylin and eosin (H&E)-stained slides of these lesions were scanned using a slide scanner and then randomly cut out; 595 of the resulting images were used to train a convolutional neural network. The additional 100 sections of H&E images were used to test the CNN results against the original class labels. The authors reported a discrepancy with the histopathologist of 18% for melanoma (95% confidence interval (CI): 7.4–28.6%), 20% for nevi (95% CI: 8.9–31.1%) and 19% for the full set of images (95% CI: 11.3–26.7%). These data were held to show that even in the worst case, the CNN mismatch was more or less the same as the mismatch among human pathologists reported in the literature. In addition, despite the greatly reduced amount of data, time required for diagnosis and costs compared to the pathologist, CNNs had a comparable archive performance. Therefore, it was concluded that CNNs can offer a valid diagnostic assistance tool in the hands of a dermatopathologist.

Jiang et al. [14] aimed to develop deep neural network structures for accurate BCC recognition and segmentation based on microscopic ocular images (MOI) acquired by smartphones. To do this, they collected a total of 8046 MOIs, 6610 of which had binary classification labels, while the other 1436 had pixel-by-pixel annotations. Meanwhile, 128 WSIs were collected for comparison. Two deep learning frameworks were created. The “waterfall” framework had a classification model for identifying difficult cases (images with low prediction confidence) and a segmentation model for further in-depth analysis of difficult cases. The “segmentation” framework directly segmented and categorized all images. These authors developed two deep learning frameworks for the recognition of BCCs featuring high sensitivity and specificity, thus inaugurating a valid way to implement their use in clinical diagnosis of images acquired by smartphones.

Cruz-Roa et al. [15] used a deep learning architecture to discriminate between BCC and normal tissue models in 1417 images from 308 regions of interest (ROIs) of skin histopathology images. They compared the deep learning method to traditional machine learning with feature descriptors, including feature pack, canonical and Haar wavelet transformation. The deep learning architecture proved superior to traditional approaches, reaching 89.4% in F-measure and 91.4% in balanced accuracy.

Table 1 summarizes other studies present in the literature and not mentioned in the review.

Peizhen et al. [21] built a multicenter database of 2241 digital images of whole slides of 1321 patients from 2008 to 2018. They trained both ResNet50 and Vgg19 using over 9.95 million patches by transferring learning and test performance using two types of critical classifications: melanoma malignant versus benign nevi in separate and mixed magnification, and distinguishing nevi at maximum magnification. CNNs achieved a superior performance in both activities, demonstrating that artificial intelligence is capable of classifying skin cancer in histopathological image analysis. To make the classifications reasonable, the visualization of CNN representations was also used to identify cells between melanoma and nevi. Regions of interest (ROIs) were also localized, which was significantly useful, offering pathologists greater support for the correct diagnosis. Although the development of ML-based AI is spreading in dermatopathology, we are still quite far from its application in clinical routine because, even when compared to the algorithms applied in dermoscopy, there is less sensitivity and specificity and hence less accuracy. More specifically, some histological lesions closely mimic other types of neoplasms, such as skin adnexal lesions, which can require differential diagnosis with BCC, SCC, KS or melanoma [13]. Furthermore, despite rather promising values, these algorithms are not able to diagnose a malignant lesion (for example, melanoma) in all cases, thus making their use unacceptable without human control [13,14,15,20,21,22,23].

5. Conclusions

New technologies are making possible what was considered futuristic only a few years ago. AI and ML as machine learning models have shown that they can learn from their mistakes, self-correct and thus be able to provide valid support to dermatopathologists. We have not reached such levels as to allow a complete “replacement” of pathologists, but they can provide a good aid in histopathological diagnosis. On the other hand, the dermatopathological diagnosis consists of a whole corollary of clinical information, such as the age of the patient, topography of the lesion, dermoscopic characteristics, color variations, ulceration, that a neural network is not able to take into account, being based fundamentally on image discrimination. It is also important to underline how much dermatopathology is a terrain of diagnostic debate among the pathologists themselves and how much the atypical lesions that are not easily framed in defined criteria (such as particular forms of Spitz nevi, atypical nevi / Spitz tumors, melanocytic proliferations of uncertain clinical significance such as SAMPUS and MELTUMP and variants of melanoma such as Spitzoid melanoma) are far from finding agreement in “real life”, affecting all this, even in the difficulty in being able to train a convolutional neural network in certain recognition of an entity. Finally, we must not overlook the fact that any artificial intelligence algorithm is trained by a “human being” and, therefore, will always suffer from “involvement” on the part of the pathologist.

This confirms the need for new studies and discoveries in areas that have not yet been sufficiently explored, such as dermatopathological diagnosis served by AI.

Author Contributions

Conceptualization, G.C. (Gerardo Cazzato) and A.C. (Antonietta Cimmino); methodology, A.C. (Anna Colagrande); software, T.L.; validation, G.C. (Gerardo Cazzato), S.C. and A.V.; formal analysis, L.R.; investigation, G.I.; resources, F.A.; data curation, C.C.; writing—original draft preparation, G.C. (Gerardo Cazzato), M.M., V.L. and G.C. (Gennaro Cormio); writing—review and editing, C.F., P.R., G.C. (Gerardo Cazzato) and L.L.; visualization, F.M.; supervision, G.C. (Gerardo Cazzato); project administration, G.C. (Gerardo Cazzato) All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Tizhoosh H.R., Pantanowitz L. Artificial Intelligence and Digital Pathology: Challenges and Opportunities. J. Pathol. Inform. 2018;14:38. doi: 10.4103/jpi.jpi_53_18. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Litjens G., Kooi T., Bejnordi B.E., Setio A.A.A., Ciompi F., Ghafoorian M., van der Laak J.A.W.M., van Ginneken B., Sánchez C.I. A survey on deep learning in medical image analysis. Med. Image Anal. 2017;42:60–88. doi: 10.1016/j.media.2017.07.005. [DOI] [PubMed] [Google Scholar]
  • 3.Wells A., Patel S., Lee J.B., Motaparthi K. Artificial intelligence in dermatopathology: Diagnosis, education, and research. J. Cutan. Pathol. 2021;48:1061–1068. doi: 10.1111/cup.13954. [DOI] [PubMed] [Google Scholar]
  • 4.Bauer T.W., Schoenfield L., Slaw R.J., Yerian L., Sun Z., Henricks W.H. Validation of whole slide imaging for primary diagnosis in surgical pathology. Arch. Pathol. Lab. Med. 2013;137:518–524. doi: 10.5858/arpa.2011-0678-OA. [DOI] [PubMed] [Google Scholar]
  • 5.Venerito V., Angelini O., Cazzato G., Lopalco G., Maiorano E., Cimmino A., Iannone F. A convolutional neural network with transfer learning for automatic discrimination between low and high-grade synovitis: A pilot study. Intern Emerg. Med. 2021;16:1457–1465. doi: 10.1007/s11739-020-02583-x. [DOI] [PubMed] [Google Scholar]
  • 6.Cazzato G., Colagrande A., Cimmino A., Liguori G., Lettini T., Serio G., Ingravallo G., Marzullo A. Atypical Fibroxanthoma-Like Amelanotic Melanoma: A Diagnostic Challenge. Dermatopathology. 2021;12:4. doi: 10.3390/dermatopathology8010004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Onega T., Reisch L.M., Frederick P.D., Geller B.M., Nelson H.D., Lott J.P., Radick A.C., Elder D.E., Barnhill R.L., Piepkorn M.W., et al. Use of digital whole slide imaging in dermatopathology. J. Digit. Imaging. 2016;29:243–253. doi: 10.1007/s10278-015-9836-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Polesie S., McKee P.H., Gardner J.M., Gillstedt M., Siarov J., Neittaanmäki N., Paoli J. Attitudes Toward Artificial Intelligence Within Dermatopathology: An International Online Survey. Front. Med. 2020;20:591952. doi: 10.3389/fmed.2020.591952. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Liu X., Faes L., Kale A.U., Wagner S.K., Fu D.J., Bruynseels A., Mahendiran T., Moraes G., Shamdas M., Kern C., et al. A comparison of deep learning performance against health-care professionals in detecting diseases from medical imaging: A systematic review and meta-analysis. Lancet Digit. Health. 2019;1:e271–e297. doi: 10.1016/S2589-7500(19)30123-2. [DOI] [PubMed] [Google Scholar]
  • 10.Esteva A., Kuprel B., Novoa N.A., Ko J., Swetter S.M., Blau H.M., Thrun S. Dermatologist-level classification of skin cancer with deep neural networks. Nature. 2017;542:115–118. doi: 10.1038/nature21056. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Bengio Y., Goodfellow I., Courville A. Deep Learning. MIT Press; Cambridge, MA, USA: 2016. [Google Scholar]
  • 12.Gomolin A., Netchiporouk E., Gniadecki R., Litvinov I.V. Artificial Intelligence Applications in Dermatology: Where Do We Stand? Front. Med. (Lausanne) 2020;31:100. doi: 10.3389/fmed.2020.00100. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Hekler A., Utikal J.S., Enk A.H., Berking C., Klode J., Schadendorf D., Jansen P., Franklin C., Holland-Letz T., Krahl D., et al. Pathologist-level classification of histopathological melanoma images with deep neural networks. Eur. J. Cancer. 2019;115:79–83. doi: 10.1016/j.ejca.2019.04.021. [DOI] [PubMed] [Google Scholar]
  • 14.Jiang Y.Q., Xiong J.H., Li H.Y., Yang X.H., Yu W.T., Gao M., Zhao X., Ma Y.P., Zhang W., Guan Y.F., et al. Recognizing basal cell carcinoma on smartphone-captured digital histopathology images with a deep neural network. Br. J. Dermatol. 2020;182:754–762. doi: 10.1111/bjd.18026. [DOI] [PubMed] [Google Scholar]
  • 15.Cruz-Roa A.A., Arevalo Ovalle J.E., Madabhushi A., González Osorio F.A. A deep learning architecture for image representation, visual interpretability and automated basal-cell carcinoma cancer detection. Med. Image Comput. Comput. Assist Interv. 2013;16:403–410. doi: 10.1007/978-3-642-40763-5_50. [DOI] [PubMed] [Google Scholar]
  • 16.Potter B., Ronan S.G. Computerized dermatopathologic diagnosis. J. Am. Acad. Dermatol. 1987;17:119–131. doi: 10.1016/S0190-9622(87)70183-2. [DOI] [PubMed] [Google Scholar]
  • 17.Crowley R.S., Medvedeva O. A general architecture for intelligent tutoring of diagnostic classification problem solving. AMIA Annu. Symp. Proc. 2003;2003:185–189. [PMC free article] [PubMed] [Google Scholar]
  • 18.Feit J., Kempf W., Jedlicková H., Burg G. Hypertext atlas of dermatopathology with expert system for epithelial tumors of the skin. J. Cutan. Pathol. 2005;32:433–437. doi: 10.1111/j.0303-6987.2005.00291.x. [DOI] [PubMed] [Google Scholar]
  • 19.Payne V.L., Medvedeva O., Legowski E., Castine M., Tseytlin E., Jukic D., Crowley R.S. Effect of a limited-enforcement intelligent tutoring system in dermatopathology on student errors, goals and solution paths. Artif. Intell. Med. 2009;47:175–197. doi: 10.1016/j.artmed.2009.07.002. [DOI] [PubMed] [Google Scholar]
  • 20.Olsen T.G., Jackson B.H., Feeser T.A., Kent M.N., Moad J.C., Krishnamurthy S., Lunsford D.D., Soans R.E. Diagnostic Performance of Deep Learning Algorithms Applied to Three Common Diagnoses in Dermatopathology. J. Pathol. Inform. 2018;27:32. doi: 10.4103/jpi.jpi_31_18. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Peizhen I., Xie K., Zuo Y., Zhang F., Li M., Yin K. Interpretable Classification from Skin Cancer Histology Slides Using Deep Learning: A Retrospective Multicenter Study. arXiv. 20191904.06156 [Google Scholar]
  • 22.Goyal M., Knackstedt T., Yan S., Hassanpour S. Artificial intelligence-based image classification methods for diagnosis of skin cancer: Challenges and opportunities. Comput. Biol. Med. 2020;127:104065. doi: 10.1016/j.compbiomed.2020.104065. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Cives M., Mannavola F., Lospalluti L., Sergi M.C., Cazzato G., Filoni E., Cavallo F., Giudice G., Stucci L.S., Porta C., et al. Non-Melanoma Skin Cancers: Biological and Clinical Features. Int. J. Mol. Sci. 2020;21:5394. doi: 10.3390/ijms21155394. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Dermatopathology are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES