Research

MIT AI finds signs of disease and medication use in EEG recordings

A hospital EEG is often ordered to answer a narrow question, such as whether someone is having seizures. A model from MIT finds more in the same recording: signals linked to conditions such as cerebral palsy, liver disease and Alzheimer’s disease, and to medications such as morphine and the antidepressant trazodone.

The model, called CLEF, was built by Dina Katabi’s group at MIT’s Computer Science and Artificial Intelligence Laboratory with neurologists Jong Woo Lee of Brigham and Women’s Hospital and Aleksandar Videnovic of Massachusetts General Hospital. Peng Cao and Ali Mirzazadeh are joint first authors. The paper was posted to arXiv in May, has been accepted as a poster at NeurIPS 2026 and will be presented in Sydney on 9 December.

The model

CLEF was built on a snapshot of the Harvard Electroencephalography Database: 260,604 recordings, about 2 million hours, from 108,341 patients. Patients were split into training, validation and test groups, so no test patient was seen in training. The database holds de-identified recordings from Massachusetts General, Brigham and Women’s, Beth Israel Deaconess and Boston Children’s hospitals, including routine, epilepsy monitoring and intensive care EEGs, and researchers access it under a data use agreement.

Earlier EEG foundation models are mostly designed for short windows of signal. CLEF compresses about 20 minutes of a 19-channel recording into 2,048 tokens and models that window as a whole. It is then trained to match each recording with two kinds of clinical data: the neurologist’s report, summarised by a language model, and structured health-record codes covering demographics, active medications and diagnoses. About 59% of the snapshot had linked neurologist reports.

The results

The team built a benchmark of 234 tasks: 120 diseases, 99 medications and 15 findings that neurologists note in EEG reports. For each case, up to 10 controls were matched on age, sex, hospital and recording setting.

Performance is measured as AUROC, where 0.5 is chance and 1.0 is perfect. CLEF scored a mean of 0.74, against 0.65 for NeuroLM, the strongest of five earlier EEG foundation models tested, and beat them on 227 of the 234 tasks in the version accepted at NeurIPS. The May preprint put the figure at 229.

AUROC gains over earlier models that the May preprint highlights include cerebral palsy (0.27), alcoholic liver disease (0.21), and Alzheimer’s disease and cirrhosis (0.16 each), and the medications morphine, zonisamide and hydromorphone (0.18 each) and clobazam (0.17). CLEF reached 0.88 for cerebral palsy and 0.81 for trazodone. For propofol, an anaesthetic, it reached 0.93, and for brain injury from lack of oxygen, 0.90. The authors note that EEG is commonly used to monitor propofol’s effects and assess oxygen-deprivation injury, “but not for diagnosing cerebral palsy or identifying trazodone exposure.”

When the researchers retrained CLEF with the matching report terms and health-record codes removed for a randomly chosen fifth of the tasks, performance on those 45 held-out tasks did not drop. On three further datasets, CLEF scored 0.94 for detecting abnormal EEGs and 0.96 for epilepsy, on Temple University Hospital data that all five earlier models had been pretrained on, and 0.69 for cognitive impairment on six-channel sleep-study recordings from the 2026 PhysioNet Challenge.

The limits

The authors say CLEF should not be used for real-time monitoring, that its 20-minute window may miss longer patterns such as full sleep architecture or trends across days of continuous monitoring, that its internal representations cannot be directly interpreted, and that it may be less accurate or less well calibrated for groups underrepresented in the data. “We therefore view CLEF as a tool to augment, not replace, expert interpretation,” they write. They add that prospective validation and subgroup fairness auditing are prerequisites to any clinical use.

NeurIPS reviewers raised concerns. One said the separation between pretraining and testing was “not fully convincing”, since both draw on the same database, and asked whether factors such as intensive care status could explain results; after the authors’ rebuttal, that reviewer wrote that it “convincingly addresses my concerns”. Another reviewer’s “main concern” was “potential concept-level leakage” between training and testing; after the rebuttal, that reviewer wrote that “some concerns remain”. The project page links only to the paper, and the authors have not announced a release of code or model weights.

Signal: Why it matters

Companies across the field are building foundation models on brain data. Neuralink has used its trial participants’ recordings to pretrain models that support its decoders, and consumer EEG makers have trained models on users’ recordings. CLEF suggests a single recording can carry signals beyond the reason it was made, including signals linked to liver disease, developmental conditions and the drugs a person takes.

CLEF was built on de-identified hospital recordings that credentialed researchers access under a data use agreement, and it has not been tested on recordings from consumer headsets.

Katabi’s group has done this kind of work with other signals: in 2022 it reported, with Videnovic among the authors, an AI model that detected Parkinson’s disease from breathing during sleep.

Not disclosed

Funding for the work. Whether the code and model weights will be released. How CLEF performs on recordings from consumer EEG devices.

Forward Radar: What to watch

Release of the model and code.

Whether CLEF, or a model like it, is tested on recordings from consumer EEG devices.

Sources

Primary:

Coverage:

Cross-reference to prior InsideBCI coverage:

Weekly BCI Brief in your inbox

Join researchers, investors, and industry leaders who start their day with Inside BCI.