Manuscript Offprint
arXiv:2610.33416How Robust Are CNNs and Vision Transformers for Alzheimer's MRI Classification Across Datasets?
Hafija Aktar , Molly Croes , Frank S. Menniti , and Abdeltawab Hendawi
Department of Computer Science
Department of Biomedical and Pharmaceutical Sciences, George & Anne Ryan Institute for Neuroscience
University of Rhode Island, Kingston, RI 02881, USA
{hafijaaktar, molly.croes, mennitifs, hendawi}@uri.edu
Abstract—Accurate assessment of Alzheimer's disease stages from MRI is important for understanding disease progression and supporting the development of computer-aided analysis tools. Deep learning models have shown promising results for Alzheimer's disease classification from MRI. However, when evaluated on single datasets, it is difficult to determine whether the observed performance reflects consistent architectural behavior or dataset-specific effects. In this work, we present a multi-dataset benchmarking framework with standardized preprocessing and evaluation. We compare five architectures: ResNet-50, ReXNet-150, Swin Transformer, ViT-Base, and ViT-Large. The models are evaluated across three MRI datasets representing severe class imbalance, train-test distribution mismatch, and large-scale augmentation. The results show broadly consistent performance patterns across datasets, with ViT-Large achieving the best performance on all three datasets and reaching up to 99.84% accuracy and 99.86% macro F1. Performance differences between architectures are most pronounced under distribution mismatch and considerably smaller in the augmented-data setting. Across datasets, lower class-level performance is observed primarily among adjacent early-stage categories, particularly Very Mild and Mild impairment. These findings highlight the importance of evaluating deep learning architectures across multiple data conditions rather than relying on single-dataset performance.
Index Terms—Alzheimer’s disease, MRI classification, deep learning, multi-dataset benchmarking, distribution mismatch, class imbalance, transformer models, convolutional neural networks
I. INTRODUCTION
Alzheimer's disease (AD) is a progressive neurodegenerative disorder that affects millions of people worldwide and places a growing burden on healthcare systems [1], [2]. Structural MRI provides a non-invasive way to detect disease-related changes in the brain [2]. Accurate staging is important for disease assessment. In MRI-based classification tasks, deep learning models have demonstrated great accuracy, frequently above 95% on benchmark datasets [1]. However, these results are often reported on a single dataset. As a result, it remains difficult to determine whether observed performance reflects consistent model behavior or dataset-specific effects. Similar concerns have been observed in external validation studies of artificial intelligence (AI) systems in radiology [3], [4]. It is difficult to tell whether differences in performance between architectures are consistent across diverse data situations.
MRI datasets have different sizes, class distributions and conventional MRI designs. Synthetic balancing and augmentation can change the properties of the data and cause distributional shifts. However, real-world datasets are often imbalanced [5], [6], [7]. Transformer based designs use attention processes for capturing larger dependencies, while convolutional models are based on local spatial inductive biases [8]. Architectural choices may influence the way models respond to changes in distribution, imbalance, and size of data.
The classification task is made more difficult by the characteristics of Alzheimer's disease. The stages of the disease's progression range from Very Mild to Moderate impairment. Even experts may find it challenging to identify the subtle structural changes that characterize early stages [9], [10]. Consequently, classification difficulty is not uniform across classes, and adjacent early-stage categories may be particularly difficult to distinguish.
Systematic comparisons across multiple datasets are still limited, despite the growing interest in deep learning for classifying Alzheimer's MRI. Thus, it is not clear whether the relative ranking of model performance is consistent across datasets or how much they are sensitive to factors such as train-test distribution mismatch, data augmentation, and class imbalance. This gap leads to the following research question:
Are performance patterns of CNNs and vision transformers for Alzheimer's MRI classification consistent across datasets with different distributional properties, and how are these patterns affected by dataset-specific characteristics?
In order to address this question, we present a multi-dataset benchmarking approach that compares transformer-based and convolutional models under standardized preprocessing and evaluation. To facilitate efficient training in each context, the framework incorporates optimization parameters specific to datasets and architectures. We evaluate five benchmark architectures: ViT-Base, ViT-Large, Swin Transformer, ReXNet-150 and ResNet-50. We assess the models across three datasets, large-scale augmentation, synthetic balancing with train-test distribution mismatch and severe class imbalance. This setting enables us to compare the trends in performance across quite different data conditions in a particular evaluation framework.
We use this framework to study how architectural design, model capacity, and dataset characteristics are associated with classification performance. In particular, we examine changes in model ranking, sensitivity to distribution mismatch, and class-level performance across disease stages.
The contributions of this work are:
• We present a multi-dataset benchmarking methodology with standardized preprocessing and evaluation for systematically comparing deep learning architectures under different data conditions, including class imbalance, train-test distribution mismatch, and large-scale augmentation.
• We show that model performance patterns are broadly consistent across the evaluated datasets, with ViT-Large achieving the strongest overall performance on all three datasets and Swin Transformer consistently ranking among the top models.
• We analyze how the magnitude of performance differences changes across dataset conditions and show that architecture-level differences become more pronounced under the distribution-mismatch setting.
• We identify adjacent early-stage categories, particularly Very Mild and Mild impairment, as the classes with lower and more variable class-level performance across the evaluated models and datasets.
The remainder of this paper is organized as follows. Section II reviews prior work on MRI-based Alzheimer's disease classification, transformer models, and dataset shift. Section III describes the three MRI datasets and their class distribution characteristics. Section IV presents the evaluated architectures, fine-tuning strategy, and training configuration. Section V reports the experimental results and cross-dataset analysis. Section VI discusses the limitations of the study, and Section VII concludes the paper.
Transformer-based models represent a different modeling paradigm, employing attention to capture long-range dependencies. Vision Transformers (ViT) performed well at scale, and Swin Transformer introduced hierarchical attention with better computational efficiency [8], [13]. Training strategies for data-efficient transformers have been explored to improve optimization when large-scale labeled data are limited [24]. CNN-transformer and transformer-based architectures have been explored in the AD domain to capture local anatomical structure and broader spatial relationships [16], [15]. Recently, transformer-based attention mechanisms have also been used for 3D brain MRI classification [21]. Although these approaches are promising, many studies evaluate a limited number of architectures on individual datasets which makes it difficult to determine whether reported improvements are due to the benefits of the architecture or the effects of the dataset.
These concerns become particularly important when model behavior is compared across datasets or evaluated on external cohorts. Previous studies have shown that strong internal performance may not translate to independent populations. Bron et al. [14] reported reduced performance under cross-cohort evaluation, while Song et al. [22] emphasized the importance of multi-cohort, multi-vendor, and multi-protocol validation. More broadly, medical imaging studies associate generalization failures with dataset shift caused by differences in acquisition protocols, population characteristics, and hidden biases [18], [19], [6]. In MRI, scanner-specific characteristics can further affect model performance across sites [25], [17], [7].
Data construction and augmentation can also influence model evaluation. Generative adversarial networks provide a general framework for generating synthetic data [5], and synthetic samples are often used to expand training data or reduce class imbalance. However, synthetic balancing and heavy augmentation can alter the training distribution and may not fully represent real clinical conditions. Data leakage is another important concern in MRI classification, particularly when related or visually similar samples occur across training and testing splits, which can inflate reported performance [3]. In addition, differences in preprocessing, imbalance handling, optimization, and training strategies can complicate performance comparisons across studies [1], [8], [24]. For a clearer comparison among existing approaches, Table I summarizes representative studies in terms of datasets, models, and key findings.
Although prior studies have evaluated CNN, transformer, and hybrid models for Alzheimer's MRI classification, differences in datasets, preprocessing, training settings, and evaluation protocols limit direct comparison across studies. Existing work has also focused largely on reporting performance within individual datasets or on external validation of a particular model, leaving comparatively less evidence on how the relative behavior of multiple architectures changes across different dataset conditions. We therefore evaluate representative CNN and transformer architectures across three datasets using consistent preprocessing and evaluation, while adapting training strategies to the characteristics of each dataset. This design allows us to examine whether architecture rankings and class-level performance patterns remain broadly consistent under severe class imbalance, train-test distribution mismatch, and large-scale augmentation.
III. DATASETS
We conduct experiments on three publicly available structural MRI datasets for AD stage classification. Each dataset
TABLE I
REPRESENTATIVE STUDIES ON MRI-BASED ALZHEIMER'S DISEASE CLASSIFICATION, COVERING CNN, TRANSFORMER, AND HYBRID MODELS, ALONG WITH MULTI-DATASET BENCHMARKING AND DATASET SHIFT.
| Paper | Year | Data | Model | Key finding | Relevance |
|---|---|---|---|---|---|
| He et al. [11] | 2016 | ImageNet | ResNet | Residual learning enables deep, transferable CNNs. | CNN baseline |
| Han et al. [12] | 2021 | ImageNet | ReXNet | Efficient CNN design reduces representational bottlenecks. | Efficient CNN |
| Dosovitskiy et al. [8] | 2021 | ImageNet | ViT | Patch-based transformers achieve strong performance at scale. | ViT basis |
| Liu et al. [13] | 2021 | ImageNet | Swin | Hierarchical shifted-window attention improves efficiency and representation. | Swin baseline |
| Basaia et al. [2] | 2019 | ADNI, clinical | 3D CNN | Single structural MRI scans can support AD classification. | CNN AD study |
| Wen et al. [1] | 2020 | ADNI, AIBL, OA-SIS | CNN, SVM | Highlights reproducibility issues and limited cross-dataset generalization. | Benchmarking gap |
| Bron et al. [14] | 2021 | ADNI, clinical | CNN, SVM | Performance decreases when models are evaluated across independent cohorts. | Cross-cohort generalization |
| Jang & Hwang [15] | 2022 | ADNI, AIBL, OA-SIS | M3T | Hybrid modeling captures multi-plane MRI information. | Transformer AD model |
| Xin et al. [16] | 2023 | ADNI, AIBL | CNN + Swin | Hybrid CNN-Swin model is evaluated with external validation. | Hybrid trend |
| Kushol et al. [17] | 2023 | Multi-site MRI | DL models | Scanner variation degrades classification performance. | Dataset shift |
| Zech et al. [18] | 2018 | Multi-site medical imaging | DL models | Generalization performance varies substantially across institutions. | Dataset shift |
| Castro et al. [19] | 2020 | Medical imaging | DL models | Highlights the influence of dataset bias and causal factors on generalization. | Dataset bias |
| Chen et al. [20] | 2024 | ADNI, OASIS, AIBL | LongFormer | Longitudinal modeling improves classification performance. | Temporal modeling |
| Alp et al. [21] | 2024 | ADNI | Joint Transformer | Attention-based 3D MRI modeling supports AD classification. | Transformer AD model |
| Song et al. [22] | 2022 | Multi-cohort MRI | DL model | Multi-cohort, multi-vendor, and multi-protocol validation reveals generalization limitations. | External validation |
| Yagis et al. [3] | 2021 | Brain MRI | 2D CNN | Data leakage can inflate MRI classification performance. | Leakage risk |
| This study | 2026 | 3 MRI datasets | CNN, ViT, Swin | Compares architecture performance patterns across datasets with different distributional characteristics. | Multi-dataset benchmarking |
is composed of brain MRI images annotated with four diagnostic stages corresponding to increasing levels of cognitive impairment. The categories for Datasets I and III are Non Demented, Very Mild Demented, Mild Demented, and Moderate Demented, while Dataset II uses No Impairment, Very Mild Impairment, Mild Impairment, and Moderate Impairment. Despite differences in naming, these labels represent the same progression from cognitively normal to advanced stages. Representative MRI slices for the four diagnostic categories are shown in Fig. 1.
The three datasets provide complementary evaluation settings with different construction methods, scales, and class distributions. Using multiple datasets allows us to examine whether the relative behavior of CNNs and vision transformers remains stable when the properties of the data change, rather than drawing conclusions from a single benchmark. Dataset I consists of real MRI images with severe class imbalance, allowing us to examine model behavior when some disease stages are represented by very few samples. Dataset II contains a balanced training set composed of real and synthetically generated images using Wasserstein GAN with Gradient Penalty (WGAN-GP), together with a highly imbalanced test set, creating a challenging train–test distribution mismatch. Dataset III consists of augmented MRI images generated through systematic transformations and provides a substantially larger augmented-data setting. This setting allows us to examine whether architecture-level performance differences remain visible when more augmented samples are available. Together, these datasets enable us to study model behavior under severe class imbalance, distribution mismatch, and large-scale augmentation. Table II summarizes their main characteristics and evaluation focus.
For Datasets I and III, the originally provided training and test images are combined and repartitioned using stratified splits of approximately 70%, 15%, and 15% for training, validation, and testing, respectively. For Dataset II, the original test set is preserved to maintain the intended imbalanced evaluation setting, while the provided training set is divided into training and validation subsets using an 80%–20% stratified split. Stratified sampling is used for all newly created partitions to preserve the corresponding class distributions as closely as possible.
A. Dataset Descriptions
We now include a detailed description of each dataset, emphasizing its size, composition, and class distribution. These datasets are chosen to represent diverse data conditions, including real-world class imbalance, synthetic balanc-
No Impairment

