Skip to main content
Cancer Communications logoLink to Cancer Communications
. 2018 Sep 25;38:59. doi: 10.1186/s40880-018-0325-9

Development and validation of an endoscopic images-based deep learning model for detection with nasopharyngeal malignancies

Chaofeng Li 1,2,5,7,#, Bingzhong Jing 1,2,#, Liangru Ke 1,3, Bin Li 1,2, Weixiong Xia 1,4, Caisheng He 1,2, Chaonan Qian 1,4, Chong Zhao 1,4, Haiqiang Mai 1,4, Mingyuan Chen 1,4, Kajia Cao 1,4, Haoyuan Mo 1,4, Ling Guo 1,4, Qiuyan Chen 1,4, Linquan Tang 1,4, Wenze Qiu 1,4, Yahui Yu 1,4, Hu Liang 1,4, Xinjun Huang 1,4, Guoying Liu 1,4, Wangzhong Li 1,4, Lin Wang 1,4, Rui Sun 1,4, Xiong Zou 1,4, Shanshan Guo 1,4, Peiyu Huang 1,4, Donghua Luo 1,4, Fang Qiu 1,4, Yishan Wu 1,4, Yijun Hua 1,4, Kuiyuan Liu 1,4, Shuhui Lv 1,4, Jingjing Miao 1,4, Yanqun Xiang 1,4, Ying Sun 1,6, Xiang Guo 1,4,7,, Xing Lv 1,4,7,
PMCID: PMC6156962  PMID: 30253801

Abstract

Background

Due to the occult anatomic location of the nasopharynx and frequent presence of adenoid hyperplasia, the positive rate for malignancy identification during biopsy is low, thus leading to delayed or missed diagnosis for nasopharyngeal malignancies upon initial attempt. Here, we aimed to develop an artificial intelligence tool to detect nasopharyngeal malignancies under endoscopic examination based on deep learning.

Methods

An endoscopic images-based nasopharyngeal malignancy detection model (eNPM-DM) consisting of a fully convolutional network based on the inception architecture was developed and fine-tuned using separate training and validation sets for both classification and segmentation. Briefly, a total of 28,966 qualified images were collected. Among these images, 27,536 biopsy-proven images from 7951 individuals obtained from January 1st, 2008, to December 31st, 2016, were split into the training, validation and test sets at a ratio of 7:1:2 using simple randomization. Additionally, 1430 images obtained from January 1st, 2017, to March 31st, 2017, were used as a prospective test set to compare the performance of the established model against oncologist evaluation. The dice similarity coefficient (DSC) was used to evaluate the efficiency of eNPM-DM in automatic segmentation of malignant area from the background of nasopharyngeal endoscopic images, by comparing automatic segmentation with manual segmentation performed by the experts.

Results

All images were histopathologically confirmed, and included 5713 (19.7%) normal control, 19,107 (66.0%) nasopharyngeal carcinoma (NPC), 335 (1.2%) NPC and 3811 (13.2%) benign diseases. The eNPM-DM attained an overall accuracy of 88.7% (95% confidence interval (CI) 87.8%–89.5%) in detecting malignancies in the test set. In the prospective comparison phase, eNPM-DM outperformed the experts: the overall accuracy was 88.0% (95% CI 86.1%–89.6%) vs. 80.5% (95% CI 77.0%–84.0%). The eNPM-DM required less time (40 s vs. 110.0 ± 5.8 min) and exhibited encouraging performance in automatic segmentation of nasopharyngeal malignant area from the background, with an average DSC of 0.78 ± 0.24 and 0.75 ± 0.26 in the test and prospective test sets, respectively.

Conclusions

The eNPM-DM outperformed oncologist evaluation in diagnostic classification of nasopharyngeal mass into benign versus malignant, and realized automatic segmentation of malignant area from the background of nasopharyngeal endoscopic images.

Keywords: Nasopharyngeal malignancy, Deep learning, Differential diagnosis, Automatic segmentation

Introduction

A nasopharyngeal mass is a major sign of both malignancies and benign diseases, including nasopharyngeal carcinoma (NPC), lymphoma, melanoma, minor salivary gland tumour, fibroangioma, adenoids, and cysts. Among them, NPC accounts for 83.0% of all nasopharyngeal malignancies and 4.4% of all nasopharyngeal diseases [1, 2]. Guangdong province in southern China is a highly endemic area of NPC, with an age-standardized incidence rate of 10.38/100,000 in 2013 [3].

The majority of NPC patients are diagnosed at an advanced stage, contributing to the dismal prognosis of the disease [4]. The 10-year overall survival (OS) is 50%–70% for late stage NPC patients [46]. Given the rapid development of imaging techniques and radiotherapy, the local control rate of early NPC patients has increased up to 95% [7]. Thus, early detection is critical for improving the OS of NPC patients.

Non-specific symptoms and an occult anatomical location are prominent causes of delayed or missed detection of nasopharyngeal malignancies. Particularly, adenoidal hypertrophy and adenoid residue in the nasopharynx is very common in adolescents and adults, respectively. Histopathological diagnosis is the gold standard for diagnosing nasopharyngeal malignancies [8]. Currently, confirmation of NPC entails a nasopharyngeal endoscopy followed by an endoscopically directed biopsy at the site of an abnormality or sampling biopsies from an endoscopically normal nasopharynx. Clinically, NPC can coexist with adenoids or is concealed in adenoid tissues [9, 10]. In this situation, repeated biopsies of the inconspicuous lesion are required; anti-tumour treatment is delayed if a repeated biopsy is needed. Abu-Ghanem et al. reported an overall negative rate of 94.2% for malignancy among patients with suspicious nasopharyngeal malignancies [11]. Endoscopic biopsies may miss small nasopharyngeal carcinomas as they are typically submucosal or located at the lateral aspect of the pharyngeal recess, presenting a substantial diagnostic challenge in the era of NPC screening.

