EEG-CLIP: learning EEG representations from natural language descriptions
Deep networks for electroencephalogram (EEG) decoding are often only trained to solve one specific task, such as pathology or age decoding. A more general task-agnostic approach is to train deep networks to match a (clinical) EEG recording to its corresponding textual medical report and <i>vice versa</i>. This approach was pioneered in the computer vision domain matching images and their text captions and subsequently allowed to do successful zero-shot decoding using textual class prompts. In this work, we follow this approach and develop a contrastive learning framework, EEG-CLIP, that aligns the EEG time series and the descriptions of the corresponding clinical text in a shared embedding space. We investigated its potential for versatile EEG decoding, evaluating performance in a range of few-shot and zero-shot settings. Overall, we show that EEG-CLIP manages to non-trivially align text and EEG representations. Our work presents a promising approach to learn general EEG representations, which could enable easier analyses of diverse decoding questions through zero-shot decoding or training task-specific models from fewer training examples. The code for reproducing our results is available at https://github.com/tidiane-camaret/EEGClip.
Authors
- Robin Tibor Schirrmeister (ORCID: https://orcid.org/0000-0002-5518-7445)
- Tonio Ball (ORCID: https://orcid.org/0000-0002-4993-466X)
- Tidiane Camaret Ndir
Institutions
- Allen Institute for Brain Science (US)
- University of Freiburg (DE)
- University Medical Center Freiburg (DE)
Publication Details
- Journal
- Frontiers in Robotics and AI
- Published
- 2025-08-26
- DOI
- https://doi.org/10.3389/frobt.2025.1625731
- Citations
- 4
- Primary Topic
- EEG and Brain-Computer Interfaces
- Type
- article
- Field-Weighted Citation Impact
- 5.72
Funders
- Deutsche Forschungsgemeinschaft
- Bundesministerium für Bildung und Forschung