SPLGMay 19, 2025

The role of data partitioning on the performance of EEG-based deep learning models in supervised cross-subject analysis: a preliminary study

arXiv:2505.13021v118 citationsh-index: 30Has CodeComput. Biol. Medicine
Originality Incremental advance
AI Analysis

This work addresses the issue of incomparable and overestimated performance claims in EEG deep learning research, providing guidelines to improve experimental rigor for researchers in this domain.

This paper tackled the problem of data partitioning and cross-validation in EEG-based deep learning models, finding that subject-based cross-validation strategies are crucial for reliable evaluation, with nested approaches (N-LNSO) outperforming non-nested ones in preventing data leakage and overfitting, based on comparisons of over 100,000 trained models across three classification tasks.

Deep learning is significantly advancing the analysis of electroencephalography (EEG) data by effectively discovering highly nonlinear patterns within the signals. Data partitioning and cross-validation are crucial for assessing model performance and ensuring study comparability, as they can produce varied results and data leakage due to specific signal properties (e.g., biometric). Such variability leads to incomparable studies and, increasingly, overestimated performance claims, which are detrimental to the field. Nevertheless, no comprehensive guidelines for proper data partitioning and cross-validation exist in the domain, nor is there a quantitative evaluation of their impact on model accuracy, reliability, and generalizability. To assist researchers in identifying optimal experimental strategies, this paper thoroughly investigates the role of data partitioning and cross-validation in evaluating EEG deep learning models. Five cross-validation settings are compared across three supervised cross-subject classification tasks (BCI, Parkinson's, and Alzheimer's disease detection) and four established architectures of increasing complexity (ShallowConvNet, EEGNet, DeepConvNet, and Temporal-based ResNet). The comparison of over 100,000 trained models underscores, first, the importance of using subject-based cross-validation strategies for evaluating EEG deep learning models, except when within-subject analyses are acceptable (e.g., BCI). Second, it highlights the greater reliability of nested approaches (N-LNSO) compared to non-nested counterparts, which are prone to data leakage and favor larger models overfitting to validation data. In conclusion, this work provides EEG deep learning researchers with an analysis of data partitioning and cross-validation and offers guidelines to avoid data leakage, currently undermining the domain with potentially overestimated performance claims.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes