BlockPulserScience and industry

MIT model finds patterns linked to diseases and medications in 20-minute EEGs

A 20-minute electroencephalogram (EEG), the kind neurologists use to look for seizures, also contains patterns associated with conditions and medications that clinicians do not normally assess with the test. Researchers at MIT’s Computer Science and Artificial Intelligence Laboratory found that their AI model, CLEF, could pick up patterns linked to cerebral palsy, alcoholic liver disease and use of the sleep medication trazodone. The results do not establish that an EEG can diagnose those conditions or confirm that someone has taken a drug.

What CLEF learns from a whole recording

The team, led by MIT professor Dina Katabi, trained CLEF on the Harvard Electroencephalography Database. It contains more than 260,000 sessions from over 108,000 patients at four Boston hospitals, totaling about 2 million hours of recordings.

Rather than examining a few seconds of brain activity at a time, CLEF compresses nearly five million measurements from a 20-minute, 19-channel EEG into a sequence of 2,048 units. It first learns which patterns tend to occur together by predicting missing parts of a recording. The researchers then train it to connect those patterns with neurologists’ reports and with diagnoses and medications in patients’ health records. Once trained, CLEF needs only the EEG, not the patient’s chart.

Where clinical records made a difference

The researchers tested CLEF on 234 tasks covering 120 diseases, 99 medications and 15 findings that neurologists typically note in EEG reports. It outperformed five other EEG models on 227 tasks. Its average score was 0.74, compared with 0.65 for the strongest previous model, on a measure called AUROC. That measure describes how well a model distinguishes cases with a given finding from those without it: 0.5 indicates chance-level performance and 1.0 indicates perfect separation. A score of 0.74 does not mean 74 percent of patients received a correct diagnosis.

All the models readily picked up patterns associated with propofol, an anesthetic whose effects clinicians routinely monitor with EEG. For less familiar uses, learning from clinical records made a larger difference: CLEF’s score rose from 0.71 to 0.88 for cerebral palsy and from 0.64 to 0.81 for trazodone. CLEF also outperformed the comparison models on three datasets it had not seen during training, including two from Temple University Hospital in Philadelphia and a six-channel sleep-study dataset.

In a further test, the team removed references to 45 conditions, medications and EEG findings from the reports and records used for training. When tested on those concepts, the retrained model performed as well as the version that had seen the terms. That result suggests CLEF did not need an explicit label for each association it learned. It does not settle whether a pattern is specific to one condition or shared by several.

Why the findings are not diagnoses

Katabi identified specificity as a key question for clinical use: a signal associated with autism, for example, might also occur in people with related conditions. CLEF cannot yet show which part of a recording drove a prediction. It also summarizes the session as a whole, making it unsuitable for tracking sedation in real time, while its 20-minute window is too short to capture a full sleep cycle.

Katabi sees population studies of how medications affect the brain as a possible first use. Using CLEF alongside other clinical tests, and eventually seeking U.S. Food and Drug Administration clearance for individual markers, are proposed later steps. The research, supported by Wistron, was scheduled for presentation at NeurIPS in Sydney in December 2026.