What do EEG foundation models learn about children's brains?

First result: age prediction from resting EEG in 373 children

Selin Mutlu, Duke University

Working notes, last updated November 3, 2026

Figure 1. Four seconds of eyes-closed EEG from one 10-year-old in HBN (sub-NDARAM704GKZ), low-passed at 30 Hz. The rhythm in O1 and O2 is posterior alpha.

I'm interested in whether EEG foundation models learn information about brain development and autism beyond the spectral features we already measure. As a first test, I predicted age from eyes-closed resting EEG in 373 children from the Healthy Brain Network. Embeddings from pretrained LaBraM reached a nested cross-validated R² of 0.59, compared with 0.49 for standard spectral features and 0.51 for the same architecture with random weights. That corresponds to a mean absolute error of 1.69 years versus 1.85 years. Pretrained LaBraM had the higher R² in 24 of 25 test folds (corrected resampled t-test, p = .013). However, when I removed the information the standard features can explain from the embeddings, pretrained and random-weights LaBraM kept similar amounts of age information (R² 0.09 and 0.12). And when I compared LaBraM with the full power spectrum (every half-hertz from 1 to 45 Hz on all 19 channels) instead of 229 summary features, the two performed the same (R² 0.60 vs. 0.59, p = .90), and LaBraM kept no significant age information once the full spectrum was removed. So with a linear readout, LaBraM's advantage over standard features comes from the standard features summarizing away spectral detail, not from information beyond the spectrum. It is not an autism result. It is a baseline for the autism question.

1. Motivation

Many studies have looked for EEG differences in autism, but the effects that replicate in large samples tend to be small and inconsistent. Most of this work tests features defined in advance, such as power in each frequency band.

Foundation models are pretrained on large amounts of unlabeled EEG, so they could in principle capture structure that predefined features miss. Their representations are also hard to interpret, and recent work (Tang et al., 2026) suggests that much of what they encode overlaps with spectral power. Before asking whether they carry autism-related information, I wanted to check whether they carry information about children's EEG that standard features do not. Age is a reasonable first target because it has a strong, well-characterized EEG signature and is also a major confound in autism EEG studies.

This page covers the first step. The next steps are to run the same comparison with autism diagnoses (section 5) and then to use sparse autoencoders to see what the relevant embedding features correspond to.

2. Data and pipeline

HBN collected 128-channel EEG from children and adolescents aged 5 to 21. I used the resting-state task from releases 1 to 3 (405 participants with resting data, 373 after quality control). Each recording went through the same steps:

Fp1 Fp2 F7 F3 Fz F4 F8 T7 C3 Cz C4 T8 P7 P3 Pz P4 P8 O1 O2
Figure 2. The 19 standard 10-20 positions LaBraM expects (plotted with MNE). Each one is taken from the nearest electrode on HBN's 128-channel EGI net.
  1. Interpolate noisy channels, re-reference to the average, band-pass 0.5 to 75 Hz, and notch filter at 60 Hz.
  2. Take the five 40 s eyes-closed blocks and cut them into 15 s windows at 200 Hz. Reject windows with peak-to-peak amplitude above 500 µV. Participants need at least 2 clean windows.
  3. Compute three feature sets: standard features (229 values: absolute and relative band power, aperiodic offset and exponent, alpha peak frequency), pretrained LaBraM (mean token embedding from each of its 12 layers), and LaBraM with random weights (same architecture, untrained).
  4. Fit ridge regression with nested 5-fold cross-validation, repeated 5 times. The LaBraM layer is selected within each training set, so test participants do not influence that choice.
  5. Report accuracy (R²) and a robustness score adapted from Carson et al. (2024). My version compares the predictions of two models trained on different subsets, rather than their coefficients, so it applies to embeddings.

3. Results

3.1 Pretrained LaBraM predicts age more accurately

Pretrained LaBraM explained about 59% of the variance in age, compared with about 49% for standard features. Its predictions were off by 1.69 years on average, compared with 1.85 years for standard features and 2.83 years for always predicting the mean age. It also had the smallest spread across folds and the highest robustness score.

Figure 3. Nested cross-validated R² for predicting age (mean ± SD over 25 test folds, n = 373). MAE is mean absolute error in years. Robustness R reflects how well two models trained on different participants agree when predicting the same held-out participants (not computed for the combined model).
Table 1. Predicting age (n = 373), mean (SD) over 25 nested cross-validation folds.
Feature setR²MAE (years)Robustness R
Standard features0.49 (0.11)1.85 (0.16)0.41
LaBraM pretrained0.59 (0.09)1.69 (0.16)0.48
LaBraM random weights0.51 (0.07)1.91 (0.14)0.38
Standard + LaBraM pretrained0.61 (0.09)1.67 (0.16)
Predict the mean age02.83

3.2 The difference is consistent across folds

To check that the average was not driven by a few splits, I compared the feature sets fold by fold on the same test participants. Because repeated cross-validation folds overlap, the counts alone are not independent tests, so I also used the corrected resampled t-test of Nadeau & Bengio (2003), which accounts for that overlap.

