STF-KernelSHAP: A Model-Agnostic Space–Time–Frequency Shapley Framework for Physiologically Informed EEG Explainability
Abstract
1. Introduction
- -
- Multidomain EEG attribution: To address the lack of multidomain resolution, STF-KernelSHAP decomposes each EEG trial into structured channel–time–frequency cells using segment-wise spectral analysis. This representation allows the attribution process to operate directly over spatial locations, paradigm-specific temporal windows, and physiologically meaningful frequency bands rather than relying on flattened features or single-domain temporal explanations.
- -
- Physiologically informed perturbation: To promote the functional organization of EEG signals, STF-KernelSHAP defines coalitions over complete channel–time–frequency cells instead of isolated samples. Each coalition is mapped back to the signal domain through spectral reconstruction, allowing perturbations to be applied over physiologically informed EEG components and mitigating the risk of generating biologically implausible signal manipulations.
- -
- Architecture-independent Shapley estimation: To ensure applicability across heterogeneous classifiers, STF-KernelSHAP operates as a black-box explainer that only requires access to model outputs. Class-conditional relevance is estimated through a KernelSHAP-based weighted surrogate model without using gradients, internal activations, or architecture-specific parameters.
2. Related Work
2.1. EEG Classification and Decoding Architectures
2.2. Interpretability and Explainable AI in EEG Analysis
3. Materials and Methods
3.1. Tested Datasets
3.2. Classification Deep Learning Models
3.3. SHAP Fundamentals
- –
- Property 1: Missingness. If a feature is absent from the simplified representation, i.e., , then it contributes nothing to the explanation, which implies .
- –
- Property 2: Local accuracy. The explanation model must recover the model output for the original input, such that the sum of the base value and all feature attributions equals the target model score:
- –
- Property 3: Consistency. Let and denote two predictive models with corresponding attribution coefficients and . If, for all coalitions , the marginal contribution of feature m under is greater than or equal to that under , namely,then the attribution assigned to feature m cannot decrease, i.e., .
3.4. EEG-Driven Multidomain Shapley Attribution Framework
4. Experimental Setup
4.1. Assessment and Method Comparison
- Accuracy (ACC): measures the proportion of correctly classified trials with respect to the total number of evaluated samples:where and denote true positives and true negatives, whereas and correspond to false positives and false negatives.
- Area under the ROC curve (AUC): quantifies the discriminative capability of the classifier by integrating the relationship between the true positive rate and the false positive rate across different thresholds:where represents the true positive rate, the false positive rate, and is an auxiliary integration variable.
- Cohen’s kappa coefficient (): measures the agreement between the predicted labels and the ground-truth labels, correcting for the agreement expected by chance:where is the observed agreement and is the agreement expected by chance.
- LIME [69]: fits an interpretable surrogate model in the neighborhood of the explained trial. To this end, let be the interpretable representation associated with a perturbation of . In the linear formulation employed in this work, such a local surrogate is expressed asThe surrogate coefficients are estimated aswhere measures the local discrepancy between and the surrogate, weights the perturbations according to their proximity to , and regulates the model complexity. Consequently, the optimal surrogate is determined by , while the attributions are defined as
- Integrated Gradients [70]: computes attributions by integrating the gradients of the output associated with the target class along a continuous path between a reference and the trial :where is the interpolation parameter and ⊙ represents the Hadamard product.
- Occlusion [46]: estimates the relevance of an input region by replacing it with a reference and quantifying the induced change in the target-class score. Let be the set of occlusion regions. For a region , let denote the perturbed version of , in which only the region is replaced by the reference. In this case, the regional attribution is defined asTherefore, the complete occlusion-based explanation is given by
- Grad-CAM++ [71]: obtains a relevance map from the activations of an internal convolutional layer:where is the -th activation map of the selected layer, represents its weight associated with the target class, and is the number of activation maps considered.
4.2. Training Details
5. Results and Discussion
5.1. Space–Time–Frequency Attribution Analysis in Motor Imagery
5.2. Space–Frequency Attribution Analysis in ADHD
5.3. Limitations
6. Conclusions
Future Work
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Rohan, N.R.; Vigneswaran, C.; Ghosh, S.; Rajendran, K.; Gaurav, A.; Chakravarthy, V.S. Deep oscillatory neural network. Sci. Rep. 2025, 15, 40968. [Google Scholar] [CrossRef] [PubMed]
- Hamedi, M.; Salleh, S.H.; Noor, A.M. Electroencephalographic Motor Imagery Brain Connectivity Analysis for BCI: A Review. Neural Comput. 2016, 28, 999–1021. [Google Scholar] [CrossRef] [PubMed]
- Hurjui, I.A.; Hurjui, R.M.; Hurjui, L.L.; Serban, I.L.; Dobrin, I.; Apostu, M.; Dobrin, R.P. Biomarkers and Neuropsychological Tools in Attention-Deficit/Hyperactivity Disorder: From Subjectivity to Precision Diagnosis. Medicina 2025, 61, 1211. [Google Scholar] [CrossRef] [PubMed]
- Ramadan, R.A.; Altamimi, A.B. Unraveling the potential of brain-computer interface technology in medical diagnostics and rehabilitation: A comprehensive literature review. Health Technol. 2024, 14, 263–276. [Google Scholar] [CrossRef]
- Wang, X.; Liesaputra, V.; Liu, Z.; Wang, Y.; Huang, Z. An in-depth survey on Deep Learning-based Motor Imagery EEG classification. Neurocomputing 2024, 147, 102738. [Google Scholar] [CrossRef]
- Huang, G.; Li, Y.; Jameel, S.; Long, Y.; Papanastasiou, G. From explainable to interpretable deep learning for natural language processing in healthcare: How far from reality? Comput. Struct. Biotechnol. J. 2024, 24, 362–373. [Google Scholar] [CrossRef] [PubMed]
- Mayor Torres, J.M.; Medina-DeVilliers, S.; Clarkson, T.; Lerner, M.D.; Riccardi, G. Evaluation of interpretability for deep learning algorithms in EEG emotion recognition: A case study in autism. Artif. Intell. Med. 2023, 143, 102545. [Google Scholar] [CrossRef] [PubMed]
- Li, X.; Xiong, H.; Li, X.; Wu, X.; Zhang, X.; Liu, J.; Bian, J.; Dou, D. Interpretable deep learning: Interpretation, interpretability, trustworthiness, and beyond. Knowl. Inf. Syst. 2022, 64, 3197–3234. [Google Scholar] [CrossRef]
- Angkan, P.; Jalali, A.; Hungler, P.; Etemad, A. Multi-Domain EEG Representation Learning with Orthogonal Mapping and Attention-Based Fusion for Cognitive Load Classification. arXiv 2025, arXiv:2511.12394. [Google Scholar] [CrossRef]
- Liu, Z.; Fan, K.; Gu, Q.; Ruan, Y. Channel-Dependent Multilayer EEG Time-Frequency Representations Combined with Transfer Learning-Based Deep CNN Framework for Few-Channel MI EEG Classification. Bioengineering 2025, 12, 645. [Google Scholar] [CrossRef] [PubMed]
- Shawly, T.; Alsheikhy, A.A. Eeg-based detection of epileptic seizures in patients with disabilities using a novel attention-driven deep learning framework with SHAP interpretability. Egypt. Inform. J. 2025, 31, 100734. [Google Scholar] [CrossRef]
- Sylvester, S.; Sagehorn, M.; Gruber, T.; Atzmueller, M.; Schöne, B. SHAP value-based ERP analysis (SHERPA): Increasing the sensitivity of EEG signals with explainable AI methods. Behav. Res. Methods 2024, 56, 6067–6081. [Google Scholar] [CrossRef] [PubMed]
- Niu, Y.; Chen, X.; Fan, J.; Liu, C.; Fang, M.; Liu, Z.; Meng, X.; Liu, Y.; Lu, L.; Fan, H. Explainable machine learning model based on EEG, ECG, and clinical features for predicting neurological outcomes in cardiac arrest patient. Sci. Rep. 2025, 15, 11498. [Google Scholar] [CrossRef] [PubMed]
- Zhou, X.; Liu, C.; Wang, Z.; Zhai, L.; Jia, Z.; Guan, C.; Liu, Y. Interpretable and robust ai in eeg systems: A survey. arXiv 2023, arXiv:2304.10755. [Google Scholar]
- Raab, D.; Theissler, A.; Spiliopoulou, M. XAI4EEG: Spectral and spatio-temporal explanation of deep learning-based seizure detection in EEG time series. Neural Comput. Appl. 2023, 35, 10051–10068. [Google Scholar]
- Hasić, V.; Halilović, A.; Krivić, S. Superpixel Correlation for Explainable Image Classification; Springer: Cham Switzerland, 2025; pp. 27–44. [Google Scholar] [CrossRef]
- Gallego-Molina, N.J.; Ortiz, A.; Arco, J.E.; Martinez-Murcia, F.J.; Woo, W.L. Unraveling brain synchronisation dynamics by explainable neural networks using EEG signals: Application to dyslexia diagnosis. Interdiscip. Sci. Comput. Life Sci. 2024, 16, 1005–1018. [Google Scholar] [CrossRef]
- Presacan, O.; Ojha, J.; Yazidi, A.; Monteiro, E.; Lind, P.G. A Comprehensive Review of Explainable AI in Deep Learning Algorithms for EEG Analysis. Acm Trans. Comput. Healthc. 2025, 7, 1–28. [Google Scholar] [CrossRef]
- Ma, W.; Zheng, Y.; Li, T.; Li, Z.; Li, Y.; Wang, L. A comprehensive review of deep learning in EEG-based emotion recognition: Classifications, trends, and practical implications. PeerJ Comput. Sci. 2024, 10, e2065. [Google Scholar] [CrossRef] [PubMed]
- Zhang, S.; Zhu, Z.; Zhang, B.; Feng, B.; Yu, T.; Li, Z.; Zhang, Z.; Huang, G.; Liang, Z. Overall optimization of CSP based on ensemble learning for motor imagery EEG decoding. Biomed. Signal Process. Control 2022, 77, 103825. [Google Scholar] [CrossRef]
- Elashmawi, W.H.; Ayman, A.; Antoun, M.; Mohamed, H.; Mohamed, S.E.; Amr, H.; Talaat, Y.; Ali, A. A Comprehensive Review on Brain–Computer Interface (BCI)-Based Machine and Deep Learning Algorithms for Stroke Rehabilitation. Appl. Sci. 2024, 14, 6347. [Google Scholar] [CrossRef]
- Hekmatmanesh, A.; Nardelli, P.H.; Handroos, H. Review of the state-of-the-art of brain-controlled vehicles. IEEE Access 2021, 9, 110173–110193. [Google Scholar]
- Hekmatmanesh, A.; Wu, H.; Li, M.; Handroos, H. A combined projection for remote control of a vehicle based on movement imagination: A single trial brain computer interface study. IEEE Access 2022, 10, 6165–6174. [Google Scholar] [CrossRef]
- Miao, Y.; Jin, J.; Daly, I.; Zuo, C.; Wang, X.; Cichocki, A.; Jung, T.P. Learning Common Time-Frequency-Spatial Patterns for Motor Imagery Classification. IEEE Trans. Neural Syst. Rehabil. Eng. 2021, 29, 699–707. [Google Scholar] [CrossRef] [PubMed]
- Liang, W.; Jin, J.; Xu, R.; Wang, X.; Cichocki, A. Variance characteristic preserving common spatial pattern for motor imagery BCI. Front. Hum. Neurosci. 2023, 17, 1243750. [Google Scholar] [CrossRef] [PubMed]
- Saha, P.K.; Rahman, M.A.; Alam, M.K.; Ferdowsi, A.; Mollah, M.N. Common spatial pattern in frequency domain for feature extraction and classification of multichannel EEG signals. SN Comput. Sci. 2021, 2, 149. [Google Scholar] [CrossRef]
- Hekmatmanesh, A.; Wu, H.; Jamaloo, F.; Li, M.; Handroos, H. A combination of CSP-based method with soft margin SVM classifier and generalized RBF kernel for imagery-based brain computer interface applications. Multimed. Tools Appl. 2020, 79, 17521–17549. [Google Scholar] [CrossRef]
- Liu, K.; Yang, M.; Yu, Z.; Wang, G.; Wu, W. FBMSNet: A filter-bank multi-scale convolutional neural network for EEG-based motor imagery decoding. IEEE Trans. Biomed. Eng. 2022, 70, 436–445. [Google Scholar]
- Hong, X.; Du, C.; He, H. Adaptive Domain Alignment Neural Networks for Cross-Domain EEG Emotion Recognition. IEEE Trans. Affect. Comput. 2024, 16, 903–914. [Google Scholar] [CrossRef]
- Lawhern, V.J.; Solon, A.J.; Waytowich, N.R.; Gordon, S.M.; Hung, C.P.; Lance, B.J. EEGNet: A compact convolutional neural network for EEG-based brain–computer interfaces. J. Neural Eng. 2018, 15, 056013. [Google Scholar] [CrossRef] [PubMed]
- Kim, S.J.; Lee, D.H.; Lee, S.W. Rethinking CNN Architecture for Enhancing Decoding Performance of Motor Imagery-based EEG Signals. IEEE Access 2022, 10, 96984–96996. [Google Scholar] [CrossRef]
- Tobón-Henao, M.; Álvarez Meza, A.M.; Castellanos-Dominguez, C.G. Kernel-Based Regularized EEGNet Using Centered Alignment and Gaussian Connectivity for Motor Imagery Discrimination. Computers 2023, 12, 145. [Google Scholar] [CrossRef]
- Luo, J.; Wang, Y.; Xia, S.; Lu, N.; Ren, X.; Shi, Z.; Hei, X. A shallow mirror transformer for subject-independent motor imagery BCI. Comput. Biol. Med. 2023, 164, 107254. [Google Scholar] [CrossRef] [PubMed]
- Xiao, T.; Wang, Z.; Zhang, Y.; Wang, S.; Feng, H.; Zhao, Y. Self-supervised learning with attention mechanism for EEG-based seizure detection. Biomed. Signal Process. Control 2024, 87, 105464. [Google Scholar] [CrossRef]
- Xie, J.; Zhang, J.; Sun, J.; Ma, Z.; Qin, L.; Li, G.; Zhou, H.; Zhan, Y. A transformer-based approach combining deep learning network and spatial-temporal information for raw EEG classification. IEEE Trans. Neural Syst. Rehabil. Eng. 2022, 30, 2126–2136. [Google Scholar] [CrossRef] [PubMed]
- Liao, L.; Lu, J.; Wang, L.; Zhang, Y.; Gao, D.; Wang, M. CT-Net: An interpretable CNN-Transformer fusion network for fNIRS classification. Med. Biol. Eng. Comput. 2024, 62, 3233–3247. [Google Scholar] [CrossRef] [PubMed]
- Mirzaei, S.; Ghasemi, P. EEG motor imagery classification using dynamic connectivity patterns and convolutional autoencoder. Biomed. Signal Process. Control 2021, 68, 102584. [Google Scholar] [CrossRef]
- Khare, S.K.; Acharya, U.R. An explainable and interpretable model for attention deficit hyperactivity disorder in children using EEG signals. Comput. Biol. Med. 2023, 155, 106676. [Google Scholar] [CrossRef] [PubMed]
- Rahman, A.U.; Tubaishat, A.; Al-Obeidat, F.; Halim, Z.; Tahir, M.; Qayum, F. Extended ICA and M-CSP with BiLSTM towards improved classification of EEG signals. Soft Comput. 2022, 26, 10687–10698. [Google Scholar] [CrossRef]
- Bang, J.S.; Lee, S.W. Interpretable convolutional neural networks for subject-independent motor imagery classification. In Proceedings of the 2022 10th International Winter Conference on Brain-Computer Interface (BCI); IEEE: New York, NY, USA, 2022; pp. 1–5. [Google Scholar]
- Schwalbe, G.; Finzel, B. A comprehensive taxonomy for explainable artificial intelligence: A systematic survey of surveys on methods and concepts. Data Min. Knowl. Discov. 2024, 38, 3043–3101. [Google Scholar]
- Zhang, Y.; Tino, P.; Leonardis, A.; Tang, K. A Survey on Neural Network Interpretability. IEEE Trans. Emerg. Top. Comput. Intell. 2021, 5, 726–742. [Google Scholar] [CrossRef]
- Koh, P.W.; Liang, P. Understanding Black-box Predictions via Influence Functions. arXiv 2020, arXiv:1703.04730. [Google Scholar] [CrossRef]
- Averkin, A.; Yarushev, S. Review of research in the field of developing methods to extract rules from artificial neural networks. J. Comput. Syst. Sci. Int. 2021, 60, 966–980. [Google Scholar] [CrossRef]
- Olah, C.; Mordvintsev, A.; Schubert, L. Feature Visualization. Distill 2017, 2, e7. [Google Scholar] [CrossRef]
- Sujatha Ravindran, A.; Contreras-Vidal, J. An empirical comparison of deep learning explainability approaches for EEG using simulated ground truth. Sci. Rep. 2023, 13, 17709. [Google Scholar] [CrossRef] [PubMed]
- Nielsen, I.E.; Dera, D.; Rasool, G.; Ramachandran, R.P.; Bouaynaya, N.C. Robust explainability: A tutorial on gradient-based attribution methods for deep neural networks. IEEE Signal Process. Mag. 2022, 39, 73–84. [Google Scholar] [CrossRef]
- Jiang, P.T.; Zhang, C.B.; Hou, Q.; Cheng, M.M.; Wei, Y. Layercam: Exploring hierarchical class activation maps for localization. IEEE Trans. Image Process. 2021, 30, 5875–5888. [Google Scholar] [CrossRef] [PubMed]
- Zafar, M.R.; Khan, N. Deterministic local interpretable model-agnostic explanations for stable explainability. Mach. Learn. Knowl. Extr. 2021, 3, 525–541. [Google Scholar] [CrossRef]
- Chen, H.; Covert, I.C.; Lundberg, S.M.; Lee, S.I. Algorithms to estimate Shapley value feature attributions. Nat. Mach. Intell. 2023, 5, 590–601. [Google Scholar] [CrossRef]
- Sharma, N.; Bollu, T.R. Explainable AI Methods for Interpreting Emotions in Brain–Computer Interface EEG Data. In Discovering the Frontiers of Human-Robot Interaction: Insights and Innovations in Collaboration, Communication, and Control; Vinjamuri, R., Ed.; Springer Nature: Cham, Switzerland, 2024; pp. 419–436. [Google Scholar] [CrossRef]
- Vimbi, V.; Shaffi, N.; Mahmud, M. Interpreting artificial intelligence models: A systematic review on the application of LIME and SHAP in Alzheimer’s disease detection. Brain Inf. 2024, 11, 10. [Google Scholar] [CrossRef] [PubMed]
- Chen, H.; Lundberg, S.M.; Lee, S.I. Explaining a series of models by propagating Shapley values. Nat. Commun. 2022, 13, 4512. [Google Scholar] [CrossRef] [PubMed]
- Subudhi, S.; Patro, R.N.; Biswal, P.K.; Dell’Acqua, F. A survey on superpixel segmentation as a preprocessing step in hyperspectral image analysis. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 5015–5035. [Google Scholar] [CrossRef]
- Cao, N.; Wen, X.; Hao, Y.; Cao, R.; Gao, C.; Cao, R. A Lightweight End-to-End Three-domain Feature Fusion Network for Motor Imagery Decoding. In Proceedings of the 2024 IEEE International Conference on Bioinformatics and Biomedicine (BIBM); IEEE: New York, NY, USA, 2024; pp. 1830–1837. [Google Scholar]
- Li, H.; Chen, Y.; Wang, Y.; Ni, W.; Zhang, H. Foundation models for cross-domain eeg analysis application: A survey. arXiv 2025, arXiv:2508.15716. [Google Scholar]
- Cui, J.; Yuan, L.; Wang, Z.; Li, R.; Jiang, T. Towards best practice of interpreting deep learning models for EEG-based brain computer interfaces. Front. Comput. Neurosci. 2023, 17, 1232925. [Google Scholar] [CrossRef] [PubMed]
- Abibullaev, B.; Keutayeva, A.; Zollanvari, A. Deep learning in EEG-based BCIs: A comprehensive review of transformer models, advantages, challenges, and applications. IEEE Access 2023, 11, 127271–127301. [Google Scholar] [CrossRef]
- Cho, H.; Ahn, M.; Ahn, S.; Kwon, M.; Jun, S.C. EEG datasets for motor imagery brain–computer interface. GigaScience 2017, 6, gix034. [Google Scholar] [CrossRef] [PubMed]
- Nasrabadi, A.M.; Allahverdy, A.; Samavati, M.; Mohammadi, M.R. EEG Data for ADHD/Control Children; IEEE DataPort: Piscataway, NJ, USA, 2020. [Google Scholar] [CrossRef]
- Cremades, A.; Hoyas, S.; Vinuesa, R. Additive-feature-attribution methods: A review on explainable artificial intelligence for fluid dynamics and heat transfer. Int. J. Heat Fluid Flow 2025, 112, 109662. [Google Scholar] [CrossRef]
- Li, M.; Sun, H.; Huang, Y.; Chen, H. Shapley value: From cooperative game to explainable artificial intelligence. Auton. Intell. Syst. 2024, 4, 2. [Google Scholar] [CrossRef]
- Rozemberczki, B.; Watson, L.; Bayer, P.; Yang, H.T.; Kiss, O.; Nilsson, S.; Sarkar, R. The shapley value in machine learning. In Proceedings of the 31st International Joint Conference on Artificial Intelligence and the 25th European Conference on Artificial Intelligence; International Joint Conferences on Artificial Intelligence Organization: Vienna, Austria, 2022; pp. 5572–5579. [Google Scholar]
- Olsen, L.H.; Glad, I.K.; Jullum, M.; Aas, K. Using Shapley values and variational autoencoders to explain predictive models with dependent mixed features. J. Mach. Learn. Res. 2022, 23, 1–51. [Google Scholar]
- Liu, B.; Chang, H.; Peng, K.; Wang, X. An end-to-end depression recognition method based on EEGNet. Front. Psychiatry 2022, 13, 864393. [Google Scholar] [CrossRef] [PubMed]
- Zhang, H.; Xie, J.; Liu, K.; Liu, Y.; Dong, W.; Xu, G. Time frequency transform kernel enhanced ShallowConvNet for auditory selective attention decoding with steady state motion auditory evoked potential. Biomed. Signal Process. Control 2026, 119, 109736. [Google Scholar]
- Salazar-Dubois, D.V.; Álvarez-Meza, A.M.; Castellanos-Dominguez, G. T-GARNet: A Transformer and Multi-Scale Gaussian Kernel Connectivity Network with Alpha-Rényi Regularization for EEG-Based ADHD Detection. Mathematics 2025, 13, 4026. [Google Scholar] [CrossRef]
- Roshan, K.; Zafar, A. Using kernel shap xai method to optimize the network anomaly detection model. In Proceedings of the 2022 9th International Conference on Computing for Sustainable Global Development (INDIACom); IEEE: New York, NY, USA, 2022; pp. 74–80. [Google Scholar]
- Raptis, S.; Ilioudis, C.; Theodorou, K. From pixels to prognosis: Unveiling radiomics models with SHAP and LIME for enhanced interpretability. Biomed. Phys. Eng. Express 2024, 10, 035016. [Google Scholar] [CrossRef]
- Lundstrom, D.D.; Huang, T.; Razaviyayn, M. A rigorous study of integrated gradients method and extensions to internal neuron attributions. In Proceedings of the International Conference on Machine Learning; PMLR: Brookline, MA, USA, 2022; pp. 14485–14508. [Google Scholar]
- Tripathi, S.; Arya, N.; Kaur, S.; Gupta, T.; Gupta, E. Grad-CAM++ Enhanced Hybrid CNN-Random Forest Model for Accurate and Transparent Brain Tumor Detection. In Proceedings of the 2025 5th International Conference on Intelligent Technologies (CONIT); IEEE: New York, NY, USA, 2025; pp. 1–6. [Google Scholar]
- Saranya, S.; Menaka, R. An explainable machine learning network for classification of autism spectrum disorder using optimal frequency band identification from brain EEG. IEEE Access 2025, 13, 32016–32030. [Google Scholar] [CrossRef]
- Xiao, C.; Dou, J.; Lin, Z.; Ke, Z.; Hou, L. From points to coalitions: Hierarchical contrastive shapley values for prioritizing data samples. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Palo Alto, CA, USA, 2026; Volume 40, pp. 15995–16003. [Google Scholar]
- Reuter, A.; Thielmann, A.; Saefken, B. Neural additive image model: Interpretation through interpolation. arXiv 2024, arXiv:2405.02295. [Google Scholar]
- Lasfar, R.; Tóth, G. The difference of model robustness assessment using cross-validation and bootstrap methods. J. Chemom. 2024, 38, e3530. [Google Scholar] [CrossRef]



