Driven by the high performance of computing power and the advent of massive amounts of labelled data supplemented by optimized algorithms, a machine learning technique referred to as deep learning has emerged and gradually drawn the attention of investigators [12]. In particular, deep learning has recently been shown to outperform experts in visual tasks, such as playing Atari games [13] and strategic board games, such as GO [14], object recognition [15], and biomedical image identification [1619]. To increase the diagnostic yield in distinguishing nasopharynx abnormalities, especially malignancies, via endoscopic examination, we sought to develop tools to assist in the detection of nasopharyngeal malignancies and provide biopsy guidance using a pre-trained deep learning algorithm. Sun Yat-sen University Cancer Center is a tertiary care institution located in the highly endemic area of NPC in China and has a designated department focusing exclusively on NPC. More than 3000 newly diagnosed NPC cases are treated here every year. To take advantage of deep learning methods and abundant nasopharyngeal endoscopic images in our centre, in the current study, we developed a deep learning model to detect nasopharyngeal malignancies by applying a fully convolutional network, which we termed the endoscopic images-based nasopharyngeal malignancies detection model (eNPM-DM). We investigated the diagnostic performance of eNPM-DM versus oncologists in a training set and a test set of endoscopic images of persons who underwent routine clinical screening for nasopharyngeal malignancy. We further validated eNPM-DM in a prospective set. The current study demonstrated that eNPM-DM outperformed oncologists in nasopharyngeal malignancy detection and showed encouraging performance in malignant region segmentation. This artificial intelligence platform based on eNPM-DM could provide potential benefits, such as expanded coverage of screening programmes, higher malignancy detection, and thus lower rate of repeated biopsies.

Data and methods

Datasets of nasopharyngeal endoscopic images

We retrospectively reviewed the clinicopathologic data and nasopharyngeal endoscopic images of persons who underwent routine clinical screening for nasopharyngeal malignancy that retrospectively collected between January 1st, 2008, and December 31st, 2016 and prospectively collected between January 1st, 2017, and March 31st, 2017 at Sun Yat-sen University Cancer Center, Guangzhou, China.

The study protocol was approved by the Ethics Committee of the authors’ affiliated institution. Consent to the study was not required because of the retrospective nature of the study. Patient data were anonymized. Furthermore, all images were de-identified and reorganized with randomized sequence disorganized in each dataset.

Endoscopic image acquisition

All endoscopic images were acquired from each person under local anaesthesia and mucous contraction with dicaine and ephedrine. All subjects provided written informed consent for endoscopy and biopsy before anaesthesia. Images were captured using an endoscope (Model No. Storz 1232AA, KARL STORZ-Endoskope, Tuttlingen, Germany) and endoscopy capture recorder (Model No. Storz 22201011U11O). Standard white light was used during examination and image capture.

Images of patients with pathologically proven malignancy other than NPC were considered indicative of other malignancies, including lymphoma, rhabdomyosarcoma, olfactory neuroblastoma, malignant melanoma and plasmacytoma. Images of patients with precancerous and/or atypical hyperplasia, fibroangioma, leiomyoma, meningioma, minor salivary gland tumor, fungal infection, tuberculosis, chronic inflammation, adenoids and/or lymphoid hyperplasia, nasopharyngeal cyst and foreign body were considered indicative of benign diseases. Endoscopic images were eligible for analysis if they met the following criteria: (1) an image had a resolution of a minimum of 500 pixels and 70 dpi; (2) an image had a maximum size of 300 kb; (3) an image was acquired during initial diagnosis. Eligible images were randomized to the training set, the validation set and the test set at a ratio of 7:1:2. Furthermore, 1430 additional images that were independent from the training set, the validation set and the test set were used as the prospective test set to validate the established model against oncologist evaluation.

Development and parameter tuning of the algorithm

A fully convolutional network was retrained, which could receive an input of arbitrary size and produce correspondingly sized output by deep learning [20]. The entire course of training and testing was implemented on a server with Intel® Xeon® CPU E5-2683/Memory: 128 GiB/GPU: GeForce GTX 1080 Ti. During training, we performed data augmentation as follows: rotation ± 30 degrees, shift ± 20%, shear 5%, zooming out/in 10% and channel shift 10%. The model was optimized for 100 epochs on the augmented training set with the initial learning rate at 0.001 and decreasing 0.1 time for each 40 epochs followed by best-model selection on the validation set.

Evaluation of eNPM-DM in detection and segmentation of nasopharyngeal malignancies

Experts delineated the malignant area in the images of patients with biopsy-proven malignancies in each dataset. eNPM-DM was trained to distinguish malignancies from benign diseases in the training set and output the probability map for all images in each dataset. An area with a probability greater than 0.5 in an image was considered a malignant area, and the corresponding image was considered indicative of malignancy. The performance of eNPM-DM in detecting nasopharyngeal malignancies was then assessed in the test set and the prospective test set, and compared with the performance of oncologists of different seniorities in the prospective test set. They included three experts, eight resident oncologists and three interns, with greater than 5 years, greater than 1 year, or less than 3 months of working experience at the Department of Nasopharyngeal Carcinoma of Sun Yat-sen University Cancer Center, respectively. In this evaluation, we measured the standard evaluation metrics of accuracy, sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV) and time-taken for test based on images, along with the corresponding 95% confidence interval (CI) for each metric. Specificity was defined by the percentage of truly negative images divided by all images correctly identified; sensitivity was defined by the percentage of truly positive images divided by all images correctly identified. Accuracy was defined by the proportion of images correctly identified divided by all images. PPV was defined by the percentage of truly positive images divided by all images labeled as “positive”; NPV was defined by the percentage of truly negative images divided by all images labeled as “negative”. In addition, the area under curve (AUC) was calculated to assess the diagnostic efficacy of eNPM-DM in detection of nasopharyngeal malignancy using the receiver operating characteristic curve (ROC). Moreover, the combined performance of eNPM-DM and experts was assessed. An image was considered indicative of absence of malignancy if it was recognized to indicate a benign disease by either eNPM-DM or more than two experts. All analysis was performed using the Statistical Program for Social Sciences 22.0 (SPSS, Chicago, IL).

Moreover, the dice similarity coefficient (DSC) was used to evaluate the performance of eNPM-DM in automatic segmentation by measuring the overlapped ratio between expert-delineated area and eNPM-DM-defined malignant area. DSC was defined as:

s=2|SF|S+|F|

where S represents ground-truth segmentation and F stands for segmentation output.

Results

Demographic characteristics and disease categories of the study population

A total of 33,507 images were assessed for eligibility and 27,536 images from 7951 subjects were included for analysis. The study flowchart is shown in Fig. 1. In total, 5713 (19.7%) images came from histologically normal subjects, and 19,107 (66.0%), 335 (1.2%) and 3811 (13.2%) images came from patients with pathologically proven NPC, other malignancies and benign diseases, respectively. The training set included 19,576 images from 5557 patients, with 13,313 images from patients with biopsy-proven nasopharyngeal malignancies. The validation set was comprised of 2690 images, including 1771 images from patients with nasopharyngeal malignancies. The test set and prospective test set included 5270 images, with 3618 images from malignant cancer patients, and 1430 images, with 738 images from patients with malignancy, respectively. The demographic characteristics and disease categories of the study subjects in each dataset are shown in Table 1, and representative images of several types of nasopharyngeal masses are shown in Fig. 2.

Fig. 1.

Fig. 1

The study flowchart. *The numbers of images and cases in each subset are presented

Table 1.

Demographic characteristics and disease categories of the study subjects in different datasets

Characteristics All Training set Validation set Test set Prospective test set
Subjects, n 8306 5557 807 1587 355
Mean (± SD), years 45.9 ± 12.7 45.8 ± 12.7 45.9 ± 12.7 45.7 ± 12.7 47.8 ± 13.0
Sex, n(%)
 Female 2562 (30.9) 1681 (30.3) 250 (31.0) 507 (32.0) 124 (34.9)
 Male 5612 (67.6) 3783 (68.1) 540 (66.9) 1058 (66.7) 231 (65.1)
 N/A 132 (1.6) 93 (1.7) 17 (2.1) 22 (1.4) 0 (0.0)
Disease category, n(%)
Normal 5713 (19.7) 3763 (19.2) 584 (21.7) 961 (18.2) 405 (28.3)
Malignancies
 NPC 19,107 (66.0) 13,061 (66.7) 1749 (65.0) 3564 (67.6) 731(51.1)
 Othersa 335 (1.2) 252 (1.3) 22 (0.8) 54 (1.0) 7 (0.4)
Benign diseasesb 3811 (13.2) 2500 (12.8) 335 (12.5) 691 (13.1) 287(20.1)
Images, n(%) 28,966 19,576 (67.6) 2690 (9.3) 5270 (18.2) 1430 (4.9)

N/A not available, NPC nasopharyngeal carcinoma

aLymphoma, rhabdomyosarcoma, olfactory neuroblastoma, malignant melanoma and plasmacytoma

bPrecancerous/atypical hyperplasia, fibroangioma, leiomyoma, meningioma, minor salivary gland tumour, fungal infection, tuberculosis, chronic inflammation, adenoids/lymphoid hyperplasia, nasopharyngeal cyst and foreign bodies

Fig. 2.

Fig. 2

Representative images of nasopharyngeal masses. a normal (adenoids hyperplasia); b Nasopharyngeal carcinoma; c fibroangioma; d malignant melanoma

Diagnostic performance of eNPM-DM

