Contact Us Search Paper

EfficientNetB0 for Lung Cancer Classification

Razafimanana Geraldo1,*, Rasoamanana Marie Anna Chrishna2, Rahajaniaina Andriamasinoro3

Corresponding Author:

Razafimanana Geraldo

Affiliation(s):

Faculty of Sciences and Technology, Department of Mathematics, Computer Sciences and Applications, University of Toamasina, Toamasina, Madagascar

1E-mail: [email protected], 2E-mail: [email protected], 3Email: [email protected]

*Corresponding author: Razafimanana Geraldo, [email protected]


Abstract:

Lung cancer causes more deaths every year than any other cancer, and getting an accurate, automated read on histopathology images remains a pressing clinical need. In this work we build a deep learning pipeline that sorts lung tissue images into six categories — BenignCases, MalignantCases, adenocarcinoma, large cell carcinoma, squamous cell carcinoma and normal tissue. EfficientNetB0 serves as the backbone and is trained with an ArcFace metric-learning loss to produce 512-dimensional embeddings, discriminative enough to be clustered afterwards with K-Means and HDBSCAN. We validate the approach with 10-fold stratified cross-validation on 3,174 lung histopathology images taken from a public Kaggle dataset. The supervised model reaches 98.10% test accuracy, and both clustering algorithms independently recover the six classes with roughly 99.8% accuracy. UMAP projections of the embedding space show six compact, well-separated clusters, and HDBSCAN finds all six groups on its own, with zero noise points in any fold. Overall, these results suggest that pairing metric learning with density-based clustering is a workable route toward accurate, label-efficient lung cancer diagnosis.

Keywords:

Lung cancer classification, EfficientNetB0, ArcFace, metric learning, HDBSCAN, K-Means, deep embeddings, 10-fold cross-validation, medical image analysis

Downloads: 0 Views: 7
Cite This Paper:

Razafimanana Geraldo, Rasoamanana Marie Anna Chrishna, Rahajaniaina Andriamasinoro (2026). EfficientNetB0 for Lung Cancer Classification. Journal of Artificial Intelligence and Systems, 8, 95–105. https://doi.org/10.33969/AIS.2026.080106.

References:

[1] Emmerick, I.C.M., Singh, A., Powers, M., Lou, F., Lin, P., Maxfield, M. and Uy, K. (2021) Factors Associated with Diagnosis of Stages I and II Lung Cancer: A Multivariate Analysis. Revista de Saúde Pública, 55, 112. https://doi.org/10.11606/s1518-8787.2021055003345

[2] Goodfellow, I., Bengio, Y. and Courville, A. (2016) Deep Learning. MIT Press, Cambridge. https://www.deeplearningbook.org/ 

[3] He, K., Zhang, X., Ren, S. and Sun, J. (2016) Deep Residual Learning for Image Recognition. Proceedings of the IEEE/CVF CVPR, 770-778. https://arxiv.org/abs/1512.03385

[4] Tan, M. and Le, Q. (2019) EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proceedings of the International Conference on Machine Learning (ICML), 6105-6114. https://arxiv.org/abs/1905.11946

[5] Howard, A.G., Zhu, M., Chen, B., et al. (2017) MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv:1704.04861. https://arxiv.org/abs/1704.04861

[6] Deng, J., Guo, J., Xue, N. and Zafeiriou, S. (2019) ArcFace: Additive Angular Margin Loss for Deep Face Recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 4690-4699. https://arxiv.org/abs/1801.07698

[7] Chen, T., Kornblith, S., Norouzi, M. and Hinton, G. (2020) A Simple Framework for Contrastive Learning of Visual Representations. Proceedings of the International Conference on Machine Learning (ICML). https://arxiv.org/abs/2002.05709

[8] Khosla, P., Teterwak, P., Wang, C., et al. (2020) Supervised Contrastive Learning. Advances in Neural Information Processing Systems (NeurIPS). https://arxiv.org/abs/2004.11362

[9] Lloys, S. (1982) Least Squares Quantization in PCM. IEEE Transactions on Information Theory, 28, 129-137. https://doi.org/10.1109/TIT.1982.1056489

[10] Bishop, C.M. (2006) Pattern Recognition and Machine Learning Springer, New York. https://link.springer.com/book/9780387310732

[11] Campello, R.J.G.B., Moulavi, D. and Sander, J. (2013) Density-Based Clustering Based on Hierarchical Density Estimates. Proceedings of the Pacific-Asia conference on Knowledge Discovery and Data Mining (PAKDD), 160-172. https://doi.org/10.1007/978-3-642-37456-2_14

[12] McInnes, L., Healy, J. and Melville, J. (2018) UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction. arXiv:1802.03426. https://arxiv.org/abs/1802.03426

[13] Jing, L. and Tian, Y. (2020) Self-Supervised Visual Feature Learning with Deep Neural Networks: A Survey. IEEE Transactions on Pattern Analysis and Machine Intelligence. https://arxiv.org/abs/1902.06162

[14] Shatnawi, M.Q., Abuein, Q. and Al-Quraan, R. (2024) Deep Learning-Based Approach to Diagnose Lung Cancer Using CT-Scan Images. Intelligence-Based Medicine, 11, Article 100188. https://doi.org/10.1016/j.ibmed.2024.100188

[15] Huang, K.A., Venkitasubramony, V. and Prakash, N.S. (2025) Leveraging Transfer Learning and Attention Mechanisms for a Computed Tomography Lung Cancer Classification Model. Cureus, 17, e87071. https://doi.org/10.7759/cureus.87071