<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>Deep learning as a tool for increased accuracy and efficiency of histopathological diagnosis.</title>
        <author>Geert Litjens</author>
        <author>Clara I. Sánchez</author>
        <author>Nadya Timofeeva</author>
        <author>Meyke Hermsen</author>
        <author>Iris Nagtegaal</author>
        <author>Iringo Kovacs</author>
        <author>Christina Hulsbergen - van de Kaa</author>
        <author>Peter Bult</author>
        <author>Bram van Ginneken</author>
        <author>Jeroen van der Laak</author>
      </titleStmt>
      <publicationStmt>
        <p>Tag layer of the DHSS Meta-Tagging Project. The article text is reproduced from the
           staged copy named in sourceDesc and is not altered; the tags are held separately in
           standOff so that overlapping and nested spans are preserved.</p>
      </publicationStmt>
      <sourceDesc>
        <bibl>
          <title>Deep learning as a tool for increased accuracy and efficiency of histopathological diagnosis.</title>
          <date>2016</date>
          <publisher>Scientific Reports</publisher>
          <idno type="DOI">10.1038/srep26286</idno>
          
          <idno type="record">litjens2016-deep-learning-histopathology</idno>
          <note type="staged-file">litjens2016-deep-learning-histopathology.txt, the project's staged copy</note>
          <note type="text-sha1">a1b90b0cc9980449d0908041c9d7f8782e7f7e76</note>
          <note type="rights">cc-by</note>
        </bibl>
      </sourceDesc>
    </fileDesc>
    <profileDesc>
      <textClass><keywords><term>computer-science</term></keywords></textClass>
      <particDesc>
        <person xml:id="paper"><p>the paper's own words</p></person>
        <person xml:id="tagger"><p>the tag layer; a sentence written by the tagger about the
          paper, always anchored to a quotation but not itself a quotation</p></person>
      </particDesc>
    </profileDesc>
    <revisionDesc>
      <change when="2026-10-06"
              who="build_paper_edition.py">57 spans located by searching the stored text for the quote's exact words, allowing any whitespace between them</change>
    </revisionDesc>
  </teiHeader>
  <standOff>
    <spanGrp type="tags">
      <span xml:id="t0" from="#a13" to="#a14" type="object_of_study" ana="#object_of_study" resp="#paper">convolutional neural networks applied to whole-slide histopathology images</span>
      <span xml:id="t1" from="#a13" to="#a14" type="research_question" ana="#research_question" resp="#paper">whether CNNs can improve the efficiency of cancer diagnosis in H&amp;E whole-slide images</span>
      <span xml:id="t2" from="#a3" to="#a4" type="contribution" ana="#contribution" resp="#paper">CNN cancer likelihood maps that exclude 30-44% of negative slides without missing positives</span>
      <span xml:id="t3" from="#a1" to="#a2" type="claim_type" ana="#claim_type" resp="#paper">method</span>
      <span xml:id="t4" from="#a39" to="#a40" type="phenomenon" ana="#phenomenon" resp="#paper">automatic exclusion of tumour-negative slides by deep learning</span>
      <span xml:id="t5" from="#a21" to="#a22" type="method" ana="#method" resp="#paper">experiment<term>experiment</term></span>
      <span xml:id="t6" from="#a11" to="#a12" type="mechanisms" ana="#mechanisms[0]" resp="#tagger" cert="0.8">The networks learn relevant features directly from large image databases.<term>learned features</term></span>
      <span xml:id="t7" from="#a45" to="#a46" type="mechanisms" ana="#mechanisms[1]" resp="#tagger" cert="0.8">Rotation and flipping of patches keep the network from learning rotation-dependent features.<term>data augmentation</term></span>
      <span xml:id="t8" from="#a43" to="#a44" type="limitations" ana="#limitations[0]" resp="#tagger" cert="0.9">Data come from a single center.</span>
      <span xml:id="t9" from="#a41" to="#a42" type="limitations" ana="#limitations[1]" resp="#tagger" cert="0.85">False positives occur at tissue boundaries from tearing and deformation.</span>
      <span xml:id="t10" from="#a33" to="#a34" type="limitations" ana="#limitations[2]" resp="#tagger" cert="0.85">Including isolated tumor cells drops performance to 0.74 AUC.</span>
      <span xml:id="t11" from="#a9" to="#a10" type="concepts" ana="#concepts[0]" resp="#paper" cert="0.85">deep learning<term>deep learning</term></span>
      <span xml:id="t12" from="#a5" to="#a6" type="concepts" ana="#concepts[1]" resp="#paper" cert="0.9">H&amp;E<term>H&amp;E</term></span>
      <span xml:id="t13" from="#a5" to="#a6" type="concepts" ana="#concepts[2]" resp="#paper" cert="0.7">hematoxylin and eosin<term>hematoxylin and eosin</term></span>
      <span xml:id="t14" from="#a7" to="#a8" type="concepts" ana="#concepts[3]" resp="#paper" cert="0.9">WSI<term>WSI</term></span>
      <span xml:id="t15" from="#a7" to="#a8" type="concepts" ana="#concepts[4]" resp="#paper" cert="0.7">whole slide images<term>whole slide images</term></span>
      <span xml:id="t16" from="#a19" to="#a20" type="concepts" ana="#concepts[5]" resp="#paper" cert="0.9">ROC<term>ROC</term></span>
      <span xml:id="t17" from="#a19" to="#a20" type="concepts" ana="#concepts[6]" resp="#paper" cert="0.7">receiver-operator curve<term>receiver-operator curve</term></span>
      <span xml:id="t18" from="#a21" to="#a22" type="concepts" ana="#concepts[7]" resp="#paper" cert="0.9">FROC<term>FROC</term></span>
      <span xml:id="t19" from="#a21" to="#a22" type="concepts" ana="#concepts[8]" resp="#paper" cert="0.7">free-response ROC<term>free-response ROC</term></span>
      <span xml:id="t20" from="#a23" to="#a24" type="concepts" ana="#concepts[9]" resp="#paper" cert="0.9">ITC<term>ITC</term></span>
      <span xml:id="t21" from="#a23" to="#a24" type="concepts" ana="#concepts[10]" resp="#paper" cert="0.7">isolated tumor cells<term>isolated tumor cells</term></span>
      <span xml:id="t22" from="#a25" to="#a26" type="concepts" ana="#concepts[11]" resp="#paper" cert="0.9">CLM<term>CLM</term></span>
      <span xml:id="t23" from="#a25" to="#a26" type="concepts" ana="#concepts[12]" resp="#paper" cert="0.85">cancer likelihood map<term>cancer likelihood map</term></span>
      <span xml:id="t24" from="#a29" to="#a30" type="concepts" ana="#concepts[13]" resp="#paper" cert="0.9">AUC<term>AUC</term></span>
      <span xml:id="t25" from="#a29" to="#a30" type="concepts" ana="#concepts[14]" resp="#paper" cert="0.7">area under the ROC curve<term>area under the ROC curve</term></span>
      <span xml:id="t26" from="#a27" to="#a28" type="concepts" ana="#concepts[15]" resp="#paper" cert="0.9">Bootstrap<term>Bootstrap</term></span>
      <span xml:id="t27" from="#a27" to="#a28" type="concepts" ana="#concepts[16]" resp="#paper" cert="0.65">statistical technique<term>statistical technique</term></span>
      <span xml:id="t28" from="#a35" to="#a36" type="concepts" ana="#concepts[17]" resp="#paper" cert="0.7">patch-by-patch classification<term>patch-by-patch classification</term></span>
      <span xml:id="t29" from="#a35" to="#a36" type="concepts" ana="#concepts[18]" resp="#paper" cert="0.7">fully convolutional networks<term>fully convolutional networks</term></span>
      <span xml:id="t30" from="#a15" to="#a16" type="concepts" ana="#concepts[19]" resp="#paper" cert="0.7">prostate specific antigen<term>prostate specific antigen</term></span>
      <span xml:id="t31" from="#a15" to="#a16" type="concepts" ana="#concepts[20]" resp="#paper" cert="0.7">number of prostate biopsy sections<term>number of prostate biopsy sections</term></span>
      <span xml:id="t32" from="#a11" to="#a12" type="senses" ana="#senses[0]" resp="#tagger" cert="0.8">deep learning - learning features directly from large image sets rather than hand-crafted extractors</span>
      <span xml:id="t33" from="#a37" to="#a38" type="senses" ana="#senses[1]" resp="#tagger" cert="0.8">slide exclusion - removing tumour-negative slides from human review at full sensitivity</span>
      <span xml:id="t34" from="#a5" to="#a6" type="concept_edges" ana="#concept_edges[0]" resp="#tagger" cert="0.95">H&amp;E —same-as→ hematoxylin and eosin<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>H&amp;E</term><term>hematoxylin and eosin</term></span>
      <span xml:id="t35" from="#a7" to="#a8" type="concept_edges" ana="#concept_edges[1]" resp="#tagger" cert="0.95">WSI —same-as→ whole slide images<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>WSI</term><term>whole slide images</term></span>
      <span xml:id="t36" from="#a19" to="#a20" type="concept_edges" ana="#concept_edges[2]" resp="#tagger" cert="0.95">ROC —same-as→ receiver-operator curve<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>ROC</term><term>receiver-operator curve</term></span>
      <span xml:id="t37" from="#a21" to="#a22" type="concept_edges" ana="#concept_edges[3]" resp="#tagger" cert="0.95">FROC —same-as→ free-response ROC<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>FROC</term><term>free-response ROC</term></span>
      <span xml:id="t38" from="#a23" to="#a24" type="concept_edges" ana="#concept_edges[4]" resp="#tagger" cert="0.95">ITC —same-as→ isolated tumor cells<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>ITC</term><term>isolated tumor cells</term></span>
      <span xml:id="t39" from="#a25" to="#a26" type="concept_edges" ana="#concept_edges[5]" resp="#tagger" cert="0.95">CLM —same-as→ cancer likelihood map<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>CLM</term><term>cancer likelihood map</term></span>
      <span xml:id="t40" from="#a29" to="#a30" type="concept_edges" ana="#concept_edges[6]" resp="#tagger" cert="0.95">AUC —same-as→ area under the ROC curve<note>the relation itself is separately evidenced · strength of the relation: 0.95</note><term>AUC</term><term>area under the ROC curve</term></span>
      <span xml:id="t41" from="#a27" to="#a28" type="concept_edges" ana="#concept_edges[7]" resp="#tagger" cert="0.9">Bootstrap —is-a→ statistical technique<note>the relation itself is separately evidenced · strength of the relation: 0.9 · the relation stated: is a</note><term>Bootstrap</term><term>statistical technique</term></span>
      <span xml:id="t42" from="#a35" to="#a36" type="concept_edges" ana="#concept_edges[8]" resp="#tagger" cert="0.8">patch-by-patch classification —contrasted-with→ fully convolutional networks<note>the relation itself is separately evidenced · strength of the relation: 0.8 · the relation stated: in contrast to</note><term>patch-by-patch classification</term><term>fully convolutional networks</term></span>
      <span xml:id="t43" from="#a15" to="#a16" type="concept_edges" ana="#concept_edges[9]" resp="#tagger" cert="0.7">prostate specific antigen —causes→ number of prostate biopsy sections<note>direction on the measure: increases · the relation itself is separately evidenced · strength of the relation: 0.7 · the relation stated: increased due to</note><term>prostate specific antigen</term><term>number of prostate biopsy sections</term></span>
      <span xml:id="t44" from="#a3" to="#a4" type="content_tags" ana="#content_tags.findings[0]" resp="#tagger" cert="0.9">All positive slides were found while 30-40% of negative slides could be excluded.</span>
      <span xml:id="t45" from="#a29" to="#a30" type="content_tags" ana="#content_tags.findings[1]" resp="#tagger" cert="0.9">Prostate slide-level AUC was 0.99 for median analysis.</span>
      <span xml:id="t46" from="#a31" to="#a32" type="content_tags" ana="#content_tags.findings[2]" resp="#tagger" cert="0.85">90-93% of micro- and macro-metastases were localised at one or two false positives per image.</span>
      <span xml:id="t47" from="#a39" to="#a40" type="content_tags" ana="#content_tags.findings[3]" resp="#tagger" cert="0.85">Up to 32% of prostate and 44% of sentinel node negative slides could be excluded.</span>
      <span xml:id="t48" from="#a27" to="#a28" type="content_tags" ana="#content_tags.definitions[0]" resp="#tagger" cert="0.9">a statistical technique which enables estimation of confidence intervals by repeated resampling<term>Bootstrap</term></span>
      <span xml:id="t49" from="#a25" to="#a26" type="content_tags" ana="#content_tags.definitions[1]" resp="#tagger" cert="0.9">the output of the CNN indicating cancer likelihood per pixel<term>cancer likelihood map</term></span>
      <span xml:id="t50" from="#a29" to="#a30" type="content_tags" ana="#content_tags.quantities[0]" resp="#tagger" cert="0.9">bootstrapped AUC, prostate median analysis</span>
      <span xml:id="t51" from="#a31" to="#a32" type="content_tags" ana="#content_tags.quantities[1]" resp="#tagger" cert="0.85">metastases found at one / two false positives per image</span>
      <span xml:id="t52" from="#a39" to="#a40" type="content_tags" ana="#content_tags.quantities[2]" resp="#tagger" cert="0.85">negative slides excludable, prostate / sentinel nodes</span>
      <span xml:id="t53" from="#a33" to="#a34" type="content_tags" ana="#content_tags.quantities[3]" resp="#tagger" cert="0.85">AUC when ITC slides are included</span>
      <span xml:id="t54" from="#a17" to="#a18" type="content_tags" ana="#content_tags.quantities[4]" resp="#tagger" cert="0.8">sentinel lymph nodes without metastases</span>
      <span xml:id="t55" from="#a29" to="#a30" type="content_tags" ana="#content_tags.statistics[0]" resp="#tagger" cert="0.85">area under the curve<term>area under the curve</term></span>
      <span xml:id="t56" from="#a29" to="#a30" type="content_tags" ana="#content_tags.variables[0]" resp="#tagger" cert="0.8">AUC<term>AUC</term></span>
    </spanGrp>
  </standOff>
  <text>
    <body>
        <p><anchor xml:id="a0"/> Deep learning as a tool for increased accuracy and efficiency of histopathological diagnosis.</p>
        <p>Abstract</p>
        <p>Pathologists face a substantial increase in workload and complexity of histopathologic cancer diagnosis due to the advent of personalized medicine. Therefore, diagnostic protocols have to focus equally on efficiency and accuracy. <anchor xml:id="a1"/>In this paper we introduce ‘deep learning’ as a technique to improve the objectivity and efficiency of histopathologic slide analysis.<anchor xml:id="a2"/> Through two examples, prostate cancer identification in biopsy specimens and breast cancer metastasis detection in sentinel lymph nodes, we show the potential of this new methodology to reduce the workload for pathologists, while at the same time increasing objectivity of diagnoses. <anchor xml:id="a3"/>We found that all slides containing prostate cancer and micro- and macro-metastases of breast cancer could be identified automatically while 30–40% of the slides containing benign and normal tissue could be excluded without the use of any additional immunohistochemical markers or human intervention.<anchor xml:id="a4"/> We conclude that ‘deep learning’ holds great promise to improve the efficacy of prostate cancer diagnosis and breast cancer staging.</p>
        <p><anchor xml:id="a5"/>Microscopic analysis of hematoxylin and eosin (H&amp;E) stained sections has been the basis for cancer diagnosis and grading for the past century 1 .<anchor xml:id="a6"/> Protocols for the complete workup of biopsies or resected tissue specimens, including microscopic analysis, exist for many of the most common cancer types (e.g. lung, breast, prostate). Use of these protocols has led to strong prognostic and widely used grading strategies (e.g. the Gleason grading system) 2 .</p>
        <p>Due to the rise in cancer incidence and patient-specific treatment options, diagnosis and grading of cancer has become increasingly complex. Pathologists nowadays have to go over a large number of slides, often including additional immunohistochemical stains, to come to a complete diagnosis. Moreover, there is an increase in the amount of quantitative parameters pathologists have to extract for commonly used grading systems (e.g. lengths, surface areas, mitotic counts) 3 . Due to these difficulties, analysis protocols have been adapted and fine-tuned to offer the best balance between prognostic power and feasibility in daily clinical routine 4 .</p>
        <p>The recent introduction of whole-slide scanning systems offers an opportunity to quantify and improve histopathologic procedures. These systems digitize glass slides with stained tissue sections at high resolution. <anchor xml:id="a7"/>Digital whole slide images (WSI) allow the application of image analysis techniques to aid pathologists in the examination and quantification of slides 5 .<anchor xml:id="a8"/> One such technique which has gained prominence in the last five years in other fields is ‘deep learning’ 6 . <anchor xml:id="a9"/>While ‘deep learning’ cannot be considered a single technique, it can roughly be described as the application of multi-layered artificial neural networks to a wide range of problems, from speech recognition to image analysis.<anchor xml:id="a10"/> In recent years, ‘deep learning’ techniques have quickly become the state of the art in computer vision. A specific neural network subtype (convolutional neural networks; CNN 7 8 has become the de facto standard in image recognition and is approaching human performance in a number of tasks 6 . <anchor xml:id="a11"/>These systems function by learning relevant features directly from huge image databases (typically millions of images).<anchor xml:id="a12"/> This is in contrast to more traditional pattern recognition techniques, which strongly rely on manually crafted quantitative feature extractors.</p>
        <p>In spite of these huge successes, ‘deep learning’ techniques have not yet made a big impact on the field of medical imaging. One of the main reasons is that for the traditional imaging based specialties (e.g. radiology) the large numbers of images that are needed to train complex ‘deep learning’ systems are not readily available. In digital histopathology this is easier: one WSI typically contains trillions of pixels from which hundreds of examples of cancerous glands (in the case of prostate or breast cancer) can be extracted.</p>
        <p>Some initial work has been published over the last five years discussing the application of ‘deep learning’ techniques to microscopic and histopathologic images. Ciresan et al . were the first to apply convolutional neural networks to the task of mitosis counting for primary breast cancer grading 9 . Furthermore, in a different publication, they showed the applicability of patch-driven convolutional neural networks to segmentation tasks 10 . Wang et al . later expanded the work on mitosis detection by combining hand-crafted features and convolutional neural networks 11 . Other applications of convolutional networks include primary breast cancer detection 12 , glioma grading 13 and epithelium and stroma segmentation 14 . Last, Su et al . used another ‘deep learning’ technique, called stacked denoising auto-encoders to perform cell detection and segmentation in lung cancer and brain tumors 15 .</p>
        <p><anchor xml:id="a13"/>This study investigates the general applicability of CNNs to improve the efficiency of cancer diagnosis in H&amp;E images by applying it to two novel tasks: the detection of prostate cancer in biopsy specimens and the detection of breast cancer metastases in resected sentinel lymph nodes.<anchor xml:id="a14"/></p>
        <p><anchor xml:id="a15"/>The number of prostate biopsy sections has strongly increased in the past decades due to the advent of prostate specific antigen (PSA) testing 16 .<anchor xml:id="a16"/> Because of the nature of the standard biopsy procedure (eight to twelve random biopsies under ultrasound-guidance), each procedure results in several slides. The majority of these slides typically do not contain cancer. The histopathological analysis could be streamlined significantly if these normal slides could automatically be excluded without expelling any slides containing cancer. We collected consecutive single-center biopsy specimens of 254 patients who underwent MR-guided biopsy procedures for prostate cancer at our institution. These specimens were prepared according to standard histopathologic protocol and subsequently digitized using an Olympus VS120-S5 system (Olympus, Tokyo, Japan).</p>
        <p>The sentinel lymph node procedure is well known for its tedious inspection protocol 4 . Several sections of the lymph node have to be investigated for micro-metastases (0.2–2 mm) and macro-metastases (&gt;2 mm). <anchor xml:id="a17"/>Furthermore, around 60–70% of the sentinel lymph nodes do not contain any metastases 17 .<anchor xml:id="a18"/> In this paper we focus on the sentinel lymph node procedure for breast cancer with the aim of identifying slides which do not contain micro- or macro-metastases. Also, we tried to identify the correct location of the metastases within a specific slide. In total 271 patients were included from our institution. Specimens were prepared according to the standard histopathologic protocol and subsequently digitized using a 3DHistech Pannoramic 250 Flash II scanner (3DHistech, Budapest, Hungary).</p>
        <p>After digitization of the H&amp;E-stained slides cancer and metastases were manually delineated using a computer mouse by a resident of pathology (I.K., prostate cancer experiment) and a lab technician (M.H., sentinel lymph node experiment), under the supervision of experienced pathologists (C. A. H. K., P. B.). From these annotated areas small prototype image regions (‘patches’) were extracted to train CNNs to detect cancer areas in validation data sets (schematic overview in Fig. 1 ). These validation data sets were used to optimize the network parameters. After training, the CNN was converted to a fully convolutional network which gave per-pixel predictions on the presence of cancer and metastases in separate, not previously used, test data sets. <anchor xml:id="a19"/>For prostate cancer detection the CNNs were evaluated on a per-slide level using receiver-operator curve (ROC)-analysis.<anchor xml:id="a20"/> We also investigated how well the system could exclude slides without cancer from further diagnostic processing. <anchor xml:id="a21"/>For the sentinel lymph node procedure, we assessed how well the system was capable of identifying individual micro- and macro-metastases using free-response ROC (FROC) analysis and if it is capable of excluding slides which do not contain any metastases using ROC analysis.<anchor xml:id="a22"/></p>
        <p>Results</p>
        <p>Subjects</p>
        <p>Prostate cancer</p>
        <p>From the initial set of 254 patients, eleven were excluded because the glass slides were not available. Four were excluded because no biopsy was taken during the procedure and one was excluded as the tissue sample was too small for pathologic analysis. Out of the remaining 238, we randomly selected 225 glass slides for digitization, of which 100 were assigned to the training set, 50 to the validation set and 75 to the test set. The training set sampling was stratified such that a near-50/50-distribution between slides containing cancer and slides not containing cancer was obtained. All slides were successfully digitized and annotated. Further details on the selected slides can be found in Table 1 .</p>
        <p>Breast cancer sentinel lymph nodes</p>
        <p>Data collection for the sentinel lymph node experiments was performed in two batches. The first batch was obtained by including 173 slides from the case files of an experienced breast pathologist (P.B). These initial slides were split into a training (98), validation (33) and test (42) set. These slides were subsequently digitized and every metastasis was annotated. To make sure our results were not biased to a single pathologist’s case selection, we acquired a second set of data by including all the consecutive sentinel lymph node cases for breast cancer from October 2014 to April 2015, resulting in an additional 98 whole-slide images. <anchor xml:id="a23"/>For the second batch no on-slide annotations were available, only the per-case outcome (presence of macro- and/or micro-metastases and isolated tumor cells (ITC)).<anchor xml:id="a24"/> Further details on the included cases can be found in Table 2 . Of cases with only ITC, 22 out of 24 had additional immunohistochemistry ordered by the pathologist.</p>
        <p>Prostate cancer detection</p>
        <p><anchor xml:id="a25"/>A cancer likelihood map (CLM), the output of the CNN indicating cancer likelihood per pixel, for a representative WSI from the test set with cancer covering 30% of the tissue area is shown in Fig. 2 .<anchor xml:id="a26"/> The cancerous glands indicated by the pathologist’s outline (in magenta) are correctly identified with high likelihood. The stroma within the annotation areas is correctly identified as a low cancer likelihood region (in green, most easily identifiable in the high-resolution sub-images).</p>
        <p>Several other examples are presented in Fig. 3 . In Fig. 3b , we show a high-resolution sub-image of a false positive region. Due to cutting and histopathologic processing, tissue at the edges of the biopsy specimens often deforms and tears, resulting in abnormal appearance. If we examine this area closely, we can see that the false positive glands indeed show some features which are comparable to those of cancer (e.g. fusing glands, irregular shape). In general, we can clearly see a distinct separation between malignant ( Figs 2 and 3a ) and benign biopsy specimens ( Fig. 3b,c ) based on the CLMs.</p>
        <p>Quantitatively, the result of performing histogram analysis on the CLMs can be best represented using ROC analysis. In Fig. 4 we present the ROC curves for both median and 90 th -percentile analysis of the cumulative histogram of the CLM over the independent test set. Indicated with the dashed lines are the raw ROC curves, the solid line and the shaded areas represent the mean bootstrapped ROC curve and the 95 th -percentiles. <anchor xml:id="a27"/>Bootstrap is a statistical technique which enables estimation of confidence intervals by repeated resampling of a representative population 18 .<anchor xml:id="a28"/> <anchor xml:id="a29"/>The average bootstrapped area under the ROC curve (AUC) for the median analysis was 0.99 (0.95–1.0) and 0.98 (0.94–0.99) for the 90 th -percentile analysis.<anchor xml:id="a30"/> However, the 90 th -percentile analysis has higher specificity at a sensitivity level of 0.999 (0.32, 95%-CI: 0.29–0.97) compared to median analysis (0.17, 95%-CI: 0.15–1.0).</p>
        <p>Identification of breast cancer metastases in sentinel lymph nodes</p>
        <p>Representative examples of sentinel lymph node specimens are presented in Fig. 5 (without metastases) and Fig. 6 (with metastases). The metastases are correctly detected with very high likelihood (red color). Areas containing only lymphocytes are mostly transparent (likelihood close to zero), whereas areas containing histiocytes or mixtures of histiocytes and lymphocytes are transparent – green (low likelihoods). Distinction between histiocyte–rich regions and metastases is also a well-known difficulty for residents in pathology.</p>
        <p>Quantitatively, results were analyzed in two ways. FROC analysis was used to assess localization accuracy, whereas ROC analysis was used to assess performance at the slide level. FROC analysis was only performed on the test set, as annotations are required to assess localization accuracy. The FROC and ROC curves are shown in Fig. 7 . Results of the FROC and ROC analyses are also summarized in Table 3 . <anchor xml:id="a31"/>At the expense of one or two false positive detections per tumor-negative image 90% or 93% of all individual micro- and macro-metastases could be identified, respectively.<anchor xml:id="a32"/> If we also include all isolated tumor cell (ITC) instances, 71% was found at the expensive of one false positive detection per tumor-negative image and 74% was found at the expense of two false positive detections per image.</p>
        <p>The ROC analysis shows that in both the test and consecutive data sets, an area under the ROC curve of close to 0.90 can be obtained on the slide level when discriminating slides without from slides with micro- and macro-metastases. Furthermore, at 0.999 sensitivity up to 0.44 specificity could be obtained in the consecutive set. <anchor xml:id="a33"/>When also including slides only containing ITC, performance drops to an area under the ROC curve of 0.74 and 0.02 specificity at 0.999 sensitivity.<anchor xml:id="a34"/></p>
        <p>Discussion</p>
        <p>Although deep learning is an active research field, the application of deep learning to histopathology is relatively new. Most already published work has focused on the detection of mitotic figures 9 11 or identification and segmentation of individual cells 15 19 . One paper used a convolutional auto-encoder to segment basal-cell carcinoma in H&amp;E-images of breast cancer 20 .However, this model is only evaluated on images from pre-selected regions of interest and not on whole slides, making it difficult to assess its practical value.</p>
        <p>The two papers most closely related to our work have focused on different entities. Cruz-Roa et al . used a CNN to detect and segment primary breast cancer 12 and Ertosun et al . investigated the grading of gliomas 13 . We explored the applicability of CNNs to digitized histopathology through two different experiments: prostate cancer detection in H&amp;E-stained biopsy specimens and identification of metastases in sentinel lymph nodes obtained from breast cancer patients. <anchor xml:id="a35"/>In contrast to these two papers, which perform patch-by-patch classification, we use fully convolutional networks to obtain per-pixel cancer likelihood maps and segmentations in whole-slide images.<anchor xml:id="a36"/> Furthermore, we are the first to report slide-level accuracies for cancer detection.</p>
        <p>In both experiments we were able to successfully train convolutional neural networks, although the amount of case data was less than what is generally typical in ‘deep learning’ experiments. The fact that we performed extensive data augmentation and boosting in combination with the relatively limited domain (i.e. H&amp;E-stained histopathologic images compared to natural images) made this possible.</p>
        <p>In both applications we investigated whether it was possible to identify slides not containing disease without overlooking any slides containing disease. <anchor xml:id="a37"/>In the prostate cancer slides, up to 32% of the slides not containing disease could be excluded.<anchor xml:id="a38"/> <anchor xml:id="a39"/>For the sentinel lymph nodes, specificity was even higher at 44%, without missing any slide containing micro- or macro-metastases.<anchor xml:id="a40"/> This indicates that substantial gains in efficiency are possible by using CNNs to exclude tumor-negative slides from further human analysis.</p>
        <p>Next to the performance of the CNN at high sensitivity, area under the ROC curve was also high in both cases, with an AUC of 0.99 for the prostate cancer experiment (median analysis) and 0.88 for the sentinel lymph node experiment (consecutive set). Furthermore, localization accuracy was high for micro- and macro-metastases in the sentinel lymph node experiment (90% sensitivity at 1 false positive per normal image).</p>
        <p>There are some limitations to the application of the CNNs, especially for the sentinel lymph nodes. Although the accuracy of detecting micro- and macro-metastases is high, adding the requirement of having to identify all clusters of isolated tumor cells lowers performance significantly (0.74 AUC for the consecutive set). However, the importance of ITCs is debated. Some have found no prognostic implication of ITCs 4 21 at all or when the ITCs are visible through immunohistochemistry only 15 16 . Others did find ITCs having a negative prognostic impact, albeit effect sizes differ 22 23 24 . However, for the clinical application of CNNs this is of limited importance. If the application of the CNNs can detect the micro- and macro-metastases with high accuracy, and we have shown this, the ITCs can be detected by immunohistochemistry, without having a pathologist looking at the H&amp;E stained slides. In The Netherlands, according to the national guideline for breast cancer, immunohistochemistry is mandatory when no tumor is found in the H&amp;E-stained slides.</p>
        <p><anchor xml:id="a41"/>In the prostate cancer experiment, some detection errors (i.e. false positive detections) still occur at the boundaries of the tissue, mostly due to tearing and tissue deformation.<anchor xml:id="a42"/> These are expected artifacts that occur during histopathologic processing, and ideally our CNN would be robust to this. However, due to the fact that these artifacts can have a wide range of appearances and only occur sporadically, this is not yet the case with the size of the training set used in this study. For the slide level analysis, these spurious detections are not problematic; they occur equally in slides containing and not containing cancer, making their separation still possible.</p>
        <p><anchor xml:id="a43"/>One further limitation is the fact that we only investigated data from a single center.<anchor xml:id="a44"/> Although we included data from distinctly different tissue types and used digitization equipment from two different vendors, it is important that these results are confirmed in future, multi-center studies.</p>
        <p>As far as the authors are aware, this is the first paper describing the general applicability of a ‘deep learning’ technique to the diagnostic analysis of whole slide images of sentinel lymph nodes and prostate biopsies. We have shown that this technique is potentially highly suitable to improve the efficiency of the diagnostic process in histopathology. This could in turn lead to adapted protocols, where pathologists perform a more detailed analysis on the difficult samples, as the easy samples are already handled by a computer system.</p>
        <p>Although we specifically looked at clinical diagnosis in this study, the potential of these ‘deep learning’ techniques reaches further. They could also be used to quickly analyze huge clinical trial databases to extract relevant cases, or automatically annotate areas of disease to allow fast quantification (e.g. area, diameter). Furthermore, the technique is not limited to H&amp;E-stained images and could readily be applied to immunohistochemistry, which might be of interest when researching the efficacy of drugs or the expression of genes. Both are worthwhile avenues for future research.</p>
        <p>Methods</p>
        <p>Materials</p>
        <p>For all patients in this study the institutional review board waived the need for informed consent.</p>
        <p>Prostate cancer</p>
        <p>A search was performed on our institution’s PACS system to identify all patients who underwent MR-guided biopsy of the prostate after an initial multi-parametric MRI suspicious for cancer in 2012. This resulted in a total of 254 patients who were initially included in this study. After assessing suitability for inclusion, patients were randomly assigned to one of three sets: training, validation and test.</p>
        <p>The biopsy specimens were previously stained using standard protocols for H&amp;E-staining used in routine clinical care, after which the specimens were analyzed and reported on by an experienced pathologist as part of routine diagnostics. For this study these glass slides were obtained from the archive of the Department of Pathology for subsequent digitization.</p>
        <p>Sentinel lymph node</p>
        <p>The sentinel lymph node case files of an experienced pathologist (P.B.) were used to identify subjects to include in the initial training set. The sentinel node specimens were previously stained using standard protocols for H&amp;E-staining used in routine clinical care, after which the specimens were analyzed and reported by the experienced pathologist as part of routine diagnostics.</p>
        <p>To make sure our results were not biased incidentally by only evaluating on the cases obtained from one pathologist’s case file, we included all sentinel lymph node subjects from October 2014–April 2015 as an extra testing set.</p>
        <p>One H&amp;E-stained slide per subject was subsequently obtained from the archive at the Department of Pathology for digitization. Slides were selected such that they contained the largest area of metastases, if metastases were present.</p>
        <p>Digitization and annotation</p>
        <p>Prostate cancer</p>
        <p>Prostate cancer slides were digitized using an Olympus VS120-S5 slide scanning system. Slides were digitized using a 40× objective (resultant pixel resolution of 0.16 microns). After digitization the digital slides were annotated for cancer using an in-house developed freehand drawing tool. Annotation was performed by a resident of pathology (I.K.) under the supervision of an experienced pathologist (C.H.-v.d.K.). Sometimes two consecutive sections were included on one glass slide. In those cases, only one of the two sections was annotated and the other excluded from further analysis.</p>
        <p>Sentinel lymph node</p>
        <p>Sentinel lymph node slides were digitized using a 3DHistech Pannoramic 250 Flash II slide scanner. Slides were digitized using a 20× objective (resultant pixel resolution of 0.24 microns). After digitization the slides were annotated using the Aperio ImageScope software using a freehand drawing tool. Annotation was performed by a lab technician (M.H.). Annotations were subsequently checked by an experienced pathologist for correctness and completeness (P.B.).</p>
        <p>The extra testing set was not annotated, only the pathologist’s report was available for this set.</p>
        <p>Pre-processing steps</p>
        <p>The annotations were used to generate binary mask images at the same resolution as the original slides. Any pixel inside an annotated region was labeled as cancer (label 1), whereas all other regions were left blank (label 0).</p>
        <p>In addition to the binary annotation mask, we also generated binary tissue masks to separate background from tissue. To this end we performed a simple thresholding procedure on the optical density of the RGB channels. Optical density of a channel is obtained through:</p>
        <p>Here OD c is the optical density of the channel c (Red, Green or Blue), I is the intensity of the channel and I max is the maximum intensity, which is 255 due to 8-bit quantization. By thresholding the optical densities at 0.2, all background could be removed resulting in a binary mask where tissue is labeled 1 and background is labeled 0.</p>
        <p>Convolutional neural network training and application</p>
        <p>To train the convolutional neural network we made use of the open-source ‘deep learning’ libraries Theano 0.7 and pylearn2 0.1 25 26 .</p>
        <p>As it is impossible to feed entire whole-slide images to the network at once, we randomly extracted small patches from the whole-slide image for training. Whole-slide results can then be obtained by applying the network to every pixel in the image.</p>
        <p>Patch size in pixels was determined empirically during initial experiments. We tried 64 × 64, 128 × 128 and 256 × 256 pixel patches. The 64 × 64 sized patches performed substantially worse on patch-based accuracy and 256 × 256 sized patches limited convolutional networks depth due to memory limitations of the GPU. As such, we settled on a patch size of 128 × 128.</p>
        <p>To allow the network to learn the appearance of cancer (prostate or metastasized breast cancer in this paper), it is important that the small patches contain enough information to allow discrimination between patches with and without cancer. In contrast, when one selects patches which are too large, it is harder for the network to identify the relevant discriminatory features. As such, the correct resolution at which to extract the information had to be determined.</p>
        <p>For the prostate cancer experiment, guidelines suggest that initial inspection of biopsy specimens should be performed using a microscope with a 5× objective, already indicating that this is a suitable resolution. Subsequently, we confirmed this in a small observer experiment where an untrained researcher was able to separate cancer and non-cancer patches at 5× (equivalent resolution 0.60 microns per pixel). As such, for this experiment patches were extracted at 5× objective magnification. For the sentinel lymph node slides a similar strategy was used, and here a 10× objective magnification was selected (0.48 microns per pixel).</p>
        <p>Patches of 128 × 128 pixels were extracted at the determined resolution level from both cancerous regions and non-cancerous tissue regions using the masks obtained in the pre-processing stage. Extraction was performed such that an equal number of patches for both classes was obtained. <anchor xml:id="a45"/>During patch extraction, patches were rotated (0, 90, 180 and 270 degrees) and subsequently flipped to make sure the network would not learn rotation-dependent features.<anchor xml:id="a46"/> This resulted in eight variations of each single patch and was performed for both positive and negative samples. In total this resulted in a total of 920,000 patches for the prostate cancer experiment and 2.6 million patches for the lymph node experiment. Patch-extraction was performed for both the training and the validation sets in both experiments. Test sets in both experiments were only used for final evaluation and were untouched during the training procedure.</p>
        <p>After patch extraction, a convolutional neural network was trained where the performance of the network was monitored by assessing the miss-classification rate on the validation set patches. Training was stopped when validation set error did not improve for five epochs. Network structure (e.g. number of layers, filters per layer, number of nodes in fully connected layers) and parameters (e.g. learning rate, momentum) were continuously tweaked to obtain maximum performance on the validation set. In the end, very similar network structures and parameter settings were obtained for both experiments. Training time per epoch was around 80 and 200 minutes per epoch for the prostate cancer and lymph node experiments respectively (GeForce GTX970). Optimal performance was reached after 5 and 12 epochs respectively. The full network specifications can be found in the supplementary files .</p>
        <p>After network training, the CNN was converted to a fully convolutional network to allow fast application to the whole slide image 27 . Applying this fully convolutional network to the whole slide image resulted in a likelihood map where each pixel has a continuous likelihood between 0 and 1 of containing cancer. The likelihood map generation time of a prostate biopsy slide is between 5–10 minutes and that of a lymph node slide between 30–40 minutes. However, the average time to analyze a slide is highly dependent on the amount of tissue on the slide. Due to the nature of the procedures, prostate biopsies often contained much less tissue and thus were quicker to process.</p>
        <p>Due to the nature of the sentinel lymph node slides, where often only a tiny fraction of the slide contains cancer and most of the slide is covered by lymphocytes, certain normal regions which look more similar to cancer are typically underrepresented in the training data. In other words, the network is not capable of correctly identifying these areas as normal. To tackle this problem, we choose to use a boosting approach similar to the one used by Ciresan et al . 9 We used the initial likelihood maps obtained for the training data set to sample new patches for both the cancerous and non-cancerous class. However, this time we increased the likelihood of adding a patch to the training data if the center pixel of the patch was initially classified wrongly by the network. This process results in additional training data which contains more difficult samples. Subsequently, we re-trained the network on the old and enriched patches and obtained the final likelihood maps for the sentinel lymph node slides.</p>
        <p>This boosting procedure was not applied to the prostate cancer detection experiment, as in biopsy slides the area covered by cancer and the area covered by normal tissue is more balanced.</p>
        <p>Evaluation</p>
        <p>Prostate cancer</p>
        <p>A normalized cumulative histogram is calculated on the final whole-slide likelihood image. The histogram was constructed with 100 bins, equally spaced between 0 and 1. In cases where there is no cancer in the slide, the histogram will rise quickly, whereas in cancer cases, the histogram will rise more slowly. To move from this histogram to a slide level label, we used percentile analysis. A percentile is selected and then we inspect at which likelihood we reach this percentile. By doing this for all cases and the performing receiver-operating characteristic (ROC) analysis given this likelihood, we can assess CNN performance at the slide level. We used the validation data set to obtain the optimal percentiles with a step size of 10 for both overall area under the ROC curve and highest specificity at 0.999 sensitivity, which were the median and the 90 th -percentile respectively.</p>
        <p>To assess the confidence interval of the area under the ROC curve, we used bootstrapping using 10,000 bootstrap samples 18 .</p>
        <p>Sentinel lymph node</p>
        <p>The final likelihood map for the sentinel lymph node slides is first thresholded at a likelihood of 0.3 to get rid of all the low likelihood false positives. Subsequently, we performed connected component analysis to obtain all the detected lesions. All components with a diameter smaller than 0.02 mm (10% of the minimum diameter for micro-metastases) are subsequently removed to get rid of spurious detection caused by artifacts (e.g. dust, tissue deformation). To obtain a likelihood per component, the median likelihood across all pixels within each component is calculated.</p>
        <p>Given the component segmentations and likelihoods, we perform free-receiver operating characteristic (FROC) at the metastasis level and ROC analysis at the slide level on the test set. On the consecutive set we only performed ROC analysis as we did not have annotations for this set. In FROC analysis we assess for each individual metastasis, being macro-metastases, micro-metastases or ITC, whether it is detected. A metastasis is counted as detected when a component segmentation has a Dice coefficient of at least 0.5 with the annotation. All components which do not coincide with a metastasis are considered false positive detections. The component likelihood is subsequently used to generate the FROC curve. The sensitivity in the FROC curve is expressed with respect to false positive detections in metastasis-free slides.</p>
        <p>For ROC analysis, the component with the highest likelihood is used as the slide level score, as this is the component that is actionable. These slide likelihoods were subsequently used to construct the ROC curves at the slide level.</p>
        <p>All analysis for the sentinel lymph node cases were performed twice: once assuming ITCs are not considered metastases (i.e. they are ignored) and once assuming ITCs are metastases and as such have to be detected.</p>
        <p>Additional Information</p>
        <p>How to cite this article : Litjens, G. et al . Deep learning as a tool for increased accuracy and efficiency of histopathological diagnosis. Sci. Rep. 6 , 26286; doi: 10.1038/srep26286 (2016).</p>
        <p>Supplementary Material<anchor xml:id="a47"/></p>
    </body>
  </text>
</TEI>
