Deep Learning for Pathology: Optimizing CNN Architectures for Papillary Thyroid Carcinoma Classification
DOI:
https://doi.org/10.4186/ej.2026.30.5.125 Full articleAbstract
Papillary thyroid carcinoma (PTC) is the most common type of thyroid cancer and has a high cure rate if detected in the early stage. Pathologists diagnose PTC by histology or cytology, paying special attention to tumour nuclear features. Despite being highly accurate in the hands of skilled observers, this approach is not entirely reliable, as some cases may lack classical features. The remarkable advances in artificial intelligence (AI) technology offer the possibility of assisting pathologists in the diagnosis of cancers such as PTC. In this study, convolutional neural networks (CNNs) were applied to classify histopathological images from 60 PTC cases, using normal adjacent thyroid tissue as control. The dataset was restructured at the patient level to prevent data leakage by ensuring that images from the same patient were assigned to a single subset. Five CNN architectures (VGG16, VGG19, ResNet50V2, DenseNet121, and EfficientNetB0) were evaluated using four architectural variations. Model selection was performed using validation data, followed by optimization of class-weight and threshold strategies. DenseNet121 achieved the best performance, with an average accuracy of 0.9883 and sensitivity of 0.9871. These results demonstrate that optimized CNN models can effectively identify PTC from histopathological images. Patient-level splitting provides a more realistic evaluation of model performance. The proposed approach shows strong potential as a decision-support tool, although further validation on multi-institutional datasets is required.
Keywords:
Papillary thyroid carcinoma classification, histopathological image analysis, deep convolutional neural networks, computer-aided pathological diagnosis, artificial intelligence in digital pathologyAffiliations
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
- Chulalongkorn University
Corresponding author: Somboon Keelawat, somboon.ke@chula.ac.th
Downloads
How to Cite
Published
Issue
Section
License
Copyright (c) 2026 Engineering Journal

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with Engineering Journal agree to transfer all copyright rights in and to the above work to the Engineering Journal (EJ)'s Editorial Board so that EJ's Editorial Board shall have the right to publish the work for nonprofit use in any media or form. In return, authors retain: (1) all proprietary rights other than copyright; (2) re-use of all or part of the above paper in their other work; (3) right to reproduce or authorize others to reproduce the above paper for authors' personal use or for company use if the source and EJ's copyright notice is indicated, and if the reproduction is not made for the purpose of sale.