Next Article in Journal
MAEM-ResUNet: Accurate Glioma Segmentation in Brain MRI via Symmetric Multi-Directional Mamba and Dual-Attention Modules
Next Article in Special Issue
Artificial Neural Network-Based Optimization of an Inlet Perforated Distributor Plate for Uniform Coolant Entry in 10 kWh 24S24P Cylindrical Battery Module
Previous Article in Journal
Finite-Region Boundedness and Stabilization of 2D Continuous-Time Roesser Models
Previous Article in Special Issue
Symmetry-Preserving Optimization of Differentially Private Machine Learning Based on Feature Importance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Pixel-Level Fuzzy Rule Attention Maps for Interpretable MRI Classification

1
Department of Electronics Engineering, Interdisciplinary Program in IT-Bio Convergence System, Chosun University, Gwangju 61452, Republic of Korea
2
Department of Electronic Engineering, Chosun University, Gwangju 61452, Republic of Korea
*
Author to whom correspondence should be addressed.
Symmetry 2025, 17(12), 2187; https://doi.org/10.3390/sym17122187
Submission received: 12 November 2025 / Revised: 12 December 2025 / Accepted: 16 December 2025 / Published: 18 December 2025

Abstract

Although Artificial Intelligence (AI) has achieved notable performance, particularly in medicine, the structural opacity leading to the black-box phenomenon inhibits interpretability, thus necessitating a balance (Symmetry) between performance and transparency. Specifically, in the medical domain, effective diagnosis requires that high predictive performance be symmetrically counterbalanced by sufficient trust and explainability for clinical practice. Existing visualization techniques like Grad-CAM can highlight attention regions but provide limited insight into the reasoning process and often focus on irrelevant areas. To address this limitation, we propose a Fuzzy Attention Rule (FAR) model that extends fuzzy inference to MRI (Magnetic Resonance Imaging) image classification. The FAR model applies pixel-level fuzzy membership functions and logical operations (AND, OR, AND + OR, AND × OR) to generate rule-based attention maps, enabling explainable and convolution-free feature extraction. Experiments on Kaggle’s Brain MRI and Alzheimer’s MRI datasets show that FAR achieves comparable accuracy to Resnet50 while using far fewer parameters and significantly outperforming MLP. Quantitative and qualitative analyses confirm that FAR focuses more precisely on lesion regions than Grad-CAM. These results demonstrate that fuzzy logic can enhance both the explainability and reliability of medical AI systems without compromising performance.

1. Introduction

