Impact of Temporal Window Shift on EEG-Based Machine Learning Models for Cognitive Fatigue Detection
Agnieszka Wosiak, Michał Sumiński, Katarzyna Żykwińska
Lodz University of Technology
Key points
From the paper's conclusion- In our study, we examine how the temporal window shift—the step between consecutive analysis windows—affects EEG-based cognitive fatigue detection while keeping the window length fixed.
Abstract
In our study, we examine how the temporal window shift—the step between consecutive analysis windows—affects EEG-based cognitive fatigue detection while keeping the window length fixed. Using a reference workload dataset and a pipeline that includes preprocessing and feature extraction, we vary the shift to control segment overlap and, consequently, the number and independence of training samples. We evaluate six machine-learning models (decision tree, random forest, SVM, kNN, MLP, and a transformer). Across the models, smaller shifts generally increase accuracy and F1 score, consistent with the larger sample count; however, they also reduce sample independence and can inflate performance if evaluation splits are not sufficiently stringent. Class-wise analyses reveal persistent confusion for the moderate-fatigue class, the severity of which depends on the chosen shift. We discuss the methodological trade-offs, provide practical recommendations for choosing and reporting shift parameters, and argue that temporal segmentation decisions should be treated as first-class design choices in EEG classification. Our findings highlight the need for transparent reporting of window length, shift/overlap, and subject-wise evaluation protocols to ensure reliable and reproducible results in cognitive fatigue detection. Our conclusions pertain to subject-wise generalization on the STEW dataset; cross-dataset validation is an important next step.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Cross-subject EEG driving fatigue detection: early personal spectral reference and causal long-sequence residual encoding.Frontiers in neuroscience · 2026
- An EEG-based fatigue detection framework integrating interpretable feature selection and efficient temporal modelingFrontiers in Neuroscience · 2026
- HRA-Former: Hierarchical Region-Aware Transformer with Structure-Preserving Multi-Stage Learning for EEG-Based Driver Fatigue Detection.IEEE journal of biomedical and health informatics · 2026
- MSANet: a multi-scale spatiotemporal adaptive network for EEG-based driver fatigue recognition.Frontiers in neuroscience · 2026
- Coverage collapse and deceptive calibration in EEG fatigue monitoring: a cross-dataset audit under within-session and cross-subject shift.Journal of neural engineering · 2026
- Research on the Prediction of Driver Fatigue Degree Based on EEG SignalsSensors · 2025