Key result
In deep learning studies of EEG, segment-based holdout significantly overestimated test-set accuracy compared to subject-based holdout (99.8% vs 53.0%) when classifying Alzheimer's disease.
Why the study?
It was unclear whether high test-set accuracy in deep neural network studies of electroencephalography reflects data leakage from subject-specific representations caused by randomly assigning segments from individual subjects to both training and test sets.
Does segment-based holdout overestimate test-set accuracy compared to subject-based holdout in deep learning models of EEG?
Does segment-based holdout overestimate test-set accuracy compared to subject-based holdout in deep learning models of EEG?
This is the authors' abstract. We don't add key points for this paper.
A growing number of studies use deep neural networks (DNNs) to identify diseases from recordings of brain activity. DNN studies of electroencephalography (EEG) typically use cross-validation to test how accurately a model can predict the disease state of held-out test data. In these studies, segments of EEG data are often randomly assigned to the training or test sets. As a consequence, data from individual subjects appears in both training and test data. Could high test-set accuracy reflect leakage from subject-specific representations, rather than patterns that identify a disease? We address this question by testing the performance of DNN classifiers using segment-based holdout (where EEG segments from one subject can appear in both the training and test sets), and comparing this to their performance using subject-based holdout (where individual subjects’ data appears exclusively in either the training set or the test set). We compare segment-based and subject-based holdout in two EEG datasets: one classifying Alzheimer’s disease, and the other classifying epileptic seizures. In both datasets, we find that performance on previously-unseen subjects is strongly overestimated when models are trained using segment-based holdout. Next, we survey the literature and find that the majority of translational DNN-EEG studies use segment-based holdout, and therefore overestimate model performance on new subjects. In a hospital or doctor’s office, clinicians need to diagnose new patients whose data was not used in training the model; segment-based holdout, therefore, does not reflect the real-world performance of a translational DNN model. When evaluating how DNNs could be used for medical diagnosis, models must be tested on subjects whose data was not included in the training set.
Segment-based holdout in deep learning EEG studies causes data leakage and severely overestimates model performance on new subjects, highlighting the critical need for subject-based holdout in translational research.
No takes yet. Share an insight, caveat, or question.
Brookshire et al. (2024) studied Alzheimer's disease and Epilepsy (Methodological evaluation of EEG deep learning) (n=112). Subject-based holdout vs. Segment-based holdout was evaluated on Test-set accuracy for Alzheimer's disease classification (p=0.002). In deep learning studies of EEG, segment-based holdout significantly overestimated test-set accuracy compared to subject-based holdout (99.8% vs 53.0%) when classifying Alzheimer's disease.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: