Spatial-Temporal Convolutional Attention for Mapping Functional Brain Networks

Yiheng Liu, Enjie Ge, Ning Qiang, Tianming Liu, Bao Ge

TL;DR

Researchers have developed a new deep learning model called Spatial-Temporal Convolutional Attention (STCA) to map functional brain networks (FBNs) from fMRI data. By integrating spatial and channel-wise attention into a self-supervised convolutional framework, STCA outperforms traditional linear methods in capturing both static and dynamic brain activity patterns with higher spatial accuracy.

What Problem Does This Paper Address?

Understanding how different regions of the brain communicate—forming Functional Brain Networks (FBNs)—is a cornerstone of modern neuroscience. Traditionally, researchers have relied on linear methods like Independent Component Analysis (ICA) and Sparse Dictionary Learning (SDL) to identify these networks. However, these methods are "shallow" and often struggle to capture the complex, non-linear dynamics of brain function.

While deep learning has been applied to this field before, most existing models separate the extraction of "sources" from the generation of the actual network maps. This two-step process is not only time-consuming but also introduces noise. Furthermore, there is a significant lack of robust methods for tracking dynamic FBNs—how these networks activate, fade, and transition over short periods of time.

Methods

The authors propose the Spatial-Temporal Convolutional Attention (STCA) model, which leverages the inherent local correlations found in fMRI data (i.e., voxels near each other tend to activate together).

Key components of the architecture include:

  • Convolutional Autoencoder: The model is trained in a self-supervised manner. The autoencoder's job is to compress and then reconstruct the 3D fMRI volumes, forcing the internal layers to learn the most important features of brain activity.
  • Attention Mechanism: This is the "secret sauce." The model uses two types of attention:
  • Channel-wise Attention (CA): Helps the model decide which feature channels are most relevant.
  • Spatial-wise Attention (SA): Directly identifies the spatial regions where FBNs are located. Crucially, the authors use the output of this SA module as the FBN itself, integrating network discovery directly into the feature extraction process.
  • Sliding Window Technique: To capture dynamics, the model processes fMRI data in small temporal chunks (windows of 40 time points), allowing it to see how networks evolve over time.
Fig. 1. The architecture of the Spatial-Temporal Convolutional Attention. The STCA used the spatial and channel-wise attention in the spatial and temporal of the fMRI signals to discover the FBNs. The convolutional autoencoder module is used to guide the attention modules to focus on the activated regions in the training stage, it is not needed in the evaluate stage. The spatial-wise attention module’s weight map are transformed to z-score values, which represent the degree of functional activation on space, that is, the FBNs are derived. The results are close to the known FBNs derived by the classical methods, such as ICA and SDL.

Datasets

The model was evaluated using the HCP-rest dataset from the Human Connectome Project.

  • Data: Resting-state fMRI (rsfMRI) from 900 subjects.
  • Preprocessing: Each individual scan contains 1200 time points, preprocessed and registered to the standard MNI152 template space.
  • Benchmarking: The resulting FBNs were compared against 10 well-known Resting State Network (RSN) templates.

Key Insights and Ideas

  • Attention as the Map: The most elegant idea here is using the spatial attention map as the functional network. Instead of treating attention as just a way to improve a classifier, they treat the attention weights as the primary output—the "map" of brain activity.
  • CNNs are a Natural Fit: Because brain activity is spatially clustered, the local receptive fields of Convolutional Neural Networks (CNNs) are much better suited for fMRI data than the global assumptions made by linear models like ICA.
  • Self-Supervised Discovery: By using an autoencoder, the model discovers these networks without needing manual labels (which are impossible to obtain for raw brain activity), making it a truly data-driven approach.

Key Results

The STCA model demonstrated superior performance over traditional methods across several metrics:

  • Higher Spatial Similarity: Using the Intersection over Union (IoU) metric, STCA consistently achieved higher similarity to standard brain templates than both ICA and SDL. For example, in RSN 6, STCA achieved an IoU of 0.3900, significantly higher than ICA's 0.0888.
  • Cleaner Visuals: The weight maps generated by STCA are visually clearer and more focused on known functional regions compared to the noisier outputs of classical methods.
Fig. 3. Comparision with the classical methods, such as ICA and SDL. The templates are based on [14]
  • Dynamic Tracking: The model successfully captured the "fade in" and "fade out" of networks over time, providing a quantitative look at brain state transitions.
Quantitative plot showing the IoU of different networks changing over time, illustrating brain dynamics.

Limitations and Future Work

While the results on resting-state data are promising, the authors note several areas for future exploration:

  • Task-based fMRI: The current study focused on the brain at rest. The authors plan to test STCA on task-based fMRI (tfMRI) to see how it handles specific cognitive loads.
  • Clinical Applications: A major goal is to use these high-quality dynamic maps for disease classification (e.g., identifying biomarkers for neurological disorders).
  • State Transitions: Further research is needed to model the specific rules governing how the brain transitions from one functional state to another.

Summary updated

BibTeX
@misc{liu2022spatial,
  author = {Yiheng Liu and Enjie Ge and Ning Qiang and Tianming Liu and Bao Ge},
  title = {{Spatial-Temporal Convolutional Attention for Mapping Functional Brain Networks}},
  year = {2022},
  eprint = {2211.02315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.02315},
}
Figure