Deep Representations for Time-varying Brain Datasets

Sikun Lin, Shuyun Tang, Scott T. Grafton, Ambuj K. Singh

Introduction

Modeling the human brain as a dynamic system remains a significant challenge in neuroscience. While functional MRI (fMRI) captures neural activity over time, traditional analysis often collapses this data into static snapshots, discarding the rich temporal dynamics of regional interactions. Existing spatial-temporal models frequently rely on a "universal" graph, assuming a uniform connectivity structure across all subjects. However, brain connectivity is inherently individual and task-dependent.

To address these limitations, we present ReBraiD (Deep Representations for Time-varying Brain Datasets), a Graph Neural Network (GNN) architecture designed to integrate fixed structural wiring (Diffusion Weighted Imaging) with dynamic functional activity (fMRI) through sample-specific adaptive modeling.

Methodology

ReBraiD introduces three primary architectural innovations to capture the complexities of neural signaling:

  1. Alternating TCN and GCN Layers: To avoid the computational overhead of recurrent networks like LSTMs, ReBraiD utilizes Temporal Convolutional Networks (TCN) to extract time-series features, interleaved with Graph Convolutional Networks (GCN) to process spatial relationships. This hybrid approach ensures memory efficiency and high processing speed.
  2. Sample-level Adaptive Adjacency: Rather than using a global average, the model learns a unique "latent" graph for every input snippet. This allows the network to adapt to the specific functional connectivity patterns of an individual during a particular cognitive state.
  3. Multi-resolution Inner Cluster Smoothing: This technique groups brain regions into clusters, smooths signals within these communities, and maps them back to individual nodes. This preserves high-resolution data while capturing long-range dependencies and community structures.
The ReBraiD architecture integrates temporal (TCN) and spatial (GNN) processing with adaptive adjacency learning and inner-cluster smoothing.

To ensure interpretability, the framework employs Integrated Gradients (IG) to attribute model decisions to specific brain regions and timeframes, providing a "fingerprint" of cognitive activity.

Datasets and Experimental Setup

The model was evaluated using the CRASH (Cognitive Resilience and Sleep History) dataset, comprising 1,940 fMRI scan sessions from 56 subjects. The dataset includes six distinct tasks: Resting state, Visual Working Memory (VWM), Dynamic Attention (DYN), Math (MOD), Dot-probe (DOT), and Psychomotor Vigilance (PVT). Structural Connectivity (SC) derived from Diffusion Weighted Imaging (DWI) provided the underlying physical map for the GNN layers.

Key Results

ReBraiD demonstrates state-of-the-art performance in task classification, achieving a 90.85% weighted F1 score with 256-frame inputs. This significantly outperforms standard GCNs (42.84%) and advanced Graph Transformers (66.11%).

Performance comparison across various input lengths, demonstrating that the adaptive approach (SC + adp) consistently outperforms static or randomized baselines.

Ablation studies confirm that the adaptive latent graph is critical for capturing distinct brain states, particularly in medium-to-long sequences. Furthermore, the model is highly efficient, training in just 298 seconds per epoch—a massive speedup compared to Gated Graph Recurrent models (GConvGRU), which required nearly 10,000 seconds per epoch.

Interpretability analysis via IG revealed that the model prioritizes the Default Mode Network during rest and Visual/Parietal regions during memory tasks, aligning with established neuroscientific principles.

Conclusion and Future Work

ReBraiD offers a powerful, interpretable framework for modeling time-varying brain data. While currently limited by the temporal resolution of fMRI (~0.9s), future iterations could incorporate EEG data to achieve millisecond-level precision. Additionally, automated hyperparameter tuning for the TCN-to-GCN ratio could further optimize performance across varying input lengths.

Summary updated

BibTeX
@inproceedings{lin2022deep,
  author = {Sikun Lin and Shuyun Tang and Scott T. Grafton and Ambuj K. Singh},
  title = {{Deep Representations for Time-varying Brain Datasets}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539301},
}
Figure