$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Brain tumor classification using magnetic resonance imaging (MRI) is a crucial task in neuro-oncology, where early and accurate diagnosis directly influences treatment planning and patient outcomes1. CNNs have become the dominant approach for automating this process due to their ability to learn hierarchical spatial and textural features directly from raw image data2. However, the quality of input data remains a key determinant of model performance. Classical preprocessing techniques-such as grayscale conversion, Gaussian blurring, thresholding, and morphological operations-are routinely applied to reduce noise and emphasize structural boundaries3,4,5. Gangadharan et al. conducted a comparative analysis of deep learning models for brain tumor prediction, highlighting the variability in performance across architectures and the importance of dataset characteristics in shaping outcomes6. Qureshi et al. proposed an ultra-lightweight CNN for multi-class tumor detection, emphasizing computational efficiency and real-time applicability without compromising diagnostic accuracy7. Extending beyond structural imaging, Qureshi et al. explored radio-genomic classification using fused multi-omics features from multi-parametric MRI scans to predict methylguanine-DNA methyltransferase (MGMT) promoter methylation status, demonstrating the potential of integrated data modalities for non-invasive tumor profiling8. Despite their ubiquity, the downstream impact of these transformations on CNN training dynamics, optimizer behavior, and interpretability remains underexplored.
Recent advances in brain tumor classification have focused on architectural complexity, segmentation-classification hybrids, and transfer learning. MultiFeNet, for example, employs multi-scale feature fusion to enhance spatial representation9, while ensemble models and 3D CNNs offer high fidelity at the cost of increased computational overhead10,11. Recent studies on hybrid methods, such as wavelet transformation with Support Vector Machine (SVM) and cellular automata-based edge detection, typically require handcrafted features or multi-stage processing12,13. Comparative research on imbalanced datasets has highlighted the challenges in achieving class-wise generalization14. Transfer learning approaches using pre-trained networks, such as VGG and ResNet, have shown promise in MRI classification15,16,17; however, they often treat preprocessing as a fixed upstream step. These models rarely isolate how input transformations affect the convergence of the optimizer or semantic retention.
Preprocessing-aware studies have begun to highlight this gap. Ivanescu et al. demonstrated that excessive filtering can degrade CNN sensitivity to subtle tumor patterns3. Vu et al. demonstrated that grayscale conversion and resizing can discard contextual information, thereby affecting diagnostic accuracy4. Hooper et al. revealed that upstream Computed Tomography (CT) filtering induces performance variability, underscoring the fragility of CNNs to domain shifts5. Kundu et al. proposed Gaussian-based intensity transformations to improve segmentation18; however, they did not evaluate the sensitivity of the optimizer. Meanwhile, Asiri et al. and Aamir et al. optimized CNN hyperparameters for brain tumor detection16,17, noting Adam's superior performance without analyzing how it responds to preprocessing changes. Explainability tools such as Gradient-weighted Class Activation Mapping (Grad-CAM) and SHapley Additive exPlanations (SHAP) have advanced our understanding of CNN decision-making by visualizing class-discriminative regions19,20. These methods are essential for validating whether preprocessing improves or distorts semantic retention.
However, few studies have systematically examined how preprocessing affects optimizer convergence, generalization, and interpretability under a fixed architecture - matters that are both clinically and computationally significant. Clinically, excessive smoothing or intensity transforms can attenuate diagnostically relevant texture and spatial gradients, reducing localization fidelity and clinician trust. Computationally, optimizers react differently to changes in feature scale and gradient variance; mismatches between input complexity and optimizer dynamics can produce unstable convergence or poorer generalization.
To address this, we introduce a dual-path framework that systematically compares baseline (resize-only) and traditional preprocessing pipelines across three optimizers -- Adam, RMSProp, and SGD -- using a consistent CNN architecture and the BR35H Kaggle dataset21. We evaluate classification performance, convergence speed, and interpretability using Grad-CAM, validated through five-fold cross-validation. Unlike prior works that conflate architectural and preprocessing changes, this protocol isolates preprocessing as an independent variable, revealing that aggressive filtering can hinder the performance of the optimizer and spatial attention.
The framework presented here offers several advantages over existing models. First, it explicitly evaluates the interactions between preprocessing strategies and optimizers, a dimension often overlooked in ensemble and transfer learning studies15,16,17. Second, it maintains a fixed CNN architecture, thereby simulating real-world deployment constraints where reconfiguration is typically impractical22. Third, it integrates visual attribution methods to assess semantic retention, complementing prior work on radiomic and handcrafted feature studies23. Finally, the framework offers reproducible insights into preprocessing-aware training strategies, thereby enhancing both robustness and interpretability.
By synthesizing insights from preprocessing methods3,4,5, optimizer studies16,17, and explainability tools19,20, this work presents a practical and interpretable pipeline for brain tumor classification that balances accuracy, stability, and clinical relevance.