Recent advances in Artificial Intelligence (AI) have accelerated the use of data-driven methods across various fields, including healthcare, manufacturing, and education [1,2,3]. Among these technologies, Deep Learning (DL) has demonstrated remarkable performance by automatically extracting high-dimensional and nonlinear features from large-scale data [4]. Despite its success, DL models often behave as black boxes: their internal decision-making process is difficult to interpret, and the lack of transparency limits their adoption in safety-critical domains such as medicine, law, and finance [5,6,7,8,9]. To address this limitation, neuro-fuzzy systems have gained attention as an interpretable form of eXplainable Artificial Intelligence (XAI). By modeling uncertainty and generating human-readable rules based on membership functions, fuzzy inference provides linguistic explanations that help users understand why a particular decision was made [10,11]. However, existing fuzzy–deep learning hybrids suffer from a major structural drawback: fuzzy rules are usually applied to deep feature vectors, not to the original image domain. As a result, the learned rules operate on abstract hidden representations that clinicians cannot interpret visually, limiting their usefulness in medical imaging. Furthermore, conventional fuzzy logic is inherently designed for tabular or one-dimensional signal data, making pixel-level reasoning on images difficult. To bridge this gap, we propose the Fuzzy Attention Rule (FAR) model, a novel framework that enables direct pixel-level fuzzy computation on medical images without relying on CNN-derived feature maps. FAR generates interpretable rule images that visually correspond to meaningful lesion-related patterns in the input domain. This approach provides transparent reasoning aligned with the original image—something that existing neuro-fuzzy systems and Grad-CAM-based explainability methods cannot fully achieve.
However, despite these advantages, most existing neuro-fuzzy approaches are mainly applied to tabular or signal-based data and are typically attached to the high-level feature vectors extracted from deep learning models. As a result, the learned fuzzy rules operate in an abstract feature space that is difficult for users or clinicians to interpret in the context of the original medical image. This gap highlights the need for a fuzzy–deep learning framework that provides both strong predictive performance and pixel-level interpretability within the image domain. To address this challenge, we propose the Fuzzy Attention Rule (FAR) model, which enables direct fuzzy computation on medical images and generates rule images that correspond to meaningful visual patterns in the input domain. FAR is designed to overcome the structural limitations that previously hindered pixel-level fuzzy reasoning and to provide interpretable representations aligned with the original medical image.
The main contributions of this work are summarized as follows:
(1)
We introduce an AND/OR–based fuzzy rule construction method that generates interpretable rule images directly from medical inputs. The AND operator captures conservative feature interactions, whereas the OR operator captures broader and complementary patterns. The resulting rule images align more accurately with lesion regions than Grad-CAM, offering improved interpretability and reliability.
(2)
FAR requires only a very small number of trainable fuzzy parameters to construct pixel-level rule maps, yet it achieves classification performance comparable to CNN-based models. This balance between minimal fuzzy parameterization and competitive accuracy makes FAR an attractive alternative for settings where interpretability at the image level is essential.
(3)
By combining AND and OR rule maps, FAR integrates both conservative and inclusive feature representations, enhancing classification performance and interpretability in a symmetric manner. These complementary rule images provide richer insight into the model’s reasoning process and reveal which lesion-related features contribute to the final decision.
DL’s strong performance has been accompanied by a black box limitation, where users cannot understand the decision-making process. To address this, research into its fusion with fuzzy logic is actively underway. This section introduces studies that have improved both performance and explainability by handling uncertainty, as detailed below.
While DL’s automated feature extraction is more effective than manual methods, it is limited by its dependence on the quality and quantity of data. To mitigate the black box limitation of DL, Ma [12] proposed the DIFL-FR (Deep Image Feature Learning with Fuzzy Rules) method. This approach demonstrated robust extraction capabilities even with noisy images and secured explainability through rules and the scalability of unsupervised learning. Zang [13] proposed the FFT-FFR-RBFC model to improve the limitation that DL, despite its high processing power for tabular data, lacks enhanced interpretability. This model uses FFT to hierarchically stack fuzzy layers to boost classification performance and improves the loss of explainability in the hierarchical structure by reconstructing FFR. Finally, it performed fuzzy rule-based classification through the RBFC unit, demonstrating high classification performance and interpretability for tabular data.
Luo [14] performed retinal image classification for automated diagnosis of Diabetic Retinopathy using DL but noted the problem that existing DL models depend on a large amount of labeled data. To address this, they proposed SFCN (Self-supervised Fuzzy Clustering Network). This framework performs retinal image classification with reduced label dependency by calculating the probability of a feature vector, generated after passing through DL convolutions, belonging to each cluster. Juang [15] proposed the DFM-FNCN (Deep Feature Map-based Fuzzy Neural Classification Network), which enables the visual interpretation of feature maps outputted from a deep convolutional layer. This method processes images through a convolutional model and then uses a divide-and-conquer technique on the extracted feature maps to perform fuzzy operations for classification, allowing for computation with fewer parameters. It also provides interpretability by visualizing the feature maps.
Kurdi [16] proposed a method to solve the problem that while DL achieves high performance in MRI-based brain tumor classification, it is difficult to preserve detailed information. This method segments the tumor area in the input MRI image using Fuzzy C-Means (FCM) and normalizes the parameters of the HHOCNN (Harris Hawks Optimized CNN) network by applying the Harris Hawks Optimization algorithm. Sovatzidi [17] proposed an image classification method that can automatically interpret high-level features extracted by a CNN using a fuzzy cognitive map. This approach clusters features and groups them into several clusters per class, then calculates the similarity of the input features to these clusters to classify the class and provide an interpretable result.
Ennab [18] proposed a new convolutional fuzzy model to provide pixel-level explainability in medical image classification. While existing black box-solving techniques provide explanations at the image level, the proposed method provides pixel-wise explanations, enabling high-level interpretation. It analyzes the range of pixel values of a normalized input image to classify them as normal or infected data. Thus, if a specific area falls within a certain class range, the degree of infection can be determined. The proposed method demonstrated higher performance and interpretability than existing methods. Kamthan [19] proposed a hierarchical fuzzy DL technique to improve the limitations of fuzzy-based image classification tasks and reduce rule dimensionality. This method divides the input data into smaller samples, processes them using Otsu’s method, and hierarchically connects them to a fuzzy subsystem. This enables the processing of large-scale image data with fuzzy logic. While a CNN showed slightly better accuracy than the proposed method, the latter was more effective in terms of computational time.
Hasan [20] proposed FP-CNN (Fuzzy Pooling CNN) as a COVID-19 classification model using ultrasonic lung images. Existing methods that use max or average pooling effectively reduce spatial dimensions but fail to adequately handle uncertainty. This limitation is overcome by applying a fuzzy system. Through the proposed FP, the features of the image are enhanced and uncertainty is handled, achieving high classification performance. Furthermore, it secured explainability by explaining the basis of the model’s predictions via SHAP. Belhadi [21] proposed the Ensemble Fuzzy Deep Learning (EFDL) framework to increase the accuracy of medical image segmentation. It applied fuzzy logic to solve the problems of uncertainty and variability in brain tissue regions and trained the model using U-Net and Transformer. As data passes through the model, it goes through the proposed Volumetric Fuzzy Pooling (VFP) to reduce data uncertainty and enhance information. It showed superior performance compared to existing methods, but the inference time was longer in the knowledge-based search process.

2. Materials and Methods

The FAR model proposed in this study is composed of three main structures, as shown in Figure 1. First, it applies a membership function to the input image and clusters it using FCM to create AND and OR rule images. Second, the generated AND and OR rule images are combined through AND and OR operations to create deep rule images, generating complex information. Third, learnable weights are applied to the deep rule images to form an attention fuzzy feature map, which is then classified by a fully connected layer. This process allows the model to explain the areas it focuses on using rules, providing transparent explanations to the user.

2.1. AND and OR Rule Image Generation