The overall accuracy of eNPM-DM for detecting malignancies in the test set was 88.7% (95% CI 87.8%–89.5%) with a sensitivity of 91.3% (95% CI 90.3%–92.2%) and a specificity of 83.1% (95% CI 81.1%–84.8%) (Table 2). We further compared the diagnostic performance of eNPM-DM with that of oncologists in nasopharyngeal malignancies in the prospective test set. eNPM-DM had an accuracy of 88.0% (95% CI 86.1%–89.6%) versus 80.5% (95% CI 77.0%–84.0%) for experts, 72.8% (95% CI 66.9%–78.6%) for residents and 66.5% (95% CI 48.0%–84.9%) for interns (Table 2). Moreover, eNPM-DM had higher specificity [85.5% (95% CI 82.7%–88.0%)] and similar sensitivity [90.2% (95% CI 87.8%–92.2%) versus experts: 70.8% (63.0%–78.6%) and 89.5% (87.4%–91.7%), respectively]. eNPM-DM also had higher PPV and NPV. eNPM-DM plus experts increased the specificity to 90.0% (95 CI 87.5%–92.1%) versus 85.5% (95% CI 82.7%–88.0%) for eNPM-DM. The AUC of eNPM-DM was 0.938 and 0.930 for nasopharyngeal malignancy in the test set and the prospective test set, respectively (Fig. 3). The training curve of eNPM-DM in nasopharyngeal malignancy detection revealed similar data loss in both the training set and the validation set, indicating no appreciable over-fitting (Fig. 4) [18].

Table 2.

The diagnostic performance of eNPM-DM and/or oncologists in nasopharyngeal malignancy

Evaluation indicators Test seta Prospective test seta
eNPM-DM Oncologist level eNPM-DM plus experts
Expertsb Residentsb Internsb
Accuracy 88.7 (87.8, 89.5) 88.0 (86.1, 89.6) 80.5 ± 0.8 (77.0, 84.0) 72.8 ± 2.5 (66.9, 78.6) 66.5 ± 4.3 (48.0, 84.9) 89.0 (87.2, 90.5)
Sensitivity 91.3 (90.3, 92.2) 90.2 (87.8, 92.2) 89.5 ± 0.5 (87.4, 91.7) 88.8 ± 2.4 (83.1, 94.5) 92.2 ± 2.3 (82.1, 100.0) 87.9 (85.3, 90.2)
Specificity 83.1 (81.1, 84.8) 85.5 (82.7, 88.0) 70.8 ± 1.8 (63.0, 78.6) 55.5 ± 7.2 (38.6, 72.5) 38.9 ± 11.0 (8.5, 86.3) 90.0 (87.5, 92.1)
PPV 92.2 (91.2, 93.0) 86.9 (84.3, 89.2) 76.6 ± 1.1 (71.9, 81.3) 69.5 ± 3.1 (62.2, 76.8) 62.3 ± 3.9 (45.4, 79.2) 90.4 (87.9, 92.4)
NPV 81.3 (79.3, 83.1) 89.2 (86.5, 91.4) 86.4 ± 0.5 (84.0, 88.7) 83.2 ± 1.6 (79.4, 87.0) 82.2 ± 2.4 (71.9, 92.4) 87.5 (84.8, 90.0)
Time(min) 0.67 (~ 40 s) 110.0 ± 5.8 (85.2, 134.8) 99.3 ± 6.3 (84.3, 114.2) 106.7 ± 8.8 (68.7, 144.6)

eNPM-DM endoscopic images-based nasopharyngeal malignancies detection model, PPV positive predictive value, NPV negative predictive value

aThe numbers in parenthesis are the corresponding 95% confidence interval

bThe performance of the oncologists is presented as mean ± standard error

Fig. 3.

Fig. 3

ROC for eNPM-DM in different test sets. a ROC of eNPM-DM in nasopharyngeal malignancy detection in the test set. b Comparison of the performance between eNPM-DM and oncologists with different seniorities in nasopharyngeal malignancy detection in the prospective test set. eNPM-DM endoscopic images-based nasopharyngeal malignancy detection model, ROC receiver operating characteristic curves, AUC area under curve

Fig. 4.

Fig. 4

The training curve of eNPM-DM in detecting nasopharyngeal malignancies. The orange line represents the accuracy of detecting nasopharyngeal malignancies in the validation set over the course of training, with a final accuracy of 89.1% at the final epoch. The training curve was used for model selection. In this case, the best performing model at epoch 100 was used in the test and prospective test sets for final assessment. eNPM-DM endoscopic images-based nasopharyngeal malignancies detection model, Val validation

Moreover, it took eNPM-DM 40 s to render an opinion, which was considerably shorter versus experts [110.0 ± 5.8 min (95% CI 85.2–134.8)].

The performance of eNPM-DM in nasopharyngeal malignancy segmentation

Given that a high negative rate of malignancy is the most concerning issue during biopsy due to confounded adenoid/lymphoid hyperplasia in the nasopharynx, we sought to develop a deep learning-based tool for biopsy guidance for nasopharyngeal malignancies. To address that, automatic segmentation of the malignant area from the background of nasopharyngeal endoscopic images is the most important process. No malignant area was segmented for the normal nasopharynx as the original endoscopic image was recognized as non-malignant correctly by eNPM-DM (Fig. 5). In contrast, the suspicious malignant area in an image that was recognized as malignant was segmented by eNPM-DM. As noted, eNPM-DM could recognize and segment malignant areas based on the presence of a mass or mere rough surface (Fig. 5), yielding a mean DSC of 0.78 ± 0.24 and 0.75 ± 0.26 in the test set and the prospective test set, respectively.

Fig. 5.

Fig. 5

Representative images of nasopharyngeal malignancies segmentation. Images from the left to the right in each row are the original endoscopic images with or without malignant area highlighted by the experts (blue), the probability map output by eNPM-DM and the merged images of the malignant area outlined by the experts (blue) and segmented by the eNPM-DM (green). eNPM-DM endoscopic images-based nasopharyngeal malignancy detection model, NPC nasopharyngeal carcinoma

