Clinical EEG and computational neuroscience
On routine hospital EEG recordings with comorbidities, do pretrained EEG foundation models outperform classical features, and how much patient identity do they carry?
My contribution
At CHU Sainte-Justine, I built the end-to-end clinical EEG pipeline from data curation with medication and comorbidity metadata through quality control, matched age/sex/comorbidity controls, classical spectral and complexity descriptors, foundation-model adaptation (frozen, low-rank adaptation, and full fine-tuning), patient-level cross-validation, and patient-identity analyses.
Pediatric EEG collaboration
Hospitals maintain large archives of routine electroencephalography (EEG) recorded primarily for epilepsy care. In pediatric neurology, children frequently have overlapping diagnoses (for example, epilepsy alongside attention-deficit/hyperactivity disorder [ADHD] or autism spectrum disorder) and take medication. Isolating a focused clinical question, such as the effect of a single stimulant in children without comorbidities, leaves only a few dozen patients per group, and conventional EEG biomarkers of ADHD have proved unreliable even across large research-grade cohorts.
At CHU Sainte-Justine, in collaboration with Dr. Alexander G. Weil and Dr. Aristides Hadjinicolaou, I analyze 1,218 routine resting EEGs (19 electrodes, eyes open and closed) from 1,127 children aged 5 to 18, including 463 medicated children with ADHD, 617 patients without ADHD, 312 children taking methylphenidate (MPH), and 129 taking lisdexamfetamine (LDX). We focus on two comparisons: medicated children with ADHD versus children without ADHD, and children taking MPH versus children taking LDX. Both probe subtle drug-related patterns in heterogeneous clinical groups, while keeping in mind that observational associations between medication groups and EEG patterns do not by themselves establish causal drug effects.
-
1Routine hospital recordings
1,218 resting EEGs (19 channels, eyes open/closed) from 1,127 children aged 5–18, curated with medication and comorbidity metadata.
-
2Quality control & matched controls
Positive controls (eye state, age, sex), age/sex stratification, matched comorbidity filters (e.g., excluding epilepsy and autism in both groups), and confound checks.
-
3Classical features vs. foundation models
Four pretrained EEG foundation models (frozen, low-rank adaptation [LoRA], full fine-tuning) benchmarked against matched random-weight models, a cohort-trained transformer, and spectral/aperiodic/complexity features under identical preprocessing and splits.
-
4Patient-level evaluation & identity checks
Cross-validation grouped by patient (balanced accuracy against permutation chance with resampled confidence intervals) plus tests of patient-identity removal via alignment, erasure, adversarial, or contrastive objectives.
Methodological workflow for the pediatric clinical EEG evaluation; code and evaluation protocol will be released openly.
Representation evaluation and patient identity
EEG foundation models pretrained on thousands of hours of recordings may need fewer labeled patients than models trained from scratch, provided their representations reflect group-level clinical signal rather than individual patient fingerprints. Because foundation models often encode who a person is more strongly than the clinical label, naive identity-removal methods can erase patient-constant labels such as diagnosis.
We therefore quantify how much individual identity each representation encodes and test alignment, erasure, adversarial, and cross-patient contrastive objectives to reduce identity leakage while preserving shared clinical signal. Before any clinical adoption, measuring whether pretrained models beat simpler baselines under equal effort and verifying that age, sex, or epilepsy do not drive predictions also supports patient privacy and prudent clinical evaluation.
Separate adult cognitive-decline collaboration
Separately from the pediatric EEG project at CHU Sainte-Justine, I co-authored a 2025 preprint on predicting cognitive decline in adult prodromal synucleinopathies using clinical markers and machine learning to examine trajectories toward dementia with Lewy bodies and Parkinson’s disease. It involves a distinct adult population and clinical dataset, linked to the pediatric work through a shared focus on individual differences and rigorous out-of-sample evaluation.
Code & tools
Analysis repositories and reusable software behind this work.
-
Clinical EEG pipeline
eeg-analysis-adhd-epilepsy
Pipeline for routine EEG organization, quality control, classical descriptors, foundation-model embeddings, patient-level evaluation, and identity checks.
-
Supplies the unified pipeline for spectral/complexity descriptors, foundation-model representations, dimensionality reduction, and decoding.
Related papers
Full publication list-
2025
Predicting cognitive decline in prodromal synucleinopathies using clinical markers and machine learning
Research Square · Preprint
Separate adult prodromal synucleinopathy cohort (distinct population and clinical dataset from the CHU Sainte-Justine pediatric EEG collaboration).
Where this connects
Related lines of work that share methods or questions.
M/EEG representation learning
Routine pediatric EEG provides a demanding clinical testbed for comparing pretrained representations against simpler classical features.
Brain states & cognition
Spectral, aperiodic, and complexity measures form the interpretable baseline used alongside learned representations.
Related activity
Talks, posters, mentoring, funding, and updates linked to this work.