# Predicting Human Brain States with Transformer

arXiv: https://arxiv.org/abs/2412.19814 · HTML: https://mlsanity.com/paper/2412.19814/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 11 Dec 2024.

## Built on by (most cited first, 5 of 5)

- [Voxel-Level Brain States Prediction Using Swin Transformer](https://mlsanity.com/paper/2506.11455/) (2025)
- [Pretraining Large Brain Language Model for Active BCI: Silent Speech](https://mlsanity.com/paper/2504.21214/) (2025)
- [Truth Neurons](https://mlsanity.com/paper/2505.12182/) (2025)
- [BrainCast: A Spatio-Temporal Forecasting Model for Whole-Brain fMRI Time Series Prediction](https://mlsanity.com/paper/2603.13361/) (2026)
- [Probabilistic Prediction of Neural Dynamics via Autoregressive Flow Matching](https://mlsanity.com/paper/2604.11178/) (2026)

## Abstract (arXiv)

The human brain is a complex and highly dynamic system, and our current knowledge of its functional mechanism is still very limited. Fortunately, with functional magnetic resonance imaging (fMRI), we can observe blood oxygen level-dependent (BOLD) changes, reflecting neural activity, to infer brain states and dynamics. In this paper, we ask the question of whether the brain states rep-resented by the regional brain fMRI can be predicted. Due to the success of self-attention and the transformer architecture in sequential auto-regression problems (e.g., language modelling or music generation), we explore the possi-bility of the use of transformers to predict human brain resting states based on the large-scale high-quality fMRI data from the human connectome project (HCP). Current results have shown that our model can accurately predict the brain states up to 5.04s with the previous 21.6s. Furthermore, even though the prediction error accumulates for the prediction of a longer time period, the gen-erated fMRI brain states reflect the architecture of functional connectome. These promising initial results demonstrate the possibility of developing gen-erative models for fMRI data using self-attention that learns the functional or-ganization of the human brain. Our code is available at: https://github.com/syf0122/brain_state_pred.