Very Mild Impairment
Mild Impairment
Moderate Impairment
Fig. 1. Representative axial MRI slices illustrating the four diagnostic categories used in this study.
TABLE II KEY CHARACTERISTICS AND EVALUATION FOCUS OF THE THREE MRI DATASETS.
| Dataset | Total Images | Data Type | Key Property | Evaluation Focus |
|---|---|---|---|---|
| Dataset I | 6,400 | Real MRI images | Severe class imbalance | Impact of severe class imbalance on model performance |
| Dataset II | 11,519 | Real and synthetic MRI images | Balanced train, imbalanced test | Robustness under train-test distribution mismatch |
| Dataset III | 33,984 | Augmented MRI images | Large-scale augmentation with moderate imbalance | Effect of large-scale augmentation on classification performance |
ing with distribution mismatch, and large-scale augmentation. This combination provides complementary test conditions for comparing the five architectures across substantially different dataset characteristics.
-
Dataset I: Alzheimer MRI Disease Classification Dataset: This dataset, available on Hugging Face [26], contains brain MRI images labelled by four diagnostic categories: Non Demented, Very Mild Demented, Mild Demented, and Moderate Demented. The original dataset consists of 5,120 training images and 1,280 test images, for a total of 6,400 samples. After combining the original splits and applying stratified partitioning, the dataset comprises 4,572 training, 914 validation and 914 test images. The dataset has a highly imbalanced class distribution, with Non Demented images forming the majority and only 64 Moderate Demented samples in total (46 train, 9 validation, and 9 test). This extreme imbalance provides a challenging class-imbalanced setting for model evaluation.
-
Dataset II: Best Alzheimer MRI Dataset: This dataset, obtained from Kaggle [27], contains axial brain MRI images across four diagnostic stages: No Impairment, Very Mild Impairment, Mild Impairment, and Moderate Impairment. To overcome the data scarcity and class imbalance issues, the dataset was generated by combining real MRI scans and synthetically generated images using Wasserstein GAN with Gradient Penalty (WGAN-GP). The training set consists of 10,240 images, split approximately equally among the classes, with 2,560 images per class prior to partitioning. After stratified partitioning there are 8,192 training images and 2,048 validation images. The original test set of 1,279 images is preserved. In contrast to the balanced training data, the test set is highly imbalanced, with 640 No Impairment samples and only 12 Moderate Impairment samples. This train-test asymmetry creates a difficult evaluation setting under distribution mismatch. In this study, this mismatch refers primarily to the difference in class proportions between the balanced training set and the highly imbalanced test set, together with differences introduced by the synthetic composition of the training data.
-
Dataset III: Augmented Alzheimer MRI Dataset: This Kaggle dataset [28] contains Alzheimer's MRI images in four classes: Non Demented, Very Mild Demented, Mild Demented, and Moderate Demented. It includes original and augmented images generated from an existing Alzheimer's MRI dataset. In this study, only the augmented images are used. Because these samples are generated from a small number of original images, they may introduce redundancy across dataset splits and inflate performance if highly similar samples appear in both training and testing partitions [29], [30]. Thus, Dataset III results should be interpreted as augmented-data performance rather than evidence of clinical generalization. After stratified partitioning, the dataset contains 23,788 training, 5,098 validation, and 5,098 test images, totaling 33,984 samples. Dataset III is much larger than Dataset I and has moderate class imbalance, with similar class proportions across splits.
B. Class Distribution
The three datasets present different imbalance patterns that can influence both model training and evaluation. These dif-
TABLE III PER-CLASS DISTRIBUTION ACROSS ALL THREE DATASETS AFTER STRATIFIED SPLITTING.
| Class | Dataset I | Dataset II | Dataset III | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Train | Val | Test | Train | Val | Test | Train | Val | Test | |
| Non / No Impairment | 2,286 | 457 | 457 | 2,042 | 518 | 640 | 6,720 | 1,440 | 1,440 |
| Very Mild | 1,568 | 320 | 320 | 2,041 | 519 | 448 | 6,272 | 1,344 | 1,344 |
| Mild | 672 | 128 | 128 | 2,048 | 512 | 179 | 6,272 | 1,344 | 1,344 |
| Moderate | 46 | 9 | 9 | 2,061 | 499 | 12 | 4,524 | 970 | 970 |
| Split Total | 4,572 | 914 | 914 | 8,192 | 2,048 | 1,279 | 23,788 | 5,098 | 5,098 |
ferences are important in multi-class Alzheimer's disease classification because disease stages are not equally represented, which can affect how reliably models learn and distinguish stage-specific features. The per-class distributions across all datasets are summarized in Table III.
Dataset I has a very imbalanced setting, with only 46 training samples for the Moderate Demented class compared to 2,286 Non Demented samples. This extreme imbalance introduces a strong bias to the majority classes in the training phase, making it especially challenging to accurately identify minority classes. This makes models trained on this dataset susceptible to overfitting of dominant patterns, and may hinder their generalization to underrepresented disease stages.
Dataset II presents a different challenge. While the training data is fairly balanced across all classes, the test set is very imbalanced with 12 samples of Moderate Impairment and 640 samples of No Impairment. This train-test distribution mismatch provides a challenging evaluation setting in which models trained on balanced data are evaluated under a highly imbalanced class distribution.
Dataset III represents a moderately imbalanced setting across all splits. Although class sizes are more evenly distributed than in Dataset I, the Moderate Demented class is still the smallest. The class distribution in train, validation and test sets is similar, which provides a consistent environment for training.
Together, the datasets represent three complementary evaluation settings: severe class imbalance in Dataset I, train–test distribution mismatch in Dataset II, and large-scale augmentation with more moderate class imbalance in Dataset III. These settings allow us to examine whether architecture performance remains consistent as the underlying data conditions change.
C. MRI Data Preparation
All MRI images are processed with a standardized pipeline to ensure consistent input representation across datasets and architectures. The images are scaled to pixels to match the requirements of the pretrained model, converted to PyTorch tensors, and scaled from [0, 255] to [0, 1]. The images are normalized with ImageNet channel-wise mean and standard deviation to align with the pretrained feature distributions and allow efficient transfer learning. MRI images are grayscale, so each image is replicated in three channels to match the pretrained models' input format. This preprocessing pipeline reduces input-related variability when comparing architectural and training configurations.
Data augmentation is only performed on the training set to improve generalization and reduce overfitting. The augmentation pipeline incorporates random cropping, horizontal and vertical flipping, random rotations, color jitter, grayscale conversion, and RandAugment to introduce spatial and intensity-based variability. Although MRI images are grayscale, color jitter and grayscale conversion are retained in the implemented pipeline after channel replication, where they function as intensity-level perturbations rather than true color transformations. Validation and test images are processed deterministically only to ensure consistent and reproducible evaluation. The complete pipeline for preprocessing, augmentation, model training and evaluation is represented in Figure 2. The figure illustrates how the three MRI datasets are first standardized through resizing, channel conversion, normalization, and training-only augmentation, followed by model fine-tuning and evaluation across the five benchmark architectures.
IV. METHODOLOGY
The accurate staging of Alzheimer's disease from structural MRI requires models that can capture subtle and progressive anatomical changes across different stages of cognitive impairment. Convolutional neural networks (CNNs) have shown their capacity to learn hierarchical spatial representations of brain structures [31], [1], [2], [32] and transformer-based models can capture long-range dependencies using attention mechanisms [8], [13], [33], [34].
Despite these advancements, systematic comparisons among CNN and transformer-based models are still limited, especially on datasets with different distribution characteristics. To address this, we evaluate representative architectures from both families under consistent preprocessing and evaluation settings, while adapting training strategies to each dataset. This design supports comparison of architectural performance by standardizing preprocessing and evaluation while allowing dataset-specific training adaptations.

Fig. 2. Overview of the experimental pipeline for Alzheimer's disease MRI stage classification. MRI datasets are preprocessed and augmented before being used to train multiple deep learning models. The models are fine-tuned and evaluated using classification metrics to predict Alzheimer's disease stages.
A. Benchmark Architectures
We evaluate five representative architectures: ResNet-50, ReXNet-150, Swin Transformer, ViT-Base, and ViT-Large. These models cover both convolutional and transformer-based approaches, enabling comparison between local spatial feature extraction and global attention-based modeling for Alzheimer's disease MRI classification. They also differ in depth and parameter size, allowing us to examine performance patterns associated with model capacity. This selection provides a balanced benchmark of standard CNNs, efficient CNNs, hierarchical transformers, and Vision Transformer variants. Their key architectural characteristics are summarized in Table IV.
- ResNet-50: ResNet-50 [11] is a deep convolutional neural network that uses residual shortcut connections to improve gradient flow and reduce the vanishing-gradient problem in very deep models. Instead of learning a direct mapping, each residual block learns a residual function, which makes optimization more stable and allows the network to benefit from increased depth. The architecture consists of an initial convolutional stem followed by four stages of bottleneck residual blocks, where each block uses , , and convolutions to reduce, process, and restore feature dimensions efficiently. ResNet-50 has also been applied directly to Alzheimer's MRI classification, supporting its use as a relevant CNN baseline for this task [35]. In this study, ResNet-50 is used as the main CNN reference model because its residual design provides a widely adopted and robust baseline for comparing convolutional feature learning with transformer-based architectures in MRI classification.
TABLE IV ARCHITECTURAL CHARACTERISTICS OF THE EVALUATED DEEP LEARNING MODELS.
| Model | Architecture Type | Depth | Patch Size | Attention Heads | Parameters |
|---|---|---|---|---|---|
| ResNet-50 | CNN | 50 | - | - | 25M |
| ReXNet-150 | CNN | 150 | - | - | 16M |
| Swin Transformer | Hierarchical Transformer | 24 | 4 × 4 | 3 / 6 / 12 / 24 | 88M |
| ViT-Base | Vision Transformer | 12 | 16 × 16 | 12 | 86M |
| ViT-Large | Vision Transformer | 24 | 16 × 16 | 16 | 307M |
-
ReXNet-150: ReXNet-150 [12] is an efficient convolutional architecture that aims at improving the representational capacity by reducing channel bottlenecks in CNN feature maps. The model progressively expands the channels' size along the layers, so the feature representations are not excessively compressed in the forward propagation. This design is motivated by the observation that narrow intermediate representations may limit the information flow and reduce the expressive power of lightweight CNNs. ReXNet is also designed with efficient-CNN design principles similar to MobileNet-style architectures, but with a special focus on reducing the representational bottlenecks through progressive channel expansion [36], [37]. In this work, we use ReXNet-150 as an efficient CNN baseline to evaluate if better channel allocation and parameter-efficient convolutional design can bring benefits for MRI-based Alzheimer's disease classification.
-
Swin Transformer: The Swin Transformer [13] is a hierarchical vision transformer designed to improve the efficiency of standard self-attention. Instead of computing attention globally over all image patches, it restricts self-attention to non-overlapping local windows, which substantially reduces computational complexity. To allow information exchange across neighboring windows, Swin introduces a shifted-window mechanism in which the window partition is shifted between successive layers. This enables cross-window interactions while preserving efficient local attention. The architecture also progressively reduces spatial resolution and increases feature dimensionality, producing a multi-scale representation similar to convolutional feature hierarchies. Such hierarchical and window-based modeling has made Swin-based architectures useful in medical image analysis, including 3D medical representation learning and MRI-based segmentation tasks [38], [39]. In Alzheimer's disease analysis, Swin-based hybrid models have also been explored for structural MRI diagnosis [16]. In this study, the Swin Transformer is included to evaluate whether hierarchical attention can capture both local anatomical variations and broader structural context in MRI-based Alzheimer's disease classification.
-
Vision Transformer (ViT-Base): The Vision Transformer (ViT) [8] encodes an image as a sequence of fixed-size patches, instead of convolutional feature maps. The input image in ViT-Base is split into non-overlapping patches, which are then flattened, linearly projected to embedding vectors and the positional encodings are added to them. The resulting patch sequence is then processed by stacked transformer encoder blocks consisting of multi-head self-attention and feed-forward layers. This design enables each patch token to attend to other parts of the image during representation learning. This global attention at the patch level is beneficial for stage classification as the structural difference between the Alzheimer stages can be present in many brain regions instead of one localized region. Recently, ViT-based feature extraction has also been used in Alzheimer's MRI studies for 3D MRI classification [21]. The ViT-Base has 12 encoder layers, 12 attention heads and 86M parameters. In this study, it serves as the baseline transformer model for assessing global self-attention in MRI-based Alzheimer's disease classification.
-
Vision Transformer (ViT-Large): ViT-Large [8] follows the same patch-based transformer design as ViT-Base but increases model capacity substantially. It uses 24 encoder layers, 16 attention heads, and approximately 307M parameters, compared with 12 encoder layers, 12 attention heads, and approximately 86M parameters in ViT-Base. Larger vision transformers can learn more expressive patch-level interactions, and prior work on scaling vision transformers shows that increasing model size, data, and compute can improve visual representation quality [40]. In the context of Alzheimer's MRI classification, this larger capacity may help capture subtle stage-related structural differences distributed across brain regions. In this study, comparing ViT-Large with ViT-Base allows us to assess whether increased transformer capacity improves classification performance under different dataset conditions.
B. Model Fine-Tuning Strategy
All models are initialized with ImageNet-pretrained weights and fine-tuned for four-class Alzheimer's disease MRI stage classification [41], [42]. The original classification head for each architecture is replaced or adapted to predict the four diagnostic categories.
For ResNet-50 and ReXNet-150, we replace the final fully connected layer with a linear classifier that maps the learned feature representation to the four output classes. For transformer-based architectures, the classification head is customized according to dataset characteristics. We keep the default pretrained linear classifier on Dataset I. For Datasets II and III, a more expressive custom head is used to support optimization under class imbalance and larger training sets. For ViT-Base and ViT-Large, this head consists of LayerNorm followed by two fully connected layers with dropout and non-
TABLE V MODEL-SPECIFIC OPTIMIZATION SETTINGS ACROSS THE THREE DATASETS. A SINGLE LEARNING RATE INDICATES THAT THE SAME RATE IS APPLIED TO THE BACKBONE AND CLASSIFICATION HEAD.
| Model | Dataset I | Dataset II | Dataset III | |||
|---|---|---|---|---|---|---|
| Learning Rate (Backbone / Head) | Weight Decay | Learning Rate | Weight Decay | Learning Rate (Backbone / Head) | Weight Decay | |
| ResNet-50 | ||||||
| ReXNet-150 | ||||||
| Swin Transformer | 0.05 | |||||
| ViT-Base | 0.05 | |||||
| ViT-Large | 0.05 | |||||
linear activations. The Swin Transformer head consists of Layer Normalization, a projection layer, dropout, and a final output layer.
Training strategies are adapted to dataset size and class distribution. On Dataset I, we perform a two-epoch warm-up phase where only the classification head is trained and the pretrained backbone is frozen. This is followed by end-to-end fine-tuning of all model parameters. On Datasets II and III, all parameters are fine-tuned from the start, allowing pretrained representations to adapt directly to MRI-specific features.
For transformer-based models, we use a split learning-rate strategy on Datasets I and III: the pretrained backbone uses a lower learning rate and the classification head uses a higher learning rate. This preserves pretrained representations while allowing newly initialized task-specific layers to adapt faster. For Dataset II, we use a single learning rate for all parameters.
C. Loss Function and Optimization
All models are trained using cross-entropy loss with label smoothing to improve calibration and reduce overconfident predictions [43]. A smoothing value of 0.02 is used for Dataset I, while 0.1 is used for Datasets II and III to provide stronger regularization for the larger training sets.
Class imbalance is handled with dataset-specific strategies. For Dataset I, which has severe imbalance, we use a tempered WeightedRandomSampler, with sampling weights computed as inverse class frequency raised to . No class weights are added to the loss in this setting. For Dataset II, inverse-frequency class weights are incorporated directly into the loss function. Dataset III has only moderate imbalance and is trained without explicit imbalance correction.
Models are optimized using AdamW across all architectures and datasets [44]. AdamW extends Adam by decoupling weight decay from the adaptive gradient update, providing explicit regularization during fine-tuning [45]. Using the same optimizer across all configurations also reduces optimizer-related variation when comparing the evaluated architectures. The complete learning-rate and weight-decay settings are summarized in Table V.
Learning-rate scheduling is adapted by dataset. Cosine annealing is used for Dataset I [46], while ReduceLROnPlateau is used for Datasets II and III, reducing the learning rate when validation macro F1-score plateaus. To improve stability and efficiency, mixed precision training, gradient accumulation, and gradient clipping with a maximum norm of 1.0 are applied on Datasets I and III.
D. Training Configuration
We train all models for a maximum of 20 epochs with a mini-batch size of 32. Validation performance is monitored during training, and early stopping is used to mitigate overfitting. Training stops if the validation score does not improve for 4 epochs on Dataset I or 5 epochs on Datasets II and III. The validation metric is selected based on dataset characteristics: Balanced Accuracy is used for Dataset I because of severe class imbalance, while Macro F1 is used for Datasets II and III. For each experiment, the model with the best validation score is selected for final testing. Model-specific optimization settings are listed in Table V. Table VI summarizes the hyperparameters shared across models. Gradient accumulation is used on Datasets I and III as described in Table VII. Dataset-specific training settings are also listed in Table VII. These tables summarize the input resolution, batch size, epoch limit, learning-rate settings, imbalance-handling strategies, and early-stopping criteria used across experiments.
TABLE VI COMMON TRAINING HYPERPARAMETERS USED ACROSS THE EVALUATED MODELS.
| Hyperparameter | Value |
|---|---|
| Input Resolution | |
| Mini-Batch Size | 32 |
| Max Epochs | 20 |
| Loss Function | Cross-Entropy (Label Smoothing) |
| Gradient Clipping | 1.0 (Datasets I & III) |
V. EXPERIMENTAL RESULTS
We evaluate the proposed benchmarking framework by comparing model performance across the three MRI datasets under the standardized preprocessing and evaluation setup described in the previous section. Models are evaluated using accuracy and macro-averaged F1-score. Accuracy provides an overall measure of correct classification, while macro F1 gives equal importance to each class and is therefore useful for assessing performance when class distributions are imbalanced.
TABLE VII DATASET-SPECIFIC TRAINING CONFIGURATIONS. REDUCELRONPLATEAU REDUCES THE LEARNING RATE BY A FACTOR OF 0.5. WEIGHTED RANDOM SAMPLER APPLIES TEMPERED INVERSE-FREQUENCY WEIGHTS WITH .
| Setting | Dataset I | Dataset II | Dataset III |
|---|---|---|---|
| LR Scheduler | Cosine Annealing | ReduceLROnPlateau | ReduceLROnPlateau |
| Early Stop Monitor | Balanced Accuracy | Macro F1 | Macro F1 |
| Early Stop Patience | 4 | 5 | 5 |
| Label Smoothing | 0.02 | 0.10 | 0.10 |
| Imbalance Strategy | WeightedRandomSampler (α=0.5) | Class-weighted loss | None |
| Gradient Accumulation | 2 steps | None | 4 steps |
| Effective Batch Size | 64 | 32 | 128 |
| Head Warmup | 2 epochs | None | None |
A. Model Performance Across Datasets
Table VIII summarizes the overall performance of the five benchmark models across the three datasets using accuracy and macro F1-score. The datasets represent severe class imbalance in Dataset I, train-test distribution mismatch in Dataset II, and augmented data with moderate imbalance in Dataset III. To provide a more detailed view of class-level behavior, Table IX reports the per-class F1-scores for all models across the three datasets.
Across datasets, ViT-Large and Swin Transformer achieve the strongest performance. Performance patterns are broadly consistent, although dataset-specific factors affect the size of performance gaps, especially on Dataset II where sensitivity to distribution mismatch varies substantially across models.
B. Results on Dataset I
Dataset I shows severe class imbalance across diagnostic categories. The test set consists of 914 samples, where Non Demented (457 samples) and Very Mild Demented (320 samples) are the majority classes, while Moderate Demented has only 9 samples. This imbalance makes evaluation challenging because models must learn discriminative features for underrepresented disease stages from very sparse examples. Therefore, overall accuracy alone may not fully describe model behavior, as strong performance on majority classes may mask weaker performance on minority classes. Hence, macro F1-score and per-class results are particularly useful for interpreting performance on this dataset.
Each individual model performs well, achieving accuracy between 97.16% and 98.47% and macro F1-score between 97.79% and 98.85%. Among individual models, ViT-Large performs best (98.47% accuracy, 98.85% macro F1), followed by Swin Transformer (98.36%, 98.75%). These results suggest that both global and hierarchical attention mechanisms are effective in capturing disease-relevant structural patterns. Among convolutional models, ReXNet-150 (97.81%, 98.38%) surpasses ResNet-50 (97.48%, 97.79%), while ViT-Base (97.16%, 98.15%) shows relatively balanced predictions despite lower overall accuracy, as reflected in its macro F1-score.
Despite severe class imbalance, performance remains consistently high across individual models. As shown in Table IX, all models achieve an F1-score of 1.00 for the Moderate Demented class in this split. However, this class contains only 9 test samples, so the result should not be overinterpreted. Lower F1-scores are generally observed for the Very Mild Demented and Mild Demented categories, indicating the difficulty of distinguishing adjacent early disease stages.
C. Results on Dataset II
Dataset II is the most challenging setting because of the mismatch between a balanced training set and a highly imbalanced test set, where No Impairment accounts for 640 samples and Moderate Impairment only 12 out of 1,279 test samples. ViT-Large obtains the best performance (97.81% accuracy, 98.30% macro F1), followed by the Swin Transformer (97.19%, 97.60%). ReXNet-150 (95.70%, 95.80%) and ResNet-50 (94.06%, 93.00%) perform lower, suggesting greater sensitivity of these convolutional models to distribution mismatch in this setting.
ViT-Base shows the largest degradation, with 91.30% accuracy and 86.00% macro F1. The large gap between accuracy and macro F1 indicates uneven performance across classes under distribution mismatch. As shown in Table IX, ViT-Base obtains an F1-score of 0.72 for the Moderate Impairment class, while ViT-Large and Swin Transformer achieve 1.00 in this split. However, the Moderate Impairment class contains only 12 test samples, so these class-level results should be interpreted cautiously. Lower F1-scores are also observed for the Very Mild Impairment and Mild Impairment categories for several models, highlighting the difficulty of distinguishing adjacent early stages under distribution mismatch.
D. Results on Dataset III
Dataset III contains augmented MRI images with a larger sample size and less severe class imbalance, resulting in a 5,098-sample standard test set. The larger sample size and reduced imbalance provide a more stable setting for training and evaluation. All individual models achieve very high accuracy, ranging from 98.35% (ViT-Base) to 99.84% (ViT-Large), and macro F1-scores ranging from 98.50% to 99.86%. The difference between the best and worst individual models is much smaller than in Dataset II, suggesting that the larger sample size and less severe class imbalance are associated with smaller performance differences across architectures.
TABLE VIII PERFORMANCE COMPARISON OF THE FIVE BENCHMARK ARCHITECTURES ACROSS THE THREE DATASETS. MACRO F1 IS REPORTED TO ACCOUNT FOR CLASS IMBALANCE.
| Model | Dataset I | Dataset II | Dataset III | |||
|---|---|---|---|---|---|---|
| Acc (%) | Macro F1 (%) | Acc (%) | Macro F1 (%) | Acc (%) | Macro F1 (%) | |
| ViT-Large | 98.47 | 98.85 | 97.81 | 98.30 | 99.84 | 99.86 |
| Swin Transformer | 98.36 | 98.75 | 97.19 | 97.60 | 99.57 | 99.60 |
| ReXNet-150 | 97.81 | 98.38 | 95.70 | 95.80 | 99.41 | 99.46 |
| ResNet-50 | 97.48 | 97.79 | 94.06 | 93.00 | 98.53 | 98.64 |
| ViT-Base | 97.16 | 98.15 | 91.30 | 86.00 | 98.35 | 98.50 |
TABLE IX PER-CLASS F1-SCORES OF THE EVALUATED MODELS ACROSS THE THREE DATASETS.
| Model | Dataset I | Dataset II | Dataset III | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Non Demented | Very Mild Demented | Mild Demented | Moderate Demented | No Impairment | Very Mild Impairment | Mild Impairment | Moderate Impairment | Non Demented | Very Mild Demented | Mild Demented | Moderate Demented | |
| ViT-Large | 0.9881 | 0.9779 | 0.9881 | 1.0000 | 0.9820 | 0.9710 | 0.9800 | 1.0000 | 0.9976 | 0.9978 | 0.9989 | 1.0000 |
| Swin Transformer | 0.9857 | 0.9798 | 0.9846 | 1.0000 | 0.9790 | 0.9660 | 0.9600 | 1.0000 | 0.9934 | 0.9914 | 0.9989 | 1.0000 |
| ReXNet-150 | 0.9827 | 0.9684 | 0.9841 | 1.0000 | 0.9600 | 0.9470 | 0.9690 | 0.9570 | 0.9903 | 0.9899 | 0.9981 | 1.0000 |
| ResNet-50 | 0.9837 | 0.9666 | 0.9612 | 1.0000 | 0.9600 | 0.9200 | 0.9200 | 0.9200 | 0.9799 | 0.9758 | 0.9903 | 0.9995 |
| ViT-Base | 0.9723 | 0.9616 | 0.9922 | 1.0000 | 0.9300 | 0.8900 | 0.9100 | 0.7200 | 0.9730 | 0.9700 | 0.9960 | 1.0000 |
ViT-Large achieves the best results among individual models (99.84% accuracy, 99.86% macro F1), followed closely by the Swin Transformer (99.57% accuracy, 99.60% macro F1). ReXNet-150 (99.41%, 99.46%) outperforms ResNet-50 (98.53%, 98.64%) and ViT-Base (98.35%, 98.50%), suggesting that efficient convolutional models can perform strongly in the larger and less imbalanced augmented-data setting. As shown in Table IX, class-level performance is near ceiling across all individual models. The lowest F1-scores generally occur for the Non Demented and Very Mild Demented categories, while the Mild Demented and Moderate Demented classes achieve consistently high F1-scores. The reduced performance variance indicates that model performance approaches saturation under augmented-data conditions and that architectural differences become less pronounced.
E. Cross-Dataset Study
The three datasets provide complementary evaluation settings for examining model behavior under class imbalance, distribution mismatch, and data augmentation. Dataset II is the most challenging of the three and produces the largest performance decline for most models, with balanced training data evaluated against a highly imbalanced test distribution. The magnitude of this decline varies considerably across architectures. ViT-Base shows the largest decrease, dropping by 5.86 accuracy points from Dataset I to Dataset II, while ViT-Large decreases by only 0.66 points. This suggests that model capacity may contribute to more consistent performance under the evaluated distribution mismatch, although architectural and optimization differences may also influence the result.
Performance differences between architectures become more pronounced under this challenging setting. The performance gap is relatively small on Datasets I and III but substantially larger on Dataset II, indicating that architectures differ in their sensitivity to the evaluated distribution mismatch. Lower class-level performance is also generally observed for adjacent early-stage categories, particularly Very Mild and Mild, highlighting the difficulty of distinguishing subtle structural differences during early disease progression. This pattern indicates that performance consistency cannot be inferred from results on a single dataset alone, even when the same architectures achieve high absolute accuracy. The wider spread observed on Dataset II also suggests that more challenging data conditions can reveal architectural differences that remain less visible in easier or more heavily augmented settings. Figure 3 summarizes the architecture-specific accuracy decline from Dataset I to Dataset II.
F. Summary of Experimental Results
Model performance patterns remain broadly consistent across the three datasets, although the magnitude of performance differences varies with dataset conditions. ViT-Large and Swin Transformer consistently rank among the strongest individual models, while performance differences become more pronounced on Dataset II under train-test distribution mismatch and less pronounced on the larger augmented Dataset III.
Across the evaluated settings, lower class-level performance is observed mainly among adjacent early-stage categories, particularly Very Mild and Mild impairment. The near-ceiling performance on Dataset III suggests that architectural differences become less apparent under augmented-data conditions, although these results may be influenced by redundancy or visually similar samples [3], [29], [47], [48].
Taken together, the findings indicate that both architectural characteristics and dataset conditions influence performance.
Architecture differences become clearer under the more difficult distribution-mismatch setting and less apparent under the larger augmented-data setting. Independent clinical validation remains necessary to assess generalizability beyond the evaluated benchmark conditions.

