Erp foundation model improves brain response analysis across datasets

ERP-FM: A Foundation Model for Universal ERP Analysis

Computational Engineering, Finance, and Science

Summary

Analyzing brain signals called event-related potentials (ERPs) can be tricky because they change quickly and vary among people. The authors created a special AI model named ERP-FM that learns from lots of ERP data across many people and experiments. This model helps computers better understand and classify different brain responses and can even improve detecting neurological diseases. They found combining data from individual brain signal events and averaged events makes the model work better. Overall, ERP-FM offers a new way to study brain responses more accurately across different tasks and people.

What this means in practice

Authors

Yihe Wang, Bohan Chen, Taida Li, Yujun Yan, Rui Yin, Xiang Zhang

Abstract

Foundation models have recently shown strong potential for learning generalizable EEG representations, yet their effectiveness for event-related potential (ERP) analysis remains unclear. In this work, we investigate two fundamental questions: 1) can foundation-model learning benefit ERP analysis, and what limits the transfer of existing EEG foundation models to ERP tasks? 2) can the complementary advantages of single-trial and averaged-trial ERP be integrated into a unified training pipeline? To study these questions, we curate a large-scale ERP corpus comprising 1,517,157 single-trial ERPs from 3,696 subjects across 38 datasets and 18 paradigms. Leveraging this corpus, we introduce ERP-FM, to the best of our knowledge, the first foundation model specifically developed for ERP representation learning. ERP-FM uses single-channel tokenization, temporal and spatial positional embeddings, and mixed masked autoencoding for large-scale single-trial pretraining. We compare our model against 17 existing methods on 12 downstream datasets covering ERP event/condition classification and neurological disease classification. Our model achieves the best overall average rank across all evaluated methods. Furthermore, our analyses reveal that both ERP and non-ERP EEG pretraining can provide transferable representations for ERP tasks, while fine-grained temporal tokenization is critical for effectively modeling transient ERP dynamics. We further find that single-trial and averaged-trial ERP play complementary rather than competing roles. Combining single-trial pretraining with averaged-trial downstream adaptation substantially improves neurological disease analysis. Overall, these findings establish an effective foundation-model training pipeline for ERP analysis and represent significant progress toward generalizable ERP representation learning. Source code: https://github.com/DL4mHealth/ERP-FM