Skip to main content
Log in

VITALT: a robust and efficient brain tumor detection system using vision transformer with attention and linear transformation

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Brain tumor detection and classification are crucial steps in evaluating life-threatening abnormal tissues to provide appropriate treatment plans. For clinical assessment, Magnetic resonance imaging (MRI) is normally used because of its excellent quality and lack of ionizing radiation. However, as the volume of the data grows, manual processing of MRI images becomes expensive, time-taking, and error prone. Also, traditional automated detection systems struggle to handle complex image patterns, leading to reduced classification accuracy. So, this paper designs a reliable and effective brain tumor detection mechanism as a solution to these problems. The proposed "Vision Transformer with Attention and Linear Transformation module (VITALT)" system is a combination of modules such as Vision Transformer (ViT), Split bidirectional feature pyramid network (S-BiFPN), linear transformation module (LTM) and soft-quantization that effectively extracts features from complex brain structures. At first, to mitigate the training inaccuracies developed by dimension and quality constraints, the preprocessing steps such as resizing and normalization are executed. The preprocessed images are divided into number of patches and embedded into high-dimensional vector to provide more compact image representation. Subsequently, the global and local features in the image are captured through ViT module by learning the relationship between image patches. The multi-scale spatial features formed are then fused using S-BiFPN to increase the accuracy of prediction. By using LTM to improve the linear expression capability of the design, the characteristics that are most important for the classification of brain tumors are discovered. Also, soft quantization is used to minimize memory footprint and minimize quantization errors in detection. Finally, the head module with set of fully connected layers accurately classifies different classes of brain tumors. The experimental analysis conducted using four different benchmark brain tumor datasets shows the viability and reliability of the suggested VITALT system in predicting brain tumors, as measured by multiple evaluation metrics. The proposed system achieves classification accuracy of 99.08% for Dataset A, 98.97% for Dataset B, 98.82% for Dataset C and 99.15% for Dataset D. A high level of classification accuracy attained by the suggested system highlights its potential in medical imaging applications and its ability to contribute to improved surgical treatments.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

