CLEF: EEG Foundation Models for Learning Clinical Semantics
Peng Cao, Ali Mirzazadeh, Jong Woo Lee, Aleksandar Videnovic, Dina Katabi
NeurIPS 2026
TL;DR. We propose CLEF, a clinically grounded EEG foundation model that learns session-scale EEG representations aligned with neurologist reports and EHR data, substantially improving performance across 234 real-world clinical EEG tasks.
Abstract. Clinical EEG interpretation requires reasoning over full EEG sessions and integrating signal patterns with clinical context. Existing EEG foundation models are largely designed for short-window decoding and do not incorporate clinical context. We introduce CLEF, a clinically grounded long-context EEG foundation model. CLEF represents EEG sessions as 3D multitaper spectrogram tokens, enabling tractable Transformer modeling at session scale, and aligns embeddings with neurologist reports and structured EHR data through contrastive objectives. We evaluate CLEF on a new 234-task benchmark spanning disease phenotypes, medication exposures, and EEG findings, with more than 260k EEG sessions from over 108k patients. CLEF outperforms prior EEG foundation models on 227 of 234 tasks, improving mean AUROC from 0.65 to 0.74. Reconstruction-only pretraining surpasses prior EEG foundation models, while report and EHR alignment yields further gains. Held-out concept and external-cohort experiments suggest that these representations transfer beyond observed alignment targets. These results support session-scale, clinically grounded representation learning as a promising foundation-model paradigm for clinical EEG. The project page is available at https://clef.csail.mit.edu/.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper has a clear clinical motivation and a substantial empirical contribution. CLEF moves EEG foundation modeling from short-window decoding toward full-session clinical representation learning, and the scale of the 234-task benchmark makes the evaluation particularly valuable.
The rebuttal addresses the main concerns in a somewhat thoughtful and convincing way. The added nuisance-matched evaluation, metadata-only baseline, concept-level holdout analysis, task grouping, and pooling comparison provide stronger evidence that the gains are not driven primarily by protocol shortcuts, direct concept leakage, or an unfair baseline construction.
Some limitations remain, including possible unmeasured confounding, limited novelty of the individual learning objectives, montage generalization, and precise event localization. However, the authors acknowledge these limitations and substantially improve the positioning and evidence during rebuttal. The discussion also became more positive, with two assessments moving to Accept. Overall, I view the remaining issues as useful directions for future work rather than fundamental obstacles, which supports the original Accept judgment.
Final justification
My meta review has already included the updated justification.
- Final justification
- My meta review has already included the updated justification.
Read meta-review
Meta-review
The paper has a clear clinical motivation and a substantial empirical contribution. CLEF moves EEG foundation modeling from short-window decoding toward full-session clinical representation learning, and the scale of the 234-task benchmark makes the evaluation particularly valuable.
The rebuttal addresses the main concerns in a somewhat thoughtful and convincing way. The added nuisance-matched evaluation, metadata-only baseline, concept-level holdout analysis, task grouping, and pooling comparison provide stronger evidence that the gains are not driven primarily by protocol shortcuts, direct concept leakage, or an unfair baseline construction.
Some limitations remain, including possible unmeasured confounding, limited novelty of the individual learning objectives, montage generalization, and precise event localization. However, the authors acknowledge these limitations and substantially improve the positioning and evidence during rebuttal. The discussion also became more positive, with two assessments moving to Accept. Overall, I view the remaining issues as useful directions for future work rather than fundamental obstacles, which supports the original Accept judgment.
1 comment
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
CLEF introduces a clinically grounded long-context EEG foundation model that takes 20-minute EEG as 3D multitaper spectrogram tokens, enabling tractable Transformer modeling at session scale. By aligning the patient level embedding with report and EHR, this framework improves the models performance across multiple downstream tasks and backbones. The paper propose a 234-task benchmark spanning disease phenotypes, medications and EEG features, where CLEF improves performance over prior EEG foundation models across most tasks.
Strengths and weaknesses
Strengths:
- The paper presents a clinically motivated formulation of EEG foundation modeling, moving beyond short-window BCI-style decoding toward patient-level clinical representation learning from full EEG sessions.
- The framework is evaluated broadly across multiple EEG foundation-model baselines, a large 234-task clinical benchmark, external cohorts, model scales, and data scales.
- The proposed QA-consistency pipeline for selecting the report-summarization prompt is a useful and practical contribution. It provides a systematic way to standardize free-text EEG reports while attempting to preserve clinically salient electrographic information.
- The inter-channel-emphasized reconstruction loss, addresses a limitation of naive spectrogram reconstruction, where common-mode activity may dominate the loss while clinically important inter-channel differences, such as focal or lateralized abnormalities, are underweighted.
- The structured EHR codebook design is also reasonable. Instead of serializing EHR records into arbitrary text, the method treats demographics, diagnoses, and medications as structured sets of discrete codes, which better matches the semantics of EHR data and avoids unnecessary dependence on code ordering or subword tokenization.
Weaknesses:
- The claim around 20-minute clinical EEG context should be toned down. Long-context modeling is clearly useful for clinical EEG, but 20 minutes is not universally sufficient. Brain states can transition rapidly, and transient events such as seizures, arousals, medication effects, or state changes may be diluted when represented by a single session-level embedding. Conversely, for sleep architecture, ICU monitoring, or multi-day continuous EEG, 20 minutes may still be too short.
- The separation between pretraining and downstream evaluation is not fully convincing. Although the authors use patient-disjoint splits and freeze the encoder during probing, both pretraining and the 234-task benchmark are derived from HEEDB. Moreover, the model is explicitly aligned with HEEDB reports and EHR codes during pretraining, while many downstream labels are also derived from HEEDB EHR or reports.
- The model is largely built around a fixed 19-channel clinical EEG montage. Although the authors report robustness to reduced channel subsets, the core tokenizer and spectrogram representation assume a standardized montage.
- Limited reproducibility. No anonymized assets or URL were provided.
Questions
- Many of the 234 clinical tasks may be highly correlated through shared disease severity, medications, ICU status, or documentation patterns. Could the authors report performance after grouping correlated labels or controlling for major confounders, and clarify which CLEF components contribute most to each task group?
- Since prior EEG foundation models were mainly designed for short-window decoding, are they disadvantaged by the sliding-window mean-pooling protocol? Would stronger long-context baselines without clinical alignment or hierarchical temporal pooling models, reduce the reported gap?
- CLEF compresses each session into a single patient-level embedding. Does this embedding preserve temporally localized abnormalities, or mainly capture global clinical state? How would CLEF perform on tasks requiring precise event localization or state-transition timing?
- CLEF is anchored to a standardized 19-channel montage. Although reduced-channel robustness is reported, how would the model handle non-standard montages, such as 4-channel EEG, bipolar derivations, neonatal EEG, or site-specific electrode layouts?
Limitations
yes
Final justification
The rebuttal convincingly addresses my concerns: holdout analysis rules out label leakage, task grouping confirms robustness, and attention pooling shows the performance gap is not a pooling artifact. The authors commit to explicitly stating key limitations in the revision. I raise my score from 4 to 5.
Formatting concerns
Limited reproducibility. No anonymized assets or URL were provided.
3 comments
Rebuttal
We thank the reviewer for the careful and constructive evaluation and for recognizing CLEF’s clinical motivation, broad evaluation, QA-consistency pipeline, inter-channel-emphasized reconstruction loss, and structured EHR design. We address each concern below.
Context Window Length (W1)
We agree and will narrow this claim. The 20-minute context is a clinically motivated operating point, consistent with the ACNS minimum-duration recommendation for routine EEG, rather than a universally optimal horizon. Table 17 shows that performance improves with longer recordings and degrades gracefully with shorter inputs. CLEF’s 5-second spectrogram windows preserve short-timescale structure, while the session encoder aggregates information across the 20-minute recording. However, we do not claim validated event localization or adequacy for sleep architecture or multi-hour or multi-day continuous EEG. We will revise the text to describe 20 minutes as a clinically relevant extension beyond short-window modeling and identify longer-horizon hierarchical modeling as future work.
Separation Between Pretraining and Downstream Tasks (W2)
Our evaluation is not limited to HEEDB. We evaluated CLEF on external datasets not used for training, TUAB, TUEP, and HSP, which differ from HEEDB in institution, montage, and labels. Table 2 shows that CLEF outperforms the baselines even though some baselines used TUAB and TUEP during pretraining.
To further separate pretraining from downstream evaluation, in Section 4.4 we randomly selected 45 holdout tasks from the original 234 and removed their direct and near-direct concepts from clinical-alignment supervision. For reports, we removed the target term, lexical variants, abbreviations, and curated synonyms. Within medications, we also removed generic, active-ingredient, and brand names. For structured EHR data, we removed codes directly mapping to the target and prespecified ontology-local codes representing the same or a near-equivalent concept.
We then reran the alignment stage with the filtered supervision. Across the 45 tasks, mean AUROC was 0.744 with the concepts included, and 0.748 with them held out, compared with 0.666 for the oracle best baseline per task (which selects for each task the best performance across baselines). Thus, removing direct and near-direct target supervision caused no measurable performance degradation.
We also evaluated subsets of held-out tasks with low conditional co-occurrence with any pretraining concept, based on conditional probability $P(t=1 \mid c=1) $ for task and pretraining concept . CLEF maintained its gains, as shown below.
| Hold-out subset | # Tasks | Oracle best baseline | CLEF (no holdout) | CLEF (holdout) |
|---|---|---|---|---|
| All held-out tasks | 45 | 0.666 | 0.744 | 0.748 |
| Held-out tasks with no retained concepts where | 20 | 0.650 | 0.739 | 0.742 |
| Held-out tasks with no retained concepts where | 17 | 0.659 | 0.740 | 0.749 |
CLEF’s gains are therefore not explained by label leakage between pretraining and evaluation. Instead, the results suggest that alignment across diverse clinical concepts teaches reusable, foundational EEG features rather than a separate lookup for each supervised concept.
Finally, pretraining with semantically related supervision is an intended mechanism, not evaluation leakage. CLIP (Radford et al.) and BiomedCLIP (Zhang et al.) learn visual features from captions containing downstream concepts; CSFM (Gu et al.) pretrains on ECG and PPG signals paired with clinical or machine-generated reports; and NeuroLM (Jiang et al.) uses language-based multitask supervision. CLEF follows the same convention by steering the signal encoder toward clinically relevant features. Our additional analysis further shows that its benefit is not limited to tasks with identifiable related concepts in the alignment data.
Non-Standard montage (W3,Q4)
The paper evaluates robustness to reduced channel availability within the canonical 10–20 layout: Table 16 reports results for 1-, 3-, 6-, 12-, and 19-channel subsets, including a 3-channel PSG-style configuration. CLEF is trained with channel masking and imputation, and it also performs strongly on the external six-channel HSP cohort. These results support robustness to missing or reduced channels within the standardized layout. We agree, however, that they do not establish robustness to fundamentally different configurations, such as bipolar derivations, neonatal montages, or site-specific non-canonical layouts. We will state this limitation explicitly and identify montage-aware spatial encoding as future work.
Reproducibility (W4)
Comprehensive implementation and training details are provided in Appendix C, and we also commit to releasing the code and model upon acceptance to facilitate independent replication and downstream research.
Task Correlation and Grouping (Q1)
As suggested, we analyzed label correlation and task grouping. Pairwise phi correlation between the 234 tasks is low overall (median 0.010): of the 27,261 label pairs, only 149 (0.55%) exceed || = 0.3, 53 (0.19%) exceed 0.5, and 24 (0.09%) exceed 0.7. Collapsing every family linked at || ≥ 0.5 yields 198 families. Macro-averaging over these families (averaging within each family, then across families) changes little relative to the flat average over all 234 tasks: 0.657 / 0.670 / 0.736 vs. 0.658 / 0.671 / 0.737 for the per-task best baseline, CLEF (Recon-only), and CLEF (Full), respectively. A PCA of the correlation matrix confirms no dominant axis: the three leading components explain only 3.7%, 2.5%, and 2.0% of label variance, and none beyond the tenth reaches 1%. Clustering the 234 tasks on their leading 25 principal-component coordinates (k-means, k = 10) and naming each cluster clinically yields groups that cut across our original feature/disease/medication taxonomy (e.g., antiseizure medications cluster with epileptiform activity and epilepsy diagnoses).
| Correlation-derived Task Group | # Tasks | Best base. | CLEF Recon only | CLEF Full | Full - Recon | Full - Best base. | Align share |
|---|---|---|---|---|---|---|---|
| Normal background & sleep architecture | 8 | 0.740 | 0.760 | 0.832 | +0.072 | +0.093 | 78% |
| Sedation & post-arrest critical care | 32 | 0.740 | 0.763 | 0.804 | +0.042 | +0.064 | 65% |
| Epilepsy, epileptiform EEG & neurodevelopmental | 32 | 0.667 | 0.685 | 0.777 | +0.093 | +0.110 | 84% |
| Sedative, analgesic & psychotropic exposure | 16 | 0.659 | 0.685 | 0.762 | +0.077 | +0.103 | 75% |
| Systemic infection, hepatic failure & hematologic | 33 | 0.669 | 0.673 | 0.736 | +0.063 | +0.067 | 94% |
| Structural brain disease & neurosurgical care | 21 | 0.648 | 0.650 | 0.729 | +0.079 | +0.081 | 98% |
| Substance use disorders | 16 | 0.601 | 0.621 | 0.706 | +0.084 | +0.104 | 81% |
| Neurodegenerative & cognitive | 17 | 0.620 | 0.642 | 0.701 | +0.059 | +0.081 | 73% |
| Cardio-renal & cerebrovascular | 29 | 0.635 | 0.641 | 0.685 | +0.044 | +0.050 | 88% |
| Psychiatric & psychotropic maintenance | 30 | 0.609 | 0.611 | 0.680 | +0.070 | +0.071 | 98% |
| Flat-Mean | 234 | 0.658 | 0.671 | 0.737 | +0.066 | +0.079 | 84% |
| Macro-average | 10 | 0.659 | 0.673 | 0.741 | +0.068 | +0.082 | 83% |
Across every group, Stage II alignment contributes the majority of CLEF's improvement over the best prior model, accounting for 65–98% of the total gain. Its relative contribution is largest for structural brain disease/neurosurgical care and for psychiatric disorders/psychotropic maintenance (both 98%), consistent with these labels having heterogeneous, subtle, or nonspecific EEG signatures that benefit from the clinical context in reports and EHRs, and smallest for sedation and post-arrest critical care (65%), where characteristic patterns are directly visible in the EEG and already captured by Stage I reconstruction.
Baseline Fairness / Pooling (Q2)
We agree that mean-pooling could disadvantage short-window baselines, and we tested this by replacing mean-pooling with attention pooling. We ran this comparison with LaBraM because it is a strong baseline without text alignment, and its longer operating window (15s) limits the number of segments per 20-minute session, making attention-pooling training feasible within the rebuttal period. Due to time constraints, we conducted the comparison on the 45-task set used in our holdout experiments.
| Task category | Tasks | LaBraM: mean pooling | LaBraM: attentional pooling | CLEF |
|---|---|---|---|---|
| Overall | 45 | 0.657 | 0.656 | 0.744 |
| EEG features | 4 | 0.723 | 0.737 | 0.836 |
| Diseases | 20 | 0.663 | 0.662 | 0.737 |
| Medications | 21 | 0.640 | 0.635 | 0.733 |
LaBraM's performance remained essentially unchanged, 0.657 AUROC with mean pooling and 0.656 with attention pooling, while CLEF reached 0.744 on the same tasks, retaining an 8.8-point advantage. This indicates that the gap is not simply that mean pooling fails to identify informative windows; rather, short-window models have not learned representations of the long-term structure and dependencies across a session, which a more expressive pooling head alone cannot recover.
Temporally Localized Tasks (Q3)
CLEF’s patient-level embedding is designed to summarize the clinical state of an entire session, rather than recover exact event timing or localize abnormalities to specific segments; we will clarify this limitation in the revision. Nevertheless, the embedding retains compressed evidence of temporally localized phenomena, achieving a mean AUROC of 0.833 across EEG-feature tasks, including generalized periodic discharges (0.851), epileptiform activity (0.844), lateralized periodic discharges (0.840), and focal slowing (0.792). These results show that CLEF can capture the presence of localized-event-based abnormalities, but supporting precise event localization and state-transition timing is left for future work.
We hope these clarifications and new results resolve the reviewer’s concerns, and that they would consider raising the score. If any questions or concerns remain, please feel free to ask and we would be happy to provide further clarification.
Thank you for the detailed rebuttal. The additional experiments convincingly address my concerns, and I appreciate your commitment to explicitly state the limitations on montage robustness, event localization, and longer-term EEG in the revision. I will increase my score accordingly.
We thank the reviewer for the constructive discussion and for increasing the score. The revision will explicitly state the limitations on context length, montage robustness, and event localization as described above, and we will add the new holdout, task-grouping, and attention-pooling analyses to the appendix. We are grateful for the careful reading, which has clearly improved the paper.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces CLEF, a grounded EEG foundation model for learning clinical semantics. Unlike prior EEG foundation models that focus mainly on short EEG windows, CLEF models long EEG recordings using multitaper spectrogram tokens and aligns EEG embeddings with neurologist reports and structured EHR data. The paper evaluates CLEF on a large 234-task clinical EEG benchmark and reports significant improvements.
Strengths and weaknesses
Strengths:
The motivation is strong and clinically meaningful to move EEG foundation modeling from short-window decoding to full-session clinical interpretation. The proposed pipeline is well designed, and the two-stage training strategy is easy to follow. The empirical evaluation is large-scale and impressive, and supported by solid ablation studies.
Weaknesses:
My main concern is potential concept-level leakage. In particular, the large gains for cerebral palsy and trazodone after cross-modal alignment in Section 4.3. Although the held-out experiment removes matching EHR codes and report-derived terms, random task-level holdout may still leave related diagnoses, synonyms, neighboring ATC codes, or clinically correlated variables. In addition, the methodological novelty is limited, including masked reconstruction and CLIP-style contrastive alignment.
Questions
As noted in the Weaknesses.
Limitations
Yes.
Final justification
I thank the authors for their detailed rebuttal, which addresses part of my concerns, but some concerns remain. I therefore increase my score to 5 while lowering my confidence to 3.
Formatting concerns
AUROC is not defined at first use, and the paper alternates between AUROC and AUC in different sections and tables.
4 comments
Rebuttal
We thank the reviewer for the insightful feedback. We appreciate the reviewer’s recognition of CLEF’s strong clinical motivation, well-designed pipeline, clear two-stage training strategy, and impressive large-scale evaluation supported by solid ablation studies. We are also encouraged that the reviewer considers the paper technically solid and its quality excellent.
Concept-Level Leakage
We thank the reviewer for raising this important concern. We agree that patient-disjoint splitting alone does not rule out direct or semantically near-direct target exposure during alignment, and this is precisely what motivated Section 4.4, where we randomly selected 45 of the 234 downstream concepts and excluded their direct and near-direct representations from the clinical-alignment supervision. For reports, we removed the target term together with lexical variants, abbreviations, and curated synonyms. Within medications, the removal also included generic, active-ingredient, and brand names. For structured EHR, we removed all codes directly mapping to the target and prespecified ontology-local codes representing the same or a near-equivalent concept. After removing these 45 concepts and their variants, we reran the alignment stage on the filtered supervision and compared the results. Across the 45 tasks, mean AUROC is 0.744 with the concepts included in alignment and 0.748 with them held out, versus 0.666 for the Oracle best baseline per task (which selects for each task the best performance across all baselines). Thus, removing direct and near-direct target supervision produces no measurable degradation in CLEF performance.
We further checked whether any concept that remained in pretraining could serve as a strong proxy for each held-out task. For each held-out task and pretraining concept we computed , where is the conditional probability of held-out task , given pre-training concept . We flagged a task if any of its conditionals surpass a threshold. This flags whether any single retained concept is informative for the task.
| Hold-out subset | # Tasks | Oracle best baseline | CLEF (no holdout) | CLEF (holdout) |
|---|---|---|---|---|
| All held-out tasks | 45 | 0.666 | 0.744 | 0.748 |
| Held-out tasks with no retained concepts where | 20 | 0.650 | 0.739 | 0.742 |
| Held-out tasks with no retained concepts where | 17 | 0.659 | 0.740 | 0.749 |
Results in the table show that CLEF’s performance is sustained not only across all held-out tasks but also across the stricter subsets with very low co-occurrence with the retained pretraining concepts. Note that these subsets are not easier: their best-baseline AUROCs (0.650–0.659) are, if anything, lower than that of the full set (0.666). Note that we describe this as a pairwise sensitivity analysis and do not claim these tasks are independent of every retained clinical variable.
Trazodone, an example held-out concept, illustrates the result at the task level: reconstruction-only CLEF and the strongest baseline reach 0.640 and 0.641, standard alignment reaches 0.806, and alignment with its concept removed still reaches 0.784, retaining ~87% of the alignment gain. Cerebral palsy was not among the randomly selected holdouts, and we could not repeat the full pretraining within the rebuttal period; it appeared in Section 4.3 only to illustrate alignment gains in the standard setting, and we will revise the transition to Section 4.4 so it is not read as unseen-concept evidence. However, the phenomenon it exemplifies, which is a large alignment gain for a disease with no direct EEG signature, is directly represented in the held-out set and survives removal: for example, Sars-CoV-2 goes from 0.729 (reconstruction-only) to 0.827 with the concept present and 0.820 held out, and benign brain neoplasm goes 0.593 -> 0.732 -> 0.700 held out. Both are diseases without an obvious electrographic signature that jump under alignment exactly as cerebral palsy does, and both retain the gain once its concept are excluded.
One plausible interpretation is that alignment emphasizes reusable electrographic factors, such as background organization, spectral structure, focality, asymmetry, and periodic activity, that downstream probes recombine for concepts absent from alignment, rather than a per-concept lookup; the holdout result is consistent with this, though it does not prove independence from all correlated clinical information. We will accordingly revise “unseen concepts” to the more precise claim that direct and semantically near-direct representations of the target held-out task were excluded from alignment. In sum, overall held-out AUROC does not drop (0.744->0.748) and is preserved for the isolated subset (whose baselines are no easier), indicating transferable clinical structure rather than concept-level leakage.
Method Novelty
We agree that masked reconstruction and contrastive alignment are established objectives. Our contribution is their EEG-specific formulation for full-session, clinically grounded representation learning. CLEF compresses a 20-minute multichannel recording into 2,048 joint spectro-temporal tokens, preserves focal and lateralized structure through inter-channel-emphasized reconstruction, and combines discrete tokens with continuous patch embeddings. Clinical grounding uses complementary automated-pipeline-cleaned neurologist-report and set-structured EHR supervision, followed through sequential reconstruction->alignment training. These choices are empirically consequential: For example, reconstruction-only CLEF exceeds REVE retrained on the same HEEDB corpus (0.671 vs. 0.655), and sequential training outperforms joint-from-scratch optimization (0.738 vs. 0.723). We will clarify that the novelty lies in this validated session-scale clinical EEG formulation, not in the individual loss families.
AUROC vs. AUC
We thank the reviewer for pointing out and will define AUROC at first use and unify throughout.
We thank the reviewer again and respectfully ask them to reconsider the rating in light of these clarifications and additional analyses. We would be happy to address any further questions or concerns.
Dear Reviewer 23aM,
Thank you again for your insightful feedback. As the discussion period ends soon, we wanted to briefly ask whether our rebuttal addressed your main concerns. Regarding concept-level leakage, our 45-concept holdout experiment removed direct and near-direct target supervision without reducing mean performance (0.744 vs. 0.748 AUROC), and the gains persisted under stricter co-occurrence controls. Regarding novelty, we clarified that our contribution lies not in the individual loss functions, but in the validated EEG-specific formulation for full-session, clinically grounded learning.
If these results and clarifications resolve your concerns, we would be grateful if you would consider updating your overall score before the discussion closes. If any questions remain, we would be happy to respond promptly.
I thank the authors for the detailed response. The additional held-out analysis partially alleviates my concern about direct or near-direct concept-level leakage, and the clarification of the contribution also makes the paper’s positioning clearer. So, I will increase my score to 5.
However, some concerns remain. The additional analysis is helpful, but not fully conclusive, and the methodological novelty of the core objectives is still limited. I will therefore lower my confidence to 3 to reflect this remaining uncertainty.
Thank you for the thoughtful follow-up and for your willingness to raise the score to 5. It appears that the updated score may not yet be reflected in the system. When convenient, could you please check whether the change was successfully recorded?
We are glad that the held-out analysis helped address concerns about direct and near-direct concept-level leakage, while recognizing that it cannot exclude all possible correlated clinical proxies. We will preserve this distinction in the revision. We also appreciate your clarification regarding methodological novelty and will position the contribution around the EEG-specific formulation rather than the masked-reconstruction or contrastive objectives themselves.
Thank you again for the careful review and constructive feedback.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Overall this paper develops CLEF, a long-context clinical EEG foundation model. It converts long EEG sessions into multitaper spectrogram tokens, learns session-level representations, and aligns them with reports and EHR during pretraining. The data scale and benchmark are strong. Overall this seems a good contribution, my concern is what the probing benchmark is actually measuring. For many medication and disease labels, the EEG embedding may encode recording confounding factors, not necessarily EEG physiology.
Strengths and weaknesses
Strengths
-
[S1] The motivation is strong. Clinical EEG is full-session interpretation, not just short-window decoding. This is a real gap in many existing EEG foundation-model papers.
-
[S2] The dataset and benchmark scale are impressive. The patient-level split and external cohorts also make the evaluation more serious than many biomedical signal papers.
-
[S3] The paper has useful ablations and external cohort experiments. I also appreciate that tokenization, full-session modeling, and report/EHR alignment are studied separately.
Weaknesses
Clarity and Presentation
W1. [Task definition] The paper should more clearly separate what is an EEG-physiology task and what is a clinical-context task. EEG findings are direct signal labels, while many medication and disease labels may be mostly clinical-context labels. A single averaged score over 234 tasks may overstate the physiological meaning.
Methodology
W2. [Session/protocol shortcut] The downstream probe uses EEG embeddings, but this does not prove the learned feature is EEG-physiology specific. The embedding may encode why the EEG was ordered, ICU/EMU/routine setting, sedation/state, recording length, montage/channel availability, and artifact profile. These are still inside the signal/session, so this is not direct leakage, but it can still be a shortcut.
W3. [Interpretability] The full-session representation is hard to inspect. The model compresses a long EEG into tokens and then a session embedding. This is technically nice, but it makes error analysis harder. I would like to know which time windows, channels, and frequency bands drive each prediction.
Experiment and Results
W4. [Nuisance controls] The control matching may not be enough. Age/sex/site/setting matching is useful, but there are still many nuisance factors. I would like to see metadata-only or protocol-only baselines, for example using channel count, montage, recording duration, site, setting, report availability, or medication timing.
W5. [Heterogeneity evaluation] The heterogeneity claim would be stronger with more internal stress tests, such as leave-site-out, within-indication evaluation, and stratification by channel count or recording duration.
Minor Issues and Suggestions
W6. [Claim wording] The paper should be more cautious when describing the benchmark as clinical EEG understanding. Some tasks are closer to EEG finding recognition, while others are broader patient-context prediction. This distinction should be reflected in the wording of the claims.
W7. [Related work] It is good to discuss how existing foundation models (not necessarily EEG), e.g. 12-lead ECG uses EHR information (e.g. CLEF, CSFM), and what are the unique challenges of EEG modelling. It is good to justify they are not "more of the same"
Questions
I would appreciate it if the authors could address the following questions related to the weaknesses above.
- How strong are metadata-only or protocol-only baselines?
- Which medication/disease labels are expected to have direct EEG manifestations?
- Can the authors report results within the same indication/setting/site?
- Can the authors provide attribution over time/channel/frequency?
Limitations
yes
Final justification
Agreed with another reviewer, I am still concerned about the concept leakage issue, so would like to keep my original score.
Formatting concerns
n.a.
2 comments
Rebuttal
We thank the reviewer for the constructive questions and for recognizing the motivation, dataset scale, patient-level evaluation, external cohorts, and component ablations. We agree that the original presentation did not sufficiently distinguish direct electrographic tasks from broader clinical-context prediction. We therefore added a clinically defined task taxonomy, a metadata/protocol baseline, a nuisance-balanced test evaluation, stratified site/setting analyses, and interpretability. All new results will be added to the revision.
Task Semantics and Claim Scope (W1, W6, Q2)
We categorized the 234 tasks using a clinical rubric based on the literature into: E1, EEG-proximal tasks, comprising the 15 direct EEG findings, and 4 medications (propofol, dexmedetomidine, midazolam, ketamine) and 6 conditions (anoxic brain damage, anoxic brain injury, brain damage/death, coma, encephalopathy, toxic encephalopathy) with well-established characteristic EEG effects; E2, EEG-associated tasks, with a consistently reported broad EEG association; and CS, broader clinical-state tasks, without a consistently-reported EEG association. (The full assignments and supporting references will be provided in the appendix.)
| Group | # Tasks | CLEF (Full) | CLEF (Recon. Only) | Oracle best baseline/task |
|---|---|---|---|---|
| E1 | 25 | 0.830 | 0.763 | 0.747 |
| E2 | 156 | 0.737 | 0.668 | 0.652 |
| CS | 53 | 0.694 | 0.636 | 0.636 |
| All | 234 | 0.737 | 0.671 | 0.658 |
“Oracle best baseline/task” selects the best of the five baselines separately for each task and is therefore a conservative comparator, stronger than any baseline. Absolute performance follows the expected ordering E1>E2>CS. CLEF’s gains persist in every group but are smaller for CS, consistent with weaker EEG proximity. We will report these groups separately and revise “clinical EEG understanding” to distinguish direct electrographic recognition, EEG-associated clinical states, and broader patient-context prediction.
In the revised manuscript, we will add this taxonomy and update the text to rescope the claims accordingly (W6).
Metadata and Protocol Shortcuts/Confounders (W2, W4, Q1)
Following the reviewer’s suggestion, we trained a non-EEG baseline using the available measured nuisance/context variables: age, sex, site, setting (routine, long-term monitoring, etc), recording duration, channel count and montage, report availability, and protocol events and actions (photic stimulation, hyperventilation, intubation, etc.). The model receives no EEG values, diagnoses, medications, or report text.
We evaluated Case 1, the original matched datasets; and Case 2, where each positive class and its control are additionally matched on the measured nuisance variables.
| Evaluation | Metadata-protocol | CLEF Full |
|---|---|---|
| Original matched datasets | 0.621 | 0.737 |
| Nuisance-matched datasets | 0.525 | 0.715 |
On the original benchmark (Case 1), the metadata/protocol baseline reaches 0.621 AUROC, confirming that measured acquisition and context variables contain nontrivial predictive information. After additionally balancing these variables, metadata performance falls to 0.525, while CLEF retains 0.715 AUROC on the same nuisance-balanced evaluation. Category-level CLEF results remain 0.819 for EEG features, 0.718 for diseases, and 0.696 for medications. These results indicate that CLEF’s performance persists after predictive information from the measured acquisition and protocol variables has been substantially reduced. They do not exclude unmeasured factors such as undocumented indication, medication timing, or artifact differences, which we will state explicitly as limitations.
The external-cohort results in Section 4.5 provide complementary evidence of cross-dataset transfer. CLEF was not pretrained on TUAB, TUEP, or HSP, which differ from HEEDB in institution, montage/channel configuration, and downstream label. CLEF nevertheless outperforms the strongest baseline by 3.1, 5.6, and 8.2 AUROC points, respectively, despite that the baselines included TUAB and TUEP in their pretraining data. Because these cohorts evaluate different tasks, they are not a direct control for confounding in the HEEDB benchmark. They do, however, reduce the likelihood that CLEF’s gains depend strongly on HEEDB-specific acquisition or protocol cues.
Heterogeneity: Within-Site and Within-Setting (W5, Q3)
On the nuisance-matched (Case 2) test set, we evaluated within individual sites and settings. Comparisons were restricted to the two largest sites (S1, S2) and Routine vs. long-term monitoring (LTM); other strata had too few positives (AUROC reported only where both subgroups have ≥10 positives on shared tasks). Indication labels were unavailable, so within-indication analysis was not possible.
| Group | Site S1 | Site S2 | Routine | LTM |
|---|---|---|---|---|
| E1 | 0.822 | 0.806 | 0.843 | 0.794 |
| E2 | 0.745 | 0.726 | 0.738 | 0.718 |
| CS | 0.662 | 0.636 | 0.660 | 0.636 |
Performance remains strong across sites and settings, with modest but expected distributional variation. Ablations of channel count and recording duration is already reported in Tables 16 and 17, showing graceful degradation with fewer channels and shorter recordings, and the external cohorts provide complementary cross-institution and cross-montage evidence.
Interpretability (W3, Q4)
CLEF’s channel/token masking during training naturally supports occlusion attribution: for a probe prediction we mask individual channels, time windows, or frequency bands and measure the reduction in the positive-class logit. As an illustrative case study, a positive focal-slowing recording yields a concentrated anterior scalp map (Fz, F3, Fp1, F4, Fp2 together ~73% of the attribution), whereas a generalized-slowing recording produces a dispersed, multi-regional map (e.g., F7, Fz, F8, P3, T6). We will expand the attribution analysis in the manuscript and provide visualization in the appendix. We note that we view these as attribution and error-analysis tools, not as validated event-localization outputs. Dedicated detectors remain preferable for precise onset, timing, or source localization, and we will preserve this limitation.
Related Work (W7)
We will add these references and clarify the shared multimodal representation-learning paradigm. The EEG-specific challenges addressed here are long and nonstationary sessions, stochastic instantaneous phase, multi-electrode topography, variable channel availability, and compression of millions of samples while retaining spectral and inter-channel structure. These motivate CLEF’s joint spectrogram tokenization, inter-channel-emphasized reconstruction, session-scale encoding, and dual report/set-structured-EHR alignment. We will frame the contribution as this EEG-specific formulation and large-scale validation, rather than novelty of masked or contrastive learning itself.
We thank the reviewer again. We believe the new analyses directly address the main concern: CLEF’s gains persist after separating task semantics and substantially reducing predictive information from measured protocol variables. We will narrow the claims accordingly and respectfully ask the reviewer to reconsider the rating. If any questions or concerns remain, we would be grateful for the opportunity to address them and provide further clarification.
Dear Reviewer Frsu,
Thank you again for your thoughtful review.
As the discussion period draws to a close, we wanted to briefly follow up. Our new nuisance-matched evaluation reduces the metadata/protocol-only baseline from 0.621 to 0.525 AUROC, while CLEF retains 0.715, with consistent results across task categories, sites, and settings. We have also separated EEG-proximal tasks from broader clinical-context tasks and narrowed our claims accordingly. In addition, we explained how CLEF’s masking mechanism supports occlusion-based attribution for interpretability, while clearly stating its limitations, and clarified CLEF’s EEG-specific contributions relative to foundation models for other biosignals in the related-work discussion.
We hope these responses address your central concerns. If so, we would be grateful if you would consider increasing your rating before the discussion period ends. We are happy to clarify any remaining concerns.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the AC for the careful synthesis and constructive guidance. The metareview highlights three concerns: confounding, leakage, and baseline fairness. Below we provide new experiments and clarifications to address each of them.
Shortcut Learning and Confounding
Following reviewer Frsu's suggestion, we trained a non-EEG metadata baseline using only measured nuisance/context variables: age, sex, site, setting (routine, long-term monitoring, etc), recording duration, channel count/montage, report availability, and protocol events/actions (photic stimulation, hyperventilation, intubation, etc). We evaluated the original benchmark and a second benchmark with positives and controls additionally matched on these variables.
The metadata baseline's 0.621 AUROC confirms that measured nuisance/context variables contain nontrivial information. After nuisance matching, its AUROC falls to 0.525, while CLEF retains 0.715 on the same evaluation. Thus, CLEF's performance persists after predictive information from measured nuisance variables is substantially reduced. This does not exclude unmeasured indication, medication timing, or artifact differences; we will state these limitations explicitly.
Relatedly, to address the concern that the 234-task average may overstate “clinical EEG understanding,” we stratified the tasks by EEG proximity: E1 (direct or characteristic EEG effects), E2 (consistently reported broad EEG association), and CS (broader clinical state).
The oracle selects the best of five baselines separately for each task, so it is a stringent upper envelope rather than one model. CLEF exceeds it in every group, with the expected E1>E2>CS ordering. We will report these groups separately and revise the text accordingly.
Concept-Level Leakage
We clarify that in the Section 4.4 holdout experiment, the selection of the 45 held-out tasks was random, but the removal was concept-level. For reports, we removed the target term together with lexical variants, abbreviations, and curated synonyms. Within medications, the removal also included generic, active-ingredient, and brand names. For structured EHR, we removed all codes directly mapping to the target and prespecified ontology-local codes representing the same or a near-equivalent concept. After this, we reran the alignment stage on the filtered supervision. With concepts removed, mean held-out AUROC is 0.748, versus 0.666 for the oracle best baseline per task.
To further address the concern that co-occurring concepts remain in pretraining, we computed conditional co-occurrence between each held-out task t and every retained pretraining concept c, and re-evaluated the strict subsets of tasks in which no retained concept exceeds a given conditional threshold.
Results show that CLEF’s performance is sustained not only across all held-out tasks but also across the stricter subsets with very low co-occurrence with the retained pretraining concepts. Note that these subsets are not easier: their per-task best-baseline AUROCs are, if anything, lower than that of the full set. We describe this as a pairwise sensitivity analysis and do not claim these tasks are independent of every retained clinical variable. We will replace "unseen concepts" with the more precise claim that direct and semantically near-direct supervision was excluded.
The external cohorts in Section 4.5 provide a complementary check of transfer beyond HEEDB. CLEF was not pretrained on TUAB, TUEP, or HSP, which differ in institution, montage, and label, yet exceeds the strongest baseline by 3.1, 5.6, and 8.2 AUROC points, respectively, even though the TUH corpus underlying TUAB and TUEP was included in baseline pretraining.
Baseline Fairness
To test whether mean pooling disadvantages short-window models, we replaced LaBraM’s mean pooling with learned attention pooling on the 45-task subset.
LaBraM's AUROC is essentially unchanged, so the gap is not an artifact of how short-window embeddings are aggregated; a more expressive pooling head cannot recover session-scale structure the encoder never learned.
We hope the above results and clarifications address the AC’s concerns. Thank you again for your time and careful review.