预印本 · 建模 / 计算研究
报告监督式脑电—语言基础模型实现广泛的交互式临床解读
A report-supervised EEG-language foundation model enables broad, interactive clinical interpretation
作者:D. D. Kranz, R. Terziev, M. Lukomksi, L. M. Krumm, C. Meisel
medRxiv · 2026年11月20日 · Kranz 等 5 位作者
不需要生物学背景,多打比方
正在阅读全文并生成讲解…
已等待 0 秒大约需要 10–20 秒
可以先看别的,做好了会自动出现在这里。
这篇还没有动画
动画会把研究的流程、作用机制和关键结果一步一步演示出来,每一步都标明出自原文哪里。制作大约需要一两分钟。
Front matter
A report-supervised EEG-language foundation model enables broad, interactive clinical interpretation
Dominik D. Kranz*1, Robert Terziev*1, Michał Łukomski1, Laura Krumm1, Christian Meisel1 1 Section on Computational Neurology, Berlin Institute of Health and Department of Neurology, Charité – Universitätsmedizin Berlin * Shared first authorship Correspondence address Dominik-dirk.kranz@charite.de and Christian.meisel@charite.de
摘要Abstract
Medical AI for complex signals such as electroencephalography (EEG) relies on costly expert annotations and predefined diagnostic labels that fail to capture the richness and nuance of clinical interpretation. Whether models trained on routine clinical reports can overcome these limitations while matching expert-supervised performance remains unclear. We introduce EEG Copilot, a biosignal–language foundation model trained on routine EEG–report pairs without dedicated task-specific expert annotations. Across two external datasets (6,078 EEGs), EEG Copilot performed on par with a state-of-the-art expert-supervised model across 11 shared findings (mean AUROC 0.80–0.81), corroborated by direct neurologist review of 200 EEGs. Beyond predefined diagnostic categories in conventional EEG AI, EEG Copilot assessed 23 clinical characteristics through natural-language questions in English and German across 9,689 EEGs from four hospitals (mean AUROC 0.80–0.82), demonstrating that automated EEG assessment need no longer be confined to fixed diagnostic outputs. Crucially, EEG Copilot generated integrated clinical impressions directly from EEG rather than isolated predictions with shuffled-report controls supporting recording-specific content and neurologist review of 800 impressions showing that most were accurate or clinically usable with minor errors. These findings chart a path beyond label-bound medical AI, transforming routine clinical reports into scalable supervision for flexible, language-driven assessment and integrated interpretation of complex physiological signals.
引言Introduction
Much of medical artificial intelligence (AI) follows a common paradigm: medical experts annotate datasets for specific diagnostic tasks, and models are trained to predict the resulting labels. Creating these dedicated annotations is labor-intensive, expensive and difficult to scale. More fundamentally, in many clinical settings, predefined labels capture only part of clinical interpretation, whereas physicians must integrate multiple findings, assess their relationships and clinical significance, and communicate nuanced conclusions in medical language. This paradigm thus constrains not only how medical AI is trained, but also the complexity and flexibility of the interpretations it can provide.
Electroencephalography (EEG) exemplifies these challenges. A cornerstone of epilepsy diagnosis, the assessment of cerebral dysfunction and neurological monitoring in critically ill patients, EEG interpretation is among the most demanding tasks in routine clinical diagnostics. Recordings comprise high-dimensional, temporally dynamic and artifact-prone signals, in which clinically decisive information may be subtle, transient and distributed across multiple channels and timescales. Accurate interpretation requires integrating waveform morphology, frequency, spatial distribution, temporal evolution and physiological context into a clinical clinical narrative. Yet this complex and labor-intensive process depends on specialized expertise that is unevenly available, with potentially serious consequences of misinterpretation for diagnosis and treatment. AI thus holds considerable promise for making specialized EEG expertise more widely accessible while improving the efficiency and consistency of clinical interpretation.
Automated EEG analysis has made substantial progress, with supervised learning approaches achieving high diagnostic performance across a range of predefined EEG findings1,2. However, these advances have depended on extensive task-specific annotations by EEG experts, with each additional finding or finer diagnostic distinction potentially requiring further costly labeling efforts. More fundamentally, predefined output categories restrict what these systems can explicitly communicate, whereas clinical EEG reports capture gradations, relationships, uncertainty and contextdependent interpretations that extend beyond fixed diagnostic labels. Such rich narrative reports are generated routinely during clinical care yet remain largely untapped as a source of supervision for developing more scalable and flexible EEG AI.
Recent advances in self-supervised and multimodal foundation models suggest a fundamentally different approach to clinical EEG interpretation. Rather than training separate classifiers on manually curated labels, models could learn directly from the vast collections of EEG recordings and corresponding clinical reports generated during routine care. In this paradigm, medical language would serve not merely as an output format, but as a source of supervision through which models learn to represent complex physiological information, its relationships and clinical meaning. Such models could support a broad and extensible repertoire of clinical findings, enabling natural-language questions, contextual interpretation and narrative report generation without requiring dedicated annotations or classifiers for each task. Related approaches have been explored in computational pathology and EEG–language3,4 modeling. This raises a fundamental question: can heterogeneous and imperfect clinical reports provide sufficiently rich supervision for a new generation of medical AI—one that learns from routine care and interprets complex physiological signals beyond predefined diagnostic categories?
Here we introduce EEG Copilot, a biosignal–language foundation model that learns from routinely acquired EEG recordings and clinical reports without dedicated task-specific expert annotations. We demonstrate that EEG Copilot achieves diagnostic performance on par with a state-of-the-art expert-supervised EEG foundation model across shared clinical findings, while supporting a substantially broader range of EEG characteristics. Beyond predefined classifications, the model enables natural-language questioning and generates integrated clinical impressions that describe and contextualize EEG findings. Together, these findings demonstrate a fundamental shift in how medical AI can be developed and applied - combining scalable learning from routine clinical data with state-of-the-art diagnostic performance and flexible, language-based interpretation of complex physiological signals.
Results / Learning clinical EEG interpretation from routine recordings and reports
We developed EEG Copilot to establish whether learning directly from routine EEG recordings and clinical reports can achieve diagnostic performance comparable to expert-supervised AI, while enabling a broader repertoire of clinical findings and nuanced interpretation through natural language (Fig. 1). EEG Copilot processes multichannel EEG recordings of up to 2 h and supports natural-language questioning, follow-up dialogue and generation of clinical impressions in English and German (Fig. 1a). The architecture combines a self-supervised EEG encoder with a hierarchical EEG– language bridge and a large language model, linking physiological signals to clinical language within a unified framework (Fig. 1b). Model development used routinely acquired EEG recordings and accompanying clinical reports from Massachusetts General Hospital (MGH) and Brigham and Women’s Hospital (BWH)5.
We evaluated EEG Copilot in held-out cohorts from both development hospitals and two external Charité campuses in Berlin (Fig. 1c). The evaluation examined diagnostic discrimination across diverse clinical EEG findings, performance against a state-of-theart expert-supervised EEG foundation model, and the quality of generated clinical impressions. In addition to large-scale evaluations against report-derived references, direct neurologist review of 200 EEG recordings provided an independent reference based on the underlying signals.
To learn clinical EEG interpretation without dedicated task-specific annotations, we developed a three-stage training strategy (Fig. 2). First, we developed EEG2Vec, a selfsupervised encoder pretrained on 2.28 million 30-s EEG windows without clinical labels (Fig. 2a–c). Second, a hierarchical EEG–language bridge compressed representations across entire recordings into 64 tokens and learned their alignment with corresponding clinical reports (Fig. 2d). Finally, we adapted a large language model using report-derived impressions, clinical questions and multi-turn dialogues, enabling flexible EEGconditioned interpretation without dedicated task-specific expert annotations.
Self-supervised pretraining yielded representations containing substantial clinically relevant information. Across 3,380 held-out recordings, supervised probes trained on report-derived labels discriminated 24 EEG and ECG findings, achieving mean areas under the receiver operating characteristic curve (AUROCs) of 0.841 with recurrent readouts and 0.804 with linear readouts (Fig. 2e; Supplementary Fig. 1). Subsequent EEG–language training established cross-modal alignment (Fig. 2f), with matched EEG inputs yielding higher reference-response likelihoods than shuffled recordings (Fig. 2g), indicating that language predictions incorporated recording-specific information.
Figure 1 EEG Copilot architecture and evaluation framework. a, Illustrative interaction with EEG Copilot, enabling natural-language questioning, follow-up dialogue and generation of clinical impressions from multichannel EEG recordings of up to 2 h, in English and German. b, Model architecture and development cohorts. A self-supervised EEG encoder (EEG2Vec) processes 30-s EEG and electrocardiography (ECG) windows. A hierarchical EEG–language bridge aggregates recording-level information into 64 tokens, which are projected into a large language model (Gemma 4 12B) to generate responses conditioned on EEG signals, clinician questions and conversation history. Training used routinely acquired EEG recordings and clinical reports from Massachusetts General Hospital (MGH; 20,548 training, 2,599 validation) and Brigham and Women’s Hospital (BWH; 8,502 training, 1,031 validation). Snowflakes and flames denote frozen and trainable components. c, Evaluation framework spanning diagnostic question answering, clinical impression generation and comparison with an expert-supervised EEG model. Evaluation included held-out MGH (n = 2,631) and BWH (n = 1,078) cohorts, external Charité cohorts (CBF, n = 3,915; CCM, n = 2,163) and direct neurologist review of 200 EEG recordings. Diagnostic findings were evaluated against report-derived or expert EEG-based references; generated impressions were assessed by an LLM judge and neurologist review. Cohort sizes are shown; analysis-specific denominators vary. MLP, multilayer perceptron; LoRA, low-rank adaptation6.
Figure 2 Self-supervised EEG representation learning and clinical language alignment. a, Temporal convolutional networks tokenize 19 EEG channels and one electrocardiography (ECG) channel into 30-s window representations. b, A six-layer context transformer7 integrates EEG and ECG tokens with temporal and channel embeddings and a summary (CLS) token. c, Self-supervised EEG2Vec pretraining. A student network learns from channel-masked inputs by predicting representations generated from complete recordings by an exponential-movingaverage (EMA) teacher. Training combines masked-token prediction, channel-amplitude prediction, pooledrepresentation prediction and variance–invariance–covariance regularization (VICReg8). d, Hierarchical EEG– language alignment. A local compressor produces nine tokens per window, which a recording-level query transformer aggregates into 64 tokens. Training aligns EEG representations with clinical reports and individual statements, followed by text generation and language-model adaptation using low-rank adaptation (LoRA). e, Clinical information captured by frozen EEG2Vec representations, assessed using bidirectional long short-term memory (BiLSTM9) and linear probes on 3,380 held-out recordings. Radar plots show mean area under the receiver operating characteristic curve (AUROC) across clinical categories, averaged over three training seeds. f, EEG–language bridge pretraining, showing training and validation losses and task-specific validation accuracies. The vertical line marks the selected checkpoint. g, EEG grounding assessed by the difference in reference-response negative log-likelihood between shuffled and matched EEG inputs (ΔNLL). Positive values indicate greater response likelihood with the corresponding EEG recording. Dotted lines indicate training-stage changes; the trajectory is descriptive because evaluation settings varied across restarts.
Results / supervised EEG AI
To determine whether learning from routine clinical reports can achieve diagnostic performance comparable to conventional expert-supervised approaches, we directly benchmarked EEG Copilot against MORGOTH, a state-of-the-art EEG foundation model developed using extensive expert-annotated datasets2. We evaluated both models on 11 shared clinical findings across 6,078 EEG recordings from two external Charité cohorts (CCM, n = 2,163; CBF, n = 3,915), using the same recordings and report-derived reference labels for each finding (Fig. 3a). Unlike MORGOTH, EEG Copilot had not received dedicated expert annotations for any of these diagnostic tasks.
Despite these fundamentally different supervision strategies, EEG Copilot achieved virtually identical aggregate diagnostic discrimination to MORGOTH, with mean AUROCs of 0.802 versus 0.796 at CCM (p = 0.543) and 0.813 versus 0.811 (p = 0.882) at CBF, respectively (two-sided paired recording-level bootstrap tests; Fig. 3a). Performance varied across individual findings, with neither model consistently outperforming the other. Thus, learning directly from routine EEG–report pairs yielded diagnostic performance on par with an extensively expert-supervised model across the evaluated shared tasks.
Because routine clinical reports are themselves imperfect references, we additionally evaluated both models against an independent assessment based on direct neurologist review of 200 EEG recordings. Against this EEG-based expert reference, mean balanced accuracy across the 11 shared findings was 0.744 for EEG Copilot and 0.746 for MORGOTH (p = 0.940; Fig. 3a). Cohen’s κ provided a complementary perspective on agreement: mean κ was identical for both models at CCM (0.282; p = 0.979), lower for EEG Copilot at CBF (0.257 versus 0.297 for MORGOTH; p = 0.0002), but higher for EEG Copilot against the direct expert reference (0.383 versus 0.244; p = 0.0004). All p values were calculated using two-sided, null-centered paired whole recording bootstrap tests. These results independently corroborate the comparable diagnostic performance observed across the larger external cohorts.
Direct neurologist review also enabled comparison of EEG Copilot with the original clinical reports (Fig. 3b). Across 21 clinical findings, mean balanced accuracy was similar for EEG Copilot and the original reports (0.740 versus 0.751; P = 0.667), although the original reports showed higher agreement with the expert reference as measured by Cohen’s κ across 12 eligible findings (0.522 versus 0.335; P = 0.0002). Both comparisons used two-sided, null-centered paired whole-recording bootstrap tests. Together, these findings demonstrate that competitive diagnostic performance can be achieved without extensive task-specific expert annotation, establishing routine clinical documentation as a scalable source of supervision for medical AI.
Figure 3 Comparison with expert-supervised EEG AI and validation against direct neurologist review. a, Comparison of EEG Copilot and MORGOTH across 11 shared clinical findings. Both models were evaluated on the same assessable recordings and reference labels for each finding. In the external CCM (n = 2,163) and CBF (n = 3,915) cohorts, discrimination was assessed using continuous-score AUROC against report-derived labels; in the direct expert-reference cohort (n = 200), binary decisions were assessed using balanced accuracy against neurologist labels. EEG Copilot provided answer likelihood scores and generated responses, whereas MORGOTH provided findingspecific scores and decisions. Upper panels show unweighted mean AUROC or balanced accuracy across the 11 findings and mean Cohen’s κ across findings with at least ten positive and ten negative references; lower panels show finding-level AUROC or balanced accuracy with 95% confidence intervals. Unmentioned non-sleep findings in clinical reports were treated as negative, whereas unmentioned sleep findings were excluded as unknown. MORGOTH sleep scores were derived from the maximum of its N1 and N2 recording-level scores, using a threshold of 0.5 for binary decisions. b, Expert-reference validation of EEG Copilot and the original clinical reports against direct neurologist review of 200 EEG recordings. The three numerical findings are assessed by overlap between predicted and expertreference ranges; 21 evaluable binary findings are assessed using balanced accuracy, defined as the mean of sensitivity and specificity. Counts indicate assessable recordings for numerical findings and referencepositive/reference-negative counts for binary findings. The radar plot summarizes balanced accuracy by clinical category; the overall mean includes 21 binary findings. Mean Cohen’s κ summarizes the 12 findings with at least ten positive and ten negative expert-reference cases. Error bars indicate percentile 95% confidence intervals from 5,000 paired recording-level bootstrap resamples. Brackets indicate paired comparisons (n.s., not significant; p < 0.05 where the 95% interval for the paired difference excludes zero); asterisks beside the finding-level comparisons in a indicate paired model-difference intervals excluding zero. Comparisons are exploratory and unadjusted for multiplicity. PDR, posterior dominant rhythm; GPD/LPD, generalized/lateralized periodic discharges; GRDA/LRDA, generalized/lateralized rhythmic delta activity; BIRDs, brief potentially ictal rhythmic discharges.
Results / diverse EEG findings
Beyond achieving diagnostic performance on par with expert-supervised EEG AI on shared tasks, a central advantage of EEG Copilot is its ability to assess a substantially broader repertoire of clinical findings through natural-language questions in both English and German. Unlike conventional classification-based approaches, EEG Copilot does not require a predefined output head for each clinical finding, allowing diverse EEG characteristics to be assessed through a single language-conditioned model without additional task-specific training. We evaluated 23 EEG characteristics spanning overall interpretation, sleep, slowing and encephalopathy, periodic and rhythmic patterns, and epileptiform activity (Fig. 4), extending its evaluated diagnostic repertoire well beyond the 11 findings available for direct comparison with MORGOTH2.
We evaluated this capability across 9,689 EEG recordings from four hospital cohorts in the United States and Germany, using English questions for the Boston cohorts and German questions for the Charité cohorts. Each clinical finding was assessed using the difference in likelihood between affirmative and negative answers to a corresponding natural-language question, with discrimination evaluated against findings extracted from routine clinical reports (Fig. 4a). Across the 22 findings evaluable at all four sites, mean AUROC was remarkably consistent: 0.821 at MGH (95% CI, 0.810–0.831), 0.800 at BWH (0.778–0.822), 0.824 at CBF (0.814–0.834) and 0.821 at CCM (0.805–0.837; Fig. 4b,c). Thus, EEG Copilot maintained comparable aggregate diagnostic discrimination across English- and German-language clinical settings, despite differences in patient populations and reporting practices, without site-specific retraining.
Diagnostic performance was particularly strong for generalized slowing (AUROC 0.898– 0.926), triphasic waves (0.870–0.923) and sleep spindles (0.849–0.940), while discrimination was more modest for transient abnormalities such as interictal epileptiform discharges (0.676–0.762) and seizures (0.647–0.732; Fig. 4b). The examples in Fig. 4a further illustrate how targeted questions can elicit descriptions of EEG abnormalities, including their morphology and spatial distribution. Together, these findings establish a central advantage of EEG–language modeling: a broad and extensible repertoire of clinical EEG characteristics accessible through a single multilingual, natural-language interface, without dedicated expert annotations or separate classifiers for each finding.
Figure 4 Multilingual assessment of diverse clinical EEG findings through natural-language questioning. a, Example EEG recordings with targeted clinical questions and EEG Copilot responses, followed by the evaluation workflow. Continuous finding scores are calculated from the difference in affirmative and negative answer log-likelihoods (log P(Yes) − log P(No), or log P(Ja) − log P(Nein) in German) and evaluated against report-derived reference labels. b, Finding-level areas under the receiver operating characteristic curve (AUROCs) across four cohorts: MGH (n = 2,557), BWH (n = 1,054), CBF (n = 3,915) and CCM (n = 2,163). Questions were posed in English for MGH/BWH and German for CBF/CCM. Teal points represent EEG Copilot; grey points represent MORGOTH on shared findings in the external cohorts. Horizontal lines indicate 95% confidence intervals from 5,000 recording-level bootstrap resamples. Unmentioned non-sleep findings were treated as negative; unmentioned sleep findings and other unknown labels were excluded. c, Mean AUROCs across five clinical categories, demonstrating diagnostic discrimination across cohorts and languages. Overall means include the same 22 evaluable findings at all sites; sharpand-slow-wave periodic discharges (SIPD), lacking positive references at CBF, were excluded from category and overall means. Dashed lines indicate chance performance (AUROC = 0.5). BiPD, bilateral independent periodic discharges; BIRDs, brief potentially ictal rhythmic discharges; GPD/LPD, generalized/lateralized periodic discharges; GRDA/LRDA, generalized/lateralized rhythmic delta activity.
Results / language
Beyond identifying individual EEG findings, EEG Copilot can synthesize multiple observations into comprehensive clinical impressions expressed in natural language. We evaluated this capability by assessing its ability to generate EEG reports describing background activity, sleep, pathological abnormalities and their clinical significance directly from the recordings (Fig. 5a). We assessed these generated impressions across four hospital cohorts using automated evaluations at scale and independent neurologist assessments of their clinical content and usability.
Across 9,332 EEG recordings from the United States and Germany, a language-model judge evaluated generated impressions against the corresponding clinical reports for correctness, completeness and specificity, following a recently proposed strategy for automatic report judging10 (Fig. 5b). Overall, impressions received full or partial credit for correctness in 67.6% of cases at MGH (95% CI, 65.7–69.5%), 62.5% at BWH (59.4– 65.5%), 71.3% at CBF (69.9–72.7%) and 68.9% at CCM (67.0–70.8%). To determine whether this agreement reflected recording-specific information rather than generic clinical descriptions, we repeated the evaluation with randomly shuffled pairings of generated and reference impressions. Correctness ratings declined substantially to 33.0–39.7%, with similar differences in completeness and specificity across all four cohorts. These results demonstrate that EEG Copilot generates clinically differentiated impressions that show substantially greater agreement with their corresponding reports than with unrelated clinical documentation.
An EEG-specialized neurologist additionally evaluated 800 generated impressions, comprising 200 from each hospital cohort (Fig. 5c). Impressions were judged clinically correct or usable with minor errors in 69.0% of cases at MGH (95% CI, 62.5–75.5%), 67.0% at BWH (60.5–73.5%), 74.5% at CBF (68.0–80.5%) and 75.0% at CCM (69.0– 81.0%). Statement-level assessment showed high correctness for overall interpretations (range across sites, 77.4–82.1%), sleep-related findings (77.8–93.8%) and epileptiform abnormalities (81.3–92.6%), whereas performance was lower for slowing and periodic or rhythmic patterns. These findings demonstrate the potential of EEG Copilot to generate clinically meaningful narrative interpretations across diverse clinical settings, while identifying areas for further improvement in reporting accuracy.
Together, these results extend the demonstrated capabilities of EEG Copilot from competitive diagnostic classification to the generation of integrated clinical interpretations, showing how a single model trained from routine clinical documentation can support a richer, language-based approach to complex physiological data.
Figure 5 Generation and clinical evaluation of integrated EEG impressions. a, Example EEG recordings with corresponding EEG Copilot-generated and original clinical impressions. Highlighted passages indicate neurologist annotations of individual statements. The evaluation combines automated assessment of correctness, completeness and specificity with neurologist assessment of statement accuracy and clinical usability. b, Large language model (LLM)-judge evaluation of 9,332 generated impressions across four cohorts: MGH (n = 2,378), BWH (n = 973), CBF (n = 3,830) and CCM (n = 2,151). Impressions were evaluated in English (MGH/BWH) or German (CBF/CCM) against their corresponding clinical reports using three-point rating scales. Colored bars show matched evaluations; grey bars show ratings after randomly pairing generated impressions with unrelated reference impressions within each cohort (mean of five permutations). c, Neurologist evaluation of 800 generated impressions (200 per cohort). Overall clinical usability was categorized as correct, usable with minor errors or clinically unusable. Individual statements were independently rated as correct, partly correct or wrong across five clinical categories. Neurologist assessments were based on impression texts rather than direct review of the EEG signals. Row labels indicate impression or statement counts; statement-level denominators exclude omitted findings. GRDA, generalized rhythmic delta activity; ECG, electrocardiogram; PVCs, premature ventricular contractions.
讨论Discussion
In this study, we demonstrate that a single EEG–language foundation model can achieve diagnostic performance on par with state-of-the-art expert-supervised EEG AI while fundamentally expanding how complex physiological signals can be assessed and interpreted. Trained on routinely acquired EEG recordings and clinical reports without dedicated task-specific expert annotations, EEG Copilot enables assessment of a substantially broader repertoire of clinical EEG characteristics through natural-language questions in English and German, without requiring separate classifiers for each finding. Beyond predefined diagnostic categories, the model generates integrated clinical impressions, bringing automated EEG interpretation closer to the way physicians describe, contextualize and communicate findings in clinical practice. Together, these advances establish a new paradigm for medical AI in which clinical language serves both as a scalable source of supervision and as a flexible interface for interacting with complex physiological data.
A central implication of this work is that clinical reports can provide a fundamentally different form of supervision for medical AI. Conventional EEG models, including SCORE-AI1 and MORGOTH2, have achieved impressive diagnostic performance through extensive expert annotations for predefined tasks: SCORE-AI was developed on recordings annotated by 17 experts, and MORGOTH's training sets for rhythmic and periodic patterns, interictal discharges and sleep staging required 124, 24 and 7 experts, respectively1,2. Although highly effective, this approach is difficult to scale across the full spectrum of clinical findings, as expanding diagnostic capabilities typically requires additional annotations and task-specific model development. Routine clinical reports offer an alternative that is both more scalable and richer in clinical information. Rather than reducing complex recordings to isolated diagnostic labels, they capture multiple findings, their spatial and temporal characteristics, relationships, uncertainty and clinical significance. Because such reports are generated as part of routine care, large collections of EEG–report pairs can be assembled without undertaking dedicated annotation campaigns for each diagnostic task. Related approaches have begun to explore report-based supervision in computational pathology and EEG–language modeling3,4. Our findings extend this principle by demonstrating that learning from routine clinical documentation can support competitive diagnostic performance together with broad, language-based clinical interpretation.
Importantly, this increased flexibility did not come at the expense of diagnostic performance on the evaluated shared tasks. EEG Copilot achieved virtually identical aggregate discrimination to MORGOTH across two external cohorts, despite the latter having been developed using extensive dedicated expert annotations. Comparable results against direct neurologist review of the underlying EEG recordings further corroborated this finding. This is particularly consequential because the annotation requirements of conventional approaches have been a major constraint on developing EEG models that encompass the diversity of clinical neurophysiology. Our results demonstrate that competitive diagnostic performance can be achieved using clinical reports as the primary source of task supervision, rather than relying on dedicated expert annotations for each finding. The implications extend beyond reducing annotation effort: they suggest that the information contained in routine clinical documentation can support models that learn more generalizable relationships between complex physiological signals and their clinical interpretation.
A second major advance is the breadth and flexibility of diagnostic assessment enabled by language conditioning. Whereas conventional classification-based systems are largely restricted to predefined output categories, EEG Copilot can be questioned directly about diverse EEG characteristics without requiring a separate prediction head for each finding. We demonstrated this capability across 23 clinical characteristics, substantially extending the repertoire assessed in the direct comparison with MORGOTH. Crucially, this breadth was achieved within a single model and across English- and German-language clinical settings, with consistent aggregate performance across four hospital cohorts. This changes the interaction between clinicians and automated EEG analysis: rather than being limited to the categories anticipated during model development, clinicians can formulate diagnostic questions in the language of clinical practice. Although additional questions require individual validation, the language-based architecture offers an extensible interface through which new clinical concepts can be assessed without developing a dedicated classifier for each one. Such flexibility is particularly relevant to EEG, where clinically meaningful distinctions frequently extend beyond a limited set of diagnostic categories.
Beyond answering questions about individual abnormalities, EEG Copilot demonstrated the ability to synthesize information into integrated clinical impressions. This represents an important step toward aligning automated EEG analysis with clinical practice, where interpretation involves not only identifying patterns but also describing their morphology, distribution, relationships and significance in a coherent narrative. Across four hospital cohorts, most generated impressions were judged correct or clinically usable with minor errors by a neurologist, while substantially greater agreement with matched than shuffled reference reports indicated that the generated text incorporated recordingspecific clinical information. These capabilities distinguish language-based interpretation from conventional systems that communicate their findings primarily through separate classification scores. They also create opportunities for a more interactive form of clinical decision support, in which physicians can request focused assessments, examine different aspects of a recording and use generated impressions as a starting point for clinical reporting. Further improvement in completeness and reliability will be essential, but the ability to express complex EEG information directly in medical language establishes a foundation for AI assistance that fits more naturally into clinical interpretation workflows.
The evaluation strategy is particularly important for interpreting these advances. In contrast to classification models with clearly defined reference labels, generative medical AI presents substantial challenges for objective validation. Clinical reports are imperfect references, reflecting differences in expertise, terminology, documentation practices and the findings considered relevant by individual readers. Indeed, direct expert review revealed meaningful discrepancies between original clinical reports and the underlying EEG findings, illustrating the limitations of treating routine documentation as an unquestioned ground truth. Similarly, agreement between a generated and reference impression does not necessarily establish that the model has interpreted the recording correctly, particularly because standardized clinical descriptions may receive favorable ratings even when unrelated to the underlying EEG. We therefore combined large-scale report-based evaluations with direct neurologist review of EEG recordings, comparison against an established expert-supervised model, assessment of generated impressions and shuffled-report controls. This complementary evaluation provides stronger evidence than any individual metric and highlights the importance of distinguishing linguistic agreement, diagnostic discrimination and clinically meaningful interpretation when assessing medical language models.
Several findings also identify opportunities to improve this approach. Diagnostic discrimination was generally stronger for widespread or sustained abnormalities, such as generalized slowing, than for brief or spatially restricted findings, including epileptiform discharges and seizures. One possible explanation is the challenge of preserving temporally localized information when compressing long multichannel recordings into a compact representation, compounded by the limited temporal specificity of routine clinical reports. Moreover, generating an integrated impression requires not only recognizing findings but also selecting and communicating clinically relevant information; consequently, abnormalities that can be identified through targeted questions may still be omitted from narrative reports. These observations suggest several complementary directions for further development, including explicit localization of EEG evidence, tighter alignment between findings and their temporal context, and improved report generation through structured clinical feedback. Incorporating higher-quality expert-reviewed reports and structured EEG documentation may further improve performance, particularly for uncommon or subtle abnormalities. Ultimately, combining the scalability of routine report-based learning with targeted expert supervision may offer a particularly effective strategy for further improving clinical reliability.
Several limitations should be considered. The direct EEG-based expert evaluation was restricted to 200 recordings assessed by a single neurologist, while assessments of generated impressions relied on text-based comparisons rather than independent review of the corresponding EEG signals. Large-scale diagnostic evaluations used report-derived reference labels, which are vulnerable to omissions and variation in reporting practices, and the observed similarity between models does not establish formal statistical equivalence. Although performance was demonstrated in English- and German-language settings, language and hospital site were confounded, preventing isolation of language-specific effects. Model development was restricted to adult EEG recordings with a standardized channel configuration and without additional clinical context, and the accuracy of unrestricted responses to arbitrary questions and multiturn clinical interactions remains to be established. Most importantly, the study did not assess prospective use in clinical workflows or its effects on physician performance, diagnostic decisions or patient outcomes. Future studies should therefore investigate human–AI interaction, clinical safety and reliability, and the benefits of integrating EEGgrounded explanations and patient-specific context into physician-supervised interpretation.
Together, these findings demonstrate that the development of medical AI need not be constrained to predefined diagnostic labels and the expert annotation effort required to create them. By learning from the clinical interpretations already generated during routine care, EEG Copilot combines competitive diagnostic performance with broader, multilingual and narrative capabilities that more closely reflect how physicians interrogate and communicate complex physiological information. Beyond EEG, this approach offers a path toward medical AI systems in which clinical language provides both the foundation for scalable learning and the interface through which clinicians interact with their data.
Methods / Study design and datasets
We developed EEG Copilot using clinical EEG recordings and reports from Massachusetts General Hospital and Brigham and Women’s Hospital5 and evaluated it in external cohorts from Charité – Universitätsmedizin Berlin. The retrospective study was conducted under institutional review board approvals from Mass General Brigham (2013P001024) and the Ethics Committee of Charité – Universitätsmedizin Berlin (EA4/073/26), with informed consent waived at both institutions. Separate analyses assessed frozen signal representations, EEG–language alignment, structured question answering, and impression generation. Report-derived reference labels were distinguished from expert assessments based on direct EEG review.
Model development used EEG recordings from the two Boston sites represented in the Brain Data Science Platform dataset5. Report selection targeted examinations labeled “Routine” in the source metadata and patients aged older than 18 years. The signal archive contained 36,450 EDF recordings. Preprocessing excluded 59 recordings without valid windows and two recordings with insufficient canonical EEG channels, leaving 36,389 recordings from 29,958 distinct dataset patient identifiers.
Patients were randomly assigned to training, validation, and test partitions in proportions of 80%, 10%, and 10%, respectively, using a fixed seed of 42. All recordings and windows associated with a patient identifier retained the same assignment. After preprocessing, the partitions contained 29,050 training, 3,630 validation, and 3,709 test recordings. Self-supervised encoder training used only the Boston training partition, comprising 2,283,348 retained 30-s windows. Consequently, patients assigned to the internal validation and test partitions did not contribute recordings to encoder pretraining. Subsequent EEG–language training retained the same patient assignments and applied additional requirements concerning recording duration and availability of matched text. Bridge training included 28,321 recordings. The final instruction-training mixture included 26,565 recordings, of which 26,301 supplied standalone impressions and focused question–answer examples.
External evaluation used recordings from Charité Campus Mitte. Of 2,639 available EDF recordings, 2,591 retained valid windows after preprocessing; five recordings lacked sufficient canonical EEG channels and 43 yielded no valid windows. Following duration filtering and linkage to reports and extracted labels, 2,163 recordings entered the external evaluation. Charité recordings were not used in the inspected encoder, bridge, or language-model training stages. The external archive’s storage partitions were pooled for evaluation rather than used as training and test partitions.
Methods / Signal preparation
EDF recordings were loaded using MNE python (v1.12.1) 11,12. Channel names were standardized to a canonical set of 19 electrodes: Fp1, Fp2, F7, F3, Fz, F4, F8, T3, C3, Cz, C4, T4, T5, P3, Pz, P4, T6, O1, and O2. Modern temporal-channel names T7, T8, P7, and P8 were mapped to T3, T4, T5, and T6, respectively. Recordings were required to contain all 19 canonical EEG channels.
Selected EEG and ECG channels were jointly resampled to 256 Hz when their original sampling frequency differed. EEG signals were referenced to the instantaneous average across the selected EEG electrodes; ECG and other auxiliary channels were excluded from the reference. Signals were converted to microvolts and stored without per-channel amplitude normalization. When separate left and right ECG channels were available, their difference was retained; otherwise, the first identified ECG/EKG channel was used. Missing ECG was represented by zeros and an explicit availability mask.
Signals were divided into non-overlapping 30-s windows containing 7,680 samples. Incomplete terminal windows were discarded. A window was rejected if any selected EEG value was nonfinite, if any EEG channel had a standard deviation below 0.01 μV after preprocessing, or if an available ECG contained nonfinite values. Recordings without any retained windows were excluded. No additional explicit notch or band-pass filtering, independent-component artifact removal, or amplitude-threshold rejection was applied.
For recording-level EEG–language modeling, duration eligibility was calculated as the interval from the first retained window’s start to the last retained window’s end. Recordings exceeding two hours under this definition were excluded. For recording-level question answering and impression generation, the model received all retained 30- second windows from each eligible recording, without temporal cropping. Within the encoder, each channel was zero-centered within each window; EEG signals were subsequently scaled by their joint root-mean-square amplitude, while ECG was scaled separately.
Methods / Self-supervised EEG encoder
EEG2Vec combined a temporal convolutional encoder with a six-layer transformer of hidden dimension 512 and eight attention heads. Convolutional weights were shared across EEG channels; ECG used a separate convolutional encoder. The temporal stride was 128 samples, yielding 60 tokens per channel for each 30-s window. Tokens received sinusoidal temporal embeddings and learned embeddings describing channel identity, montage view, lead type, and source and reference electrodes. A summary token and amplitude tokens were included in the transformer input.
Pretraining used paired referential and bipolar views derived from the same recording. Batches alternated between a full montage containing 19 referential and 18 longitudinal bipolar leads and a reduced montage containing six referential and four bipolar leads. An exponential-moving-average teacher, conceptually related to data2vec13 received unmasked inputs, while the student received inputs with randomly masked channels and temporal token spans. The configured masking procedure hid two to four valid channels and two to three temporal spans of three tokens, aligned across channels. Temporal reconstruction loss was evaluated at span centers; masked-channel reconstruction was evaluated across the affected channel tokens.
The objective combined latent-token reconstruction, relative channel-amplitude prediction, prediction of the pooled teacher representation from the student summary token, variance and covariance regularization, and cross-view consistency:
ℒencoder = ℒtoken + 0.2ℒamplitude + 0.1ℒsummary + 0.05ℒvar/cov + 0.05ℒcross-view Cross-view consistency minimized the cosine distance between summary representations obtained from referential and bipolar EEG views. Teacher parameters were updated with momentum 0.999.
Methods / Probing frozen EEG representations
We assessed information recoverable from the encoder’s 512-dimensional window summary vectors using independent classifiers for each clinical feature. The linear probe applied a single linear output layer to the mean of all retained window vectors. The recurrent probe used a bidirectional, single-layer long short-term memory network with 64 hidden units per direction, followed by concatenated mean and maximum pooling, dropout of 0.1, and a linear output layer. Recurrent state was reset across gaps exceeding 30 s.
Probes were trained with class-balanced binary cross-entropy using AdamW14, a learning rate of 10−3, weight decay of 10−4, and batches of 64 recordings. Training continued for at most 100 epochs, with early stopping after ten epochs without sufficient improvement in balanced validation loss. The checkpoint with the lowest balanced validation loss was restored before test evaluation. Three seeds—17, 29, and 43—were evaluated, and reported AUROCs were arithmetic means across seeds.
Unmentioned pathological findings and ECG abnormalities were treated as negative. Unmentioned sleep and normality findings, and explicitly uncertain or unassessable answers, remained unknown and were excluded for the corresponding feature. Figure 2e presents 25 EEG/ECG endpoints, excluding clinical-history questions. Confidence intervals were obtained from 1,000 patient-cluster bootstrap resamples, using common patient draws across architectures and seeds within each feature.
Methods / Hierarchical EEG–language bridge
A local attention module compressed the frozen encoder’s patch tokens into eight learned query tokens per window7. These were concatenated with a projected window summary token, producing nine 768-dimensional tokens per window. Learned windowposition embeddings encoded their order. A global query transformer initialized from BiomedBERT15 used 64 learned queries and cross-attention after every second transformer layer to aggregate the recording into 64 output tokens. Bridge pretraining combined four objectives inspired by language-image pre training16: bidirectional reportlevel contrastive alignment, statement-level contrastive ranking, joint EEG–statement matching, and EEG-conditioned text generation. The report-level objective treated texts associated with the same recording as positive matches. Statement objectives ranked report-consistent descriptions above counterfactual alternatives. EEG–text similarity was calculated using the maximum cosine similarity across query tokens. The combined loss was ℒbridge = ℒreport + 0.25ℒstatement + 0.5ℒmatching + 0.5ℒgeneration.
Validation monitored these objectives, statement-selection accuracy, teacher-forced next-token accuracy, and bidirectional retrieval within candidate batches. Retrieval accuracy therefore reflected the evaluated batch composition rather than unrestricted retrieval across the full dataset.
Methods / Instruction data and language-model adaptation
Clinical reports were transformed into English- and German-language instruction examples comprising standalone impressions, focused question–answer pairs, and multi-turn dialogues. Qwen3.8-27B17,18 generated one impression and five focused question–answer pairs per language and report. Derived examples retained their source recording’s dataset assignment. Clinical reports supplied training targets; they were not provided to EEG Copilot during standalone question answering or impression generation.
The bridge’s 64 output tokens were projected into the 3,840-dimensional embedding space of Gemma 4 12B19 using layer normalization and a two-layer projection with an intermediate dimension of 2,048, SiLU activation20, and dropout of 0.05. The projected tokens were inserted as a continuous EEG prefix. Training minimized next-token crossentropy over assistant responses, excluding user and system tokens from supervision. The EEG encoder and base language-model weights remained frozen. Training progressively activated the projection, low-rank language-model adapters, querytransformer cross-attention, query-transformer backbone, and local compressor. Adapter training began at update 1,500, cross-attention at 9,000, backbone adaptation at 15,000, and local-compressor adaptation at 21,000. Low-rank adapters6 had rank and scaling factor 128, dropout of 0.1, and targeted the language model’s query, key, value, and output projections.
The final continuation, from update 108,000 to 118,000, sampled impressions, focused questions, and multi-turn dialogues in proportions of 50%, 30%, and 20%, respectively. Recordings were sampled uniformly within each source. Impression and focusedquestion losses received recording weights based on positive pathological findings: each finding’s boost was its inverse square-root training prevalence, capped at four; recordings received the maximum applicable boost or a baseline of one. Weights were normalized to a mean of one within each source. Multi-turn losses and evaluation metrics remained unweighted. An auxiliary classifier was trained on detached bridge representations and did not update the generative model.
Final model training used four H200 GPUs, bfloat16 mixed precision, and an effective batch size of 64 examples. AdamW14 learning rates were 2 × 10−4 for the projection, 2 × 10−5 for adapters, 10−5 for cross-attention, and 5 × 10−6 for the backbone and local compressor.
Methods / Assessment of EEG conditioning
We compared reference-response negative log-likelihood under matched and shuffled EEG inputs while holding the text context and target response constant:
ΔNLL = NLLshuffled − NLLmatched Positive values indicate that the matched recording increases the likelihood of the reference response. Because monitoring settings changed across training restarts, the concatenated trajectory was interpreted as a descriptive training diagnostic rather than a controlled comparison between training stages.
Methods / Structured question answering
We evaluated 25 binary questions covering epileptiform activity, slowing and encephalopathy, periodic and rhythmic patterns, sleep, ECG abnormalities, and overall normality. The questions were based on the SCORE-EEG system for structured reporting of EEGs21 and the ACNS criteria22. Reference labels were extracted from clinical reports using MedGemma 27B23. Each question was presented independently with the EEG representation, without the report or preceding reference answers.
For the internal test analysis shown in Figure 4, the prompt specified to only answer with “Yes” or “No”, and the score compared the likelihoods of these tokens:
𝑠 = log 𝑃 (Yes ∣ EEG, 𝑞) − log 𝑃 (No ∣ EEG, 𝑞)
The external German analysis analogously compared “Ja” and “Nein.” Candidate scores summed conditional log probabilities over the complete answer text, excluding the turn terminator and without length normalization. This distinction matters because “Nein” comprises two tokens with the saved tokenizer.
Feature discrimination was summarized by AUROC. Category summaries were unweighted means of feature AUROCs.
Methods / Impression generation and assessment
Impressions were generated from the EEG and a fixed request in each site's reporting language (English for MGH and BWH, German for CBF and CCM), using greedy decoding with up to 512 new tokens and without access to the report. References were the impression sections of the original reports, used without translation or rewriting.
Qwen3.8-27B17,18 rated each pair, without the EEG or model identity, for correctness of the main interpretation, completeness of important reference findings and specificity of generated claims, each on a 0–2 scale using a fixed rubric. Pairs with inadequate references were excluded, leaving 2,378 MGH, 973 BWH, 3,830 CBF and 2,151 CCM pairs. As a chance baseline, the assessment was repeated after five within-site permutations of generated impressions, excluding same-recording and same-patient pairs.
A board-certified neurologist specialized in EEG and epilepsy reviewed 200 randomly sampled impressions per site against the reference text, without inspecting the EEG. Individual statements were assigned to seven clinical categories and rated fully correct (2), partly correct (1) or wrong (0); omissions and unsupported additions (fabrications) were annotated separately. Finally, each impression was rated as correct, clinically usable with minor errors or clinically unusable. Statement-level denominators excluded omissions, omission counts were not converted into rates, and 95% confidence intervals were calculated with the Wilson method.
Methods / External expert evaluation
External expert evaluation comprised 200 randomly sampled EEG recordings acquired at Charité–Universitätsmedizin Berlin between 2023 and 2025, including examinations from general inpatient wards, intensive care units, and outpatient settings. Each recording was manually reviewed by a board-certified neurologist specialized in EEG and epilepsy. The reviewer assessed 25 SCORE-EEG-based items, recording each finding as present (“yes”), absent (“no”), or unassessable (“N/A”). These recording-based assessments served as the expert reference for evaluation of the original clinical reports. The reviewer subsequently assessed each original report against the findings established through direct EEG review. Text segments were assigned to the corresponding SCORE-EEG-based items and classified as correct, containing a minor error, or wrong. Findings identified during EEG review but omitted from the original report were documented separately.
Each report also received an overall rating of “correct,” “clinically usable with minor errors,” or “wrong/clinically not usable.” Reports were classified as clinically unusable if their overall interpretation as normal or abnormal disagreed with the expert assessment, or if they omitted or falsely asserted clinically important findings with implications for treatment, such as epileptiform activity or burst suppression.
EEG Copilot answers and MORGOTH predictions were matched to the expert assessments by recording and corresponding clinical finding. The findings established through direct EEG review served as the reference for all comparisons; original clinical reports were evaluated as a separate comparator rather than treated as ground truth. Comparisons with Morgoth were restricted to endpoints shared by the two systems and the expert assessment. Analyses were performed separately for each finding using recordings with an assessable expert reference and an evaluable corresponding output. For binary findings, performance was summarized by balanced accuracy, calculated as the arithmetic mean of sensitivity and specificity. Agreement with the expert reference was additionally quantified using Cohen’s and Gwet’s AC125. Both coefficients were reported to characterize agreement under the different prevalence distributions of the evaluated findings. The numbers of reference-positive and reference-negative recordings were reported for each endpoint. Numeric estimates of posterior dominant rhythm frequency, background frequency, and posterior dominant rhythm amplitude were assessed separately using range overlap.
Summary agreement coefficients were calculated as unweighted means across eligible findings. To limit the contribution of sparsely represented endpoints, these summaries included only findings with at least ten reference-positive and ten reference-negative recordings. The comparison across all shared findings and the comparison restricted to endpoints available from MORGOTH used their respective eligible endpoint sets. Uncertainty in the mean agreement coefficients was summarized using 95% bootstrap confidence intervals. Comparisons between systems were descriptive; differences in point estimates were not interpreted as evidence of statistically significant differences.
Data availability
The EEG recordings and associated clinical reports from Massachusetts General Hospital (MGH) and Brigham and Women’s Hospital (BWH) are available through the Harvard Electroencephalography Database5, hosted by the Brain Data Science Platform (BDSP; https://bdsp.io/content/harvard-eeg-db/4.1/). Access is subject to credential verification and a data use agreement. The clinical EEG recordings and associated reports from Charité – Universitätsmedizin Berlin are not publicly available owing to patient privacy, data protection regulations and institutional restrictions on sharing patient-level clinical data.
Data availability / Code availability
Selected code developed for this study, including EEG preprocessing and evaluation utilities, will be made publicly available upon publication through the Computational Neurology GitLab repository (https://gitlab.com/computational-neurologie). Publicly accessible third-party resources used in this study include MNE-Python11,12, BiomedBERT15, Gemma 419, Qwen3.8-27B17,18, MedGemma 27B23 and MORGOTH2, which are available through their respective official repositories and subject to applicable licensing conditions.
还没有查过关联研究
我会去找这篇研究之前的基础工作、做类似事情的研究,以及之后引用它的研究,并说明每篇为什么相关。