As shown in Figure 2, FCM (Fuzzy C-Means) is employed within the fuzzy system to quantify the degree of membership for input variables and subsequently generate inferential rules. We directly apply this mechanism to the input MRI images, aiming to learn rules that detect lesion regions. The Gaussian membership functions are adopted to represent pixel-level membership values in a probabilistic and information-preserving manner, allowing the model to emphasize relevant patterns without filtering out important image content. This process results in the creation of Rule Images, which are ultimately utilized to visually identify the Regions of Interest (ROI) associated with the classified pathology. As illustrated in Equations (1) and (2), where H and W denote the height and width of the input image, respectively, C represents the number of input channels, and K is the number of established rules. We apply FCM to the pixels P of the 3-channel input image I , which is pre-normalized between 0 and 1, to derive initial membership values.
I 0 , 1 H × W × C
P C = I , j C , r 1 , , K
In Equation (3), the learnable parameters—the center μ and the deviation σ —define a Gaussian membership function applied to each channel of the input image I . This produces a membership map M , which has the same spatial resolution as the input and contains values normalized between 0 and 1. As described in Equation (4), the membership maps are combined across channels through element-wise multiplication to form the AND rule image A , and through element-wise addition to form the OR rule image O . Due to the inherent difference between multiplicative and additive operations, the magnitudes of A and O differ significantly. To correct this imbalance, Equation (5) applies independent normalization by dividing each rule image by the sum of its rule channels. This yields the final rule images with K channels, as shown in Equation (6).
M c , r p = exp I p , c μ c , r 2 2 σ c , r 2 0,1
A r p = c = 1 C M c , r p ,     O r p = c = 1 C M c , r p
A ~ r p = A r p r = 1 K A r p ,     O ~ r p = O r p r = 1 K O r p  
A ~ r p ,   O ~ r p 0 , 1 H × W × K
Equations (7) and (8) apply batch normalization to the generated rule images A and O to ensure stable training. The batch mean m and variance v are computed across the batch, height, and width dimensions, while the scaling factor γ and offset β are learned independently for each rule channel. This procedure follows the conventional channel-wise batch normalization used in deep learning and stabilizes the distribution of each rule channel. Finally, a tanh nonlinearity is applied to emphasize discriminative patterns while preventing information loss.
A ^ r p = γ r A A ~ r p m r A ν r A 2 + β r A , T r A p = tanh A ^ r p
O ^ r p = γ r O O ~ r p m r O ν r O 2 + β r O , T r O p = tanh O ^ r p
Through this process, the final output rule images are stabilized in value via batch normalization. This is followed by the application of the nonlinear activation function tanh, which effectively bounds the discrete value range without causing information loss.

2.2. Deep Rule Image and Attention Fuzzy Feature Map

Equation (9) describe the process of synthesizing the stabilized rule images T , obtained through normalization and activation functions, to generate more complex information. Although the AND and OR rules inherently carry distinct information, their hybrid combination allows them to share content, thereby mitigating information bias and enabling more stable learning, rather than merely enhancing performance.
D R r A = T r A p + T r O p , D R r O = T r A p · T r O p  
Figure 3 illustrates the application of deep rules D R , such as AND + OR and AND × OR, to emphasize and incorporate the complex features of the input image channels. These operations are used to clearly separate features and identify complex patterns. By combining the local features extracted by the AND operation with the global features extracted by the OR operation, they achieve high performance even with complex medical images. The AND + OR operation fuses the common key features from AND and the comprehensive detailed features from OR, resulting in information that combines both diverse and core characteristics. The AND × OR operation includes information that complements both commonality and comprehensiveness.
As shown in Equations (10) and (11) and Figure 4, the resulting output is generated at twice the number of initially set rules. This output A F F M is then aggregated into a single channel via the application of learned weights and biases, which ultimately enables the visualization of the area focused on by the fuzzy system.
D R u U u = 1 , U = 2 K
A F F M p = u = 1 U α u D R u p + b
The weights indicate the most useful deep rule for the model’s classification, which provides intuitive interpretation.

3. Results

In this study, we employed the Brain Tumor MRI Dataset from Kaggle [22] for tumor classification and lesion localization tasks. This dataset integrates the initial collection by Masoud Nickparvar [23] and the SciDB Brain Tumor dataset [24], and includes four tumor categories accompanied by expert-annotated pixel-level lesion masks. These annotations allow us to evaluate not only classification accuracy but also whether the model correctly focuses on the pathological regions through quantitative and qualitative analyses. The dataset, as shown in Figure 5, consists of 7023 MRI images, of which 5712 were randomly assigned for training and 1311 for testing. The second dataset is from Kaggle’s Alzheimer’s MRI Images [25], used to classify two disease states. Although the original dataset consists of four dementia states—mild demented, moderate demented, non-demented, and very mild demented—, as shown in Figure 6, we reclassified them into two balanced classes, demented and non-demented, due to class imbalance. The second dataset contains 3200 images per class, and the data were randomly split into 70% for training and 30% for testing. To ensure transparency and prevent train–test leakage, we performed an average-hash-based duplication check between the training and test sets. Any duplicated images detected were removed from the test set to ensure a clean and reliable evaluation.
To ensure fair comparison across models, all experiments were conducted in MATLAB 2024b with randomized parameter initialization, using the Adam optimizer with a learning rate of 0.001 and 40 training epochs. Due to its deep architecture, Resnet-50 required approximately 500 min of training. FAR, which shares a similar structure with MLP but includes additional computations for fuzzy rule learning, required an average of approximately 25 min depending on the number of rules. The MLP model, being the simplest architecture, required roughly 5 min of training.

