Abstract
The automated classification of brain tumors plays an important role in supporting radiologists in decision making. Recently, vision transformer (ViT)-based deep neural network architectures have gained attention in the computer vision research domain owing to the tremendous success of transformer models in natural language processing. Hence, in this study, the ability of an ensemble of standard ViT models for the diagnosis of brain tumors from T1-weighted (T1w) magnetic resonance imaging (MRI) is investigated. Pretrained and finetuned ViT models (B/16, B/32, L/16, and L/32) on ImageNet were adopted for the classification task. A brain tumor dataset from figshare, consisting of 3064 T1w contrast-enhanced (CE) MRI slices with meningiomas, gliomas, and pituitary tumors, was used for the cross-validation and testing of the ensemble ViT model’s ability to perform a three-class classification task. The best individual model was L/32, with an overall test accuracy of 98.2% at 384 × 384 resolution. The ensemble of all four ViT models demonstrated an overall testing accuracy of 98.7% at the same resolution, outperforming individual model’s ability at both resolutions and their ensembling at 224 × 224 resolution. In conclusion, an ensemble of ViT models could be deployed for the computer-aided diagnosis of brain tumors based on T1w CE MRI, leading to radiologist relief.
Keywords: brain tumor, MRI, diagnosis, vision transformer
1. Introduction
Brain tumors (BTs) are characterized by the abnormal growth of neural and glial cells. BTs cause several medical conditions, including the loss of sensation, hearing and vision problems, headaches, nausea, and seizures [1,2]. There exist several types of brain tumors, and the most prevalent cases include meningiomas (originate from the membrane surrounding the brain), which are non-cancerous; gliomas (start from glial cells and the spinal cord); and glioblastomas (grow from the brain), which are cancerous [3,4]. Sometimes, cancer can spread from other parts of the body, which is called brain metastasis [5]. A pituitary tumor is another type of brain tumor that develops in the pituitary gland in the brain, and this gland primarily regulates other glands in the body [6]. Magnetic resonance imaging (MRI) is a versatile imaging method that enables one to noninvasively visualize inside the body, and it is in extensive use in the field of neuroimaging [7]. There exist several structural MRI protocols to visualize inside the brain, but the prime modalities include T1-weighted (T1w), T2-weighted, and T1w contrast-enhanced (CE) MRI. BTs appear with altered pixel intensity contrasts in structural MRI images compared with neighboring normal tissues, enabling clinical radiologists to diagnose them [8].
Several previous studies have attempted to automatically classify brain tumors using MRI images, starting with traditional machine learning classifiers, such as support vector machines (SVMs), k-nearest-neighbor (kNN), and Random Forest, from hand-crafted features of MRI slices [9,10,11,12]. With the rise of convolutional neural network (CNN) deep learning model architectures since 2012, in addition to emerging advanced computational resources, such as GPUs and TPUs, during the past decade, several methods have been proposed for the classification of brain tumors based on the finetuning of the existing state-of-the-art CNN models, such as AlexNet, VGG16, ResNets, Inception, DenseNets, and Xception, which had already been found to be successful for various computer vision tasks [13,14,15,16,17,18,19,20,21,22]. These aforementioned pretrained CNN models based on localized convolutions demonstrated excellent performance in brain tumor classification across different datasets [23,24,25,26]. In a recent study, variational autoencoders, along with generative adversarial networks, were used for synthetic data generation, and ResNet50 was used for tumor classification [18]. In another recent study, transfer learning from VGG16, VGG19, ResNet50, and DenseNet21 models with four different optimization algorithms was implemented, and the authors concluded that ResNet50 performed the best [19]. Despite the tremendous success of CNNs, they generally have inductive biases, i.e., the translation equivariance of the local receptive field. Due to these inductive biases, CNN models have issues when learning long-range information; moreover, data augmentation is generally required for CNNs to improve their performance due to their dependency on local pixel variations during learning.
Lately, attention-based transformer networks [27] have become the de facto models for natural language processing. An adapted version of the transformer for images, the vision transformer (ViT), was proposed in [28], and it seemingly performed superior to CNN models under a huge data regime, as demonstrated by its improved performance when it was trained on the JFT dataset with 300 M images [28]. The ViT models proposed by [28] have less inductive biases due to global patch-based learning, and they can learn more appropriate inductive biases specific to the requirement. In addition, the multi-head self-attention modules in ViT models may facilitate putting better focus on near-tumor regions in MRI images while feature learning compared to CNN models. The usage of ViT models for medical imaging diagnostics is still sparse because ViTs are new, and they require large amounts of data and higher computational resources for training to exhibit their full potential.
Therefore, to fully exploit the power of ViTs, a large amount of data is required, and it may not be possible in medical imaging domains to collect such an amount of data. To overcome this, in [29], several pretrained and finetuned models on ImageNet21k and ImageNet2012 datasets, with various patch sizes and different numbers of multi-head self-attention layers allowing finetuning to a downstream task, are openly available. These approaches have already been found to be successful in a few existing medical imaging diagnostics [30,31,32,33,34]. In [35], the ability of ViTs to classify breast cancer from ultrasound images is presented, and the authors compared the performance of several pretrained and finetuned models and concluded that ViTs performed better than conventional CNNs; in particular, ViT-B/32 achieved superior performance among all the models. In another recent work [36], a ViT-based explainable COVID-19 and pneumonia classification model was developed from chest X-rays and computed tomography images. Another recent work involving a multi-level attention network with the Xception network as a backbone was developed, and the proposed model performed well in tumor classification [25]. Furthermore, ensemble learning generally achieves a better classification accuracy, which has been proven in previous medical imaging diagnosis tasks [37,38,39]. Therefore, in this work, the ability of pretrained and finetuned ViT models, both individually and in an ensemble manner, is evaluated for the classification of meningiomas, gliomas, and pituitary tumors from T1w CE MRI at both 224 × 224 and 384 × 384 resolutions, which, to the best of our knowledge, has not been implemented to date.
2. Experimental Methods
This section describes the dataset, the ViT architecture, the computational infrastructure for model training, hyperparameter tuning using the validation set, and testing. The ViT model ensembling and the performance metrics employed are also discussed.
2.1. Dataset
An openly available dataset from figshare consists of 3064 T1w CE MRI slices from 233 patients with meningiomas, gliomas, or pituitary tumors. The images are available in all sagittal, coronal, and axial directions, with spatial resolutions of either 512 × 512 or 256 × 256. More details about the dataset are available in [40,41]. A few MRI images from the dataset are illustrated in Figure 1. Furthermore, brief clinical descriptions about the three types of tumors are given below.
Meningiomas: Meningiomas are mostly benign tumors originating from the arachnoid cap cells and often occur in older-age individuals and females. These tumors account for 13–26% of all intracranial tumors [42].
Gliomas: Gliomas are the most frequent and primary intracranial tumors that are malignant. They represent 81% of all intracranial tumors that can cause significant mortality and morbidity [43].
Pituitary Tumors: Pituitary tumors originate in the pituitary gland and are mostly benign. Since this gland regulates different hormones, tumors present in it may cause severe changes in the body. These tumors contribute to 10–15% of all intracranial tumors [3].
The number of images for each tumor category and the number of images used for training, validation, and testing in a 70:10:20 ratio are described in Table 1.
Table 1.
BT Type | Total Images | Training | Validation | Testing |
---|---|---|---|---|
Meningioma | 708 | 502 | 75 | 131 |
Glioma | 1426 | 988 | 148 | 290 |
Pituitary Tumor | 930 | 647 | 91 | 192 |
Total (N) | 3064 | 2137 | 314 | 613 |
2.2. Vision Transformer
The ViT proposed by [28] works by treating image patches as words to mimic the original transformer model developed for natural language processing tasks [27]. Although the original transformer model has a combination of both an encoder and a decoder, the ViT model only has an encoder in its architecture. In ViT, the input image is , and it is divided into patches of size where (H: height, W: width, C: number of channels). Afterward, linear embeddings are computed for these flattened image patches, and position embeddings are added to them to keep the patch positional information (Figure 2).
An extra learnable patch embedding is added for final classification by a multilayer perceptron (MLP) head. Furthermore, these combined patches and position embeddings are fed to the transformer encoder model, which has alternating layers of multi-headed self-attention and MLP blocks (Figure 3).
In this work, pretrained and finetuned ViT base (B) and large (L) models, B/16, L/16, B/32, and L/32 (16 and 32 indicate square patch size), on ImageNet-21k and ImageNet-1k datasets were used. Hence, the MRI images were resized to the resolutions of 224 × 224 and 384 × 384. Since these pretrained ViT models require three channels in the input and since the MRI slice has a single channel, the same grayscale MRI image is copied into the other two channels.
Similar to [class] in BERT [44], a learnable embedding is concatenated to the sequence of patch embeddings . Mathematically, the working principle of ViT is given below in Equations (1)–(4). In Equation (1), is the positional embedding, which is a matrix of learnable parameters; is the embedding of patch N, which is a learnable linear projection; and is the output of the linear projection layer. The addition of the position embeddings facilitates the establishment of a certain order in the input image patches. The first block of the transformer encoder layer starts with layer normalization (LN), followed by multi-head self-attention (MSA), and a residual connection follows that produces an output at the corresponding layer l. The second block also starts with an LN layer, followed by an MLP and a residual connection with output as described in Equations (2) and (3). The transformer encoder model is shown in Figure 3. The MLP in the transformer block contains two fully connected layers with Gaussian error linear unit (GELU) nonlinearity. The output of the final transformer encoder layer is which is further layer-normalized as described in Equation (4) to obtain the final latent representation (with dimension ) of the input image . The MLP head or the final classification head is attached to this final latent representation (Figure 2) during both pretraining and finetuning.
(1) |
(2) |
(3) |
(4) |
The MSA output in the transformer encoder is obtained from the concatenation of several self-attention heads within it. Mathematically, self-attention is described in Equation (5), where Q, K, and V are the query, key, and value matrices obtained after matrix multiplications with , respectively. For example, the Q matrix is obtained as , where and . Likewise, and . The weights of the matrices , , and are learnable. In the self-attention head () given in Equation (5), the product of the query with the key is scaled with the square root of the dimension to avoid the vanishing gradient problem.
(5) |
(6) |
The final output of MSA ( is obtained by passing the concatenation of all self-attention heads through a linear layer as described in Equation (6), where is the learnable output transformation matrix, and h is the number of self-attention heads. More details about the pretraining and finetuning of the ViT models on larger datasets are described in [28].
2.3. Computational Infrastructure
The Google Colab Pro cloud environment, which provides about 25 GB RAM, along with an Nvidia T4 GPU accelerator, was used. The model training, validation, and testing were implemented in TensorFlow 2.8.0, which has Keras as a high-level API. The pretrained and finetuned ViT models available in the vit-keras module are used by removing the top layer for the downstream task of the three-class classification of brain tumors from the figshare dataset. Custom Python scripts were written where and when necessary.
2.4. Model Ensembling
To evaluate the ensemble model for class prediction, the procedures described in Equations (7) and (8) are followed. The softmax outputs of each model (softmaxi) are dot-wise-added and finally divided by the number of individual models (N) to obtain the final output (softmaxe) of the ensemble classifier. Two ensembling procedures are evaluated, where the first one is the ensemble of all models at 224 × 224 resolution, and the second ensemble is the combining of all individual models at 384 × 384 resolution.
(7) |
(8) |
2.5. Performance Metrics
Since a multi-class classification task is carried out, sparse categorical cross-entropy is used as the loss metric, and sparse categorical accuracy is used as the performance metric during training and validation. The confusion matrix and overall sparse categorical accuracy are used as model evaluation metrics during testing. In addition, overall sensitivity and specificity calculated as means of per-class sensitivities and specificities respectively are also used as performance metrics for the ensemble models. The tuned model’s hyperparameters are the optimizer (RMSprop/Adam/Adadelta), the learning rate (lr), the number of epochs (ne), and the mini-batch size (mbs). The optimization of the hyperparameters is conducted using the validation set. To calculate the performance metrics on the test set, the hyperparameters that gave the best accuracy values during the 5-fold cross-validation are considered.
3. Results
Initially, the image intensities were rescaled to produce values between -1 and 1, which is a requirement for ViT models. During training, all parameters of the ViT models were allowed to be finetuned. For the input image resolution of 224 × 224, the optimized hyperparameters with respect to the validation accuracy were the Adam optimizer with lr = 0.0001, ne = 25, and mbs = 16. The B/16 model performed the best at this resolution, with a validation accuracy of 97.83%. Regarding the remainder of the models, their performances at different hyperparameter combinations are given in Table 2, and the best hyperparameters and accuracy values are highlighted.
Table 2.
Resolution | Optimizers and Hyperparameters | Validation Accuracy in Percentage | |||
---|---|---|---|---|---|
ViT-B/16 | ViT-B/32 | ViT-L/16 | ViT-L/32 | ||
224 × 224 |
|
||||
|
|||||
|
|||||
384 × 384 |
|
||||
|
|||||
|
Similarly, at 384 × 384 resolution, the optimized hyperparameters for the best validation accuracy of 98.64% from the L/16 model were Adadelta with lr = 0.1, ne = 10, and mbs = 8. Adadelta was solely the best optimizer at this resolution. The optimized hyperparameters and validation accuracies of all other models, B/16, B/32, L/16, and L/32, were 98.10%, 98.04%, and 98.55%. Due to computational constraints, training at 384 resolution was implemented with lower mbs values.
The test accuracy values for both the input image resolutions of 224 × 224 and 384 × 384 for all ViT models are given in Table 3. Among all the models, ViT-B/16 performed well, with an overall accuracy of 97.06% at 224 × 224. Similarly, at the resolution of 384 × 384, ViT-L/32 emerged as the single best classifier, with an overall test accuracy of 98.21%. The performance of the average ensembling on the test set is given in Table 4. The ensembling of the models at 224 × 224 resolution resulted in an overall accuracy of 97.71%, and the overall test accuracy of the ensemble model at 384 × 384 resolution was 98.7%. Table 4 also includes overall sensitivity and specificity values for the ensemble model at both resolutions.
Table 3.
Resolution | Accuracy | |||
---|---|---|---|---|
ViT-B/16 | ViT-B/32 | ViT-L/16 | ViT-L/32 | |
224 × 224 | 97.06 | 96.25 | 96.74 | 96.01 |
384 × 384 | 97.72 | 97.87 | 97.55 | 98.21 |
Table 4.
Ensemble Model | Accuracy | Sensitivity | Specificity |
---|---|---|---|
All ViT models at 224 × 224 resolution | 97.71 | 96.87 | 99.10 |
All ViT models at 384 × 384 resolution | 98.70 | 97.78 | 99.42 |
The performance of the ViT models on the test set in the form of confusion matrices is given in Figure 4 and Figure 5 for 224 × 224 and 384 × 384 resolutions, respectively. The number of false predictions was higher for meningiomas and gliomas than for pituitary tumors. A similar trend was observed at the two resolutions. However, the number of false predictions was relatively lower at 384 × 384 resolution. Figure 6 shows the confusion matrices for the ensemble model’s performance at both resolutions on the test set. The number of false predictions for the ensemble model at 384 × 384 resolution was eight; moreover, the ensemble model achieved 100% accuracy in the identification of gliomas.
4. Discussion
In this study, the ability of pretrained and finetuned ViT models is investigated both individually and in an ensemble manner for a three-class classification of brain tumors, namely, meningiomas, gliomas, and pituitary tumors, from T1w CE MRI. In general, all ViT models demonstrated the ability to classify with validation and test accuracies above 97% during most scenarios (refer to Table 2 and Table 3). Based on the hyperparameter tuning using the validation set, the performance of all the models was good irrespective of the choice of the model hyperparameters, namely, the optimizer, lr, ne, and mbs, which indicates that the ViT models are robust across different hyperparameter settings; however, the Adadelta optimizer outperformed all other optimizers at 384 × 384 resolution. Nevertheless, to evaluate the performance of the models on the test set, the models that yielded the highest accuracy values on the validation set were considered, which is the standard procedure. Individual model’s performances on both the validation and test sets were slightly better at the image resolution of 384 × 384 compared to 224 × 224, which could be because the general performance of ViT models is better at higher resolutions, as evaluated by the experiments in [28]. Similarly, the ensemble model’s performance at 384 × 384 was better than that of the ensemble model’s performance at 224 × 224 because average ensembling was used, and the ensemble model’s performance depends on each individual model’s performance in the group.
Comparing the performances of the ViT models in this study with previous studies based on the same dataset given in Table 5, the ensemble of ViTs at 384 × 384 resolution performed better, with an overall test accuracy of 98.7%. Based on the confusion matrices on the test set from all the models at both input image resolutions (Figure 4 and Figure 5), meningiomas had a higher number of misclassifications than gliomas and pituitary tumors, possibly because there could be feature overlapping between the image encodings of meningiomas and gliomas, as well as meningiomas and pituitary tumors. Previous studies have documented a similar trend of misclassification in test set results [19,22]. Our study outperformed all previous studies based on custom CNNs and transfer learning methods, indicating that the pretrained and finetuned ViT models are superior to CNN-based models. The only study that performed marginally better was the CNN-based study in [19]; however, our study was based on ViTs with a different test set, and the number of false predictions was just eight using the ensemble model at 384 × 384 resolution, as shown in Figure 6B.
During training, all the model parameters starting from the patch embedding layer were allowed to be finetuned because, based on a few experiments conducted by freezing the initial layers, including some transformer encoder block layers of the ViT models, the validation and test accuracies were around a couple of percentage points lower than the accuracy values obtained by unfreezing all model parameters. Even though the model’s performance improved at 384 × 384 resolution, training at this resolution was computationally demanding and, hence, implemented in a TPU environment. Furthermore, the performance of the ViTs at the original input image resolution of 512 × 512 may be better, and this hypothesis could be investigated in a high-level computing environment. Furthermore, the cross-validated models from this study can be finetuned for use with other brain tumor datasets. In addition, in a future study, it could be interesting to investigate the ability of other vision transformer variants, such as swin vision transformers [45], data-efficient vision transformers [46], and transformer in transformer models [47], for the brain tumor classification from MRI. A python notebook with the specific code and the cross-validated ViT models pertaining to this study can be provided upon reasonable request.
Table 5.
Work | Method | Image Resolution | Training Data | Accuracy |
---|---|---|---|---|
J. Cheng [40] | GLCM-BoW | 512 × 512 | 80% | 91.28% |
M.R. Ismael [48] | DWT-2D Gabor | 512 × 512 | 70% | 91.90% |
A. Pashaei [49] | CNN-ELM | 512 × 512 | 70% | 93.68% |
P. Afshar [50] | CapsuleNet | 128 × 128 | - | 90.89% |
S. Deepak [22] | CNN-SVM-kNN | 224 × 224 | 80% | 97.80% |
O. Polat [19] | Transfer Learning | 224 × 224 | 70% | 99.02% |
B. Ahmad [18] | GAN-VAEs | 512 × 512 | 60% | 96.25% |
N.S. Shaik [25] | MANet | 224 × 224 | - | 96.51% |
Present study | Ensemble of ViTs | 224 × 224 | 70% | 97.71% |
384 × 384 | 70% | 98.70% |
5. Conclusions
The performance of the ensemble model at 384 × 384 resolution is on par or better than that of previous CNN models for the classification of brain tumors from MRI, achieving an overall test accuracy of 98.7% and a specificity of 99.4%. Using the same ensemble model, the test classification accuracy for gliomas is 100%. The developed framework is made available publicly here. Therefore, the computer-aided diagnosis of brain tumors from T1w CE MRI using an ensemble of finetuned ViT models can be an alternative to manual diagnoses, thereby reducing the burden on clinical radiologists.
Author Contributions
Conceptualization, S.T.; methodology, S.K.; software, S.A.C.B.; and validation, H.T.R. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
This research study was conducted retrospectively using human subject data made available in open access by Figshare. Ethical approval was not required as confirmed by the license attached with the open access data.
Informed Consent Statement
This research study was conducted retrospectively using human subject data made available in open access by Figshare. Hence. written informed consent is not required.
Data Availability Statement
The data used in the study is publicly available from Figshare at brain tumor dataset.
Conflicts of Interest
The authors declare no conflict of interest.
Funding Statement
This research received no external funding.
Footnotes
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Rasheed S., Rehman K., Akash M.S.H. An insight into the risk factors of brain tumors and their therapeutic interventions. Biomed. Pharmacother. 2021;143:112119. doi: 10.1016/j.biopha.2021.112119. [DOI] [PubMed] [Google Scholar]
- 2.Sánchez Fernández I., Loddenkemper T. Seizures caused by brain tumors in children. Seizure. 2017;44:98–107. doi: 10.1016/j.seizure.2016.11.028. [DOI] [PubMed] [Google Scholar]
- 3.Chintagumpala M., Gajjar A. Brain tumors. Pediatr. Clin. N. Am. 2015;62:167–178. doi: 10.1016/j.pcl.2014.09.011. [DOI] [PubMed] [Google Scholar]
- 4.Herholz K., Langen K.J., Schiepers C., Mountz J.M. Brain tumors. Semin. Nucl. Med. 2012;42:356–370. doi: 10.1053/j.semnuclmed.2012.06.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Boire A., Brastianos P.K., Garzia L., Valiente M. Brain metastasis. Nat. Rev. Cancer. 2020;20:4–11. doi: 10.1038/s41568-019-0220-y. [DOI] [PubMed] [Google Scholar]
- 6.Kontogeorgos G. Classification and pathology of pituitary tumors. Endocrine. 2005;28:27–35. doi: 10.1385/ENDO:28:1:027. [DOI] [PubMed] [Google Scholar]
- 7.Viallon M., Cuvinciuc V., Delattre B., Merlini L., Barnaure-Nachbar I., Toso-Patel S., Becker M., Lovblad K.O., Haller S. State-of-the-art MRI techniques in neuroradiology: Principles, pitfalls, and clinical applications. Neuroradiology. 2015;57:441–467. doi: 10.1007/s00234-015-1500-1. [DOI] [PubMed] [Google Scholar]
- 8.Villanueva-Meyer J.E., Mabray M.C., Cha S. Current Clinical Brain Tumor Imaging. Neurosurgery. 2017;81:397–415. doi: 10.1093/neuros/nyx103. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Kavin Kumar K., Meera Devi T., Maheswaran S. An Efficient Method for Brain Tumor Detection Using Texture Features and SVM Classifier in MR Images. Asian Pac. Cancer Prev. 2018;19:2789–2794. doi: 10.22034/APJCP.2018.19.10.2789. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Kang J., Ullah Z., Gwak J. MRI-Based Brain Tumor Classification Using Ensemble of Deep Features and Machine Learning Classifiers. Sensors. 2021;21:2222. doi: 10.3390/s21062222. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Zacharaki E.I., Wang S., Chawla S., Yoo D.S., Wolf R., Melhem E.R., Davatzikos C. Classification of brain tumor type and grade using MRI texture and shape in a machine learning scheme. Magn. Reson. Med. 2009;62:1609. doi: 10.1002/mrm.22147. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Shrot S., Salhov M., Dvorski N., Konen E., Averbuch A., Hoffmann C. Application of MR morphologic, diffusion tensor, and perfusion imaging in the classification of brain tumors using machine learning scheme. Neuroradiology. 2019;61:757–765. doi: 10.1007/s00234-019-02195-z. [DOI] [PubMed] [Google Scholar]
- 13.Deepak S., Ameer P.M. Retrieval of brain MRI with tumor using contrastive loss based similarity on GoogLeNet encodings. Comput. Biol. Med. 2020;125:103993. doi: 10.1016/j.compbiomed.2020.103993. [DOI] [PubMed] [Google Scholar]
- 14.Swati Z.N.K., Zhao Q., Kabir M., Ali F., Ali Z., Ahmed S., Lu J. Brain tumor classification for MR images using transfer learning and fine-tuning. Comput. Med. Imaging Graph. 2019;75:34–46. doi: 10.1016/j.compmedimag.2019.05.001. [DOI] [PubMed] [Google Scholar]
- 15.Zhuge Y., Ning H., Mathen P., Cheng J.Y., Krauze A.V., Camphausen K., Miller R.W. Automated glioma grading on conventional MRI images using deep convolutional neural networks. Med. Phys. 2020;47:3044–3053. doi: 10.1002/mp.14168. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Pomponio R., Erus G., Habes M., Doshi J., Srinivasan D., Mamourian E., Bashyam V., Nasrallah I.M., Satterthwaite T.D., Fan Y., et al. Harmonization of large MRI datasets for the analysis of brain imaging patterns throughout the lifespan. NeuroImage. 2019;208:116450. doi: 10.1016/j.neuroimage.2019.116450. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Naser M.A., Deen M.J. Brain tumor segmentation and grading of lower-grade glioma using deep learning in MRI images. Comput. Biol. Med. 2020;121:103758. doi: 10.1016/j.compbiomed.2020.103758. [DOI] [PubMed] [Google Scholar]
- 18.Ahmad B., Sun J., You Q., Palade V., Mao Z. Brain Tumor Classification Using a Combination of Variational Autoencoders and Generative Adversarial Networks. Biomedicines. 2022;10:223. doi: 10.3390/biomedicines10020223. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Polat Ö., Güngen C. Classification of brain tumors from MR images using deep transfer learning. Supercomputing. 2021;77:7236–7252. doi: 10.1007/s11227-020-03572-9. [DOI] [Google Scholar]
- 20.Khan H.A., Jue W., Mushtaq M., Mushtaq M.U., Khan H.A., Jue W., Mushtaq M., Mushtaq M.U. Brain tumor classification in MRI image using convolutional neural network. Math. Biosci. Eng. 2020;17:6203–6216. doi: 10.3934/mbe.2020328. [DOI] [PubMed] [Google Scholar]
- 21.Badža M.M., Barjaktarović M.C. Classification of Brain Tumors from MRI Images Using a Convolutional Neural Network. Appl. Sci. 2020;10:1999. doi: 10.3390/app10061999. [DOI] [Google Scholar]
- 22.Deepak S., Ameer P.M. Brain tumor classification using deep CNN features via transfer learning. Comput. Biol. Med. 2019;111:103345. doi: 10.1016/j.compbiomed.2019.103345. [DOI] [PubMed] [Google Scholar]
- 23.Haq E.U., Jianjun H., Li K., Haq H.U., Zhang T. An MRI-based deep learning approach for efficient classification of brain tumors. Ambient Intell. Humaniz. Comput. 2021;2021:1–22. doi: 10.1007/s12652-021-03535-9. [DOI] [Google Scholar]
- 24.Sekhar A., Biswas S., Hazra R., Sunaniya A.K., Mukherjee A., Yang L. Brain tumor classification using fine-tuned GoogLeNet features and machine learning algorithms: IoMT enabled CAD system. IEEE Biomed. Health Inform. 2021;26:983–991. doi: 10.1109/JBHI.2021.3100758. [DOI] [PubMed] [Google Scholar]
- 25.Shaik N.S., Cherukuri T.K. Multi-level attention network: Application to brain tumor classification. Signal Image Video Process. 2021;16:817–824. doi: 10.1007/s11760-021-02022-0. [DOI] [Google Scholar]
- 26.Alanazi M.F., Ali M.U., Hussain S.J., Zafar A., Mohatram M., Irfan M., Alruwaili R., Alruwaili M., Ali N.H., Albarrak A.M. Brain Tumor/Mass Classification Framework Using Magnetic-Resonance-Imaging-Based Isolated and Developed Transfer Deep-Learning Model. Sensors. 2022;22:372. doi: 10.3390/s22010372. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Vaswani A., Shazeer N., Parmar N., Uszkoreit J., Jones L., Gomez A.N., Kaiser Ł., Polosukhin I. Attention Is All You Need. Adv. Neural Inf. Process. Syst. 2017;30:5999–6009. doi: 10.48550/arxiv.1706.03762. [DOI] [Google Scholar]
- 28.Dosovitskiy A., Beyer L., Kolesnikov A., Weissenborn D., Zhai X., Unterthiner T., Dehghani M., Minderer M., Heigold G., Gelly S., et al. An Image is Worth 16 × 16 Words: Transformers for Image Recognition at Scale. arXiv. 2020 doi: 10.48550/arxiv.2010.11929.2010.11929 [DOI] [Google Scholar]
- 29.Steiner A., Kolesnikov A., Zhai X., Wightman R., Uszkoreit J., Beyer L. How to Train Your ViT? Data, Augmentation, and Regularization in Vision Transformers, (n.d.) [(accessed on 10 March 2022)]. Available online: https://github.com/rwightman/pytorch-image-models.
- 30.Wu Y., Qi S., Sun Y., Xia S., Yao Y., Qian W. A vision transformer for emphysema classification using CT images. Phys. Med. Biol. 2021;66:245016. doi: 10.1088/1361-6560/ac3dc8. [DOI] [PubMed] [Google Scholar]
- 31.Gheflati B., Rivaz H. Vision Transformer for Classification of Breast Ultrasound Images; Proceedings of the 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); Glasgow, UK. 11–15 July 2022; [DOI] [PubMed] [Google Scholar]
- 32.Shamshad F., Khan S., Zamir S.W., Khan M.H., Hayat M., Khan F.S., Fu H. Transformers in Medical Imaging: A Survey. arXiv. 2022 doi: 10.48550/arxiv.2201.09873.2201.09873 [DOI] [PubMed] [Google Scholar]
- 33.Wang J., Fang Z., Lang N., Yuan H., Su M.Y., Baldi P. A multi-resolution approach for spinal metastasis detection using deep Siamese neural networks. Comput. Biol. Med. 2017;84:137–146. doi: 10.1016/j.compbiomed.2017.03.024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Dai Y., Gao Y., Liu F. TransMed: Transformers Advance Multi-modal Medical Image Classification. Diagnostics. 2021;11:1384. doi: 10.3390/diagnostics11081384. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Gheflati B., Rivaz H. Vision transformers for classification of breast ultrasound images. arXiv. 2021 doi: 10.48550/arXiv.2110.14731. [DOI] [PubMed] [Google Scholar]
- 36.Mondal A.K., Bhattacharjee A., Singla P., Prathosh A.P. xViTCOS: Explainable Vision Transformer Based COVID-19 Screening Using Radiography. IEEE Transl. Eng. Health Med. 2022;10:1100110. doi: 10.1109/JTEHM.2021.3134096. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Ayan E., Karabulut B., Ünver H.M. Diagnosis of Pediatric Pneumonia with Ensemble of Deep Convolutional Neural Networks in Chest X-Ray Images. Arab. Sci. Eng. 2022;47:2123–2139. doi: 10.1007/s13369-021-06127-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Ko H., Ha H., Cho H., Seo K., Lee J. Pneumonia Detection with Weighted Voting Ensemble of CNN Models; Proceedings of the 2019 2nd International Conference on Artificial Intelligence and Big Data (ICAIBD); Chengdu, China. 25–28 May 2019; pp. 306–310. [DOI] [Google Scholar]
- 39.Afifi A., Hafsa N.E., Ali M.A.S., Alhumam A., Alsalman S. An Ensemble of Global and Local-Attention Based Convolutional Neural Networks for COVID-19 Diagnosis on Chest X-ray Images. Symmetry. 2021;13:113. doi: 10.3390/sym13010113. [DOI] [Google Scholar]
- 40.Cheng J., Huang W., Cao S., Yang R., Yang W., Yun Z., Wang Z., Feng Q. Enhanced Performance of Brain Tumor Classification via Tumor Region Augmentation and Partition. PLoS ONE. 2015;10:e0140381. doi: 10.1371/JOURNAL.PONE.0140381. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Cheng J., Yang W., Huang M., Huang W., Jiang J., Zhou Y., Yang R., Zhao J., Feng Y., Feng Q., et al. Retrieval of Brain Tumors by Adaptive Spatial Pooling and Fisher Vector Representation. PLoS ONE. 2016;11:e0157112. doi: 10.1371/journal.pone.0157112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Marosi C., Hassler M., Roessler K., Reni M., Sant M., Mazza E., Vecht C. Meningioma. Crit. Rev. Oncol. Hematol. 2008;67:153–171. doi: 10.1016/j.critrevonc.2008.01.010. [DOI] [PubMed] [Google Scholar]
- 43.Ostrom Q.T., Gittleman H., Stetson L., Virk S.M., Barnholtz-Sloan J.S. Epidemiology of gliomas. Cancer Treat. Res. 2015;163:1–14. doi: 10.1007/978-3-319-12048-5_1. [DOI] [PubMed] [Google Scholar]
- 44.Devlin J., Chang M.W., Lee K., Toutanova K. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv. 2018 doi: 10.48550/arxiv.1810.04805.1810.04805 [DOI] [Google Scholar]
- 45.Liu Z., Lin Y., Cao Y., Hu H., Wei Y., Zhang Z., Lin S., Guo B. Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. IEEE/CVF Int. Conf. Comput. Vis. 2021;2021:10012–10022. doi: 10.48550/arxiv.2103.14030. [DOI] [Google Scholar]
- 46.Touvron H., Cord M., Douze M., Massa F., Sablayrolles A., Jégou H., Ai F. Training data-efficient image transformers & distillation through attention; Proceedings of the International Conference on Machine Learning, PMLR; 13–18 July 2020; Virtual Conference. [DOI] [Google Scholar]
- 47.Han K., Xiao A., Wu E., Guo J., Xu C., Wang Y. Transformer in Transformer. Adv. Neural Inf. Process. Syst. 2021;34:15908–15919. doi: 10.48550/arxiv.2103.00112. [DOI] [Google Scholar]
- 48.Ismael M.R., Abdel-Qader I. Brain Tumor Classification via Statistical Features and Back-Propagation Neural Network; Proceedings of the 2018 IEEE International Conference on Electro/Information Technology (EIT); Rochester, MI, USA. 3–5 May 2018; pp. 252–257. [DOI] [Google Scholar]
- 49.Pashaei A., Sajedi H., Jazayeri N. Brain tumor classification via convolutional neural network and extreme learning machines; Proceedings of the 2018 8th International Conference on Computer and Knowledge Engineering (ICCKE); Mashhad, Iran. 25–26 October 2018; pp. 314–319. [DOI] [Google Scholar]
- 50.Afshar P., Plataniotis K.N., Mohammadi A. Capsule Networks for Brain Tumor Classification Based on MRI Images and Coarse Tumor Boundaries; Proceedings of the ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP); Brighton, UK. 12–17 May 2019; pp. 1368–1372. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data used in the study is publicly available from Figshare at brain tumor dataset.