ABSTRACT
Objective: To verify the accuracy of deep learning models in detecting cellular alterations in histological images of oral mucosa.
Material and Methods: The study compares three convolutional neural network (CNN) architectures for classifying histological images: EfficientNet-B3, MobileNet-V2, and VGG16. Efficient and focused on computer vision, each has specific advantages. A Kaggle database with 5192 images was used, divided into training (70%), validation (15%), and test (15%) sets. The CNNs were implemented using the Keras library, trained with pre-trained ImageNet weights, and evaluated using accuracy and AUC metrics.
Results: The findings indicate that EfficientNet-B3 achieved the lowest training and validation losses at epoch 30, with the highest accuracy and stability during training. Evaluation metrics showed EfficientNet-B3 with 98% accuracy and 99% sensitivity for oral squamous cell carcinoma (OSCC) images, outperforming MobileNet-V2 and VGG16. MobileNet-V2 achieved 97% accuracy and 96% sensitivity, while VGG16 reached 94% accuracy and 93% sensitivity for OSCC images. All models exhibited high sensitivity and specificity in differentiating between normal and OSCC images, as demonstrated by ROC curves. EfficientNet-B3 had the highest AUC (0.982), followed by MobileNet-V2 (AUC=0.967) and VGG16 (AUC=0.937). These findings underscore the effectiveness of EfficientNet-B3 for accurately detecting cellular alterations in histological images of oral mucosa.
Conclusion: Our study reveals the superior performance of CNNs, particularly EfficientNet-B3, in classifying histological images of OSCC.
Keywords:
Deep Learning; Mouth Neoplasms; Neural Networks, Computer; Machine Learning
Introduction
Oral cancer is a common disease all over the world, mainly affecting men over the age of 50. According to studies, it accounts for around 3% of all cancer cases diagnosed globally [1-3]. The most common type of oral cancer is squamous cell carcinoma (OSCC), accounting for around 90% of all diagnosed cases. This neoplasm originates in the squamous cells lining the mouth and can spread to adjacent tissues and other parts of the body, such as the lymph nodes and lungs [3,4]. The incidence of mouth cancer varies between different regions of the world and is more frequent in countries with risky cultural and behavioral habits, such as tobacco and alcohol consumption, exposure to the sun and a nutrient-poor diet, as well as exposure to the HPV virus [5]. There are also reports in the literature of a higher risk of mouth cancer associated with socioeconomic status [6]. The survival rate for oral squamous cell carcinoma is 80% for localized cases and less than 50% for advanced cases. Sequelae include problems with speech, swallowing, chewing, and quality of life [7,8]. Prevention and early detection of oral cancer are fundamental to guaranteeing survival and quality of life for patients [2,3].
There are various techniques for diagnosing OSCC, including clinical examination, biopsy and imaging tests, with biopsy being considered the gold standard, allowing histological analysis of the tissue [9]. However, it is possible to highlight some difficulties related to performing the biopsy. One of these difficulties is inter-observer variability in the histopathological interpretation of biopsy specimens, which can lead to misdiagnoses and delays in treatment [10]. Another difficulty is the possibility of the tumor being understaged in the biopsy, which can lead to inadequate treatment [2].
In recent years, the use of Artificial Intelligence (AI) has gained prominence in oral cancer research, especially in diagnostic and prognostic aid. AI has shown potential for improving the early detection of oral cancer, increasing the effectiveness of diagnosis and reducing the time patients have to wait for accurate results. In addition, AI has been used to predict the prognosis of mouth cancer patients, identifying those with a higher risk of disease recurrence and allowing more aggressive therapeutic measures to be taken early on [11,12].
The use of machine learning techniques has proved to be a promising tool for the diagnosis and prognosis of OSCC. The results described in the literature suggest that these techniques can be used as a complementary approach to conventional diagnostic and prognostic methods, improving the accuracy and speed of the process [13-15]. However, there is much progress to be made in the knowledge and application of AI resources for diagnostic aid in health, understanding which algorithms are most appropriate and their accuracy. The use of convolutional neural network (CNN) algorithms has shown promise for classification in this context. An example is the use of deep learning to diagnose oral changes from histopathological images [16]. A challenge that remains in this area is the high computational requirements [17] and the diversity of existing algorithms [16], which can mean a greater delay in using AI for diagnostic support. Therefore, one of the gaps that this study aims to explore is the comparison of the performance of three CNN algorithms, two of them more widely used (MobileNet and VGG) and a lightweight one - EfficientNet, which has been poorly tested in its B3 version for the detection of OSCC in histological images, allowing the use in clinical context to be facilitated by selecting the one with the best performance. Therefore, the aim of this study was to verify the accuracy of deep learning models in detecting cellular alterations in histological images of oral mucosa.
Material and Methods
Study Design and Architectures Used
This is a cross-sectional study comparing deep convolutional neural network (CNN) models for classifying histological images. Three convolutional neural network architectures were used: EfficientNet-B3, MobileNet-V2 and VGG16, all of which are focused on computer vision tasks. EfficientNet models are built on the concept of composite scalability. They use an optimization strategy that seeks to efficiently scale the depth, width and resolution of the network. This allows the models to achieve competitive performance in various computer vision tasks, even with computational constraints, with the EfficientNet-B3 model being a specific member of this family, which was designed to achieve a balance between performance and computational efficiency [18]. The MobileNet-V2 architecture uses a combination of techniques, such as separable convolution layers, linear activation per layer, inverted residuals and linear expansion. These techniques are applied to achieve a more efficient architecture in terms of memory consumption and computing power, while maintaining competitive performance in computer vision tasks [19]. The VGG16 model was proposed in 2015 and stands out for its deep structure and the use of convolutional layers with small filters (3x3) and max pooling (2x2). According to Simonyan and Zisserman [20], the choice to use smaller filters in all layers of the network allows for greater depth and a better representation of image characteristics, while maximum pooling helps to reduce dimensionality and extract the most relevant characteristics.
Database and Image Preparation
The database was obtained from the Kaggle website (www.kaggle.com), which is an open-access community for data science, on November 30, 2023. The database used is called "Histopathologic Oral Cancer Detection using CNNs", which contains histological images of oral epithelium, classified dichotomously as images without disease and images of patients with squamous cell carcinoma. The images were obtained using magnifications of 100x and 400x with a resolution of 96 dpi, JPG format with three color channels (RGB). They were resized in order to be used as input for the Machine Learning model, and they were adjusted to 224x224 pixels in order to match the expected input for the CNN models.
All 5192 images in the database were used in the analyses. The images were already classified in the database and reviewed by the same investigator to verify the presence of cellular changes. Of these, 2698 (52%) were with disease, and 2494 (48%) were without disease (Figure 1). The dataset was randomly divided using random sampling from the Scikit-Learn Library [21] into three categories: (1) training set (70%; n = 3634 images); (2) validation set (15%; n = 779 images); and (3) test set (15%; n = 779 images). Figure 2 shows some images from the data set.
Development and Implementation of Convolutional Neural Networks
The CNN model was built using five sequential layers: (1) an input layer with convolutional and pooling layers transferred from the proposed architecture (EfficientNet-B3, MobileNet-V2 and VGG16), expected image size of 224 x 224 x 3; (2) a batch normalization layer; (3) a dense layer with a rectified linear unit (ReLU) activation function; (4) a Dropout layer with a rate of 0.45; and (5) an output layer with a Softmax activation function.
The proposed models were implemented using the Keras library (keras.io). The Adam optimizer was used to train the models with a learning rate of 0.001 and a batch size of 32 [22]. All the parameters of the convolutional and clustering layers of the architectures used were initialized using the pre-trained weights from ImageNet [23]. In order to reduce the dissimilarities between the predicted and actual probability distributions, the "categorical cross-entropy" loss function was used.
Two callbacks were used during the training process. The first callback was "EarlyStopping", used to monitor validation loss and stop training if no improvement is observed (patience = 5 epochs), thus preventing overfitting. The second callback was "ReduceLROnPlateau", which reduces the learning rate when a metric stop improving (patience = 4 epochs), thus dealing with problems of stagnation in model learning (https://keras.io/api/callbacks/). All the analyses were carried out using the Google Colab environment (colab.research.google.com).
Model Evaluation Metrics
Two metrics were used to assess the model's performance: accuracy and area under the ROC curve (AUC). Accuracy is calculated by dividing the number of correct predictions by the total number of samples tested and is a general indicator of performance. The AUC metric is used to assess the model's performance in correctly classifying positive classes as positive and negative classes as negative. Both metrics were calculated using the Scikit-Learn library implementation [21]. Table 1 shows the learning models used in this study as well as their parameters (Table 1).
Results
During the training process, it was found that the lowest training and validation losses occurred at epoch 30 for EfficientNet-B3, epoch 29 for MobileNet-V2 and epoch 40 for VGG16 (Figure 3), with EfficientNet-B3 achieving the highest accuracy in the fewest epochs tested during training and accuracy validation and remaining more stable (Figure 4).
The evaluation metrics for the EfficientNet-B3 learning transfer model showed 98% accuracy and 99% sensitivity for images with OSCC. MobileNet-V2 showed 97% accuracy and 96% sensitivity for images with OSCC. VGG16 obtained an accuracy of 94% and a sensitivity of 93% for images from the OSCC group (Table 2).
Accuracy of the deep learning models tested in detecting cellular alterations in histological images of oral mucosa.
The ROC (receiver operating characteristic) curve showed that all the models tested had high sensitivity and specificity in differentiating images with normal characteristics from those with OSCC (Figure 5). The highest cut-off point was for EfficientNet-B3 (AUC=0.982), followed by MobileNet (AUC=0.967) and VGG16 (AUC=0.937).
Discussion
The results of this study have shown that the three CNN transfer learning models tested have a high diagnostic potential, all of which have an accuracy of over 93% in the architectures used. Of particular note is the EfficientNet-B3 architecture, which achieved 98% accuracy in image classification.
The use of AI has grown substantially in the health sector, helping to reduce diagnostic errors [14]. While pathologists have the ability to interpret and analyze the complex characteristics present in histological samples, taking into account the clinical context and their experience, AI models, especially those based on CNNs, have shown remarkable performance in classifying histological images, achieving results comparable to and, in some cases, superior to pathologists. AI can identify subtle patterns and features imperceptible to the human eye, offering an objective and consistent analysis. However, the expertise and knowledge of pathologists are still fundamental to clinical interpretation and decision-making in complex cases. The combination of human skills and AI can lead to more accurate diagnoses and improvements in patient care by decreasing intraand inter-observer variability [24]. This high performance can be confirmed by this study, as all deep learning models showed good accuracy in classifying histological images of oral cancer, which can be an excellent alternative to help pathologists detect patterns and guide early intervention as quickly as possible.
Early detection of cellular alterations in oral cancer is extremely important for effective diagnosis and treatment. Through the early identification of precancerous or cancerous lesions, it is possible to intervene at the early stages of the disease, significantly improving survival rates and reducing associated morbidity [25]. In this context, the EfficientNet-B3 architecture demonstrated superior metrics compared to the other algorithms tested (98% accuracy). Compared to other existing CNN architectures, EfficientNet plays a promising role using advanced deep-learning techniques for accurate image classification. Its architecture combines scalability, depth, width, variable kernel size and resource optimization to extract relevant features from histological images, enabling the automated detection of abnormal cellular changes [18,26]. On the other hand, MobileNet-V2 is known for its lightness and speed, and also demonstrated a good capacity to correctly classify the images in this study (97% accuracy). It uses the convolution separation technique to reduce computational cost by splitting convolutions into two stages: a spatially separable convolution and a depth convolution. This results in an architecture that is efficient in terms of computational resources, while maintaining a good feature extraction capacity [19]. Although it may have a slightly lower performance compared to EfficientNet-B3, MobileNet-V2 can still be a viable option for detecting cellular changes in oral cancer in scenarios with computational resource constraints. VGG16, on the other hand, is an older but widely used and well-established CNN architecture. It stands out for its depth and ability to learn discriminative features (Table 1). However, this architecture is heavier in terms of computational resources and has a significant number of parameters [20]. Although it can provide accurate results in detecting cellular alterations in oral cancer, VGG16 may be less efficient in terms of training time and inference when compared to the other two architectures mentioned.
All the models used demonstrated excellent sensitivity and specificity metrics for classifying images, comparable to traditional pathological analyses. However, even with these results, a systematic review of the literature pointed out that it is still difficult to incorporate this technology into clinical practice and that it needs to be simplified so that it can be translated into platforms that are easy for professionals to use [11].
In a study comparing the use of deep learning to identify OSCC with the diagnostic accuracy of pathologists, it was possible to identify that CNN collaborated with the increase in caution of professionals during the classification of images, when they were assisted by the model, reducing the number of images classified as false positive and reducing the time for classification [14]. In this same study, the 7-layer convolutional CNN model obtained greater diagnostic accuracy than the pathologists [14].
An advantage of this study is the large number of images in the database compared to previously published work [27,28]. This feature provides greater variability in the analysis, reducing the risk of classification bias [28]. Similarly, the use of a cloud environment for analysis, such as Google Colab, with limited computational capacity, brings the results closer to real-world application. On the other hand, this feature also poses a challenge for the modeling, since the scarcity of computational resources directly affects the adjustment of some parameters, such as the batch size [17]. Another challenge related to the use of CNNs is the possibility of overfitting, which often does not allow such high accuracy in situations other than the one in which the model was trained. Another limitation of this study is the difficulty of interpreting deep learning models. Although they are powerful in their predictions, the difficulty in understanding how the models make their decisions should be the subject of future research. It is also suggested that other versions of the EfficientNet model, with greater scalability of parameters, be tested in new studies evaluating their efficiency in classifying histopathological images of oral lesions.
Therefore, some challenges need to be overcome in order to use AI in healthcare. These include the use of CNN architectures for the classification of mouth cancer staging, applying multiclass models and contributing to clinical decision-making. There is also a need to incorporate AI into the day-to-day practices of clinicians, thus contributing to speed and assertiveness in diagnosis, especially in areas with less access to qualified human resources, increasing the population's access to early diagnosis and treatment. Further research in this area is needed to incorporate these models into clinical practice, as well as the integration of these models into devices to assist professionals, which tends to increase the diagnostic capacity of oral cancer, especially in the early stages.
Conclusion
All the deep learning models used in this study demonstrated a high capacity to correctly classify histological images with cellular alterations of squamous cell carcinoma. The model with the best performance among those tested was EfficientNet-B3, followed by MobileNet-V2 and then VGG16. Therefore, the routine use of AI to aid in the diagnosis of oral cancer is very promising.
Data Availability
The data used to support the findings of this study can be made available upon request to the corresponding author.
-
Financial Support
None.
References
-
[1] Ferlay J, Colombet M, Soerjomataram I, Mathers C, Parkin DM, Piñeros M, et al. Estimating the global cancer incidence and mortality in 2018: GLOBOCAN sources and methods. Int J Cancer 2019; 144(8):1941-1953. https://doi.org/10.1002/ijc.31937
» https://doi.org/10.1002/ijc.31937 -
[2] Sung H, Ferlay J, Siegel RL, Laversanne M, Soerjomataram I, Jemal A, et al. Global cancer statistics 2020: GLOBOCAN Estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin 2021; 71(3):209-249. https://doi.org/10.3322/caac.21660
» https://doi.org/10.3322/caac.21660 -
[3] Warnakulasuriya S. Global epidemiology of oral and oropharyngeal cancer. Oral Oncol 2009; 45(4-5):309-316. https://doi.org/10.1016/j.oraloncology.2008.06.002
» https://doi.org/10.1016/j.oraloncology.2008.06.002 -
[4] Mignogna MD, Fedele S, Russo L Lo. The world cancer report and the burden of oral cancer. Eur J Cancer Prev 2004; 13(2):139-142. https://doi.org/10.1097/00008469-200404000-00008
» https://doi.org/10.1097/00008469-200404000-00008 -
[5] Johnson NW, Warnakulasuriya S, Gupta PC, Dimba E, Chindia M, Otoh EC, et al. Global oral health inequalities in incidence and outcomes for oral cancer. Adv Dent Res 2011; 23(2):237-246. https://doi.org/10.1177/0022034511402082
» https://doi.org/10.1177/0022034511402082 -
[6] Boing AF, Antunes JLF, Carvalho MB, Gois Filho JF, Kowalski LP, Michaluart P, et al. How much do smoking and alcohol consumption explain socioeconomic inequalities in head and neck cancer risk? J Epidemiol Community Heal 2011; 65(8):709-714. https://doi.org/10.1136/jech.2009.097691
» https://doi.org/10.1136/jech.2009.097691 -
[7] Huang S, O Sullivan B. Oral cancer: Current role of radiotherapy and chemotherapy. Med Oral Patol Oral y Cir Bucal 2013; 18(2):e233-240. https://doi.org/10.4317/medoral.18772
» https://doi.org/10.4317/medoral.18772 -
[8] Johnson NW, Jayasekara P, Amarasinghe AA, Hemantha K. Squamous cell carcinoma and precursor lesions of the oral cavity: Epidemiology and aetiology. Periodontol 2000 2011; 57(1):19-37. https://doi.org/10.1111/j.1600-0757.2011.00401.x
» https://doi.org/10.1111/j.1600-0757.2011.00401.x -
[9] Chaurasia A, Alam S, Singh N. Oral cancer diagnostics: An overview. Natl J Maxillofac Surg 2021; 12(3):324-332. https://doi.org/10.4103/njms.NJMS_130_20
» https://doi.org/10.4103/njms.NJMS_130_20 -
[10] Mehlum CS, Larsen SR, Kiss K, Groentved AM, Kjaergaard T, Möller S, et al. Laryngeal precursor lesions: Interrater and intrarater reliability of histopathological assessment. Laryngoscope 2018; 128(10):2375-2379. https://doi.org/10.1002/lary.27228
» https://doi.org/10.1002/lary.27228 -
[11] Adeoye J, Tan JY, Choi S-W, Thomson P. Prediction models applying machine learning to oral cavity cancer outcomes: A systematic review. Int J Med Inform 2021; 154:104557. https://doi.org/10.1016/j.ijmedinf.2021.104557
» https://doi.org/10.1016/j.ijmedinf.2021.104557 -
[12] Chu CS, Lee NP, Adeoye J, Thomson P, Choi S. Machine learning and treatment outcome prediction for oral cancer. J Oral Pathol Med 2020; 49(10):977-985. https://doi.org/10.1111/jop.13089
» https://doi.org/10.1111/jop.13089 -
[13] Wang X, Li B. Deep learning in head and neck tumor multiomics diagnosis and analysis: Review of the literature. Front Genet 2021; 12:624820. https://doi.org/10.3389/fgene.2021.624820
» https://doi.org/10.3389/fgene.2021.624820 -
[14] Yang SY, Li SH, Liu JL, Sun XQ, Cen YY, Ren RY, et al. Histopathology-based diagnosis of oral squamous cell carcinoma using deep learning. J Dent Res 2022; 101(11):1321-1327. https://doi.org/10.1177/002203452210898
» https://doi.org/10.1177/002203452210898 -
[15] Liu W, Yuan X, Guo L, Pan F, Wu C, Sun Z, et al. Artificial intelligence for detecting and delineating margins of early ESCC under WLI endoscopy. Clin Transl Gastroenterol 2022; 13(1):e00433. https://doi.org/10.14309/ctg.0000000000000433
» https://doi.org/10.14309/ctg.0000000000000433 -
[16] Soni A, Sethy PK, Dewangan AK, Nanthaamornphong A, Behera SK, Devi B. Enhancing oral squamous cell carcinoma detection: A novel approach using improved EfficientNet architecture. BMC Oral Health 2024; 24(1):601. https://doi.org/10.1186/s12903-024-04307-5
» https://doi.org/10.1186/s12903-024-04307-5 -
[17] Albuquerque R, Rodrigues A, Ferrucio G, Aguiar J, Filho JA, Madeiro F. Efficientnets aplicadas à esteganálise em imagens digitais. Rev Engen Pesqui Apli 2022; 7(2):32-41. https://doi.org/10.25286/repa.v7i2.2215 [In Portuguese].
» https://doi.org/10.25286/repa.v7i2.2215 -
[18] Tan M, Le Q V. EfficientNet: Rethinking model scaling for convolutional neural networks. Proceedings of the 36th International Conference on Machine Learning, ICML 2019; 6105-6114. https://doi.org/10.48550/arXiv.1905.11946
» https://doi.org/10.48550/arXiv.1905.11946 -
[19] Sandler M, Howard A, Zhu M, Zhmoginov A, Chen L-C. MobileNetV2: Inverted residuals and linear bottlenecks.: Proceedings of the IEEE conference on computer vision and pattern recognition 2018; 4510-4520. https://doi.org/10.1109/CVPR.2018.00474
» https://doi.org/10.1109/CVPR.2018.00474 -
[20] Simonyan K, Zisserman A. Very deep convolutional networks for large-scale image recognition. 3rd Int Conf Learn Represent (ICLR 2015). Computational and Biological Learning Society 2015; 1-14. https://doi.org/10.48550/arXiv.1409.1556
» https://doi.org/10.48550/arXiv.1409.1556 -
[21] Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, et al. Scikit-learn: Machine Learning in Python. J Mach Learn Res 2011; 12:2825-2830. https://doi.org/10.48550/arXiv.1201.0490
» https://doi.org/10.48550/arXiv.1201.0490 -
[22] Goyal P, Dollár P, Girshick R, Noordhuis P, Wesolowski L, Kyrola A, et al. Accurate, large minibatch SGD: Training ImageNet in 1 hour. J CoRR 2017; 1-12. https://doi.org/10.48550/arXiv.1706.02677
» https://doi.org/10.48550/arXiv.1706.02677 -
[23] Deng J, Dong W, Socher R, Li L, Li K, Fei-Fei L. ImageNet: A large-scale hierarchical image database. 2009 IEEE Conf Computer Vision and Pattern Recognition 2009; 248-255. https://doi.org/10.1109/CVPR.2009.5206848
» https://doi.org/10.1109/CVPR.2009.5206848 -
[24] Sultan AS, Elgharib MA, Tavares T, Jessri M, Basile JR. The use of artificial intelligence, machine learning and deep learning in oncologic histopathology. J Oral Pathol Med 2020; 49(9):849-856. https://doi.org/10.1111/jop.13042
» https://doi.org/10.1111/jop.13042 -
[25] Mahmood H, Shaban M, Indave BI, Santos-Silva AR, Rajpoot N, Khurram SA. Use of artificial intelligence in diagnosis of head and neck precancerous and cancerous lesions: A systematic review. Oral Oncol 2020; 110:104885. https://doi.org/10.1016/j.oraloncology.2020.104885
» https://doi.org/10.1016/j.oraloncology.2020.104885 -
[26] Xu Z, Peng J, Zeng X, Xu H, Chen Q. High-accuracy oral squamous cell carcinoma auxiliary diagnosis system based on EfficientNet. Front Oncol 2022; 12:894978. https://doi.org/10.3389/fonc.2022.894978
» https://doi.org/10.3389/fonc.2022.894978 -
[27] Jubair F, Al-karadsheh O, Malamos D, Al Mahdi S, Saad Y, Hassona Y. A novel lightweight deep convolutional neural network for early detection of oral cancer. Oral Dis 2022; 28(4):1123-1130. https://doi.org/10.1111/odi.13825
» https://doi.org/10.1111/odi.13825 -
[28] Albalawi E, Thakur A, Ramakrishna MT, Bhatia Khan S, SankaraNarayanan S, Almarri B, et al. Oral squamous cell carcinoma detection using EfficientNet on histopathological images. Front Med 2024; 10:1349336. https://doi.org/10.3389/fmed.2023.1349336
» https://doi.org/10.3389/fmed.2023.1349336
Edited by
-
Academic Editor:
Fátima Regina Nunes de Sousa










