Manuscript Offprint

arXiv:2611.05538

Recasting Visual Language Models as EEG Foundation Models for Clinical Neurodiagnostics

Xin Zhou, Elena Sergeeva, Nan Bi, Wenyu Song, Lijun Yin, Hao Deng

Abstract

Historically automated electroencephalography (EEG) systems was done using task-specific supervised models trained on purposely annotated data. A more recent modeling paradigm relies on creating a unified representation, or a 'foundation model', for multiple modality-specific tasks through large-scale domain-specific pretraining on the unannotated EEG signal. The quality of this unified representation directly depends on the availability of the modality-specific datasets. At the same time, generalist Vision Language Models (VLMs) exhibit broad few-shot learning capacities as well as good fine-tuning adaptability to different visual and language tasks. Can VLMs learn how to read and interpret EEG visually, emulating to a degree the way human clinicians inspect the EEG patterns? In this work we make a case that they can: we show that generalist VLMs without large-scale EEG pretraining perform competitively across a collection of clinical neuro-diagnostic tasks, can adapt to different tasks in a few-shot learning setting better than specialist foundation models, and exhibit better performance with model scaling when modality-specific models fail to exhibit.

1 Main

Approximately one in ten people in the United States will experience at least one seizure (SZ) during their lifetime [1]. A seizure is a transient episode of abnormal, excessive, or synchronous neuronal activity in the brain, often presenting with involuntary movements such as jerking or stiffening, impaired responsiveness, or both [2]. Seizures may occur in patients with epilepsy or as acute symptomatic events associated with acute brain injury or metabolic disturbances [3, 4], and the diagnosis and classification of seizures heavily rely on the analysis of electroencephalography (EEG). Monitoring data of SZ-related EEG abnormalities of epileptiform or periodic discharges and ictal-interictal continuum (IIC) patterns are also predictive of subsequent seizure risks [5, 6]. In particular for intensive care units (ICUs), about 20 percent of the seizures are electrographic-only, of which 92 percent are non-convulsive seizures without observable symptoms [7]. Continuous EEG (cEEG) monitoring is recommended by expert consensus to detect these nonconvulsive seizures and assess treatment response in critically ill patients at risk [8]. However, cEEG is typically acquired continuously but reviewed intermittently [8]. This is because qualified neurophysiologists capable of interpreting EEG patterns are scarce [9], and reviewing prolonged EEG recordings is labor-intensive, cognitively demanding, and with high inter-rater variability [10]. For example, a 24-hour recording viewed page-by-page, takes a trained professional 38 (±17) minutes on average, with studies containing seizures taking even more time to evaluate [11]. These limitations highlight the urgent need and significant interests in automated EEG-based seizure detection and pattern recognition with expert-level accuracy.

Although there is a rich history of automating specific EEG abnormality detection tasks using statistical methods [9, 12], starting in about 2023 a new paradigm of EEG model construction has become dominant in frontier research. Instead of a specific model trained for a specific task, a model that learns general-purpose input representations through large-scale self-supervised learning is trained on a large unlabeled corpus of EEG data [13]. That model is later adapted for a downstream task through task-specific fine-tuning. In the literature, these large-scale models trained on massive datasets are commonly called foundation models. Despite its widespread use, the term itself does not have a good wildly adopted operational definition. The original paper introducing the term is relatively modest in defining the criteria a model has to fit to be considered a foundation model: "A foundation model is any model that is trained on broad data (generally using self-supervision at scale) that can be adapted (e.g., fine-tuned) to a wide range of downstream tasks." [14]. In practice, a foundation model must perform better than a model trained from scratch on the downstream task, scale effectively with size [15] and show emergent capabilities task-specific models don't. The latter is relatively hard to define but is commonly understood as fast domain adaptation to new tasks from a small number of examples, good performance under the frozen backbone condition and better than random performance in zero-shot evaluation settings [16, 17]. Existing EEG foundation models only appear to outperform specialized, trained from scratch models in data-rich fine-tuning settings, do not perform well in the linear-probing scenarios of evaluation and do not appear to exhibit 'performance-with-size' scaling typical for foundation models trained on texts or images. [18]. While the failure of those models on small-data more ambiguous tasks like emotion detection can be possibly attributed to the signal and the nature of the labels itself (EEG data is a highly filtered measurement of summed neuronal activity of the brain and emotions are self-reported experiences with unknown duration and consistency) [19], their failures on seizure and abnormalities related tasks have a different nature. The task of detecting different types of abnormal brain activity on the recording is well defined and can be performed by a trained clinician, the information is present in the recording and labels represent well-defined phenomena. What makes EEG foundation models fail to overperforming specialized from scratch models where other modalities foundation models succeed? The most plausible explanation of this relative failure is the size, population coverage and the quality of the unsupervised pre-training corpus. Even if we are to disregard the data quality issues, modern 'small' visual models 'see' about 500 times more data 'tokens' (patches) than modern EEG foundation models during their pre-training phase. A simple scaling up the data approach is complicated and expensive to implement: a 400-fold data increase would require the entire four-year output of every EMU across the US healthcare system available for the model training. Clinicians evaluate by visual inspection of a specific EEG recording. Effectively, humans rely on their general visual capacity and just a smaller number of the abnormal examples they have been shown during their medical training and over the years of clinical practice. In this work we are making the case for using existing modern vision-language models as foundation models for clinical neuro-diagnostic tasks.

References (60)