3.1. Comparison of Classification Performance Between Resnet50, MLP and FAR Model

As shown in Figure 7, we employed three models—Resnet18, Resnet50, Multi-Layer Perceptron (MLP), and FAR—to compare the effectiveness of the proposed method. To ensure fair comparison, all models used the same MLP structure for the final classification layers, allowing the evaluation to focus specifically on differences in feature extraction. Resnet18 and Resnet50 are deep CNN architectures with residual connections designed to alleviate gradient vanishing. Resnet18 contains approximately 11.3 million parameters, whereas Resnet50 contains about 24.1 million parameters, and both models were fine-tuned on our dataset for comparison. The MLP model, which processes the input image solely through fully connected layers, has the largest number of parameters at approximately 38.6 million. In contrast, FAR produces a single-channel fuzzy rule image during its rule-generation process, resulting in a significantly smaller parameter size of approximately 12.9 million.
Through repeated experiments, we evaluated model performance across different numbers of fuzzy rules, as shown in Table 1 and Table 2. From these results, we identified a range in which stable performance could be achieved with a minimal number of rules and used this configuration in the final experiments. Although increasing the number of rules may potentially improve performance, an excessively large rule set complicates the interpretation of the model’s reasoning process. Therefore, we selected a rule count that balances accuracy and interpretability. Accuracy is computed as overall accuracy, calculated over all test samples.
Figure 8, Figure 9, Figure 10 and Figure 11 show confusion matrices comparing the classification performance of the proposed FAR model with ResNet18, ResNet50, and MLP on the brain tumor MRI dataset, along with the mean micro-averaged accuracy, standard deviation, and 95% confidence intervals. The MLP shares a similar neural network structure with the classification layer of the FAR model, allowing us to evaluate whether the fuzzy attention rules provide a learning advantage and enable explainability. The performance comparison shows that Resnet18 and Resnet50 achieve slightly higher classification accuracy than the proposed model. Notably, Resnet18 attains strong performance with even fewer parameters than FAR, indicating that deep convolutional networks remain powerful baselines from a purely performance-driven perspective. Nevertheless, the proposed FAR model demonstrates competitive accuracy while offering a shallow architecture and an explicit, rule-based inference process that provides interpretability. Furthermore, as shown in Figure 9, the FAR model, which applies fuzzy logic to the input layer, shows higher performance and explainability compared to the MLP-based brain tumor classification. This demonstrates that our method achieves high classification performance in medical image classification while providing reliable transparency.
Figure 12, Figure 13, Figure 14 and Figure 15 show the classification performance on the Alzheimer’s MRI images for, MLP, FAR, Resnet18, and Resnet50 models, along with the mean micro-averaged accuracy, standard deviation, and 95% confidence intervals. Resnet18, Resnet50 and FAR showed significantly higher performance than the MLP-based classification, with both models achieving nearly identical high performance. This suggests that the FAR approach of applying fuzzy logic to the input layer can stably focus on key regions, making it a viable method for enhancing explainability, which is essential in the medical field.
In evaluating the effectiveness of the proposed FAR module, our aim is not to compete with state-of-the-art medical image classifiers, but rather to determine whether fuzzy rule reasoning can maintain or improve performance while providing interpretable rule maps. Accordingly, MLP was selected as a lightweight comparator, allowing us to assess whether the FAR module—consisting of only ~65 trainable parameters—can still contribute meaningfully to performance and interpretability. Notably, FAR not only improved accuracy and localization quality but also reduced the overall parameter count. Resnet18 and Resnet50 were included as CNN baselines to evaluate the feature-extraction capability and efficiency of FAR relative to commonly used convolutional architectures. Our experiments show that FAR provides shorter training time and substantially enhanced interpretability. However, we also observed that CNN models with sufficient dimensionality reduction can achieve higher accuracy with even fewer parameters than FAR. These findings suggest that FAR may serve as an interpretable alternative or complementary module to CNNs by providing rule-based reasoning while maintaining a lightweight parameter footprint.

3.2. Quantitative Comparison of Fuzzy Rule-Based Visualization and Lesion Localization

