cs.AISep 29, 2026

Flattening the Connectome Spectrum: A Spectral Filter for FC Induces a Pretraining Target for fMRI Encoders

Authors: Giovanni Marraffini, Victoria Shevchenko, Carlo Alberto Barbano, Demian Wassermann

Organizations: UNITO · MIND

Abstract

Self-supervised pretraining reshaped prediction in language and vision, and brain foundation models (BFMs) inherited its promise. Representations learned from large unlabelled corpora should capture individual functional dynamics and generalise across cohorts. However, kernel ridge regression (KRR) fitted on functional connectivity (FC) matrices still predicts individual phenotypes more accurately than any BFM we tested. In this paper, we show that KRR is weighted by the eigenvalues of the FC which are miscalibrated for phenotype prediction. We apply an efficient spectral filter to recalibrate the eigenvalues of each subject's FC matrix, enabling the model to exploit more inter-individual variance. Across the 5 datasets, 11 parcellations and 6 prediction targets we tested, we match or exceed the KRR baseline. Based on this finding, we then pretrain a small encoder model on about 4,000 hours of fMRI from 162 open datasets, whereby we align the pairwise similarities between the embeddings of recording snippets with those between the recalibrated connectomes. Our model performs on par with the best of the 6 published BFMs we tested while having an order of magnitude fewer parameters. Our encoder performs better than FC on short scans and in smaller cohorts, especially in fingerprinting. We release the pretrained model weights, the code and the pretraining data, preprocessed and parcellated.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The Variance Brain Foundation Models Forgot: Third-Order Statistics Predict Cognition Where Billion-Parameter Models Fail

    May 29, 2026Giovanni Marraffini, Gabriel Mahuas, Trinidad Borrell +2Functional Magnetic Resonance ImagingWireless Foundation Models

  2. Scaling Vision Transformers for Functional MRI with Flat Maps

    Oct 15, 2025Connor Lane, Mihir Tripathy, Leema Krishna Murali +15Functional Magnetic Resonance ImagingVision Transformer

  3. Benchmarking External Generalization of SPD Matrix Learning for Resting-State fMRI Connectome Prediction

    Aug 31, 2026Ce Ju, Antoine Collas, Florent Bouchard +1Human Connectome ProjectFull-Rank Correlation Matrices