Comprehensive benchmarking and explainable machine learning analysis of EEG imagery activity recognition.
Overview
- Department of Avionics Engineering, Aviation and Aerospace University, Bangladesh, Dhaka, 1215 Bangladesh
- Department of Computer Science Engineering, BRAC University, Dhaka, 1212 Bangladesh
- James Watt School of Engineering, University of Glasgow, Glasgow, G12 8QQ UK
- School of Computing, Engineering and Physical Sciences, University of the West of Scotland, High St, Paisley, PA1 2BE UK
Abstract
Motor imagery (MI)-based brain–computer interfaces (BCIs) enable users to control external devices using EEG signals, offering great potential in assistive and rehabilitation technologies. However, MI recognition remains challenging due to EEG’s low signal-to-noise ratio (SNR), inter-subject variability, and complex spatiotemporal patterns. Existing approaches often suffer from limited accuracy, high computational cost, and poor interpretability. In response to these challenges, we present the first comprehensive benchmarking of the publicly available EEG-hand movement (EEG-HM) dataset. Our study aims to establish a standardized performance baseline, guide the selection of optimal models by jointly considering accuracy, prediction time, and explainability, and ultimately accelerate progress in MI-BCI development. We have proposed a two-stage optimization of machine learning models that employs both feature selection and hyperparameter tuning. We exploit five feature selection algorithms for selecting the best set of EEG electrodes and frequency bands, while Bayesian optimization is exploited for machine learning model optimization through hyperparameter tuning. Furthermore, to validate the neurophysiological basis of our model’s decisions, we leverage explainable AI (XAI) algorithms—LIME and SHAP—quantifying the contributions of specific EEG electrodes and frequency bands to interpret its decision-making process. Through extensive simulations, the proposed two-stage optimization of the machine learning model demonstrates a superior performance in terms of accuracy, precision, and recall. This method outperforms the existing methods by 21.47% in accuracy with competitive prediction time. Its performance is further evaluated on the PhysioNet MI dataset, achieving a 4.67% accuracy improvement over state-of-the-art methods. Through LIME and SHAP, we provide the local and global explanations for no activity, left-hand, and right-hand imagery movements. Additionally, we analyze how various EEG frequency bands and electrode locations interact during the performance of different motor imagery hand movements.
Reproduced under the paper's license (CC BY), from the paper cited above.
Code
No file of the authors' code could be read here: it is described below, and read at its source.
kaggle.com/code/gcdatkin
Availability: 1 check, the latest on 28 September 2026: the link is dead (HTTP 404)
- 28 September 2026: the link is dead (HTTP 404)
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 0 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- doi:10.17632/
dpmtgrn8d8.4 , at the source; found in “Data availability”
Data availability
1. Eeg hand movement/
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 8 keywords, 9 MeSH terms, 19 references.
Cite
This paper
Siam, M. J. N., Showrov, T. A., Hossain, M. S., Ayaan, N. S., Bari, S. M. S., Tariq, F., & Mahmud, A. A. (2026). Comprehensive benchmarking and explainable machine learning analysis of EEG imagery activity recognition. Scientific reports, 16(1), 22313. https://
BibTeX
@article{siam2026compreh
author = {Siam, Md Julkar Nain and Showrov, Tanvir Ahsan and Hossain, Md Sakir and Ayaan, Najmus Shakif and Bari, S M Sadakatul and Tariq, Faisal and Mahmud, ASM Ashraf},
title = {{Comprehensive benchmarking and explainable machine learning analysis of EEG imagery activity recognition}},
journal = {Scientific reports},
year = {2026},
month = may,
volume = {16},
number = {1},
pages = {22313},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {42143102},
pmcid = {PMC13376677}
}
RIS
TY - JOUR
AU - Siam, Md Julkar Nain
AU - Showrov, Tanvir Ahsan
AU - Hossain, Md Sakir
AU - Ayaan, Najmus Shakif
AU - Bari, S M Sadakatul
AU - Tariq, Faisal
AU - Mahmud, ASM Ashraf
TI - Comprehensive benchmarking and explainable machine learning analysis of EEG imagery activity recognition
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 22313
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Comprehensive benchmarking and explainable machine learning analysis of EEG imagery activity recognition",
"container-title": "Scientific reports",
"author": [
{
"family": "Siam",
"given": "Md Julkar Nain"
},
{
"family": "Showrov",
"given": "Tanvir Ahsan"
},
{
"family": "Hossain",
"given": "Md Sakir"
},
{
"family": "Ayaan",
"given": "Najmus Shakif"
},
{
"family": "Bari",
"given": "S M Sadakatul"
},
{
"family": "Tariq",
"given": "Faisal"
},
{
"family": "Mahmud",
"given": "ASM Ashraf"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "22313",
"DOI": "10.1038/
"PMID": "42143102",
"PMCID": "PMC13376677",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
16
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.3390/bioengineering13040430 [code]
- Configurable Modular EEG Classification Framework with Multiscale Features and Ensemble Learning: A Reproducible Evaluation for Schizophrenia Detection.Journal: Bioengineering (Basel, Switzerland)In common: methods / tools, EEG, 2 references
- [2] doi:10.3390/bios16070394
- Hybrid Edge-Cloud Asymmetric Analytics for Portable Multimodal BCI Biosensors.Journal: BiosensorsIn common: methods / tools, EEG, 2 references
- [3] doi:10.3390/brainsci16080873
- Evaluating Validation Strategies in Motor Imagery EEG: A Full-Cohort GAF-PLV Analysis and Matched Sensitivity Study.Journal: Brain sciencesIn common: methods / tools, EEG, 2 references
- [4] doi:10.1038/s41598-026-46642-3 [code]
- Joint MVMD-based optimal feature selection and FW-LS-TWSVM for motor imagery recognition.Journal: Scientific reportsIn common: EEG, 2 references
- [5] doi:10.1038/s41597-026-07287-z
- An EEG-EMG-kinematics dataset from wrist pointing tasks for biomarker research in neurorehabilitation.Journal: Scientific dataIn common: methods / tools, EEG, 1 reference
- [6] doi:10.1038/s41598-026-47627-y [code]
- QuantumNeuroXAI: a quantum-inspired deep learning framework with explainability for brain signal analysis and neurological disorder detection.Journal: Scientific reportsIn common: methods / tools, EEG, 1 reference
- [7] doi:10.3390/bioengineering13070820 [code]
- Benchmarking Multimodal Workload Classification: Effects of Modality, Validation Protocol, and Segmentation Contrast on an Open Graded-Arithmetic Dataset.Journal: Bioengineering (Basel, Switzerland)In common: methods / tools, EEG, 1 reference
- [8] doi:10.1371/journal.pone.0354976 [code]
- Improved motor imagery BCI performance via task-unaware compression in the BELT Bayesian Edge-Cloud architecture.Journal: PloS oneIn common: methods / tools, EEG, 1 reference
- [9] doi:10.1038/s41597-026-07807-x [code]
- A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery.Journal: Scientific dataIn common: methods / tools, EEG, 1 reference
- [10] doi:10.3390/s26134045
- Brain Signal for Secure EEG Biometric Authentication: A Comprehensive Survey.Journal: Sensors (Basel, Switzerland)In common: methods / tools, EEG, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 0 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:e277c9b9f15b8da9…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
