FoME: A Foundation Model for EEG using Adaptive Temporal-Lateral Attention Scaling
Enze Shi, Kui Zhao, Qilong Yuan, Jiaqi Wang, Huawen Hu, Sigang Yu, Shu Zhang
TL;DR
FoME tackles EEG heterogeneity and data scarcity by training a large, diverse EEG foundation model on over 1.7 TB of data. It introduces time-frequency fusion embedding and adaptive time-lateral attention scaling (ATLAS) to learn robust multi-scale representations across scalp and intracranial recordings. Pretrained with masked signal reconstruction on unlabeled data, FoME achieves state-of-the-art performance across classification, forecasting, and imputation tasks, demonstrating strong transfer and zero-shot potential. This work presents a foundation-model paradigm for EEG with broad implications for BCI, clinical diagnostics, and cognitive neuroscience.
Abstract
Electroencephalography (EEG) is a vital tool to measure and record brain activity in neuroscience and clinical applications, yet its potential is constrained by signal heterogeneity, low signal-to-noise ratios, and limited labeled datasets. In this paper, we propose FoME (Foundation Model for EEG), a novel approach using adaptive temporal-lateral attention scaling to address above-mentioned challenges. FoME is pre-trained on a diverse 1.7TB dataset of scalp and intracranial EEG recordings, comprising 745M parameters trained for 1,096k steps. Our model introduces two key innovations: a time-frequency fusion embedding technique and an adaptive time-lateral attention scaling (ATLAS) mechanism. These components synergistically capture complex temporal and spectral EEG dynamics, enabling FoME to adapt to varying patterns across diverse data streams and facilitate robust multi-channel modeling. Evaluations across four downstream tasks demonstrate FoME's superior performance in classification and forecasting applications, consistently achieving state-of-the-art results. To conclude, FoME establishes a new paradigm for EEG analysis, offering a versatile foundation that advances brain-computer interfaces, clinical diagnostics, and cognitive research across neuroscience and related fields. Our code will be available at https://github.com/1061413241/FoME.
