Uncovering cognitive taskonomy through transfer learning in masked autoencoder-based fMRI reconstruction

Kaining Peng (彭恺宁), Youzhi Qu, Junfeng Xia, Xinyao Jian, Wendu Li, Kaining Peng, Zhichao Liang, Haiyan Wu, Quanying LiuarXiv 2024 · DOI

Introduction

Functional Magnetic Resonance Imaging (fMRI) is a cornerstone of modern neuroscience, providing a non-invasive window into human brain activity. However, fMRI data is inherently noisy, susceptible to artifacts from head motion, physiological noise, and hardware limitations. While fields like Computer Vision and Natural Language Processing have revolutionized data reconstruction using self-supervised learning, applying these techniques to the complex 4D spatio-temporal structure of the brain remains a challenge.

Beyond data denoising, a fundamental question persists: how do different cognitive states relate to one another? This study introduces a quantitative "taskonomy"—a taxonomy of cognitive tasks—derived from the brain's internal representational patterns using a Masked Autoencoder (MAE) framework.

Methods

The researchers developed a framework based on the Masked Autoencoder (MAE) architecture, adapted for fMRI data. The core objective is to reconstruct missing segments of neural activity from partially observed data.

Architecture and Masking

The model utilizes a Transformer-based architecture consisting of an 8-layer encoder and a 6-layer decoder. Unlike standard vision-based MAEs, this implementation employs 1D convolutional layers for patch embedding to better handle the temporal nature of BOLD signals. Three masking strategies were evaluated:

  1. Spatial Masking: Removing specific brain regions.
  2. Temporal Masking: Removing specific time points.
  3. Hybrid Masking: A combination of both spatial and temporal data removal.
Overview of the MAE framework and transfer learning pipeline for cognitive taskonomy.

Transfer Learning for Taskonomy

To quantify the relationships between different mental states, the authors used a transfer learning approach. A model is first pre-trained on a "source" task. Subsequently, the encoder is frozen, and only the decoder is fine-tuned on a small fraction (1%) of data from a "target" task. The reconstruction accuracy on the target task serves as a proxy for the representational similarity between the two tasks.

Results and Discussion

The study utilized the Human Connectome Project (HCP) S1200 dataset, involving 1,000 participants and 23 distinct subtasks.

Robust Reconstruction Performance

The MAE model demonstrated remarkable resilience, maintaining high reconstruction quality (Pearson correlation > 0.5) even when 75% of the data was masked. This suggests a high degree of redundancy in brain activity, where information is distributed across both spatial regions and temporal windows.

Reconstruction performance across different masking strategies and ratios.

Network-Specific Insights

Analysis of reconstruction accuracy across brain networks revealed that the Limbic (LIM) network is the most challenging to predict. This difficulty likely stems from the limbic system's multifunctional nature, acting as a hub for diverse emotional and regulatory processes that result in less predictable activity patterns compared to primary sensory areas like the Visual (VIS) network.

Mapping the Cognitive Taskonomy

The transfer learning experiments resulted in a 23x23 "Cognitive Taskonomy" matrix. Key findings include:

  • Localized vs. Distributed: Tasks with localized neural signatures (e.g., motor, language) were easier to reconstruct than those requiring global coordination (e.g., working memory).
  • Functional Clusters: Emotion, Social, and Gambling tasks showed high mutual transferability, indicating shared neural representations, likely centered in the prefrontal cortex.
  • Interchangeability: Subtasks within the same category (e.g., different motor movements) proved highly interchangeable, validating the model's ability to capture categorical neural features.

Conclusion

By adapting MAE architectures to fMRI, this research provides a powerful tool for both data reconstruction and the quantitative study of cognitive relationships. The resulting taskonomy offers a roadmap for transfer learning in neuroimaging, potentially improving the performance of neural decoders in data-scarce scenarios. Future work will explore extending this framework to high-temporal resolution modalities like EEG and developing specialized architectures for complex brain hubs like the limbic system.

Summary updated

BibTeX
@misc{2024uncovering,
  author = {Kaining Peng (彭恺宁) and Youzhi Qu and Junfeng Xia and Xinyao Jian and Wendu Li and Kaining Peng and Zhichao Liang and Haiyan Wu and Quanying Liu},
  title = {{Uncovering cognitive taskonomy through transfer learning in masked autoencoder-based fMRI reconstruction}},
  year = {2024},
  eprint = {2407.00033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.00033},
}
Figure