Enhanced Cancer Diseases Prediction Using Vision Transformer (ViT) and Multiple Transfer Learning Based on CNN Algorithm
Keywords:
Cancer Detection • Transfer Learning • CNN Algorithm • Vision Transformer (ViT) • Lung Cancer • Brain Tumor • Medical Image ClassificationAbstract
Lung and brain cancers remain among the leading causes of mortality worldwide, with early detection being critical for improving patient outcomes. Deep learning, particularly Convolutional Neural Networks (CNN) enhanced through transfer learning (TL), has demonstrated remarkable potential in medical image classification tasks. This study proposes two complementary approaches: (1) a multi-stage CNN transfer learning framework trained sequentially on public brain tumor MRI images (7,022), public lung cancer CT images (1,190), and a private clinical dataset (500 images); and (2) an enhanced methodology replacing the CNN backbone with a Vision Transformer (ViT-B/16) pretrained on ImageNet-21k for superior global feature extraction. Both models underwent rigorous preprocessing including image resizing, Gaussian blurring, and Min-Max normalization. The CNN-based transfer learning model achieved accuracy of 92.81% (Scratch), 97.21% (Pre-Trained), and 99.40% (Transfer Pre-Pre-Trained) on successive datasets. The enhanced ViT model further improved performance, achieving 98.34%, 98.67%, and 99.81% on brain, lung, and private datasets respectively. Both approaches significantly outperform prior methods. The ViT-enhanced model demonstrates the superior generalization capability of Transformer architectures for multi-organ cancer classification from heterogeneous medical imaging datasets.
References
[1] Dutta, P. A., S. K., & M. Dutta. (2020). Multi-classification of Brain Tumor Images Using Transfer Learning Based Deep Neural Network. International Conference on Artificial Intelligence for Smart Community, pp. 927–933.
[2] Chui, K. T., Bandara, G. B., Hina, J. R., et al. (2023). Multiround transfer learning and modified generative adversarial network for lung cancer detection. International Journal of Intelligent Systems, 2023, 1–14.
[3] Pan, S. J. & Yang, Q. (2010). A Survey on Transfer Learning. IEEE Transactions on Knowledge and Data Engineering, 22(10), 1345–1359.
[4] Weiss, K., Khoshgoftaar, T. M., & Wang, D. (2016). A survey of transfer learning. Journal of Big Data, 3(1), 9.
[5] Zhuang, F., Qi, Z., Duan, K., et al. (2021). A Comprehensive Survey on Transfer Learning. Proceedings of the IEEE, 109(1), 43–76.
[6] Bozinovski, S. (2020). Reminder of the first paper on transfer learning in neural networks. Informatica, 44(3), 1854–3871.
[7] Qiao, B., Kang, J., Jiao, A., et al. (2022). A novel transfer-learning based physician-level general and subtype classifier for non-small cell lung cancer. Heliyon.
[8] Humayun, M., Sujatha, R., Almuayqil, S. N., & Jhanjhi, N. Z. (2022). A Transfer Learning Approach with a Convolutional Neural Network for the Classification of Lung Carcinoma. Healthcare (Basel), 10, 1058.
[9] Lakshmi, K., Prabha, T. M., Anjali, D. (2020). Convolutional neural network in the detection of lung carcinoma using transfer learning approach. International Journal of Imaging Systems and Technology, 30(2), 445–454.
[10] Deepak, S. & Ameer, P. M. (2019). Brain tumor classification using deep CNN features via transfer learning. Computers in Biology and Medicine, 111, 103345.
[11] Modiya, S. V. & Priyanka, V. (2022). Brain Tumor Detection Using Transfer Learning with Dimensionality. International Journal, 10(2), 201–206.
[12] Hossain, S., Chakrabarty, A., Gadekallu, T. R., Alazab, M., & Piran, M. J. (2023). Vision Transformers, Ensemble Model, and Transfer Learning Leveraging Explainable AI for Brain Tumor Detection and Classification. IEEE Journal of Biomedical and Health Informatics.
[13] Piran, M. J. (2023). Vision transformers, ensemble model, and transfer learning leveraging explainable AI for brain tumor detection and classification. IEEE Journal of Biomedical and Health Informatics.
[14] Asif, S., Zhao, M., Tang, F., & Zhu, Y. (2023). An enhanced deep learning method for multi-class brain tumor classification using deep transfer learning. Multimedia Tools and Applications, pp. 1–28.
[15] Kusrini, K., Rahayu, A., & Fatta, H. A. (2022). The effect of Gaussian filter and data preprocessing on the classification of Punakawan puppet images with the CNN algorithm. International Journal of Electrical and Computer Engineering, 12(4), 3752.
[16] Desai, B., Patel, M., & Kadam, N. K. (2022). Study on Image Filtering — Techniques, Algorithm and Applications. arXiv:2207.06481.
[17] Petras, I. (2022). Novel low-pass filter with adjustable parameters of exponential-type forgetting. arXiv:2210.01195.
[18] Yaman, S., Karakaya, B., & Erol, Y. (2023). A novel normalization algorithm to facilitate pre-assessment of Covid-19 disease by improving accuracy of CNN and its FPGA implementation. Evolving Systems, 14(4), 581–591.
[19] Tao, Y., He, W., Guo, W., & Su, H. (2022). Research on NDVI Normalization Method Based on GF Images. ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 3, 209–215.