The challenge of out-of-distribution detection in motor imagery BCIs
Merlijn Quincent Mulder, Matias Valdenegro-Toro, Andreea Ioana Sburlea, Ivo Pascal de Jong
University of Groningen
Key points
From the paper's conclusion- Our results demonstrate how to improve the overall safety and reliability of BCIs by preventing erroneous actions
Abstract
Abstract Objective Machine Learning classifiers used in Brain-Computer Interfaces make classifications based on the distribution of examples on which they were trained. When exposed to EEG from unfamiliar classes they can only make blind guesses. Instead of allowing such guesses, these Out-of-Distribution (OOD) samples should be detected and rejected to improve the robustness of BCIs against unfamiliar cognitive states. Approach We study OOD detection in Motor Imagery BCIs by training a model on some classes and observing whether an unfamiliar movement class can be detected based on increased uncertainty. We tested seven different OOD detection methods and one more method that has been claimed to boost the quality of OOD detection. Main results For many BCI users, the uncertainty for the familiar in-distribution classes can still be higher than for the out-of-distribution classes, due to the high intrinsic variability inherent in EEG signals. As a result, many OOD detection methods that have shown good performance in other machine learning domains prove to be ineffective at identifying unfamiliar motor imagery patterns in BCIs. However, we also found that OOD detection performance is correlated with on-task performance, and that Deep Ensemble models and MC-Dropout models were able to achieve on-task AUROC > 0.9, and OOD detection ability up to 0.7. This shows that for models and subjects where task performance is high, rejecting unfamiliar cognitive states becomes feasible. Significance Our research demonstrates a Leave-One-Class-Out OOD detection setup as an experimental paradigm for studying whether models are robust against unfamiliar motor imagery actions that were not seen in the training data. This is the first benchmark in Motor Imagery BCI that evaluates this type of OOD data. Our results demonstrate how to improve the overall safety and reliability of BCIs by preventing erroneous actions
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Real-world evaluation of deep learning decoders for motor imagery EEG-based BCIsFrontiers in Systems Neuroscience · 2025
- Memory-Augmented Online Test-Time Adaptation for EEG Motor Imagery via Perturbation Consistency and Confidence CalibrationarXiv · 2026
- Target-label-free cross-dataset monitoring detects failed motor-imagery BCI sessions.Journal of neural engineering · 2026
- Neural decoding for EEG-BCI: from conventional machine learning to deep learning modelsBrain Hemorrhages · 2026
- NeuroDETR: Multiscale Discrete Spatiotemporal Tokenization for Asynchronous EEG Event DetectionarXiv · 2026
- Cross-subject EEG Decoding with spatiotemporal transformers for zero-calibration brain–computer interfacesAlexandria Engineering Journal · 2026