In this study, we first examined the effect of the proposed FAR module on classification performance using MRI data. The comparison with an MLP baseline confirmed that FAR contributes to performance improvement while maintaining a lightweight architecture. Although Resnet18 and Resnet50 achieved higher overall classification accuracy—primarily due to their strong convolutional feature extraction and larger representational capacity—this does not guarantee that they attend to clinically meaningful lesion regions. CNN models often focus on background textures or irrelevant structures despite their high accuracy. To evaluate whether FAR provides more medically meaningful attention, we conducted an additional quantitative and qualitative analysis by comparing the ground-truth lesion masks with two interpretability approaches: Grad-CAM heatmaps generated from Resnet models and the rule-based attention maps produced by the proposed FAR method. The interpretability comparison focuses on contrasting CNN-based saliency maps with fuzzy rule-based attention maps, rather than comparing different CNN backbones. Therefore, ResNet50 was selected as a representative high-capacity CNN for Grad-CAM analysis.
Table 3 summarizes the quantitative evaluation across three classes using five standard metrics. Although the Resnet50 achieved higher classification performance, the FAR-based heatmaps consistently outperformed Grad-CAM across all metrics. This indicates that the fuzzy-based visualization provides clearer lesion localization and stronger spatial consistency. Global accuracy represents the proportion of correctly classified pixels out of all pixels and reflects the overall segmentation performance. Mean accuracy is obtained by averaging the per-class accuracies and therefore mitigates the effect of class imbalance, providing a more balanced evaluation. Mean IoU (Intersection over Union) is computed by averaging the IoU values across all classes, where IoU is defined as the ratio between the intersection and the union of the predicted and ground-truth regions. Weighted IoU is calculated by weighting each class-specific IoU by its pixel count, thereby reflecting the overall prediction quality. Mean BFScore denotes the average boundary F1-score across classes and evaluates how well the predicted boundaries align with the true lesion boundaries. In this study, Grad-CAM was generated by selecting the last convolutional layer before the final classification stage as the target layer, using the Softmax output as the reference signal. To restore the feature maps to the original image resolution, standard bilinear interpolation was applied. For images with available lesion masks, both Grad-CAM and FAR-based heatmaps were normalized to the range of 0–1 and binarized using Otsu’s threshold, after which the resulting masks were quantitatively compared with the ground-truth annotations.
In contrast, Grad-CAM tended to produce diffuse activation maps over broad background regions, resulting in relatively lower localization accuracy. Nevertheless, these results do not necessarily imply that Grad-CAM incorrectly represents the decision process of the Resnet50. Since Grad-CAM relies on the gradient information of the output layer, it mainly reflects the overall classification direction rather than precise spatial correspondence of the lesion areas. Therefore, although the proposed fuzzy-based approach may exhibit slightly lower classification performance, it demonstrates superior capability in identifying lesion regions accurately, highlighting its potential as a medically interpretable diagnostic aid. Figure 16, Figure 17 and Figure 18 present representative qualitative examples for each class, illustrating the visual difference between the Grad-CAM and FAR-based heatmaps. Compared with the ground truth lesion regions (depicted in cyan), Grad-CAM activations were primarily distributed around non-lesion regions such as the outer boundaries of the brain or surrounding tissues, whereas the FAR heatmap accurately emphasized both structural components and lesion areas. Furthermore, the FAR-based activation maps provided concentrated and physiologically relevant highlighting of tissue regions, offering a clearer and more intuitive visual explanation for clinicians.
The output attention fuzzy feature map is an image generated from a complex rule process via membership functions applied to the input image. Figure 19 shows the process of analyzing the rule with the highest contribution to this map. To construct the rule-based attention area, we identified the AND + OR image with the highest contribution through its weight and pixel values. To form this image, AND and OR rule images were combined, and to form each of those rule images, the channel-specific membership function corresponding to Rule 1 was needed. By passing the membership function from Figure 19 through the original image, we can understand how the final classification was made.
In linguistic terms, the model’s decision can be explained as:
“IF the input image contains a region with a high pixel membership function to the degree of A, AND a region with a medium pixel membership function to the degree of B, AND a region with a low pixel membership function to the degree of C, AND if it contains the common region (AND) and the comprehensive region (OR) of these areas (OR), THEN, it is highly likely to be a Glioma.”

4. Discussion

In this study, we introduced FAR, an AND/OR–based fuzzy reasoning model designed to provide both competitive classification performance and transparent decision-making for medical image analysis. Although Resnet18 and Resnet50 achieved strong performance due to their deep convolutional feature extractors, FAR—with its much simpler architecture and significantly fewer parameters—achieved comparable classification accuracy. Moreover, when compared with an MLP classifier, FAR yielded substantial performance improvements while simultaneously reducing the overall parameter count, demonstrating its computational efficiency. However, classification accuracy alone does not guarantee clinically meaningful localization. Therefore, we further compared FAR’s rule-based attention maps with the Grad-CAM outputs of Resnet models. While Resnet occasionally focused on irrelevant image regions despite high classification accuracy, FAR consistently highlighted lesion-relevant areas and provided interpretable visual reasoning that aligns with clinical expectations. Despite these strengths, several limitations remain. First, the number of fuzzy rules is still selected empirically, and a more systematic rule-optimization strategy is needed. Second, while FAR is effective for lesion-focused medical imaging tasks, it is less suitable for general object classification problems where texture- and shape-based features extracted by CNNs are essential. Third, although the current FAR framework is combined with an MLP classifier, integrating FAR with deep CNNs may require additional analysis to harmonize fuzzy rule learning with convolutional feature hierarchies. Future work will explore integrating FAR with various deep learning backbones, developing automated rule-selection mechanisms, and extending the model to broader medical and general imaging tasks. Through these efforts, FAR has the potential to evolve into a model that jointly advances interpretability and predictive performance.

Author Contributions

Conceptualization, T.-W.K. and K.-C.K.; methodology, T.-W.K. and K.-C.K.; software, T.-W.K. and K.-C.K.; validation, T.-W.K. and K.-C.K.; formal analysis, T.-W.K. and K.-C.K.; investigation, T.-W.K. and K.-C.K.; resources, K.-C.K.; data curation, K.-C.K.; writing—original draft preparation, T.-W.K.; writing—review and editing, K.-C.K.; visualization, T.-W.K. and K.-C.K.; supervision, K.-C.K.; project administration, K.-C.K.; and funding acquisition, K.-C.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF), funded by the Ministry of Education (No. 2017R1A6A1A03015496) and Global Learning & Academic research institution for Master’s, PhD students, and Postdocs (LAMP) Program of the National Research Foundation of Korea (NRF) grant funded by the Ministry of Education (No. RS-2023 00285353).

Data Availability Statement

The data are available in a publicly accessible repository [22,23].

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Joshi, A.; Kumar, V.; Chauhan, N.; Kumar, A.; Singh, R.K. The Intersection of AI, ML, and Industry: A Review of Emerging Trends in Real-World Applications. In Proceedings of the 2024 4th International Conference on Advancement in Electronics & Communication Engineering (AECE), Ghaziabad, India, 22–23 November 2024; IEEE: New York, NY, USA, 2024; pp. 769–773. [Google Scholar]
  2. Zouhri, C.; Khedher, F.; Ahlaqqach, M.; Babay, A.; Hlyal, M.; Alami, J.E. Application of Artificial Intelligence for Improving Internal Logistics in the Garment Industry: A Literature Review. In Proceedings of the 2023 9th International Conference on Optimization and Applications (ICOA), Abu Dhabi, United Arab Emirates, 5–6 October 2023; IEEE: New York, NY, USA, 2023; pp. 1–5. [Google Scholar]
  3. Jellah, A.I.; Mohamed, M.; Moaad, I. Applications of Cloud Computing and Artificial Intelligence in the Oil and Gas Industry: A Review. In Proceedings of the 2025 IEEE 6th International Conference on Image Processing, Applications and Systems (IPAS), Lyon, France, 9–11 January 2025; IEEE: New York, NY, USA, 2025; pp. 1–7. [Google Scholar]
  4. Wanjari, K.; Verma, P. A Review on the Applications of Machine Learning and Deep Learning Algorithms for Image Recognition. In Proceedings of the 2025 4th International Conference on Sentiment Analysis and Deep Learning (ICSADL), Bhimdatta, Nepal, 18–20 February 2025; IEEE: New York, NY, USA, 2025; pp. 1707–1711. [Google Scholar]
  5. Nansamba, B.; Nakatumba-Nabende, J.; Katumba, A.; Kateete, D.P. A Systematic Review on Application of Multimodal Learning and Explainable AI in Tuberculosis Detection. IEEE Access 2025, 13, 62198–62221. [Google Scholar] [CrossRef] [Scilit]
  6. Azam, M.H.; Hasan, M.H.; Murad, N.Y.; Patah, E.A.B. Transparency in AI: A Review of Explainable Artificial Intelligence Techniques. In Proceedings of the 2024 8th International Conference on Computing, Communication, Control and Automation (ICCUBEA), Pune, India, 23–24 August 2024; IEEE: New York, NY, USA, 2024; pp. 1–5. [Google Scholar]
  7. Yang, Y.; Mei, G.; Piccialli, F. A Deep Learning Approach Considering Image Background for Pneumonia Identification Using Explainable AI (XAI). IEEE/ACM Trans. Comput. Biol. Bioinform. 2024, 21, 857–868. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Oad, A.; Abbas, S.S.; Zafar, A.; Akram, B.A.; Dong, F.; Talpur, M.S.H. Plant Leaf Disease Detection Using Ensemble Learning and Explainable AI. IEEE Access 2024, 12, 156038–156049. [Google Scholar] [CrossRef] [Scilit]
  9. Nigar, N.; Faisal, H.M.; Umer, M.; Oki, O.; Lukose, J.M. Improving Plant Disease Classification with Deep-Learning-Based Prediction Model Using Explainable Artificial Intelligence. IEEE Access 2024, 12, 100005–100014. [Google Scholar] [CrossRef] [Scilit]
  10. Khan, F.A.; Umar, Z.; Jolfaei, A.; Tariq, M. Explainable Fuzzy Deep Learning for Prediction of Epileptic Seizures Using EEG. IEEE Trans. Fuzzy Syst. 2024, 32, 5428–5437. [Google Scholar] [CrossRef] [Scilit]
  11. Arabikhan, F.; Gegov, A.; Kaymak, U.; Akbari, N. Fuzzy Networks for Explainable Artificial Intelligence. In Proceedings of the 2023 IEEE Conference on Artificial Intelligence (CAI), Santa Clara, CA, USA, 5–6 June 2023; IEEE: New York, NY, USA, 2023; pp. 199–200. [Google Scholar]
  12. Ma, X.; Chen, L.; Deng, Z.; Xu, P.; Yan, Q.; Choi, K.S. Deep Image Feature Learning with Fuzzy Rules. IEEE Trans. Emerg. Top. Comput. Intell. 2024, 8, 724–737. [Google Scholar] [CrossRef] [Scilit]
  13. Zang, Z.S.; Yin, R.; Lu, W.; Pedrycz, W.; Zhang, L.Y. A Linguistically Interpretable Deep Fuzzy Classification System with Feature Transformation and Reconstruction. IEEE Trans. Fuzzy Syst. 2024, 32, 4297–4311. [Google Scholar] [CrossRef] [Scilit]
  14. Luo, Y.; Pan, J.; Fan, S.; Du, Z.; Zhang, G. Retinal Image Classification by Self-Supervised Fuzzy Clustering Network. IEEE Access 2020, 8, 92352–92362. [Google Scholar] [CrossRef] [Scilit]
  15. Juang, C.F.; Cheng, Y.W.; Lin, Y.M. Visually Interpretable Fuzzy Neural Classification Network with Deep Convolutional Feature Maps. IEEE Trans. Fuzzy Syst. 2024, 32, 1063–1077. [Google Scholar] [CrossRef] [Scilit]
  16. Kurdi, S.Z.; Ali, M.H.; Jaber, M.M.; Saba, T.; Damaševičius, R. Brain Tumor Classification Using Meta-Heuristic Optimized Convolutional Neural Networks. J. Pers. Med. 2023, 13, 181. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Sovatzidi, G.; Vasilakakis, M.D.; Iakovidis, D.K. Automatic Fuzzy Graph Construction for Interpretable Image Classification. In Proceedings of the 2022 IEEE International Conference on Image Processing (ICIP), Bordeaux, France, 16–19 October 2022; IEEE: New York, NY, USA, 2022; pp. 3743–3747. [Google Scholar]
  18. Ennab, M.; Mcheick, H. A novel convolutional interpretability model for pixel-level interpretation of medical image classification through fusion of machine learning and fuzzy logic. Smart Health 2025, 35, 100535. [Google Scholar] [CrossRef] [Scilit]
  19. Kamthan, S.; Singh, H.; Meitzler, T. Hierarchical fuzzy deep learning for image classification. Mem.-Mater. Devices Circuits Syst. 2022, 2, 100016. [Google Scholar] [CrossRef] [Scilit]
  20. Hasan, M.M.; Hossain, M.M.; Rahman, M.M.; Azad, A.K.M.; Alyami, S.A.; Moni, M.A. FP-CNN: Fuzzy pooling-based convolutional neural network for lung ultrasound image classification with explainable AI. Comput. Biol. Med. 2023, 165, 107407. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Belhadi, A.; Djenouri, Y.; Belbachir, A.N. Ensemble fuzzy deep learning for brain tumor detection. Sci. Rep. 2025, 15, 6124. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Brain Tumor Dataset: Segmentation & Classification|Kaggle. Available online: https://www.kaggle.com/datasets/indk214/brain-tumor-dataset-segmentation-and-classification (accessed on 30 September 2025).
  23. Brain Tumor MRI Dataset|Kaggle. Available online: https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset (accessed on 30 September 2025).
  24. SciDB Brain Tumor Dataset|Kaggle. Available online: https://www.scidb.cn/en/detail?dataSetId=faa44e0a12da4c11aeee91cc3c8ac11e (accessed on 30 September 2025).
  25. Augmented Alzheimer MRI Dataset|Kaggle. Available online: https://www.kaggle.com/datasets/uraninjo/augmented-alzheimer-mri-dataset (accessed on 30 September 2025).
Figure 1. Brain MRI image classification flow chart using the FAR (Fuzzy Attention Rule) model.
Figure 1. Brain MRI image classification flow chart using the FAR (Fuzzy Attention Rule) model.
Symmetry 17 02187 g001
Figure 2. Create AND and OR rule images with pixel membership functions.
Figure 2. Create AND and OR rule images with pixel membership functions.
Symmetry 17 02187 g002
Figure 3. Create AND + OR, AND × OR deep rule image.
Figure 3. Create AND + OR, AND × OR deep rule image.
Symmetry 17 02187 g003
Figure 4. Generating an attention fuzzy feature map with deep rule image weighted combination.
Figure 4. Generating an attention fuzzy feature map with deep rule image weighted combination.
Symmetry 17 02187 g004
Figure 5. Brain Tumor MRI Dataset Tumor Image Samples: (a) glioma, (b) meningioma, (c) no tumor, (d) pituitary.
Figure 5. Brain Tumor MRI Dataset Tumor Image Samples: (a) glioma, (b) meningioma, (c) no tumor, (d) pituitary.
Symmetry 17 02187 g005
Figure 6. Alzheimer’s MRI Dataset Image Samples: (a) demented, (b) non demented.
Figure 6. Alzheimer’s MRI Dataset Image Samples: (a) demented, (b) non demented.
Symmetry 17 02187 g006
Figure 7. The structure of the models used in the experiment: (a) Resnet18 and 50, (b) FAR, (c) MLP.
Figure 7. The structure of the models used in the experiment: (a) Resnet18 and 50, (b) FAR, (c) MLP.
Symmetry 17 02187 g007
Figure 8. MLP-based brain tumor classification confusion matrix.
Figure 8. MLP-based brain tumor classification confusion matrix.
Symmetry 17 02187 g008
Figure 9. FAR-based brain tumor classification confusion matrix.
Figure 9. FAR-based brain tumor classification confusion matrix.
Symmetry 17 02187 g009
Figure 10. Resnet18-based brain tumor classification confusion matrix.
Figure 10. Resnet18-based brain tumor classification confusion matrix.
Symmetry 17 02187 g010
Figure 11. Resnet50-based brain tumor classification confusion matrix.
Figure 11. Resnet50-based brain tumor classification confusion matrix.
Symmetry 17 02187 g011
Figure 12. MLP-based Alzheimer classification confusion matrix.
Figure 12. MLP-based Alzheimer classification confusion matrix.
Symmetry 17 02187 g012
Figure 13. FAR-based Alzheimer classification confusion matrix.
Figure 13. FAR-based Alzheimer classification confusion matrix.
Symmetry 17 02187 g013
Figure 14. Resnet18-based Alzheimer classification confusion matrix.
Figure 14. Resnet18-based Alzheimer classification confusion matrix.
Symmetry 17 02187 g014
Figure 15. Resnet50-based Alzheimer classification confusion matrix.
Figure 15. Resnet50-based Alzheimer classification confusion matrix.
Symmetry 17 02187 g015
Figure 16. Qualitative Evaluation of Heatmaps against the Ground Truth Lesion Mask (Glioma): (a) Generated via Grad-CAM, (b) Generated via FAR, (c) Original MRI Image.
Figure 16. Qualitative Evaluation of Heatmaps against the Ground Truth Lesion Mask (Glioma): (a) Generated via Grad-CAM, (b) Generated via FAR, (c) Original MRI Image.
Symmetry 17 02187 g016
Figure 17. Qualitative Evaluation of Heatmaps against the Ground Truth Lesion Mask (Meningioma): (a) Generated via Grad-CAM, (b) Generated via FAR, (c) Original MRI Image.
Figure 17. Qualitative Evaluation of Heatmaps against the Ground Truth Lesion Mask (Meningioma): (a) Generated via Grad-CAM, (b) Generated via FAR, (c) Original MRI Image.
Symmetry 17 02187 g017
Figure 18. Qualitative Evaluation of Heatmaps against the Ground Truth Lesion Mask (Pituitary): (a) Generated via Grad-CAM, (b) Generated via FAR, (c) Original MRI Image.
Figure 18. Qualitative Evaluation of Heatmaps against the Ground Truth Lesion Mask (Pituitary): (a) Generated via Grad-CAM, (b) Generated via FAR, (c) Original MRI Image.
Symmetry 17 02187 g018
Figure 19. Explainable fuzzy inference process for input MRI images.
Figure 19. Explainable fuzzy inference process for input MRI images.
Symmetry 17 02187 g019
Table 1. Mean and Deviation of Brain Tumor Data Classification Accuracy for Number of Clusters.
Table 1. Mean and Deviation of Brain Tumor Data Classification Accuracy for Number of Clusters.
Number of ClustersAccuracy (Mean ± Std)
294.64% ± 0.004
394.85% ± 0.008
495.29% ± 0.009
595.04% ± 0.007
Table 2. Mean and Deviation of Alzheimer’s Data Classification Accuracy for Number of Clusters.
Table 2. Mean and Deviation of Alzheimer’s Data Classification Accuracy for Number of Clusters.
Number of ClustersAccuracy (Mean ± Std)
296.81% ± 0.005
397.42% ± 0.003
496.99% ± 0.006
596.33% ± 0.008
Table 3. Quantitative comparison of the heatmap between Grad-CAM and FAR for the actual lesion mask.
Table 3. Quantitative comparison of the heatmap between Grad-CAM and FAR for the actual lesion mask.
Class NameModelGlobal AccuracyMean
Accuracy
Mean IoUWeighted IoUMean BFScore
GliomaResnet500.586
±0.013
0.299
±0.003
0.293
±0.006
0.574
±0.020
0.120
±0.003
FAR0.836
±0.008
0.669
±0.110
0.446
±0.023
0.818
±0.013
0.293
±0.024
MeningiomaResnet500.587
±0.015
0.300
±0.003
0.293
±0.007
0.575
±0.023
0.120
±0.003
FAR0.835
±0.006
0.673
±0.101
0.443
±0.020
0.819
±0.014
0.293
±0.027
PituitaryResnet500.598
±0.007
0.302
±0.002
0.299
±0.004
0.593
±0.012
0.123
±0.002
FAR0.834
±0.004
0.615
±0.113
0.427
±0.011
0.827
±0.008
0.278
±0.018
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kim, T.-W.; Kwak, K.-C. Pixel-Level Fuzzy Rule Attention Maps for Interpretable MRI Classification. Symmetry 2025, 17, 2187. https://doi.org/10.3390/sym17122187

AMA Style

Kim T-W, Kwak K-C. Pixel-Level Fuzzy Rule Attention Maps for Interpretable MRI Classification. Symmetry. 2025; 17(12):2187. https://doi.org/10.3390/sym17122187

Chicago/Turabian Style

Kim, Tae-Wan, and Keun-Chang Kwak. 2025. "Pixel-Level Fuzzy Rule Attention Maps for Interpretable MRI Classification" Symmetry 17, no. 12: 2187. https://doi.org/10.3390/sym17122187

APA Style

Kim, T.-W., & Kwak, K.-C. (2025). Pixel-Level Fuzzy Rule Attention Maps for Interpretable MRI Classification. Symmetry, 17(12), 2187. https://doi.org/10.3390/sym17122187

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop