Submit your papersSubmit Now
For Enquiries: [email protected]
IIARD LogoIIARD

Hybrid CNN-Transformer Architecture for Early Lung Cancer Diagnosis from CT scans

Nicholas Adeiza Victor, Kekong P. E., Daniel Okopi Eyimoga, Ewhenke Beatric. K.

Abstract

The timely diagnosis of lung cancer is important in enhancing survival rate among patients who have the disease but the use of traditional diagnostic techniques cannot always determine the presence of minute pulmonary nodules during CT scan. The paper proposed a hybrid machine learning system based on Convolutional Neural Networks and Transformers to diagnose early lung cancer automatically on the basis of the IQ-OTH/NCCD CT scan dataset. The CNN element isolates local fine-grained features on the images whereas the Transformer element isolates long-range global relationships and a blend feature union mechanism joins these representations to end up with final classification of normal, benign, or malignant. Normalisation, resizing, noise removal and augmentation of the dataset were done to enhance robustness of the model. The hybrid CNN-Transformer model was compared to the basic models such as CNN alone and Vision Transformer models. Experimental results show that the hybrid model achieved an overall accuracy of 93.7%, with class-wise precision, recall, and F1-scores of 95.1%, 94.7%, and 94.9% for normal, 91.2%, 90.5%, and 90.8% for benign, and 94.9%, 95.3%, and 95.1% for malignant cases. The confusion matrix showed that few misclassifications were experienced with benign and adjacent classes, and ROC analysis provided AUC values of 0.978, 0.942, and 0.981 with normal, benign, and malignant, respectively, to prove that there was an excellent discriminative performance. Such findings suggest hybrid CNN-Transformer architecture is effective in combining local and global features to produce reliable early detection of lung cancer. The model is more effective compared to conventional CNN and Transformer methods and is highly interpretable, which is why it has high potential to assist radiologists in making clinical decisions. The paper presents the opportunity of hybrid deep learning designs in terms of enhancing diagnostic quality and patient outcomes, and the future r

Keywords

Hybrid CNN-Transformer; Lung Cancer Detection; Early Diagnosis; CT Scan Images; Deep Learning

References

Aberle, D. R., Adams, A. M., Berg, C. D., Black, W. C., Clapp, J. D., Fagerstrom, R. M., ... & Sicks, J. D. (2021). Reduced lung-cancer mortality with low-dose computed tomographic screening. New England Journal of Medicine, 365(5), 395-409. https://doi.org/10.1056/NEJMoa1102873 Alyasriy, H. (2020). IQ-OTH/NCCD lung cancer dataset. Mendeley Data. https://doi.org/10.17632/bhmdr45bh2.1 Alyasriy, H. (2020). The IQ-OTH/NCCD lung cancer dataset. Mendeley Data. https://doi.org/10.17632/bhmdr45bh2.1 Ardila, D., Kiraly, A. P., Bharadwaj, S., Choi, B., Reicher, J. J., Peng, L., ... & Shetty, S. (2019). End-to-end lung cancer screening with three-dimensional deep learning on low-dose chest computed tomography. Nature Medicine, 25(6), 954-961. https://doi.org/10.1038/s41591-019-0447-x Chen, R. J., Lu, M. Y., Chen, T. Y., Williamson, D. F. K., & Mahmood, F. (2022). Transformer for medical image analysis: A review. Medical Image Analysis, 82, 102684. https://doi.org/10.1016/j.media.2022.102684 Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., ... & Houlsby, N. (2021). An image is worth 16x16 words: Transformers for image recognition at scale. International Conference on Learning Representations . https://arxiv.org/abs/2010.11929 Goceri, E. (2023). Medical image data augmentation: Techniques, comparisons and interpretations. Artificial Intelligence Review, 56(7), 12561-12605. https://doi.org/10.1007/s10462-023-10453-z Hammad, M., ElAfendi, M., Abd El-Latif, A. A., Ateya, A. A., Ali, G., & Plawiak, P. (2024). Explainable AI for lung cancer detection via a custom CNN on CT images. Scientific Reports, 14(1), 11245. https://doi.org/10.1038/s41598-024-97645-5 Khan, S., Naseer, M., Hayat, M., Zamir, S. W., Shen, Z., & Shao, L. (2022). Transformers in vision: A survey. ACM Computing Surveys, 54(10), 1-41. https://doi.org/10.1145/3505244 Li, J., Xu, Q., He, X., Liu, Z., Zhang, D., Wang, R., Qu, R., & Qiu, G. (2025). CFFormer: Cross CNN-Transformer channel attention and spatial feature fusion for improved segmentation of heterogeneous medical images. arXiv preprint arXiv:2501.03629. https://arxiv.org/abs/2501.03629 Litjens, G., Kooi, T., Bejnordi, B. E., Setio, A. A. A., Ciompi, F., Ghafoorian, M., ... & Sánchez, C. I. (2019). A survey on deep learning in medical image analysis. Medical Image Analysis, 42, 60-88. https://doi.org/10.1016/j.media.2017.07.005 Saifullah, S., & Dre?ewski, R. (2024). Advanced medical image segmentation enhancement: A particle-swarm-optimization-based histogram equalization approach. Applied Sciences, 14(2), 923. https://doi.org/10.3390/app14020923 Sharma, R., & Singh, A. (2023). An efficient Gaussian noise denoising in CT images with deep convolutional neural networks. Biomedical and Pharmacology Journal, 18(Special Edition), 112-120. https://biomedpharmajournal.org/vol18marchspledition/an- efficient-gaussian-noise-denoising-in-ct-images-with-deep-convolutional-neural- networks/ Shen, W., Zhou, M., Yang, F., Yu, D., Dong, D., Yang, C., ... & Tian, J. (2021). Multi-crop convolutional neural networks for lung nodule malignancy suspiciousness classification. Pattern Recognition, 61, 663-673. https://doi.org/10.1016/j.patcog.2016.05.029 Siegel, R. L., Miller, K. D., Fuchs, H. E., & Jemal, A. (2023). Cancer statistics, 2023. CA: A Cancer Journal for Clinicians, 73(1), 17-48. https://doi.org/10.3322/caac.21763 Wang, G., Li, W., Ourselin, S., & Vercauteren, T. (2020). Automatic lung nodule detection using 3D deep convolutional neural networks. Medical Image Analysis, 55, 101-114. https://doi.org/10.1016/j.media.2019.101552 Wang, Y., Zhang, J., Li, X., & Xu, Y. (2023). Hybrid CNN-transformer networks for medical image classification. IEEE Transactions on Medical Imaging, 42(3), 789-801. https://doi.org/10.1109/TMI.2022.3224567 Zhou, Z., Sodha, V., Rahman Siddiquee, M. M., Feng, R., Tajbakhsh, N., & Liang, J. (2022). Models genesis: Generic autodidactic models for medical image analysis. Nature Machine Intelligence, 4(3), 256-268. https://doi.org/10.1038/s42256-022-00468-9

More Articles from INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND MATHEMATICAL THEORY

Advances in Algorithmic Contract Scoring for Pre-Negotiation Yield Optimization and Risk Retention

Author: Ngozi Samuel Uzougbo, Michael Ominyi, Cyril Chimelie Anichukwueze, Blessing, Chika Jones

DevTest flow: Designing a Scalable Continuous Testing Pipeline for High-Velocity Software Delivery

Author: Lawal Ahmed Oladimeji, Achori Busayo, Akeju BusayoZainab, Saka Samson, Damilare, Mbah Demian Chidi, Runsewe Similoluwa Mayowa, Oladiti Luqman, Abiodun