SCIENTIFIC HUB

Follow the evidence.

SCIENTIFIC LITERATURE · MED

Window leakage in clinical EEG machine learning: matched subject-independent evaluation across ADHD and Parkinson cohorts.

Front Neuroinform · 2026-09-29

DOI: 10.3389/fninf.2026.1930795PMID: 42871220

Check source for accessJournal ArticleOriginal source ↗

Research overview

The text below is the source article’s original abstract under a verified reuse license. cc by

Windowed electroencephalography (EEG) pipelines can produce misleadingly high performance when segments from the same participant occur in both training and testing. We define this contamination as window leakage and test it in two clinically and technically distinct public cohorts: 121 children (61 attention-deficit/hyperactivity disorder [ADHD], 60 controls) and 149 adults (100 Parkinson's disease, 49 controls). Signals were harmonized to 18 common channels and 128 Hz. All primary models used stratified 8-fold participant-disjoint evaluation, 50%-overlapping windows, participant-level probability aggregation, and validation participants drawn exclusively from each outer-training fold. A deliberately contaminated Random Forest audit contrasted random-window and participant-disjoint splitting. Random-window balanced accuracy reached 95.59% in ADHD and 92.02% in Parkinson's, but fell to 60.98% and 56.17%, respectively, when participants were held out. Thus, the inflation replicated across disorders, ages, recording tasks, and acquisition systems. Under correct evaluation, CNN-LSTM achieved the highest ADHD subject-level balanced accuracy (73.21%), whereas EEGNet achieved the highest Parkinson's balanced accuracy (63.75%). No architecture comparison remained significant after Bonferroni correction. One-, 2-, 4-, and 8-s windows produced no consistent cross-cohort ranking. Removing ATCNN-SA components also yielded dataset-dependent changes, and no ablation difference was significant after correction. Participant-bootstrap intervals remained wide despite tens of thousands of windows, indicating that inferential precision was governed by participant count rather than segment count. Window-level random splits contaminate clinical EEG performance estimates and must not be used to claim generalization to unseen individuals. Participants should be separated before model fitting, results should be reported at subject level, and split, windowing, aggregation, and uncertainty procedures should be disclosed explicitly.

Scientific assessment

01

Research question

Assess the question within the original study’s scope.

02

Methods & sample

Check the source article for study design and sample details.

03

Key findings

An editorially approved findings summary is not yet published for this record.

04

Limitations

Generalizability, bias and clinical meaning require separate assessment.

Methods, samples and clinical conclusions are not inferred from bibliographic metadata.