| Approach Family | Spatial Resolution | Temporal Resolution | Frequency Resolution | Model Dependence | Perturbation Type | Physiological Coherence |
|---|---|---|---|---|---|---|
| Classical CSP/FBCSP pipelines [24,26] | Spatial filters | Usually predefined windows | Explicit filter banks | Decoder or feature pipeline | Not a post hoc perturbation method | Physiologically motivated, but constrained by handcrafted assumptions |
| Gradient and activation methods [12,47,48] | Architecture-dependent maps | Input or layer dependent | Mostly indirect | Requires gradients or activations | No explicit input perturbation | Limited by the internal representation of the classifier |
| Model-agnostic surrogate or masking methods [49,50,51,52] | Input-level relevance | Sample, segment, or window level | Absent unless manually engineered | Black-box compatible | Flattened, pointwise, or window masking | May disrupt EEG dependencies through independent perturbations |
| Correlation or segmentation-based grouping [11,16,53,54] | Grouped spatial or correlated regions | Limited by the grouping rule | Usually not explicit | Often model-agnostic | Grouped perturbations | Partially preserves structure, but remains mostly spatial or correlation-driven |
| Method | Deletion-AUC ↓ | ROAD-AUC ↑ | ||
|---|---|---|---|---|
| 0–7 s | 2.5–5 s | 0–7 s | 2.5–5 s | |
| Integrated Gradients | ||||
| Occlusion | ||||
| STF-KernelSHAP | ||||
| KernelSHAP | ||||
| LIME | ||||
| Grad-CAM++ | ||||
| Method | Deletion-AUC ↓ | ROAD-AUC ↑ |
|---|---|---|
| Integrated Gradients | ||
| Occlusion | ||
| STF-KernelSHAP | ||
| KernelSHAP | ||
| LIME | ||
| Grad-CAM++ |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Pérez-Rosero, D.A.; Lopez-Boscan, A.C.; Álvarez-Meza, A.M.; Cárdenas-Peña, D.A.; Castellanos-Dominguez, G. STF-KernelSHAP: A Model-Agnostic Space–Time–Frequency Shapley Framework for Physiologically Informed EEG Explainability. Computers 2026, 15, 428. https://doi.org/10.3390/computers15070428
Pérez-Rosero DA, Lopez-Boscan AC, Álvarez-Meza AM, Cárdenas-Peña DA, Castellanos-Dominguez G. STF-KernelSHAP: A Model-Agnostic Space–Time–Frequency Shapley Framework for Physiologically Informed EEG Explainability. Computers. 2026; 15(7):428. https://doi.org/10.3390/computers15070428
Chicago/Turabian StylePérez-Rosero, Diego Armando, Andres Camilo Lopez-Boscan, Andrés Marino Álvarez-Meza, David Augusto Cárdenas-Peña, and German Castellanos-Dominguez. 2026. "STF-KernelSHAP: A Model-Agnostic Space–Time–Frequency Shapley Framework for Physiologically Informed EEG Explainability" Computers 15, no. 7: 428. https://doi.org/10.3390/computers15070428
APA StylePérez-Rosero, D. A., Lopez-Boscan, A. C., Álvarez-Meza, A. M., Cárdenas-Peña, D. A., & Castellanos-Dominguez, G. (2026). STF-KernelSHAP: A Model-Agnostic Space–Time–Frequency Shapley Framework for Physiologically Informed EEG Explainability. Computers, 15(7), 428. https://doi.org/10.3390/computers15070428

