Rybar, Milan and Daly, Ian and Poli, Riccardo (2020) Potential pitfalls of widely used implementations of common spatial patterns. In: 2020 42nd Annual International Conference of the IEE Engineering in Medicine and Biology Society (EMBC) in conjunction with the 43rd Annual Conference of the Canadian Medical and Biological Engineering Society, 2020-07-20 - 2020-07-24, Montreal, QC, Canada.
Rybar, Milan and Daly, Ian and Poli, Riccardo (2020) Potential pitfalls of widely used implementations of common spatial patterns. In: 2020 42nd Annual International Conference of the IEE Engineering in Medicine and Biology Society (EMBC) in conjunction with the 43rd Annual Conference of the Canadian Medical and Biological Engineering Society, 2020-07-20 - 2020-07-24, Montreal, QC, Canada.
Rybar, Milan and Daly, Ian and Poli, Riccardo (2020) Potential pitfalls of widely used implementations of common spatial patterns. In: 2020 42nd Annual International Conference of the IEE Engineering in Medicine and Biology Society (EMBC) in conjunction with the 43rd Annual Conference of the Canadian Medical and Biological Engineering Society, 2020-07-20 - 2020-07-24, Montreal, QC, Canada.
Abstract
We have uncovered serious flaws in handling EEG signals with a decreased rank in implementations of the common spatial patterns (CSP). The CSP algorithm assumes covariance matrices of the signal to have full rank. However, preprocessing techniques, such as artifact removal using independent component analysis, may decrease the rank of the signal, leading to potential errors in the CSP decomposition. We inspect what could go wrong when CSP implementations do not take this into consideration on a binary motor imagery classification task. We review CSP implementations in open-source toolboxes for EEG signal analysis (FieldTrip, BBCI Toolbox, BioSig, EEGLAB, BCILAB, and MNE). We show that unprotected implementations decreased mean classification accuracy by up to 32%, with spatial filters resulting in complex numbers, for which corresponding spatial patterns do not have a clear interpretation. We encourage researchers to check their implementations and analysis pipelines.
| Item Type: | Conference or Workshop Item (Paper) |
|---|---|
| Uncontrolled Keywords: | Eigenvalues and eigenfunctions, Electroencephalography, Covariance matrices, Matlab, Principal component analysis, Pipelines, Integrated circuits |
| Divisions: | Faculty of Science and Health Faculty of Science and Health > Computer Science and Electronic Engineering, School of |
| SWORD Depositor: | Unnamed user with email elements@essex.ac.uk |
| Depositing User: | Unnamed user with email elements@essex.ac.uk |
| Date Deposited: | 24 Aug 2026 14:20 |
| Last Modified: | 24 Aug 2026 14:20 |
| URI: | http://repository.essex.ac.uk/id/eprint/36357 |
Available files
Filename: Potential pitfalls of widely used implementations of common spatial patterns.pdf