Layer-Selected Readout Interfaces Enable Cross-Dataset Transfer in EEG Foundation Models
Summary:This study separates layer-selection effects from downstream readout quality in EEG foundation models. Across five models and three tasks, improving the final-layer readout recovered substantial predictive performance, yet intermediate layers remained advantageous when the backbone was frozen. Results across five dataset pairs and four task families further show that layers selected on a source dataset can remain useful on a target dataset without exhaustive layer search on the target side. For
Core Finding: Layer Depth Must Be Evaluated Separately from Readout Quality
This work addresses a recurring observation in frozen EEG foundation models: representations from intermediate layers can sometimes serve as better downstream prediction interfaces than the final layer. Rather than attributing the effect directly to intrinsically superior representations, the study separates three questions: whether the readout itself is sufficiently optimized, whether intermediate layers retain value after controlling for final-layer readout quality, and whether layer selection transfers across datasets.
Across five models and three tasks, improving the final-layer readout recovered substantial predictive performance, but intermediate layers remained advantageous under frozen feature extraction. This indicates that some previously reported layer differences may have been caused by weak readout optimization rather than by a complete loss of task-relevant information in the final layer.
The transfer analysis covers five dataset pairs and four task families. Layers selected on a source dataset retained predictive utility on the target dataset and outperformed target-side final-layer baselines. In sleep staging, a compact set of source-derived task directions also retained predictive value after transfer. These results support the existence of reusable, task-relevant depth structure inside pretrained EEG models.
Mechanism: Pretraining Misalignment and Task-Specific Subspaces
Let hℓ(x) ∈ ℝᵈˡ denote the output of layer ℓ in a frozen backbone, and let gℓ denote the downstream predictor. A unified objective can be expressed as minθ E[L(gθ(hℓ(x)), y)] + λR(θ). This formulation does not imply that the paper used only a linear classifier; it illustrates why layer comparisons must control readout capacity, normalization, and optimization budget.
A foundation model's final layer is usually optimized for a pretraining objective such as reconstruction, masked prediction, or self-supervised contrastive learning. It is not guaranteed to align with downstream targets such as sleep staging. Intermediate layers may retain more general temporal, spectral, cross-channel, or spatial structure that is compressed or specialized during pretraining.
A weak readout can also create an artificial depth effect. If a higher-dimensional or differently distributed layer is evaluated with an under-tuned predictor, the final layer may appear inferior for reasons unrelated to representation quality. Improving the final-layer readout before comparing layers reduces this confound.
The source-derived task directions may be interpreted as a task-relevant subspace, but the abstract does not specify their dimensionality, optimization method, or orthogonality. The defensible claim is therefore limited: a small set of source-domain directions retained predictive signal in transfer to sleep staging, rather than that arbitrary principal components would necessarily work.
Engineering Trade-offs: Less Target-Side Search, but Not Zero Cost
The immediate benefit is a frozen backbone. Developers can select a layer on source data, fit a lightweight readout, and reuse the same interface on the target dataset without scanning every layer or fine-tuning the full EEG foundation model. This reduces optimizer-state memory, training compute, and the repeated cost of fitting downstream probes.
The cost is that layer search still has to happen on the source side. If layer ℓ produces Nℓ scalar features per sample, caching all candidate layers requires approximately M × ΣℓNℓ × bytes, where M is the number of samples. EEG representations often retain both channel and temporal dimensions, making all-layer caches potentially larger than the forward-pass output itself. Layer-wise caching, coarse candidate screening, PCA, or random projection can reduce storage, but their effect on the reported transfer performance requires independent evaluation.
Cross-dataset transfer also introduces a negative-transfer risk. Electrode layouts, sampling rates, preprocessing pipelines, missing channels, participant populations, and annotation standards can all change the information encoded at a particular depth. A source-selected layer may outperform the final layer on average while failing for a target cohort. Target-side validation should therefore remain part of deployment even if exhaustive layer search is eliminated.
Evaluation Evidence and Limitations
A key strength is the separation of readout control from depth comparison. Per-layer probing on a single dataset can conflate layer depth with probe capacity, feature normalization, and leakage. Results across five dataset pairs provide a more realistic test of reusable interfaces.
The available abstract does not report absolute accuracy, macro-average metrics, effect sizes, random-seed variance, confidence intervals, model identities, dataset names, subject-level split procedures, or the exact readout configuration. It states only that stronger final-layer readout recovers substantial performance and that intermediate layers remain advantageous. It is therefore not possible to determine whether the gains are stable across tasks, concentrated in a few datasets, or large enough for clinical use.
There is also a potential layer-selection bias if validation and test feedback are repeatedly used to choose layers. A rigorous reproduction should use nested cross-validation, fit normalization and layer selection inside the training folds, and isolate test data by participant or session. All candidate layers should receive equal probe-capacity and hyperparameter budgets, with per-dataset, per-task, and worst-cohort results reported alongside aggregate scores.
Deployment Guidance
- Build a fair baseline. Use the same readout family for the final layer and candidate intermediate layers, tuning learning rate, regularization, and normalization separately for each.
- Keep selection inside the source domain. Select layers using source training and validation folds only. For multi-participant EEG, split by participant or session to prevent session leakage.
- Control cache cost. Screen a small number of layers with lightweight probes before retaining full features. Avoid assuming that all channel-by-time layer representations can be held in memory indefinitely.
- Audit target-domain drift. Compare the source-selected layer, a properly tuned final layer, and a small target-side candidate set. Break results down by device, channel-missingness pattern, and participant group.
- Keep a fallback path. If the transferred layer does not beat the final-layer baseline on a target cohort, fall back to the equally tuned final-layer interface instead of assuming transfer always wins.
- Ablate the task directions. For sleep staging, report direction count, dimensionality, solver, and random-direction controls to distinguish a genuine task subspace from a generic dimensionality-reduction effect.
Bottom Line
The contribution is not a new EEG backbone, but a stronger interface-selection strategy: after fair readout tuning, intermediate layers can retain predictive value, and layers selected on source data can be reused across datasets. For brain-computer-interface and clinical EEG teams, this can reduce target-side search when target labels are scarce. The actual engineering benefit still depends on absolute performance, subject-level robustness, and independent replication.
— END —Source: ArXiv Machine Learning (cs.LG) (2026-11-25)
Tags: #EEG Foundation Models #Intermediate-Layer Features #Cross-Dataset Transfer #Sleep Staging #Representation Readout
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments