NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Joint-Embedding Masked Autoencoder for Self-supervised Learning of Dynamic Functional Connectivity from the Human Brain

Jungwon Choi, Hyungi Lee, Byung-Hoon Kim, Juho Lee

TL;DR

ST-JEMA is a new self-supervised learning framework that masters the complex "language" of brain activity by predicting hidden patterns in dynamic functional connectivity. By reconstructing latent representations instead of raw data across both space and time, it achieves state-of-the-art performance in predicting phenotypes and psychiatric diagnoses, even when labeled clinical data is extremely scarce.

What Problem Does This Paper Address?

Understanding the human brain through functional Magnetic Resonance Imaging (fMRI) is a high-stakes challenge in neuroimaging. Researchers often model brain activity as Dynamic Functional Connectivity (DFC)—essentially a sequence of graphs where nodes are brain regions and edges represent how strongly those regions "talk" to each other over time.

The bottleneck? Training deep learning models (like Graph Neural Networks) requires massive amounts of labeled data (e.g., "this brain belongs to a patient with ADHD"). In clinical settings, these labels are expensive and rare. While Self-Supervised Learning (SSL)—pre-training on massive unlabeled datasets—offers a solution, existing methods like Masked Autoencoders (MAEs) often fail here. They focus on reconstructing low-level, noisy raw features, which prevents them from capturing the high-level "semantic" patterns of brain dynamics necessary for accurate medical diagnosis.

Methods

The authors introduce the Spatio-Temporal Joint Embedding Masked Autoencoder (ST-JEMA). Its design is inspired by the Joint-Embedding Predictive Architecture (JEPA), shifting the focus from pixel-perfect reconstruction to latent representation prediction.

Key components include:

  • Dual Encoders: A "context" encoder (updated via gradient descent) and a "target" encoder (updated via Exponential Moving Average). This setup prevents the model from falling into "representation collapse," where it learns trivial, useless features.
  • Spatio-Temporal Reconstruction: Unlike previous models that only look at a single snapshot, ST-JEMA has two objectives:
  • Spatial: Reconstruct masked nodes and edges within a single time step.
  • Temporal: Predict the brain state at time $t$ using information from two other time points ($t_a$ and $t_b$).
  • Latent Objective: Instead of trying to guess the raw BOLD signal (which is noisy), the model tries to guess the embedding produced by the target encoder.
  • MLP-Mixer Decoders: The authors use an MLP-Mixer architecture for the decoder, which allows the model to better integrate information across all brain regions during reconstruction.
Figure 1: Overview of the Spatio-Temporal Joint Embedding Masked Autoencoder (ST-JEMA) framework. (a) Pre- training pipeline, where the model jointly reconstructs node representations and edge structures by masking blocks in both spatial and temporal dimensions. The context and target GNN encoders are updated via EMA. Spatial and temporal processes are indicated by green and orange dashed lines, respectively. (b) Fine-tuning pipeline for downstream tasks (classification or regression), where the pre-trained encoder outputs are pooled across spatial and temporal dimensions to generate task-specific representations.

Datasets

The model was pre-trained on the massive UK Biobank (UKB) dataset, containing resting-state fMRI from 40,913 subjects.

To prove its versatility, the authors evaluated the pre-trained model on eight diverse downstream benchmarks:

  • Non-clinical: ABCD (youth development), HCP-YA (young adults), HCP-A (aging), and HCP-D (development).
  • Clinical: HCP-EP (early psychosis), ABIDE (autism), ADHD200 (ADHD), and COBRE (schizophrenia).

Key Insights and Ideas

  • Semantics over Pixels: By predicting embeddings rather than raw features, ST-JEMA ignores the high-frequency noise inherent in fMRI data and focuses on the underlying functional architecture of the brain.
  • The Importance of Time: The ablation studies showed that the temporal reconstruction loss was the most critical component. Removing it led to the largest drop in performance, confirming that the "flow" of brain activity is more informative than any single static snapshot.
  • Resilience to Data Loss: ST-JEMA proved remarkably robust to missing data. Even when 90% of the time steps were removed, it maintained significantly better classification performance than other dynamic SSL methods, suggesting it truly understands the "rhythm" of the brain.

Key Results

ST-JEMA consistently outperformed both supervised baselines and state-of-the-art SSL methods (like GraphMAE and ST-MAE) across all tasks:

  • Phenotype Prediction: It achieved the highest AUROC for gender classification and the lowest MAE for age regression across nearly all datasets.
  • Psychiatric Diagnosis: On the COBRE dataset (schizophrenia), ST-JEMA reached an AUROC of 70.04, significantly higher than the next best dynamic SSL method (62.19).
  • Data Efficiency: In a "low-data" experiment on the ABIDE dataset, ST-JEMA trained on only 20% of the labels outperformed other methods trained on much larger portions of the data.

Limitations and Future Work

While ST-JEMA is highly effective, the authors noted that the block mask ratio is a sensitive hyperparameter. The optimal ratio (typically 10-15%) varies slightly depending on the specific clinical dataset, suggesting that different disorders might manifest at different spatial scales.

Future work could involve exploring how these learned representations might be used for "biomarker discovery"—identifying exactly which spatio-temporal patterns the model is using to distinguish between healthy controls and patients with specific psychiatric conditions.

Summary updated

BibTeX
@misc{choi2024joint,
  author = {Jungwon Choi and Hyungi Lee and Byung-Hoon Kim and Juho Lee},
  title = {{Joint-Embedding Masked Autoencoder for Self-supervised Learning of Dynamic Functional Connectivity from the Human Brain}},
  year = {2024},
  eprint = {2403.06432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.06432},
}
Figure