This is the official code for our KDD 2026 publication: Towards Robust EEG Decoding Based on Riemannian Self-Attention.
The implementation is based on the official code of
- MAtt: A manifold attention network for EEG decoding [Neurips 2022] [code].
We further release our preprocessed datasets.
Please download (https://drive.google.com/file/d/1ZGRzwYhGqujVeaBWKTz6GbDKUzsZYvjJ/view?usp=drive_link) data and put it in the folder './GBWAtt/data'
To train and test the experiments on the BCIC-IV-2a, MAMEM-SSVEP-II and BCI-ERN datasets, run this command:
python GBWAttBCI.py
python GBWAttMamem.py
python GBWAttBciCha.py
@article{pan2022matt,
title={MAtt: A manifold attention network for EEG decoding},
author={Pan, Yue-Ting and Chou, Jing-Lun and Wei, Chun-Shu},
journal={NeurIPS},
pages={31116--31129},
year={2022}
}