ERP-XTTN: interpretable prototype-guided cross-attention for cross-subject ERP classification
Open Access
- 8 September 2026
- journal article
- Published by IOP Publishing in Journal of Neural Engineering
- Vol. 23 (5) , 056010
Abstract
Objective. Interpretable brain-computer interface classifiers that generalize across subjects without calibration remain an open challenge. We evaluated whether prototype-based cross-attention can provide competitive, inherently interpretable event-related potential (ERP) classification across diverse paradigms under deployment-compatible conditions. Approach. We propose ERP-XTTN (ERP Cross-Attention), a cross-attention architecture that routes input electroencephalographic peaks to fixed difference-wave prototypes via query-key-only cross-attention with no value projection. Classification is based directly on prototype similarity and a separate measure of component amplitude, so that the prototype content contributes to every decision by construction. Prototypes are derived automatically from prominent extrema in the training-fold grand-average difference wave. We evaluated across three public sources (BNCI Horizon 2020, HRI Cursor, and ERP CORE) encompassing eight ERP components (ERN, LRP, ErrP, N170, P300, N2pc, MMN, N400). Evaluations used leave-one-subject-out (LOSO) cross-validation with causal filtering at a three-channel montage, compared against EEGNet, EEG-Deformer, ERP Prototypical Matching Net, and xDAWN with Riemannian geometry (xDAWN+RG). Main results. At three channels, the mean performance gap between the best baseline and ERP-XTTN was 0.025 area under the receiver operating characteristic curve. Prototype interventions confirmed that decisions depend on the physiological content of the prototypes rather than on the routing attention pattern alone. False positives morphologically resembled true positives more than true negatives did across all datasets, indicating classification errors are neurophysiologically explicable. Significance. ERP-XTTN generalizes across diverse ERP morphologies under causal, calibration-free conditions, while retaining competitive performance and decisions that depend directly on physiological prototype content at a three-channel montage. Unlike post-hoc explanation methods for black-box models, the basis of each decision is directly observable in the trained model itself. To our knowledge, this is the first epoch-level LOSO benchmark on ERP CORE.Keywords
All Related Versions
This publication has 26 references indexed in Scilit:
- Domain generalized feature embedded learning for calibration-free event-related potentials recognitionCognitive Neurodynamics, 2026
- Evaluating spatial normalization for SVM-based EEG decoding: A within- and between-subjects perspectiveBiomedical Signal Processing and Control, 2026
- A framework for Interpretable deep learning in cross-subject detection of event-related potentialsEngineering Applications of Artificial Intelligence, 2024
- ERP CORE: An open resource for human event-related potential researchNeuroImage, 2021
- A Feasibility Study for Validating Robot Actions Using EEG-Based Error-Related PotentialsInternational Journal of Social Robotics, 2018
- EEGNet: a compact convolutional neural network for EEG-based brain–computer interfacesJournal of Neural Engineering, 2018
- A review of classification algorithms for EEG-based brain–computer interfaces: a 10 year updateJournal of Neural Engineering, 2018
- Single-trial analysis and classification of ERP components — A tutorialNeuroImage, 2011
- Towards a Cure for BCI IlliteracyBrain Topography, 2009
- Brain–computer interfaces for communication and controlClinical Neurophysiology, 2002