Figure 4. Each box is one test fold. A filled box means the first feature set had the higher R² on that fold. The number on the right is the median difference in R².
Table 2. Paired comparisons of R² for age on the same 25 test folds. p-values are from the corrected resampled t-test, with Holm correction across the five comparisons.
ComparisonMean ΔR²Folds betterpp (Holm)
Pretrained vs. standard+0.1024 / 25.013.047
Pretrained vs. random weights+0.0923 / 25.012.047
Random weights vs. standard+0.0111 / 25.75.75
Standard + pretrained vs. standard+0.1225 / 25.003.017
Standard + pretrained vs. pretrained+0.0216 / 25.48.95

The differences are statistically reliable but modest, and they survive correction only narrowly for the two main comparisons.

3.3 The improvement depends on pretraining

The random-weights model produces embeddings of the same size as the pretrained one but performed about the same as the standard features. Every pretrained layer scored higher than every random-weights layer, and layers 2 to 4 were already close to the best, which suggests much of the age-related information is present early in the network.

Figure 5. R² for age from each layer evaluated separately. This is not nested, so the best layer is slightly optimistic. Nested selection chose layer 3 most often (7 of 25 folds). The dashed line is the standard-feature result.

3.4 LaBraM appears to contain most of the standard-feature information

To test whether LaBraM adds information beyond the standard features, or simply re-encodes them, I fit a model on both together. Combining them beat standard features alone in all 25 folds (+0.12 R², p = .017 after correction), but it did not meaningfully beat LaBraM alone (+0.02 R², 16 of 25 folds, p = .48). In other words, the standard features add little once LaBraM is included, while LaBraM adds a lot to the standard features. This fits with Tang et al. (2026), who found that foundation-model embeddings encode much of the spectrum. Nested selection most often chose layer 8 for the combined model, compared with layer 3 for LaBraM alone.

3.5 The pretraining advantage is mostly in spectral information

The combined model cannot tell whether LaBraM adds new information or just a cleaner version of the spectrum. To separate these, I removed from each embedding everything a ridge regression on the standard features could explain (fit on the training fold only) and predicted age from what was left.

Table 3. Predicting age from residualized features (n = 373, 25 nested folds). p tests whether R² is above zero, using the corrected resampled t-test.
FeaturesR² (SD)Folds above 0p
Pretrained LaBraM, standard features removed0.09 (0.06)22 / 25.024
Random-weights LaBraM, standard features removed0.12 (0.09)22 / 25.024
Standard features, pretrained LaBraM removed0.17 (0.10)25 / 25.005

Both pretrained and random-weights embeddings kept a small amount of age information after the standard features were removed, and the two did not differ (pretrained minus random: −0.03 R², 8 of 25 folds, p = .45). So the leftover signal does not depend on pretraining. It is more likely detail that any convolutional projection of the raw signal picks up and that 229 summary features miss. Since pretrained LaBraM beats random weights by about 0.09 R² overall but not on the residuals, the pretraining advantage appears to sit in the part shared with the standard features. A reasonable reading is that pretraining makes spectral information easier to read out linearly, rather than adding new kinds of information. This is close to the "better spectral estimator" explanation I wanted to rule in or out.

The third row should be read cautiously. Ridge residualization removes only part of the explainable variance, so some shared information remains in every residual. That likely explains why standard features keep R² = 0.17 after removing LaBraM even though adding them to LaBraM barely helped (section 3.4). Section 3.6 runs a more direct test.

3.6 The full spectrum matches LaBraM

The most direct test of the "better spectral reader" explanation is to give the linear model the full power spectrum instead of 229 summaries: the log power at every half-hertz from 1 to 45 Hz on all 19 channels (1,691 values per child), from the same cleaned windows. I reprocessed all 373 children for this and used the same 25 nested folds.

Table 4. Predicting age with the full power spectrum (n = 373, 25 nested folds). p-values are from the corrected resampled t-test.
FeaturesR² (SD)MAE (years)
Standard features (229)0.51 (0.11)1.82
Full spectrum (1,691)0.60 (0.07)1.70
LaBraM pretrained0.59 (0.09)1.69
Full spectrum + LaBraM pretrained0.65 (0.06)1.59
LaBraM, full spectrum removed0.04 (0.05)
Full spectrum, LaBraM removed0.33 (0.18)

The full spectrum beat the standard features in all 25 folds (+0.09 R², p = .012) and performed the same as LaBraM (LaBraM better in 10 of 25 folds, p = .90). After removing what the full spectrum explains, LaBraM's embeddings kept almost no age information (R² 0.04, 20 of 25 folds above zero, p = .14). The reverse was not true: the full spectrum kept substantial age information after removing what LaBraM explains (R² 0.33, p = .004), though incomplete ridge residualization inflates this number, as in section 3.5. Combining the two did slightly better than either alone (0.65; vs. full spectrum p = .027, vs. LaBraM p = .083), so LaBraM may add a small amount, but most of what it carries about age is already in the spectrum.

Together with section 3.5, this answers the question I started with, at least for age and a linear readout. Pretrained LaBraM looks like a good reader of the EEG spectrum. Its advantage over the usual 229 features comes from those features discarding spectral detail, and the same advantage is available without a foundation model. This matches Tang et al. (2026). Standard features scored 0.51 in this rerun rather than 0.49, from a small difference in standard-feature extraction between computing environments; the LaBraM embeddings were identical.

