Brain tumor detection from magnetic resonance imaging (MRI) is fundamental to computer-aided diagnosis, yet automated models must remain robust to heterogeneous imaging conditions. Despite strong recent progress, many deep learning and transformer-based approaches primarily optimize performance accuracy without explicitly improving feature selectivity and spatial localization, and they typically produce deterministic output without uncertainty estimates, which limits reliability. To overcome these limitations, we introduce UA-EffNet-DA, an uncertainty-aware EfficientNet framework that addresses these limitations through three complementary components. First, EfficientNet-B4 serves as an efficient backbone for discriminative feature extraction. Second, lightweight dual attention modules, comprising channel and spatial attention in parallel, are applied to the model to emphasize what and where discriminative features to focus within MRI slices. Third, Monte Carlo dropout is employed during inference to quantify predictive uncertainty and enable confidence-aware decision. Experiments on two public benchmarks demonstrate strong performance, yielding accuracies of 98.73% on the Figshare dataset and 99.23% on the Kaggle dataset. In addition, explainable AI analysis using Gradient-weighted Class Activation Mapping (Grad-CAM) further indicates that the proposed model concentrates on diagnostically relevant tumor regions rather than background structures, supporting transparent decision-making. Ablation studies confirm the complementary contribution of dual attention refinement and uncertainty-aware inference. Overall, the proposed UA-EffNet-DA framework offers an efficient and interpretable approach for brain tumor detection that supports more reliable clinical decision support through uncertainty-aware predictions.
Afzal et al. (Thu,) studied this question.