Imaging NeuroscienceNeurosciencePeer-reviewed journal article
Predicting task-related brain activity from resting-state brain dynamics with fMRI Transformer
Junbeom KwoniD, Jungwoo SeoiD, Hee‐Hwan WangiD, Taesup MooniD, Shinjae YooiD, Jiook ChaiD
Abstract
Accurate prediction of the brains task reactivity from resting-state functional magnetic resonance imaging (fMRI) data remains a significant challenge in neuroscience. Traditional statistical approaches often fail to capture the complex, nonlinear spatiotemporal patterns of brain function. This study introduces SwiFUN (Swin fMRI UNet Transformer), a novel deep-learning framework designed to predict 3D task activation maps directly from resting-state fMRI scans. SwiFUN leverages advanced techniques such as shifted window-based self-attention, which helps to understand complex patterns by focusing on varying parts of the data sequentially, and a contrastive learning strategy to better capture individual differences among subjects. When applied to predicting emotion-related task activation in adults (UK Biobank, n=7,038) and children (ABCD, n=4,944), SwiFUN consistently achieved higher overall prediction accuracy than existing methods across all contrasts; it demonstrated an improvement of up to 27% for the FACES-PLACES contrast in ABCD data. The resulting task activation maps revealed individual differences across cortical and subcortical regions associated with sex, age, and depressive symptoms. This scalable, transformer-based approach potentially reduces the need for task-based fMRI in clinical settings, marking a promising direction for future neuroscience and clinical research that enhances our ability to understand and predict brain function.
- Citations
- 18
- FWCI
- 9.71
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Predicting Individual Task Contrasts From Resting-state Functional Connectivity using a Surface-based Convolutional Network
Gia H. Ngo, Meenakshi Khosla, … Mert Rory Sabuncu·NeuroImagePeer-reviewed·Dec 26, 2021
- Accurate predictions of individual differences in task-evoked brain activity from resting-state fMRI using a sparse ensemble learner
Ying‐Qiu Zheng, Seyedeh-Rezvan Farahibozorg, … Stephen M. Smith·NeuroImagePeer-reviewed·Jun 28, 2022
- st-DenseViT: A Weakly Supervised Spatiotemporal Vision Transformer for Dense Prediction of Dynamic Brain Networks
Behnam Kazemivash, Pranav Suresh, … Vince D. Calhoun·Human Brain MappingPeer-reviewed·Sep 27, 2025
- Efficient Deep Learning Models for Predicting Individualized Task Activation from Resting-State Functional Connectivity
Soren J. Madsen, Young-Eun Lee, … Manish Saggar·Human Brain MappingPeer-reviewed·Jun 15, 2026
- Predicting brain activity using Transformers
Hossein Adeli, Sun Minni, Nikolaus Kriegeskorte·bioRxiv·Aug 2, 2023
- A Deep Learning Framework for Spatiotemporal Modeling of Visual Task fMRI
Mingyang Li, Yiwei Chen, … D W Wu·bioRxiv·May 9, 2026