A Transfer Learning-Based Approach for Four-Class Lung Cancer Classification from CT Images
Abstract
Lung cancer classification from CT images is clinically important but remains challenging due to the similarity between different pathological subtypes. Using a Kaggle CT image dataset, this study examines a convolutional neural network based on transfer learning that is implemented on the Edge Impulse platform for four-class lung cancer classification. The dataset includes Adenocarcinoma, Large cell carcinoma, Squamous cell carcinoma, and Normal cases. A baseline model was first established using a standard transfer learning workflow, followed by a systematic set of controlled experiments designed to evaluate the impact of different modelling and training factors. In particular, consistent experimental settings were used to examine the impacts of learning rate adjustment, model architecture scaling, input picture resolution, data augmentation, training cycles, and optimizer configuration. The baseline model achieved an accuracy of 52.7%, while the best-performing configuration reached 67.2% after increasing model capacity and input resolution and disabling augmentation. The results demonstrate that model architecture and input resolution play a more critical role in improving classification performance than training hyperparameter adjustments. Overall, while the proposed approach is effective, distinguishing visually similar lung cancer subtypes remains a challenging task.
References
- Li, C., Lei, S., Ding, L., Xu, Y., Wu, X., Wang, H., Zhang, Z., Gao, T., Zhang, Y., & Li, L. (2023). Global burden and trends of lung cancer incidence and mortality. Chinese Medical Journal, 136(13), 1583–1590. https: //doi.org/10.1097/CM9.0000000000002529
- Lancaster, H. L., Heuvelmans, M. A., & Oudkerk, M. (2022). Low-dose computed tomography lung cancer screening: Clinical evidence and implementation research. Journal of Internal Medicine, 292(1), 68–80. https: //doi.org/10.1111/joim.13480
- Thanoon, M. A., Zulkifley, M. A., Mohd Zainuri, M. A. A., & Abdani, S. R. (2023). A review of deep learning techniques for lung cancer screening and diagnosis based on CT images. Diagnostics, 13(16), 2617. https: //doi.org/10.3390/diagnostics13162617
- Atmakuru, A., Chakraborty, S., Faust, O., Salvi, M., Barua, P. D., Molinari, F., Acharya, U. R., & Homaira, N. (2024). Deep learning in radiology for lung cancer diagnostics: A systematic review of classification, segmentation, and predictive modeling techniques. Expert Systems with Applications, 255, 124665. https: //doi.org/10.1016/j.eswa.2024.124665
- Shatnawi, M. Q., Abuein, Q., & Al-Quraan, R. (2025). Deep learning-based approach to diagnose lung cancer using CT-scan images. Intelligence-Based Medicine, 11, 100188. https: //doi.org/10.1016/j.ibmed.2024.100188
- Chaunzwa, T. L., Hosny, A., Xu, Y., & Aerts, H. J. W. L. (2021). Deep learning classification of lung cancer histology using CT images. Scientific Reports, 11(1), 5471. https: //doi.org/10.1038/s41598-021-84630-x
- Wulaningsih, W., Villamaria, C., Akram, A., Benemile, J., Croce, F., & Watkins, J. (2024). Deep learning models for predicting malignancy risk in CT-detected pulmonary nodules: A systematic review and meta-analysis. Lung, 202(5), 625–636. https: //doi.org/10.1007/s00408-024-00706-1
- Javed, R., Abbas, T., Khan, A. H., et al. (2024). Deep learning for lung cancer detection: A review. Artificial Intelligence Review, 57, 197. https: //doi.org/10.1007/s10462-024-10807-1
- Kabil007. (2024). LungCancer4Types-ImageDataset [Data set]. Kaggle. https: //www.kaggle.com/datasets/kabil007/lungcancer4types-imagedataset
- Chen, X., Wang, X., Zhang, K., Fung, K. M., Thai, T. C., Moore, K., Mannel, R. S., Liu, H., Zheng, B., & Qiu, Y. (2022). Recent advances and clinical applications of deep learning in medical image analysis. Medical image analysis, 79, 102444. https: //doi.org/10.1016/j.media.2022.102444
- Esteva, A., Chou, K., Yeung, S., Naik, N., Madani, A., Mottaghi, A., Liu, Y., Topol, E. J., & Dean, J. (2021). Deep learning–enabled medical computer vision. Annual Review of Biomedical Engineering, 23, 221–248. https: //doi.org/10.1146/annurev-bioeng-110220-012203
- Kim, H. E., Cosa-Linan, A., Santhanam, N., Jannesari, M., Maros, M. E., & Ganslandt, T. (2022). Transfer learning for medical image classification: A literature review. BMC Medical Imaging, 22(1), 69. https: //doi.org/10.1186/s12880-022-00793-7
- Wang, S., Dong, L., Wang, X., & Wang, X. (2020). Classification of pathological types of lung cancer from CT images by deep residual neural networks with transfer learning strategy. Open Medicine, 15, 190–197. https: //doi.org/10.1515/med-2020-002
- Hymel, S., Banbury, C., Situnayake, D., Elium, A., Ward, C., Kelcey, M., Baaijens, M., Majchrzycki, M., Plunkett, J., Tischler, D., Grande, A., Moreau, L., Maslov, D., Beavis, A., Jongboom, J., & Reddi, V. J. (2022). Edge Impulse: An MLOps platform for tiny machine learning. arXiv. https: //doi.org/10.48550/arXiv.2212.03332