Toward Adaptive BCIs: Enhancing Decoding Stability via User State-Aware EEG Filtering
Yeon-Woo Choi, Hye-Bin Shin, Dan Li · 2025
Read Toward Adaptive BCIs: Enhancing Decoding Stability via User State-Aware EEG Filtering by Yeon-Woo Choi, Hye-Bin Shin, Dan Li (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2511-07891.txt.
Introduction
Yeon-Woo Choi, Hye-Bin Shin, and Dan Li filter brain signals by the user state of mind before decoding them. Brain interfaces decay when attention wanders, states drift, or artifacts intrude. A decoder that treats every second of signal as equally good inherits all that noise.
Their method estimates mental state, such as focus or distraction, straight from EEG features. Segments are weighted by estimated attention, holding back unreliable stretches before decoding. Staying stable over long sessions is the target. Filtering that respects human fluctuation could keep assistive interfaces working through a real day, not just a fresh lab morning.
Catalog record
| CREATOR | Yeon-Woo Choi, Hye-Bin Shin, Dan Li |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 16 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2511-07891
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Toward Adaptive BCIs: Enhancing Decoding Stability via User State-Aware EEG Filtering Thanks: This work was partly supported by Institute of Information & Communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No. RS-2019-II190079, Artificial Intelligence Graduate School Program (Korea University) and No. RS-2021-II-212068, Artificial Intelligence Innovation Hub). Yeon-Woo Choi, Hye-Bin Shin, Dan Li Abstract Brain-computer interfaces (BCIs) often suffer from limited robustness and poor long-term adaptability. Model performance rapidly degrades when user attention fluctuates, brain states shift over time, or irregular artifacts appear during interaction. To mitigate these issues, we introduce a user state-aware electroencephalogram (EEG) filtering framework that refines neural representations before decoding user intentions. The proposed method continuously estimates the user’s cognitive state (e.g., focus or distraction) from EEG features and filters unreliable segments by applying adaptive weighting based on the estimated attention level. This filtering stage suppresses noisy or out-of-focus epochs, thereby reducing distributional drift and improving the consistency of subsequent decoding. Experiments on multiple EEG datasets that emulate real BCI scenarios demonstrate that the proposed state-aware filtering enhances classification accuracy and stability across different user states and sessions compared with conventional preprocessing pipelines. These findings highlight that leveraging brain-derived state information—even without additional user labels—can substantially improve the reliability of practical EEG-based BCIs. I INTRODUCTION Brain–computer interfaces (BCIs) are designed to bridge human brain and machine execution, enabling seamless interaction between users and computational systems [ 1 ] . For such systems to be practically viable, they should be capable of accurately decoding user intentions and maintaining stable performance over time. However, BCIs continue to face persistent obstacles that limit their long-term adaptability [ 2 ] . A critical issue stems from the dynamic and non-stationary nature of human users. The user’s mental and physiological states naturally fluctuate over time, which alters data distributions and introduces outlier samples or transient noise into the data stream [ 3 ] . This compromises feature representations and degrades decoding reliability. Even well-trained models can experience severe degradation when these internal user states shift. In practice, prior studies across various modalities—including ambient environment, hand-drawn trajectories, and cognitive states—have emphasized the importance of identifying data consistency or leveraging it for model training [ 6 , 7 , 5 , 4 , 8 ] . In particular, adapting to changing outdoor conditions is crucial [ 9 ] , as environmental variations—such as illumination, weather, or background dynamics—and internal fluctuations in user attention or cognitive engagement can significantly influence signal patterns and model performance [ 10 ] . To address this issue, researchers have increasingly turned toward brain-derived user-state monitoring as a means of contextual adaptation. Various studies have demonstrated that neurophysiological signals such as electroencephalogram (EEG) can be used to infer user states including emotion, concentration, mental workload, and alertness [ 11 , 12 , 13 , 14 , 15 , 17 , 16 ] . Beyond short-term fluctuations in cognitive states, EEG has also been utilized to identify more persistent neurological conditions or disease-related patterns. For example, Prabhakar et al. [ 18 ] developed an EEG-based schizophrenia classification framework using nature-inspired optimization techniques to extract discriminative neural features, showing that EEG carries rich information about underlying neural and cognitive states. Moreover, strong correlations have been observed between such user states and the controllability or accuracy of BCIs, emphasizing that user attention is a key determinant of decoding performance [ 19 , 20 , 21 ] . Several methods have attempted to exploit this relationship by modulating the decoder output—for example, adjusting classifier thresholds or control gains according to estimated attention or fatigue indices [ 22 , 23 ] . While these approaches have proven useful for stabilizing system output, they generally operate at the decision level, leaving the underlying representation of neural data unchanged. In this work, we take a different approach and propose a user state-aware EEG filtering framework that directly enhances the quality of neural features before decoding. The key idea is to estimate the user’s cognitive engagement level from EEG signals and selectively retain EEG segments that correspond to attentive mental states. EEG signals associated with transient distraction are discarded, whereas highly focused epochs are preserved to guide more reliable decoding. Moreover, beyond data-level filtering, various deep learning architectures have been developed to achieve robust decoding under noisy, non-stationary, and context-dependent conditions [ 24 , 25 ] . In particular, the first attempt to achieve adaptive learning at the model level was introduced by Bengio et al. [ 26 ] , where training samples were re-weighted based on their sample-wise loss values, effectively filtering out unreliable samples at each iteration. This hierarchical adaptation, encompassing both signal- and model-level filtering, establishes a foundation for stable decoding under real-world, non-stationary EEG dynamics. Fig. 1: Illustration of the user state-based binary masking process for robust decoding against state fluctuations. Energy from attention-related frequency bands is extracted from EEG signals and mapped to feature space to generate masks, which are then applied to the existing training dataset for refinement. II METHODS II-A Overview The proposed framework combines user-state estimation and adaptive sample selection to stabilize EEG decoding. Alpha–Theta spectral ratios are used to identify and remove distracted EEG segments, yielding attention-consistent training data, as shown in Fig. 1. During training, sample-wise loss filtering further suppresses unstable or high-loss trials, enabling gradual adaptation to more complex data. Together, these dual-stage filtering mechanisms enhance decoding robustness and cross-session generalization across backbone models. II-B EEG Preprocessing and Feature Extraction EEG signals were band-pass filtered between 1–40 Hz using a fourth-order Butterworth filter and down-sampled to 250 Hz. Each trial was segmented into 2 s non-overlapping windows and standardized per channel. Spectral features were obtained by computing the power spectral density (PSD) in canonical frequency bands. These band powers served as input features for both user-state estimation and subsequent classification. II-C State–Aware Filtering EEG rhythms in the Alpha (8–13 Hz) and Theta (4–8 Hz) bands are closely associated with user attention levels: elevated Alpha power reflects reduced engagement, whereas enhanced Theta power indicates sustained concentration [ 19 , 21 ] . To quantify this relationship, we compute the Alpha–Theta ratio (ATr) by estimating the spectral power in each frequency band via fast Fourier transform (FFT), which has been widely used for analyzing EEG signals [ 27 ] . To quantify attentional variation, we compute an attention index for each trial as: ATr_{i}=\frac{E_{\alpha}(i)}{E_{\theta}(i)}, (1) where E_{\alpha} and E_{\theta} denote band-specific spectral energies obtained through FFT analysis. Samples with abnormally high ATr values, corresponding to strong distraction or transient artifacts, are identified using Tukey’s outlier criterion: M(s_{i})=\begin{cases}1,&s_{i}\leq Q_{3}+k(Q_{3}-Q_{1}),\\ 0,&\text{otherwise.}\end{cases} (2) Here, Q_{1} and Q_{3} represent the quartiles of the ATr distribution, s_{i} denotes the i -th trial’s attention ratio value derived from the corresponding EEG segment, and k is a subject-specific threshold. To ensure optimal subject-specific sensitivity, the value of k was fine-tuned individually for each participant during the training phase. Specifically, classification performance was evaluated across a predefined range of k values, and the parameter yielding the highest accuracy was retained for that subject. The selected k was then consistently applied to subsequent sessions to maintain cross-session comparability. Once the optimal threshold was determined, the corresponding mask M(s_{i}) was applied to exclude segments