Model
Fig. 3. Accuracy decline from Dataset I to Dataset II for each model. Models are ordered by the magnitude of performance degradation under the evaluated train-test distribution mismatch. ViT-Large shows the smallest decrease (0.66 points), while ViT-Base shows the largest (5.86 points).
VI. LIMITATIONS
The benchmark models achieve near-ceiling performance on Dataset III. However, this result should be interpreted with caution because Dataset III is based on augmented MRI images derived from a limited set of original samples. Visually similar or source-related images may appear across training, validation, and test splits, which can reduce evaluation difficulty and inflate performance. Therefore, Dataset III results should be treated as augmented-data performance rather than evidence of clinical generalization.
Another limitation is that all datasets use similar four-class Alzheimer's disease staging labels and preprocessed structural MRI images. Therefore, the findings may not fully generalize to independent clinical cohorts, multi-site hospital data, or scans acquired under different imaging protocols. In addition, this study focuses only on image-level classification and does not include longitudinal information, clinical variables, cognitive scores, or demographic factors. Although preprocessing and evaluation are standardized, some optimization settings are adapted by dataset and architecture. Therefore, observed performance differences should be interpreted as comparative results under the selected fine-tuning configurations rather than as isolated causal effects of architecture or model capacity.
VII. Conclusions
In this work, we present a multi-dataset benchmarking framework for Alzheimer's disease stage classification from MRI using five convolutional and transformer-based architectures across datasets with severe class imbalance, train-test distribution mismatch, and large-scale augmentation. ViT-Large achieves the strongest performance across all three datasets, while Swin Transformer consistently ranks among the top models. Performance differences are largest on Dataset II and much smaller on the augmented Dataset III, showing that dataset characteristics strongly influence the separation between architectures. Lower class-level performance is observed mainly among the Very Mild and Mild categories, highlighting the difficulty of distinguishing adjacent early disease stages. These findings show that evaluating models across multiple datasets provides a more reliable view of performance consistency than relying on a single dataset. Future work should include independent clinical cohorts, subject-level splits, multiple scanners and sites, and longitudinal or multimodal patient information.
REFERENCES
[1] J. Wen, E. Thibeau-Sutre, M. Diaz-Melo, J. Samper-González, A. Routier, S. Bottani, D. Dormont, S. Durrleman, N. Burgos, O. Colliot et al., “Convolutional neural networks for classification of alzheimer’s disease: Overview and reproducible evaluation,” Medical image analysis, vol. 63, p. 101694, 2020.
[2] S. Basaia, F. Agosta, L. Wagner, E. Canu, G. Magnani, R. Santangelo, M. Filippi, A. D. N. Initiative et al., “Automated classification of alzheimer’s disease and mild cognitive impairment using a single mri and deep neural networks,” NeuroImage: Clinical, vol. 21, p. 101645, 2019.
[3] E. Yagis, S. W. Atnafu, A. García Seco de Herrera, C. Marzi, R. Scheda, M. Giannelli, C. Tessa, L. Citi, and S. Diciotti, “Effect of data leakage in brain mri classification using 2d convolutional neural networks,” Scientific reports, vol. 11, no. 1, p. 22544, 2021.
[4] A. C. Yu, B. Mohajer, and J. Eng, “External validation of deep learning algorithms for radiologic diagnosis: a systematic review,” Radiology: Artificial Intelligence, vol. 4, no. 3, p. e210064, 2022.
[5] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, “Generative adversarial nets,” Advances in neural information processing systems, vol. 27, 2014.
[6] H. Guan and M. Liu, “Domain adaptation for medical image analysis: a survey,” IEEE Transactions on Biomedical Engineering, vol. 69, no. 3, pp. 1173–1185, 2021.
[7] D. Lteif, S. Sreerama, S. A. Bargal, B. A. Plummer, R. Au, and V. B. Kolachalama, “Disease-driven domain generalization for neuroimaging-based assessment of alzheimer’s disease,” Human Brain Mapping, vol. 45, no. 8, p. e26707, 2024.
[8] A. Kolesnikov, A. Dosovitskiy, D. Weissenborn, G. Heigold, J. Uszkoreit, L. Beyer, M. Minderer, M. Dehghani, N. Houlsby, S. Gelly, T. Unterthiner, and X. Zhai, “An image is worth words: Transformers for image recognition at scale,” in International Conference on Learning Representations, 2021.
[9] C. R. Jack, D. S. Knopman, W. J. Jagust, L. M. Shaw, P. S. Aisen, M. W. Weiner, R. C. Petersen, and J. Q. Trojanowski, “Hypothetical model of dynamic biomarkers of the alzheimer’s pathological cascade,” The Lancet Neurology, vol. 9, no. 1, pp. 119–128, 2010.
[10] G. B. Frisoni, N. C. Fox, C. R. Jack Jr, P. Scheltens, and P. M. Thompson, “The clinical use of structural mri in alzheimer disease,” Nature reviews neurology, vol. 6, no. 2, pp. 67–77, 2010.
[11] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778.
[12] D. Han, S. Yun, B. Heo, and Y. Yoo, “Rethinking channel dimensions for efficient model design,” in Proceedings of the IEEE/CVF conference on Computer Vision and Pattern Recognition, 2021, pp. 732–741.
[13] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo, “Swin transformer: Hierarchical vision transformer using shifted windows,” in Proceedings of the IEEE/CVF international conference on computer vision, 2021, pp. 10012–10022.
[14] E. E. Bron, S. Klein, J. M. Papma, L. C. Jiskoot, V. Venkatraghavan, J. Linders, P. Aalten, P. P. De Deyn, G. J. Biessels, J. A. Claassen et al., “Cross-cohort generalizability of deep and conventional machine learning for mri-based diagnosis and prediction of alzheimer’s disease,” NeuroImage: Clinical, vol. 31, p. 102712, 2021.
[15] J. Jang and D. Hwang, “M3t: three-dimensional medical image classifier using multi-plane and multi-slice transformer,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 20718–20729.
[16] J. Xin, A. Wang, R. Guo, W. Liu, and X. Tang, “Cnn and swin-transformer based efficient model for alzheimer’s disease diagnosis with smri,” Biomedical Signal Processing and Control, vol. 86, p. 105189, 2023.
[17] R. Kushol, P. Parnianpour, A. H. Wilman, S. Kalra, and Y.-H. Yang, "Effects of mri scanner manufacturers in classification tasks with deep learning models," Scientific Reports, vol. 13, no. 1, p. 16791, 2023.
[18] J. R. Zech, M. A. Badgeley, M. Liu, A. B. Costa, J. J. Titano, and E. K. Oermann, “Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study,” PLoS medicine, vol. 15, no. 11, p. e1002683, 2018.
[19] D. C. Castro, I. Walker, and B. Glocker, “Causality matters in medical imaging,” Nature Communications, vol. 11, no. 1, p. 3673, 2020.
[20] Q. Chen, Q. Fu, H. Bai, and Y. Hong, “Longformer: longitudinal transformer for alzheimer’s disease classification with structural mris,” in Proceedings of the IEEE/CVF winter conference on applications of computer vision, 2024, pp. 3575–3584.
[21] S. Alp, T. Akan, M. S. Bhuiyan, E. A. Disbrow, S. A. Conrad, J. A. Vanchiere, C. G. Kevil, and M. A. Bhuiyan, “Joint transformer architecture in brain 3d mri classification: its application in alzheimer’s disease classification,” Scientific Reports, vol. 14, no. 1, p. 8996, 2024.
[22] K. W. Song, H. J. Yi, Y. Noh, H. Jang, J. M. Seo, D. L. Na, and J.-K. Seong, “On the reliability of deep learning-based classification for alzheimer’s disease: Multi-cohorts, multi-vendors, multi-protocols, and head-to-head validation,” NeuroImage: Clinical, vol. 35, p. 103087, 2022.
[23] M. A. Bravo-Ortiz, S. A. Holguin-Garcia, S. Quiñones-Arredondo, A. Mora-Rubio, E. Guevara-Navarro, H. B. Arteaga-Arteaga, G. A. Ruz, and R. Tabares-Soto, “A systematic review of vision transformers and convolutional neural networks for alzheimer’s disease classification using 3d mri images,” Neural Computing and Applications, vol. 36, no. 35, pp. 21985–22012, 2024.
[24] H. Touvron, M. Cord, M. Douze, F. Massa, A. Sablayrolles, and H. Jégou, “Training data-efficient image transformers & distillation through attention,” in International conference on machine learning. PMLR, 2021, pp. 10347–10357.
[25] B. Glocker, R. Robinson, D. C. Castro, Q. Dou, and E. Konukoglu, "Machine learning with multi-site imaging data: An empirical study on the impact of scanner effects," arXiv preprint arXiv:1910.04597, 2019.
[26] F. G. Salieh, “Alzheimer mri dataset,” Hugging Face Datasets, 2023, version 1.0, accessed 2026-02-26. [Online]. Available: https://huggingface.co/datasets/Falah/Alzheimer_MRI
[27] L. Chugh, “Best alzheimer mri dataset 99 accuracy,” https://www.kaggle.com/datasets/lukechugh/best-alzheimer-mri-dataset-99-accuracy, 2023, accessed: 2025.
[28] uraninjo, “Augmented alzheimer mri dataset,” https://www.kaggle.com/datasets/uraninjo/augmented-alzheimer-mri-dataset, 2023, accessed: 2025.
[29] I. Tampu, A. Eklund, and N. Haj-Hosseini, “Inflation of test accuracy due to data leakage in deep learning-based classification of oct images. scientific data, 9 (1), 580,” 2022.
[30] V. M. Young, S. Gates, L. Y. Garcia, and A. Salardini, “Data leakage in deep learning for alzheimer’s disease diagnosis: A scoping review of methodological rigor and performance inflation,” Diagnostics, vol. 15, no. 18, p. 2348, 2025.
[31] S. Sarraf, G. Tofighi et al., “Deepad: Alzheimer’s disease classification via deep convolutional neural networks using mri and fmri. biorxiv: 070441,” URL https://www.biorxiv.org/content/early/2017/01/14/070441 (Jan. 2017), 2016.
[32] J. B. Bae, S. Lee, W. Jung, S. Park, W. Kim, H. Oh, J. W. Han, G. E. Kim, J. S. Kim, J. H. Kim et al., “Identification of alzheimer’s disease using a convolutional neural network model based on t1-weighted magnetic resonance imaging,” Scientific reports, vol. 10, no. 1, p. 22252, 2020.
[33] J. Chen, J. Mei, X. Li, Y. Lu, Q. Yu, Q. Wei, X. Luo, Y. Xie, E. Adeli, Y. Wang et al., “Transunet: Rethinking the u-net architecture design for medical image segmentation through the lens of transformers,” Medical image analysis, vol. 97, p. 103280, 2024.
[34] A. Hatamizadeh, Y. Tang, V. Nath, D. Yang, A. Myronenko, B. Landman, H. R. Roth, and D. Xu, “Unetr: Transformers for 3d medical image segmentation,” in Proceedings of the IEEE/CVF winter conference on applications of computer vision, 2022, pp. 574–584.
[35] L. V. Fulton, D. Dolezel, J. Harrop, Y. Yan, and C. P. Fulton, “Classification of alzheimer’s disease with and without imagery using gradient boosted machines and resnet-50,” Brain sciences, vol. 9, no. 9, p. 212, 2019.
[36] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, “Mobilenets: Efficient convolutional neural networks for mobile vision applications,” arXiv preprint arXiv:1704.04861, 2017.
[37] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen, "Mobilenetv2: Inverted residuals and linear bottlenecks," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 4510–4520.
[38] Y. Tang, D. Yang, W. Li, H. R. Roth, B. Landman, D. Xu, V. Nath, and A. Hatamizadeh, “Self-supervised pre-training of swin transformers for 3d medical image analysis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 20730–20740.
[39] A. Hatamizadeh, V. Nath, Y. Tang, D. Yang, H. R. Roth, and D. Xu, "Swin unetr: Swin transformers for semantic segmentation of brain tumors in mri images," in International MICCAI brainlesion workshop. Springer, 2021, pp. 272–284.
[40] X. Zhai, A. Kolesnikov, N. Houlsby, and L. Beyer, “Scaling vision transformers,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 12104–12113.
[41] N. Tajbakhsh, J. Y. Shin, S. R. Gurudu, R. T. Hurst, C. B. Kendall, M. B. Gotway, and J. Liang, “Convolutional neural networks for medical image analysis: Full training or fine tuning?” IEEE transactions on medical imaging, vol. 35, no. 5, pp. 1299–1312, 2016.
[42] M. Raghu, C. Zhang, J. Kleinberg, and S. Bengio, “Transfusion: Understanding transfer learning for medical imaging,” Advances in neural information processing systems, vol. 32, 2019.
[43] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, “Rethinking the inception architecture for computer vision,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 2818–2826.
[44] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014.
[45] I. Loshchilov and F. Hutter, “Decoupled Weight Decay Regularization,” in International Conference on Learning Representations, 2019. [Online]. Available: https://mlanthology.org/iclr/2019/loschilov2019iclr-decoupled/
[46] —, “Sgdr: Stochastic gradient descent with warm restarts,” arXiv preprint arXiv:1608.03983, 2016.
[47] P. Rouzrokh, B. Khosravi, S. Faghani, M. Moassefi, D. V. Vera Garcia, Y. Singh, K. Zhang, G. M. Conte, and B. J. Erickson, “Mitigating bias in radiology machine learning: 1. data handling,” Radiology: Artificial Intelligence, vol. 4, no. 5, p. e210290, 2022.
[48] T. Truong, F. K. Jush, and M. Lenga, “Benchmarking pretrained vision embeddings for near-and duplicate detection in medical images,” in 2024 IEEE International Symposium on Biomedical Imaging (ISBI). IEEE, 2024, pp. 1–5.