3.7 The difference appeared with a larger sample

With release 1 alone (123 participants), the three feature sets performed similarly, and individual recordings had a large effect on single folds. With releases 1 to 3, pretrained LaBraM improved while the other two stayed about the same. This is a reminder that results from smaller samples should be treated cautiously, and I plan to check the result again as more releases are added.

Figure 6. Same pipeline and evaluation with 123 and with 373 participants.

3.8 Known developmental changes show up in the data

Two well-established developmental changes appear in this sample: alpha peak frequency increases with age and the aperiodic exponent decreases. The LaBraM embeddings also show an age gradient without being trained on age.

Figure 7. Release 1 only (n = 123). (a) Alpha peak frequency vs. age. (b) Aperiodic exponent vs. age. (c, d) Each participant's layer-3 embedding projected onto its first two principal components, colored by age (light = 5, dark = 21). One component correlates with age in each (Spearman ρ = 0.68 pretrained, 0.55 random). These plots are descriptive. The cross-validated results in Figure 3 are the main test.

3.9 Attention and p-factor were not predicted

HBN also includes parent-reported CBCL scores. For the attention factor and the p-factor, all three feature sets had R² near zero with 362 participants (attention: −0.01, 0.00, and 0.00 for standard, pretrained, and random; p-factor: −0.02, −0.01, and 0.00). Neither standard features nor LaBraM embeddings predicted these scores from eyes-closed resting EEG. This suggests resting-state EEG may also be limited for autism-related traits, which is consistent with the literature below.

4. Prior work on autism EEG markers

In a meta-analysis of 41 resting-state studies (Neo et al., 2023), relative alpha (lower in autism) and gamma (higher) showed the clearest pooled effects. Large samples have been less encouraging: LEAP (Garcés et al., 2022, n = 411) found no group differences after correction, and ABC-CT (Webb et al., 2023) found the face-evoked N170 to be a stronger candidate than resting measures. Carson et al. (2024) showed that selecting models for reproducibility gives more stable associations, which is why robustness is reported alongside accuracy here.

Figure 8. Resting-state power in autism vs. neurotypical groups, from Neo, Foti, Keehn & Kelleher (2023). Hedges' g with 95% CIs. Black is absolute power, blue is relative power, filled markers are p < .05. The relative gamma estimate is based on two studies.

5. Next steps

For the autism question, I'm planning to use movie-watching EEG rather than resting state. HBN recorded the same participants' EEG while they watched short films, including The Present and Despicable Me. In HBN fMRI, autistic children showed lower synchrony with peers in the theory-of-mind network during a movie (Lyons et al., 2020, d = 0.93), which suggests naturalistic social stimuli may reveal differences that rest does not, and I have not yet found an EEG study that uses HBN's movie recordings in this way.

  1. Strengthen the baseline further. The full-spectrum comparison is done (section 3.6). Next are connectivity and the other feature families from Tang et al. (2026), a nonlinear model, and other foundation models, to check whether any of them carry information the spectrum does not.
  2. Process the movie EEG. Same pipeline, plus an inter-subject synchrony measure: how closely each participant's EEG follows the group response to the same moment in the film.
  3. Obtain diagnostic labels. HBN's clinician diagnoses, IQ, and trait measures require a data use agreement signed by a faculty sponsor.
  4. Test autism with the same procedure. Nested cross-validation, identical held-out participants for every feature set, age, sex, IQ, site, and epilepsy as covariates, and robustness reported alongside accuracy.

I would appreciate input on two questions: whether the movie-watching direction fits what COMET has seen with stimulus-driven EEG, and whether there is a path to the HBN data agreement or to testing results in a preschool cohort.

6. Limitations

References

  1. Jiang, Zhao & Lu (2024). Large Brain Model for learning generic representations with tremendous EEG data in BCI. ICLR.
  2. Shirazi et al. (2024). HBN-EEG: the FAIR implementation of the Healthy Brain Network EEG dataset. bioRxiv.
  3. Carson, Major, Akkineni, Fung, Peters, Carpenter, Dawson & Carlson (2024). Model selection to achieve reproducible associations between resting state EEG features and autism. Scientific Reports.
  4. Nadeau & Bengio (2003). Inference for the generalization error. Machine Learning.
  5. Tang et al. (2026). What do EEG foundation models capture from human brain signals? arXiv.
  6. Neo, Foti, Keehn & Kelleher (2023). Resting-state EEG power differences in autism spectrum disorder: a systematic review and meta-analysis. Translational Psychiatry.
  7. Garcés et al. (2022). Resting state EEG power spectrum and functional connectivity in autism. Molecular Autism.
  8. Webb et al. (2023). The Autism Biomarkers Consortium for Clinical Trials: initial evaluation of a battery of candidate EEG biomarkers. American Journal of Psychiatry.
  9. Lyons et al. (2020). Examining the relationship between social cognition and neural synchrony during movies in children with and without autism. bioRxiv.