Discussion

We developed an artificial intelligence model to assist physicians in the detection of nasopharyngeal malignancies and provide biopsy guidance by applying deep learning to nasopharyngeal endoscopy examination. We demonstrated that eNPM-DM was superior to oncological experts in detecting nasopharyngeal malignancies. Of note, eNPM-DM exhibited encouraging performance in nasopharyngeal malignancy segmentation.

Currently, the emerging field of machine learning, especially deep learning, has exerted significant impact on medical imaging. In general, deep learning algorithms recognize important features of images and properly giving weight to these features by modulating its inner parameters to make predictions for new data, thus accomplishing identification, classification or grading [21] and demonstrating strong processing ability and intact information retention [22], which is superior to previous machine learning methods [17]. Superiority of computer-aided diagnosis based on deep learning have recently been reported for a wide spectrum of diseases, including gastric cancer [23], diabetic retinopathy [16], cardiac arrhythmia [24], skin cancer [17] and colorectal polyp [25]. Notably, a wide variety of image types were explored in these studies, i.e., pathological slides [19, 23], electrocardiograms [24], radiological images [18, 26] and general pictures [17]. The deep learning method exhibited outstanding performance in most of the competitions between artificial intelligence and experts even though these medical images were captured by various types of equipment and presented in different forms, suggesting enormous potential of deep learning in auxiliary diagnoses. A well-trained algorithm for a specific disease can increase the accuracy of diagnosis and working efficiency of physicians, liberating them from repetitive tasks.

Recently, deep learning has been extensively used in the differential diagnosis of gastrointestinal disease in endoscopic images. Tomohiro et al. developed a convolutional neural network for detecting gastric cancer [27] and Helicobacter pylori infection based on endoscopic images [28]. Moreover, an artificial intelligence model was trained on endoscopic videos to differentiate diminutive adenomas from hyperplastic polyps, thus realizing real-time differential diagnosis [29]. Given that endoscopic examination is indispensable for biopsy and important for decision making in a clinical setting, developing tools for endoscopic auxiliary diagnosis can dramatically increase physicians’ working efficiency via rapid recognition and biopsy guidance, especially in patients with multi-lesions or mixed lesions [30]. Given the illusive mass caused by adenoid/lymphoid hyperplasia, it is desirable to recognize nasopharyngeal malignancies using artificial intelligence tools. However, limited studies on deep learning methods in nasopharyngeal disease differentiation have been performed based on endoscopic images to date [31]. To this end, this study has taken advantage of the abundant resource of nasopharyngeal endoscopic images at our centre and the advanced methods to develop the targeted model.

Endoscopic examination is particularly indispensable for biopsy in participants at risk of nasopharyngeal malignancies. However, currently, no additional approaches are applied to the screening of nasopharyngeal malignancies except EBV serological test [32]. Our eNPM-DM outperformed experts in distinguishing nasopharyngeal malignancies from benign diseases using far less time with encouraging sensitivity and specificity. eNPM-DM was trained and fine-tuned on numerous images that covered patients diagnosed at our centre over 8 years and exhibited encouraging performance in a shorter learning period, suggesting that eNPM-DM ‘learned’ efficiently and was highly productive.

Over diagnosis is the major cause of misdiagnosis for both eNPM-DM and oncologists, suggesting that the model might learn object recognition in the same manner as a human. For example, both could distinguish different objects based on the texture, roughness, colour, size, and even vascularity on the surface of the lesion [17]. Moreover, given increased specificity eNPM-DM versus experts, eNPM-DM may also help achieve better heath economics in NPC screening [33], simultaneously improving diagnostic accuracy and screening productivity. Furthermore, the combination of eNPM-DM and experts further increased the accuracy rate and decreased the false positive rate of NPC, identifying as many cases of malignancies as possible with minimal health expenditure in NPC screening. Accordingly, the emerging deep learning could serve as a powerful assistant in clinical practice, increasing the accuracy of screening, reducing cognitive burden on clinicians, positively impacting patients’ outcome and quality of life by fostering early intervention and reducing screening costs.

Additionally, our study offers a comprehensive method that is explicitly designed to develop a tool to segment nasopharyngeal malignancies in endoscopic images based on deep learning, which could be a promising biopsy guidance tool for nasopharyngeal malignancies, with the aim of increasing NPV of biopsy for malignancies. Here, eNPM-DM exhibited encouraging results in recognizing malignant areas in nasopharyngeal endoscopic images, which is consistent with the malignant lesion outlined by the experts. Accordingly, eNPM-DM could serve as a powerful biopsy guidance tool for resident oncologists or community physicians regardless of their limited experience in nasopharyngeal diseases.

To publicize our experience in nasopharyngeal malignancy detection and make full use of the advanced tool in clinical practice, we established an on-line platform (http://nasoai.sysucc.org.cn/). Both the patients and physicians may use this platform to assess the probability of malignancy in a certain image by uploading eligible nasopharyngeal endoscopic images to the artificial intelligence platform. If the lesion is recognized as malignant, the suggestive region for biopsy is provided.

There are limitations in this study. Given that all images were acquired from a single tertiary care centre in a highly endemic area of NPC, the diversity of nasopharyngeal diseases presented in this context might be reduced, subsequently resulting in over-fitting. However, the training curve revealed that the loss of the training was similar to that of the validation, which is indicative of a well-fit curve. In addition, NPC was the most prominent malignancy in this study, which might reduce the detection efficiency for other malignancies. However, given that NPC is the most common malignancy in the nasopharynx [1, 2] and the sensitivity of eNPM-DM in detecting nasopharyngeal malignancies was 90.2%, we believe that eNPM-DM is the most powerful auxiliary diagnosis tool in nasopharyngeal malignancy detection to date. One possible improvement could be a further increase in the spectrum of nasopharyngeal malignancies through collaboration with other centres in the future. Additionally, physical examination findings and laboratory test results, such as plasma antibody titters of EBV; and magnetic resonance imaging features of the nasopharynx and neck [9] can be taken into account during diagnosis in clinical practice. Therefore, integration of the endoscopic images, laboratory examination and radiologic images should be considered in nasopharyngeal malignancy detection based on deep learning. Similar to other deep leaning models, the exact features of eNPM-DM in malignancy detection remain unknown, and further investigation of detailed mechanisms is warranted. Particularly, since the model was trained on images, eNPM-DM could only render a diagnosis based on endoscopic images obtained in advance rather than real-time operation or video, and there is also a long and arduous way to combine eNPM-DM and the endoscopy system. Here, we manually selected 28,966 qualified images from numerous images and discarded the remaining images that are of poor quality or irrelevant. In future work, we plan to improve the performance of the model in image detection, identify the irrelevant images and evaluate image quality automatically. Finally, we plan to extend the developed deep learning image analysis framework to endoscopic image analysis and assessment in other types of cancers, such as gastric cancer, cervical cancer, and throat carcinoma.

Conclusion

The eNPM-DM outperformed experts in detecting nasopharyngeal malignancies. Moreover, the developed model could also conduct automatic segmentation of malignant area from the confusing background of nasopharyngeal endoscopic images efficiently, showing promising prospects in biopsy guidance for nasopharyngeal malignancies.

Authors’ contributions

CL, XL, XG, YS, and YX designed the study. CL, BJ, BL, CH trained the model. WX, CQ, CZ, HM, MC, KC, HM, LG, QC, LT, WQ, YY, HL, XH, GL, WL, LW, RS, XZ, SG, PH, DL, FQ, YW, and YH collected the data. XG, YX, XL, WX, WQ, LK, YY, HL, XH, GL, WL, SL, KY, and JM participated in the competition. LK, BJ, and CL analysed and interpreted the data. LK, BJ, XL, CL, and YS prepared the manuscript. All authors read and approved the final manuscript.

Acknowledgements

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Availability of data and materials

The prospective test datasets during this study is available at http://www.nasoai.com.

The key raw data have been uploaded onto the Research Data Deposit public platform (RDD), with the approval RDD number of is RDDA2018000800.

Consent for publication

Not applicable.

Ethics approval and consent to participate

This study was approved by the institutional review board of Sun Yat-sen University Cancer Center. All patients provided written informed consent before endoscopy.

Funding

This work was supported by the National Natural Science Foundation of China [Grant Nos. 81572665, 81672680, 81472525, 81702873]; the International Cooperation Project of Science and Technology Plan of Guangdong Province [Grant No. 2016A050502011]; the Health& Medical Collaborative Innovation Project of Guangzhou City, China (Grant No. 201604020003).

Abbreviations

eNPM-DM

endoscopic images-based nasopharyngeal malignancy detection model

NPC

nasopharyngeal carcinoma

Contributor Information

Chaofeng Li, Email: lichaofeng@sysucc.org.cn.

Bingzhong Jing, Email: jingbzh@sysucc.org.cn.

Liangru Ke, Email: kelr@sysucc.org.cn.

Bin Li, Email: libin@sysucc.org.cn.

Weixiong Xia, Email: xiawx@sysucc.org.cn.

Caisheng He, Email: hecsh@sysucc.org.cn.

Chaonan Qian, Email: qianchn@sysucc.org.cn.

Chong Zhao, Email: zhaochong@sysucc.org.cn.

Haiqiang Mai, Email: maihq@sysucc.org.cn.

Mingyuan Chen, Email: chenmy@sysucc.org.cn.

Kajia Cao, Email: caokj@sysucc.org.cn.

Haoyuan Mo, Email: mohy@sysucc.org.cn.

Ling Guo, Email: guoling@sysucc.org.cn.

Qiuyan Chen, Email: chenqy@sysucc.org.cn.

Linquan Tang, Email: tanglq@sysucc.org.cn.

Wenze Qiu, Email: qiuwz@sysucc.org.cn.

Yahui Yu, Email: yuyh@sysucc.org.cn.

Hu Liang, Email: lianghu@sysucc.org.cn.

Xinjun Huang, Email: huangxinj@sysucc.org.cn.

Guoying Liu, Email: liugy@sysucc.org.cn.

Wangzhong Li, Email: liwzh@sysucc.org.cn.

Lin Wang, Email: wangl1@sysucc.org.cn.

Rui Sun, Email: sunrui@sysucc.org.cn.

Xiong Zou, Email: zouxiong@sysucc.org.cn.

Shanshan Guo, Email: guoshsh@sysucc.org.cn.

Peiyu Huang, Email: huangpy@sysucc.org.cn.

Donghua Luo, Email: luodh@sysucc.org.cn.

Fang Qiu, Email: qiufang@sysucc.org.cn.

Yishan Wu, Email: wuysh@sysucc.org.cn.

Yijun Hua, Email: huayj@sysucc.org.cn.

Kuiyuan Liu, Email: liukuiy@sysucc.org.cn.

Shuhui Lv, Email: lvsh1@sysucc.org.cn.

Jingjing Miao, Email: miaojj@sysucc.org.cn.

Yanqun Xiang, Email: xiangyq@sysucc.org.cn.

Ying Sun, Email: sunying@sysucc.org.cn.

Xiang Guo, Email: guoxiang@sysucc.org.cn.

Xing Lv, Email: lvxing@sysucc.org.cn.

References

  • 1.Berkiten G, Kumral TL, Yildirim G, Uyar Y, Atar Y, Salturk Z. Eight years of clinical findings and biopsy results of nasopharyngeal pathologies in 1647 adult patients: a retrospective study. B-ENT. 2014;10(4):279–284. [PubMed] [Google Scholar]
  • 2.Stelow EB, Wenig BM. Update from the 4th edition of the World Health Organization classification of head and neck tumours: nasopharynx. Head Neck Pathol. 2017;11(1):16–22. doi: 10.1007/s12105-017-0787-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Wei KR, Zheng RS, Zhang SW, Liang ZH, Li ZM, Chen WQ. Nasopharyngeal carcinoma incidence and mortality in China, 2013. Chin J Cancer. 2017;36(1):90. doi: 10.1186/s40880-017-0257-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Liang H, Xiang YQ, Lv X, Xie CQ, Cao SM, Wang L, et al. Survival impact of waiting time for radical radiotherapy in nasopharyngeal carcinoma: a large institution-based cohort study from an endemic area. Eur J Cancer. 2017;73:48–60. doi: 10.1016/j.ejca.2016.12.009. [DOI] [PubMed] [Google Scholar]
  • 5.Yi JL, Gao L, Huang XD, Li SY, Luo JW, Cai WM, et al. Nasopharyngeal carcinoma treated by radical radiotherapy alone: ten-year experience of a single institution. Int J Radiat Oncol Biol Phys. 2006;65(1):161–168. doi: 10.1016/j.ijrobp.2005.12.003. [DOI] [PubMed] [Google Scholar]
  • 6.Su SF, Han F, Zhao C, Huang Y, Chen CY, Xiao WW, et al. Treatment outcomes for different subgroups of nasopharyngeal carcinoma patients treated with intensity-modulated radiation therapy. Chin J Cancer. 2011;30(8):565–573. doi: 10.5732/cjc.010.10547. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Lee N, Harris J, Garden AS, Straube W, Glisson B, Xia P, et al. Intensity-modulated radiation therapy with or without chemotherapy for nasopharyngeal carcinoma: radiation therapy oncology group phase II trial 0225. J Clin Oncol. 2009;27(22):3684–3690. doi: 10.1200/JCO.2008.19.9109. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Chan AT, Felip E. Nasopharyngeal cancer: ESMO clinical recommendations for diagnosis, treatment and follow-up. Ann Oncol. 2009;20(Suppl 4):123–125. doi: 10.1093/annonc/mdp150. [DOI] [PubMed] [Google Scholar]
  • 9.Cengiz K, Kumral TL, Yildirim G. Diagnosis of pediatric nasopharynx carcinoma after recurrent adenoidectomy. Case Rep Otolaryngol. 2013;2013:653963. doi: 10.1155/2013/653963. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Wu YP, Cai PQ, Tian L, Xu JH, Mitteer RJ, Fan Y, et al. Hypertrophic adenoids in patients with nasopharyngeal carcinoma: appearance at magnetic resonance imaging before and after treatment. Chin J Cancer. 2015;34(3):130–136. doi: 10.1186/s40880-015-0005-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Abu-Ghanem S, Carmel NN, Horowitz G, Yehuda M, Leshno M, Abu-Ghanem Y, et al. Nasopharyngeal biopsy in adults: a large-scale study in a non endemic area. Rhinology. 2015;53(2):142–148. doi: 10.4193/Rhin14.130. [DOI] [PubMed] [Google Scholar]
  • 12.Miotto R, Wang F, Wang S, Jiang X, Dudley JT. Deep learning for healthcare: review, opportunities and challenges. Brief Bioinform 2017. [DOI] [PMC free article] [PubMed]
  • 13.Mnih V, Kavukcuoglu K, Silver D, Rusu AA, Veness J, Bellemare MG, et al. Human-level control through deep reinforcement learning. Nature. 2015;518(7540):529–533. doi: 10.1038/nature14236. [DOI] [PubMed] [Google Scholar]
  • 14.Silver D, Huang A, Maddison CJ, Guez A, Sifre L, van den Driessche G, et al. Mastering the game of Go with deep neural networks and tree search. Nature. 2016;529(7587):484–489. doi: 10.1038/nature16961. [DOI] [PubMed] [Google Scholar]
  • 15.Russakovsky O, Deng J, Su H, Krause J, Satheesh S, Ma S, et al. ImageNet large scale visual recognition challenge. Int J Comput Vision. 2015;115(3):211–252. doi: 10.1007/s11263-015-0816-y. [DOI] [Google Scholar]
  • 16.Gulshan V, Peng L, Coram M, Stumpe MC, Wu D, Narayanaswamy A, et al. Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs. JAMA. 2016;316(22):2402–2410. doi: 10.1001/jama.2016.17216. [DOI] [PubMed] [Google Scholar]
  • 17.Esteva A, Kuprel B, Novoa RA, Ko J, Swetter SM, Blau HM, et al. Dermatologist-level classification of skin cancer with deep neural networks. Nature. 2017;542(7639):115–118. doi: 10.1038/nature21056. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Lakhani P, Sundaram B. Deep learning at chest radiography: automated classification of pulmonary tuberculosis by using convolutional neural networks. Radiology. 2017;284(2):574–582. doi: 10.1148/radiol.2017162326. [DOI] [PubMed] [Google Scholar]
  • 19.Ertosun MG, Rubin DL. Automated grading of gliomas using deep learning in digital pathology images: a modular approach with ensemble of convolutional neural networks. AMIA Annu Symp Proc. 2015;2015:1899–1908. [PMC free article] [PubMed] [Google Scholar]
  • 20.Shelhamer E, Long J, Darrell T. Fully convolutional networks for semantic segmentation. IEEE Trans Pattern Anal Mach Intell. 2017;39(4):640–651. doi: 10.1109/TPAMI.2016.2572683. [DOI] [PubMed] [Google Scholar]
  • 21.Korbar B, Olofson AM, Miraflor AP, Nicka CM, Suriawinata MA, Torresani L, et al. Deep learning for classification of colorectal polyps on whole-slide images. J Pathol Inf. 2017;8:30. doi: 10.4103/jpi.jpi_34_17. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Suzuki K. Overview of deep learning in medical imaging. Radiol Phys Technol. 2017;10(3):257–273. doi: 10.1007/s12194-017-0406-5. [DOI] [PubMed] [Google Scholar]
  • 23.Sharma H, Zerbe N, Klempert I, Hellwich O, Hufnagl P. Deep convolutional neural networks for automatic classification of gastric carcinoma using whole slide images in digital histopathology. Comput Med Imaging Graph. 2017;61:2–13. doi: 10.1016/j.compmedimag.2017.06.001. [DOI] [PubMed] [Google Scholar]
  • 24.Schirrmeister RT, Springenberg JT, Fiederer L, Glasstetter M, Eggensperger K, Tangermann M, et al. Deep learning with convolutional neural networks for EEG decoding and visualization. Hum Brain Mapp. 2017;38:5391–5420. doi: 10.1002/hbm.23730. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Komeda Y, Handa H, Watanabe T, Nomura T, Kitahashi M, Sakurai T, et al. Computer-aided diagnosis based on convolutional neural network system for colorectal polyp classification: preliminary experience. Oncology. 2017;93(Suppl 1):30–34. doi: 10.1159/000481227. [DOI] [PubMed] [Google Scholar]
  • 26.van der Burgh HK, Schmidt R, Westeneng HJ, de Reus MA, van den Berg LH, van den Heuvel MP. Deep learning predictions of survival based on MRI in amyotrophic lateral sclerosis. Neuroimage Clin. 2017;13:361–369. doi: 10.1016/j.nicl.2016.10.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Hirasawa T, Aoyama K, Tanimoto T, Ishihara S, Shichijo S, Ozawa T, et al. Application of artificial intelligence using a convolutional neural network for detecting gastric cancer in endoscopic images. Gastric Cancer. 2018;21:653–660. doi: 10.1007/s10120-018-0793-2. [DOI] [PubMed] [Google Scholar]
  • 28.Shichijo S, Nomura S, Aoyama K, Nishikawa Y, Miura M, Shinagawa T, et al. application of convolutional neural networks in the diagnosis of helicobacter pylori infection based on endoscopic images. EBioMedicine. 2017;25:106–111. doi: 10.1016/j.ebiom.2017.10.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Byrne MF, Chapados N, Soudan F, Oertel C, Linares PM, Kelly R, et al. Real-time differentiation of adenomatous and hyperplastic diminutive colorectal polyps during analysis of unaltered videos of standard colonoscopy using a deep learning model. Gut. 2017 doi: 10.1136/gutjnl-2017-314547. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Mori H, Nishiyama N, Kobara H, Fujihara S, Kobayashi N, Nagase T, et al. The use of a detachable multiple polyp catcher to facilitate accurate location and pathological diagnosis of resected polyps in the proximal colon. Gastrointest Endosc. 2016;83(1):262–263. doi: 10.1016/j.gie.2015.08.008. [DOI] [PubMed] [Google Scholar]
  • 31.Ribeiro E, Uhl A, Wimmer G, Hafner M. Exploring deep learning and transfer learning for colonic polyp classification. Comput Math Methods Med. 2016;2016:6584725. doi: 10.1155/2016/6584725. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Chan KC. Plasma Epstein-Barr virus DNA as a biomarker for nasopharyngeal carcinoma. Chin J Cancer. 2014;33(12):598–603. doi: 10.5732/cjc.014.10192. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Meng R, Wei K, Xia L, Xu Y, Chen W, Zheng R, et al. Cancer incidence and mortality in Guangdong province, 2012. Chin J Cancer Res. 2016;28(3):311–320. doi: 10.21147/j.issn.1000-9604.2016.03.05. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The prospective test datasets during this study is available at http://www.nasoai.com.

The key raw data have been uploaded onto the Research Data Deposit public platform (RDD), with the approval RDD number of is RDDA2018000800.


Articles from Cancer Communications are provided here courtesy of Wiley

RESOURCES