[Paper Review] Toward the application of XAI methods in EEG-based systems
This paper investigates whether explainable AI (XAI) methods can alleviate the dataset shift problem in EEG-based brain-computer interfaces (BCIs) by identifying consistent, relevant signal components across sessions. Using LRP, Integrated Gradients, and DeepLIFT on an emotion recognition dataset, it finds that sample-specific XAI explanations are highly effective for classification, but average relevance scores fail to generalize, indicating a need for session-aware feature selection to improve cross-session generalization in BCI systems.
An interesting case of the well-known Dataset Shift Problem is the classification of Electroencephalogram (EEG) signals in the context of Brain-Computer Interface (BCI). The non-stationarity of EEG signals can lead to poor generalisation performance in BCI classification systems used in different sessions, also from the same subject. In this paper, we start from the hypothesis that the Dataset Shift problem can be alleviated by exploiting suitable eXplainable Artificial Intelligence (XAI) methods to locate and transform the relevant characteristics of the input for the goal of classification. In particular, we focus on an experimental analysis of explanations produced by several XAI methods on an ML system trained on a typical EEG dataset for emotion recognition. Results show that many relevant components found by XAI methods are shared across the sessions and can be used to build a system able to generalise better. However, relevant components of the input signal also appear to be highly dependent on the input itself.
Motivation & Objective
- To address the cross-session dataset shift problem in EEG-based BCI systems, where signal non-stationarity degrades model generalization.
- To evaluate whether XAI methods can identify stable, relevant EEG features across different sessions to improve model robustness.
- To investigate if XAI-derived relevance scores can guide feature selection that enhances generalization beyond standard training data distributions.
- To determine whether XAI explanations are consistent across sessions or highly sample-dependent, affecting model transferability.
Proposed method
- Applied multiple XAI methods—Saliency, Guided Backpropagation, LRP, Integrated Gradients (IG), and DeepLIFT—to a pre-trained EEG-based emotion recognition model.
- Used the Mean-Ordered Relevance Flattening (MoRF) curve to evaluate the reliability of XAI explanations by measuring performance drop when removing features in order of decreasing relevance.
- Compared explanations across intra-session and inter-session data to assess consistency and generalization potential of identified features.
- Evaluated feature importance using MeRF, AOPC, and ABPC metrics to validate the discriminative power of top-ranked components.
- Constructed reduced-input signals using only the most relevant components per sample (based on XAI scores) and tested their classification performance.
- Analyzed average relevance scores across the training set to assess whether a single, shared set of features could generalize across all inputs.
Experimental results
Research questions
- RQ1Can XAI methods identify consistent, relevant EEG components across different sessions to mitigate dataset shift in BCI systems?
- RQ2How do the reliability and consistency of XAI explanations vary between intra-session and inter-session data?
- RQ3To what extent do XAI-derived feature rankings generalize across different EEG samples, especially when using average relevance scores?
- RQ4Can the most relevant components identified per sample by XAI methods maintain high classification performance when used in isolation?
- RQ5Does the use of XAI explanations improve model generalization in cross-session EEG classification compared to random or non-informed feature selection?
Key findings
- LRP, Integrated Gradients, and DeepLIFT produced more reliable and consistent XAI explanations than Saliency and Guided Backpropagation, which often failed to identify relevant EEG components.
- Surprisingly, inter-session explanations were more reliable than intra-session ones, likely due to the model being more sensitive to small input perturbations in cross-session scenarios.
- XAI methods failed to identify a single, generalizable set of relevant features across all samples when using average relevance scores during training.
- Performance dropped significantly when removing features in order of average relevance (MoRF orange curves), indicating that average relevance does not reflect actual discriminative power.
- When using only the top-relevant components per sample (based on XAI scores), classification performance remained high, showing that sample-specific explanations are highly effective.
- The overlap of MoRF, MeRF, AOPC, and ABPC curves with random baselines for average relevance suggests that such scores are not informative for feature selection, unlike sample-specific relevance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.