MEG-GPT: A transformer-based foundation model for magnetoencephalography data
Not on the map. Why?
Abstract (arXiv)
Modelling the complex spatiotemporal patterns of large-scale brain dynamics is crucial for neuroscience, but traditional methods fail to capture the rich structure in modalities such as magnetoencephalography (MEG). Recent advances in deep learning have enabled significant progress in other domains, such as language and vision, by using foundation models at scale. Here, we introduce MEG-GPT, a transformer based foundation model that uses time-attention and next time-point prediction. To facilitate this, we also introduce a novel data-driven tokeniser for continuous MEG data, which preserves the high temporal resolution of continuous MEG signals without lossy transformations. We trained MEG-GPT on tokenised brain region time-courses extracted from a large-scale MEG dataset (N=612, eyes-closed rest, Cam-CAN data), and show that the learnt model can generate data with realistic spatio-spectral properties, including transient events and population variability. Critically, it performs well in downstream decoding tasks, improving downstream supervised prediction task, showing improved zero-shot generalisation across sessions (improving accuracy from 0.54 to 0.59) and subjects (improving accuracy from 0.41 to 0.49) compared to a baseline methods. Furthermore, we show the model can be efficiently fine-tuned on a smaller labelled dataset to boost performance in cross-subject decoding scenarios. This work establishes a powerful foundation model for electrophysiological data, paving the way for applications in computational neuroscience and neural decoding.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 24 of its 74 references that are in the map. First posted on arXiv 20 Oct 2025.
Builds on
24 of 74 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016Layer Normalizationcited by 5,579
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
12 more
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
- 2021Scaling Vision Transformerscited by 993
- 2022Decoding speech perception from non-invasive brain recordingscited by 129
- 2023BrainBERT: Self-supervised representation learning for intracranial recordingscited by 70
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
- 2024BrainWave: A Brain Signal Foundation Model for Clinical Applicationscited by 26
- 2024The Brain's Bitter Lesson: Scaling Speech Decoding With Self-Supervised Learningcited by 21
- 2016Decoding dynamic brain patterns from evoked responses: A tutorial on multivariate pattern analysis applied to time-series neuroimaging datacited by 9
- 2022Group-level Brain Decoding with Deep Learningcited by 7
- 2024osl-ephys: A Python toolbox for the analysis of electrophysiology datacited by 3
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Let EEG Models Learn EEGcited by 6
- 2026A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Modelscited by 1
- 2026Synthetic Data Generation for Brain-Computer Interfaces: Overview, Benchmarking, and Future Directionscited by 0
- 2026BrainJanus: A Unified Model for Understanding and Generation across Brain, Vision, and Languagecited by 0
- 2026A Roadmap for MEG Foundation Modelscited by 0
- 2026A Roadmap for MEG Foundation Models3 Sep 2026
- 2026BrainJanus: A Unified Model for Understanding and Generation across Brain, Vision, and Language29 Jun 2026
- 2026Let EEG Models Learn EEG20 May 2026
- 2026Synthetic Data Generation for Brain-Computer Interfaces: Overview, Benchmarking, and Future Directions11 Mar 2026
- 2026A Systematic Evaluation of Sample-Level Tokenization Strategies for MEG Foundation Models18 Feb 2026