References

  1. Tiwari P, Pant B, Elarabawy MM, Abd-Elnaby M, Mohd N, Dhiman G, Sharma S (2022) CNN based multiclass brain tumor detection using medical imaging. Comput Intell Neurosci

  2. Srinivas C, KS NP, Zakariah M, Alothaibi YA, Shaukat K, Partibane B, Awal H (2022) Deep transfer learning approaches in performance analysis of brain tumor classification using MRI images. J Healthc Eng

  3. Qureshi SA, Raza SEA, Hussain L, Malibari AA, Nour MK, Rehman AU, Al-Wesabi FN, Hilal AM (2022) Intelligent ultra-light deep learning model for multi-class brain tumor detection. Appl Sci 12(8):3715

    Article  CAS  Google Scholar 

  4. Khan AH, Abbas S, Khan MA, Farooq U, Khan WA, Siddiqui SY, Ahmad A (2022) Intelligent model for brain tumor identification using deep learning. Appl Comput Intell Soft Comput 2022:1–10

    Google Scholar 

  5. Chattopadhyay A, Maitra M (2022) MRI-based brain tumour image detection using CNN based deep learning method. Neurosci Inform 2(4):100060

    Article  Google Scholar 

  6. Senan EM, Jadhav ME, Rassem TH, Aljaloud AS, Mohammed BA, Al-Mekhlafi ZG (2022) Early diagnosis of brain tumour mri images using hybrid techniques between deep and machine learning. Comput Math Methods Med

  7. Musallam AS, Sherif AS, Hussein MK (2022) A new convolutional neural network architecture for automatic detection of brain tumors in magnetic resonance imaging images. IEEE Access 10:2775–2782

    Article  Google Scholar 

  8. Nayak DR, Padhy N, Mallick PK, Zymbler M, Kumar S (2022) Brain tumor classification using dense efficient-net. Axioms 11(1):34

    Article  Google Scholar 

  9. Deb D, Roy S (2021) Brain tumor detection based on hybrid deep neural network in MRI by adaptive squirrel search optimization. Multimed tools Appl 80:2621–2645

    Article  Google Scholar 

  10. Arbane M, Benlamri R, Brik Y, Djerioui M (2021) Transfer learning for automatic brain tumor classification using MRI images. In 2020 2nd International workshop on human-centric smart environments for health and well-being (IHSH) (pp. 210–214). IEEE

  11. Akhtar M, Murtza I, Adnan M, Saadia A (2023) Cross-domain transfer learning for natural scene classification of remote-sensing imagery. Appl Sci 13(13):7882

    Article  CAS  Google Scholar 

  12. Aamir Z, Murtza I (2023) Pre-diabetic diagnosis from habitual and medical features using ensemble classification. J Comput Biomed Inform 5(01):283–294

    Google Scholar 

  13. Ahmad I, Gribble A, Murtza I, Ikram M, Pop M, Vitkin A (2017) Polarization image segmentation of radiofrequency ablated porcine myocardial tissue. PLoS ONE 12(4):e0175173

    Article  PubMed  PubMed Central  Google Scholar 

  14. Qasim R, Bangyal WH, Alqarni MA, Ali Almazroi A (2022) A fine-tuned BERT-based transfer learning approach for text classification. J Healthc Eng

  15. Bangyal WH, Qasim R, Rehman NU, Ahmad Z, Dar H, Rukhsar L, Aman Z, Ahmad J (2021) Detection of fake news text classification on COVID-19 using deep learning approaches. Comput Math Methods Med 2021:1–14

    Article  Google Scholar 

  16. Hassan M, Murtza I, Zafar Khan MA, Tahir SF, Fahad LG (2019) Neuro-wavelet based intelligent medical image fusion. Int J Imaging Syst Technol 29(4):633–644

    Article  Google Scholar 

  17. Rahman T, Islam MS (2023) MRI brain tumor detection and classification using parallel deep convolutional neural networks. Measurement Sens 1(26):100694

    Article  Google Scholar 

  18. Syazwany NS, Nam JH, Lee SC (2021) MM-BiFPN: multi-modality fusion network with Bi-FPN for MRI brain tumor segmentation. IEEE Access 9:160708–160720

    Article  Google Scholar 

  19. Ramamoorthy M, Qamar S, Manikandan R, Jhanjhi NZ, Masud M, AlZain MA (2022) Earlier detection of brain tumor by pre-processing based on histogram equalization with neural network. In Healthcare 10(7):1218

    Article  Google Scholar 

  20. Chen Y, Yin M, Li Y, Cai Q (2022) CSU-Net: A CNN-Transformer parallel network for multimodal brain tumour segmentation. Electronics 11(14):2226

    Article  Google Scholar 

  21. Irmak E (2021) Multi-classification of brain tumor MRI images using deep convolutional neural network with fully optimized framework. Iran J Sci Technol Trans Elect Eng 45(3):1015–1036

    Article  Google Scholar 

  22. Rammurthy D, Mahesh PK (2022) Whale Harris hawks optimization based deep learning classifier for brain tumor detection using MRI images. J King Saud Univ Comput Inform Sci 34(6):3259–3272

    Google Scholar 

  23. Tummala S, Kadry S, Bukhari SAC, Rauf HT (2022) Classification of brain tumor from magnetic resonance imaging using vision transformers ensembling. Curr Oncol 29(10):7498–7511

    Article  PubMed  PubMed Central  Google Scholar 

  24. Majib MS, Rahman MM, Sazzad TS, Khan NI, Dey SK (2021) Vgg-scnet: A vgg net-based deep learning framework for brain tumor detection on mri images. IEEE Access 9:116942–116952

    Article  Google Scholar 

  25. Shah HA, Saeed F, Yun S, Park JH, Paul A, Kang JM (2022) A Robust approach for brain tumor detection in magnetic resonance images using finetuned EfficientNet. IEEE Access 10:65426–65438

    Article  Google Scholar 

  26. Lin J, Lin J, Lu C, Chen H, Lin H, Zhao B, Shi Z, Qiu B, Pan X, Xu Z, Huang B (2023) CKD-TransBTS: clinical knowledge-driven hybrid transformer with modality-correlated cross-attention for brain tumor segmentation. IEEE Trans Med Imaging

  27. Arif M, Ajesh F, Shamsudheen S, Geman O, Izdrui D, Vicoveanu D (2022) Brain tumor detection and classification by MRI using biologically inspired orthogonal wavelet transform and deep learning techniques. J Healthc Eng

  28. Khairandish MO, Sharma M, Jain V, Chatterjee JM, Jhanjhi NZ (2022) A hybrid CNN-SVM threshold segmentation approach for tumor detection and classification of MRI brain images. Irbm 43(4):290–299

    Article  Google Scholar 

  29. Asiri AA, Shaf A, Ali T, Shakeel U, Irfan M, Mehdar KM, Halawani HT, Alghamdi AH, Alshamrani AFA, Alqhtani SM (2023) Exploring the power of deep learning: fine-tuned vision transformer for accurate and efficient brain tumor detection in MRI scans. Diagnostics 13(12):2094

    Article  PubMed  PubMed Central  Google Scholar 

  30. Muezzinoglu T, Baygin N, Tuncer I, Barua PD, Baygin M, Dogan S, Tuncer T, Palmer EE, Cheong KH, Acharya UR (2023) PatchResNet: multiple patch division–based deep feature fusion framework for brain tumor classification using MRI images. J Digital Imaging, pp1–15

  31. Rai HM, Chatterjee K (2021) 2D MRI image analysis and brain tumor detection using deep learning CNN model LeU-Net. Multimed Tools Appl 80:36111–36141

    Article  Google Scholar 

  32. Amran GA, Alsharam MS, Blajam AOA, Hasan AA, Alfaifi MY, Amran MH, Gumaei A, Eldin SM (2022) Brain tumor classification and detection using hybrid deep tumor network. Electronics 11(21):3457

    Article  Google Scholar 

  33. Ata MM, Yousef RN, Karim FK, Khafaga DS. (2023) An improved deep structure for accurately brain tumor recognition. Comput Syst Sci Eng 46(2)

  34. Irsheidat S, Duwairi R (2020) Brain tumor detection using artificial convolutional neural networks. In: 2020 11th International conference on information and communication systems (ICICS) (pp 197–203)

  35. Rehman A, Naz S, Razzak MI, Akram F, Imran M (2020) A deep learning-based framework for automatic brain tumors classification using transfer learning. Circuits Syst Signal Process 39:757–775

    Article  Google Scholar 

  36. Aloraini M, Khan A, Aladhadh S, Habib S, Alsharekh MF, Islam M (2023) Combining the transformer and convolution for effective brain tumor classification using MRI Images. Appl Sci 13(6):3680

    Article  CAS  Google Scholar 

  37. Sujatha K, Rao BS (2023) Densenet201: a customized DNN model for multi-class classification and detection of tumors based on brain MRI Images. In: 2023 Fifth International conference on electrical, computer and communication technologies (ICECCT) (pp 1–7)

  38. https://www.kaggle.com/datasets/navoneel/brain-mri-images-for-brain-tumor-detection

  39. https://figshare.com/articles/dataset/brain_tumor_dataset/1512427

  40. https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset

  41. https://www.kaggle.com/datasets/ahmedhamada0/brain-tumor-detection

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to S. Poornam.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Human and animal rights

This article does not contain any studies with human or animal subjects performed by any of the authors.

Informed consent

Informed consent was obtained from all individual participants included in the study.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Poornam, S., Angelina, J.J.R. VITALT: a robust and efficient brain tumor detection system using vision transformer with attention and linear transformation. Neural Comput & Applic 36, 6403–6419 (2024). https://doi.org/10.1007/s00521-023-09306-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-023-09306-1

Keywords