Skip to content

SwinBrain

rigid affine

Self-supervised Swin-UNETR brain MRI foundation model (encoder bottleneck, GAP-pooled)

paper code

Authors Suo, X., et al.
Submitted by Encin, Arel
Architecture MONAI SwinUNETR encoder10 bottleneck, pretrained; adaptive-avg-pooled
Embedding size 384
Input rigid
Source models/swinbrain

Results

Held out test, mean ± std over 5 seeds, on this model's own preprocessing. Rank is among all models on their own preprocessing. Rows marked near chance do not count toward the ranking. Compare every model on the interactive leaderboard.

Dataset Task Score Rank
HBN Sex 0.788 ± 0.030 bal acc ↑ 7 of 12
HBN Age 1.93 ± 0.21 MAE ↓ 11 of 12
HBN BMI 2.99 ± 0.45 MAE ↓ 7 of 12
HBN p factor 0.82 ± 0.08 MAE ↓ 6 of 12, near chance
HBN Internalizing 0.87 ± 0.04 MAE ↓ 11 of 12, near chance
HBN Externalizing 0.79 ± 0.05 MAE ↓ 7 of 12, near chance
HBN Handedness 0.500 ± 0.000 bal acc ↑ 11 of 12, near chance
NKI Sex 0.876 ± 0.043 bal acc ↑ 6 of 12
NKI Age 8.98 ± 0.76 MAE ↓ 11 of 12
NKI BMI 3.54 ± 0.14 MAE ↓ 7 of 12
NKI p factor 0.79 ± 0.08 MAE ↓ 8 of 12, near chance
NKI Internalizing 0.81 ± 0.16 MAE ↓ 1 of 12, near chance
NKI Externalizing 0.39 ± 0.11 MAE ↓ 12 of 12, near chance
NKI Handedness 0.500 ± 0.000 bal acc ↑ 9 of 12, near chance
PNC Sex 0.802 ± 0.041 bal acc ↑ 9 of 12
PNC Age 2.17 ± 0.05 MAE ↓ 11 of 12
PNC BMI 3.31 ± 0.41 MAE ↓ 8 of 12
PNC p factor ≠ 0 0.500 ± 0.000 bal acc ↑ 9 of 12, near chance
PNC p factor 0.80 ± 0.04 MAE ↓ 10 of 12, near chance
PNC Internalizing 0.86 ± 0.03 MAE ↓ 6 of 12, near chance
PNC Externalizing 0.62 ± 0.02 MAE ↓ 12 of 12, near chance
PNC Handedness 0.500 ± 0.000 bal acc ↑ 11 of 12, near chance
BHRC Sex 0.732 ± 0.055 bal acc ↑ 9 of 12
BHRC Age 1.35 ± 0.10 MAE ↓ 9 of 12
BHRC BMI 3.67 ± 0.42 MAE ↓ 9 of 12
BHRC p factor 0.72 ± 0.07 MAE ↓ 7 of 12, near chance
BHRC Internalizing 0.72 ± 0.09 MAE ↓ 10 of 12, near chance
BHRC Externalizing 0.69 ± 0.10 MAE ↓ 7 of 12, near chance
CCNP Sex 0.499 ± 0.048 bal acc ↑ 6 of 12, near chance
CCNP Age 2.59 ± 0.40 MAE ↓ 8 of 12, near chance
CCNP BMI 2.95 ± 0.28 MAE ↓ 8 of 12, near chance
CCNP p factor 0.74 ± 0.10 MAE ↓ 11 of 12, near chance
CCNP Internalizing 0.49 ± 0.03 MAE ↓ 7 of 12, near chance
CCNP Externalizing 0.62 ± 0.11 MAE ↓ 6 of 12, near chance
Dataset Task Score Rank
HBN Sex 0.744 ± 0.038 bal acc ↑ 4 of 12
HBN Age 2.39 ± 0.11 MAE ↓ 11 of 12
HBN BMI 3.41 ± 0.36 MAE ↓ 9 of 12
HBN p factor 0.83 ± 0.08 MAE ↓ 11 of 12, near chance
HBN Internalizing 0.86 ± 0.05 MAE ↓ 9 of 12, near chance
HBN Externalizing 0.81 ± 0.05 MAE ↓ 11 of 12, near chance
HBN Handedness 0.507 ± 0.017 bal acc ↑ 3 of 12, near chance
NKI Sex 0.855 ± 0.023 bal acc ↑ 3 of 12
NKI Age 9.47 ± 0.54 MAE ↓ 11 of 12
NKI BMI 3.97 ± 0.20 MAE ↓ 9 of 12
NKI p factor 0.78 ± 0.07 MAE ↓ 6 of 12, near chance
NKI Internalizing 0.83 ± 0.16 MAE ↓ 4 of 12, near chance
NKI Externalizing 0.46 ± 0.12 MAE ↓ 12 of 12, near chance
NKI Handedness 0.500 ± 0.000 bal acc ↑ 11 of 12, near chance
PNC Sex 0.771 ± 0.031 bal acc ↑ 6 of 12
PNC Age 2.63 ± 0.10 MAE ↓ 11 of 12
PNC BMI 3.70 ± 0.42 MAE ↓ 10 of 12
PNC p factor ≠ 0 0.499 ± 0.029 bal acc ↑ 7 of 12, near chance
PNC p factor 0.79 ± 0.04 MAE ↓ 10 of 12, near chance
PNC Internalizing 0.86 ± 0.03 MAE ↓ 5 of 12, near chance
PNC Externalizing 0.62 ± 0.02 MAE ↓ 7 of 12, near chance
PNC Handedness 0.499 ± 0.002 bal acc ↑ 10 of 12, near chance
BHRC Sex 0.717 ± 0.030 bal acc ↑ 3 of 12
BHRC Age 1.40 ± 0.09 MAE ↓ 10 of 12
BHRC BMI 3.99 ± 0.70 MAE ↓ 12 of 12
BHRC p factor 0.73 ± 0.07 MAE ↓ 5 of 12, near chance
BHRC Internalizing 0.73 ± 0.10 MAE ↓ 8 of 12, near chance
BHRC Externalizing 0.68 ± 0.10 MAE ↓ 2 of 12, near chance
CCNP Sex 0.556 ± 0.049 bal acc ↑ 5 of 12
CCNP Age 2.59 ± 0.32 MAE ↓ 7 of 12, near chance
CCNP BMI 3.02 ± 0.29 MAE ↓ 4 of 12, near chance
CCNP p factor 0.77 ± 0.09 MAE ↓ 9 of 12, near chance
CCNP Internalizing 0.52 ± 0.05 MAE ↓ 8 of 12, near chance
CCNP Externalizing 0.64 ± 0.10 MAE ↓ 6 of 12, near chance

Registration sensitivity

The same model on affine instead of rigid registration, linear probe.

Dataset Task rigid affine
HBN Sex 0.788 ± 0.030 0.770 ± 0.046
HBN Age 1.93 ± 0.21 1.73 ± 0.10
HBN BMI 2.99 ± 0.45 3.07 ± 0.40
NKI Sex 0.876 ± 0.043 0.815 ± 0.040
NKI Age 8.98 ± 0.76 7.68 ± 0.22
NKI BMI 3.54 ± 0.14 3.48 ± 0.20
PNC Sex 0.802 ± 0.041 0.811 ± 0.029
PNC Age 2.17 ± 0.05 1.96 ± 0.09
PNC BMI 3.31 ± 0.41 3.32 ± 0.30
BHRC Sex 0.732 ± 0.055 0.694 ± 0.037
BHRC Age 1.35 ± 0.10 1.36 ± 0.06
BHRC BMI 3.67 ± 0.42 3.35 ± 0.39
CCNP Sex 0.499 ± 0.048 0.469 ± 0.061
CCNP Age 2.59 ± 0.40 2.55 ± 0.37
CCNP BMI 2.95 ± 0.28 2.94 ± 0.29

Use in your paper

A ready to paste LaTeX table comparing SwinBrain with every model on BrainFMBench, with SwinBrain in the last row. It needs booktabs and graphicx. Numbers are a snapshot of today's leaderboard; please cite BrainFMBench when you use them.

% BrainFMBench comparison, linear probe, generated 2026-11-25 from https://www.epics-lab.ca/BrainFMBench/
% Needs \usepackage{booktabs} and \usepackage{graphicx}
\begin{table*}[t]
\centering
\caption{Comparison on BrainFMBench~\cite{encin2026comparative}, linear probe on frozen features. Held out test mean over 5 seeds, each model on its own preprocessing. Sex: balanced accuracy ($\uparrow$); age: mean absolute error in years ($\downarrow$); BMI: mean absolute error ($\downarrow$). Best in bold, second underlined. Results as of November 25, 2026. $^\dagger$Every model is near chance.}
\label{tab:brainfmbench}
\resizebox{\textwidth}{!}{%
\begin{tabular}{l ccc ccc ccc ccc ccc}
\toprule
 & \multicolumn{3}{c}{HBN} & \multicolumn{3}{c}{NKI} & \multicolumn{3}{c}{PNC} & \multicolumn{3}{c}{BHRC} & \multicolumn{3}{c}{CCNP} \\
\cmidrule(lr){2-4} \cmidrule(lr){5-7} \cmidrule(lr){8-10} \cmidrule(lr){11-13} \cmidrule(lr){14-16}
Model & Sex & Age & BMI & Sex & Age & BMI & Sex & Age & BMI & Sex & Age & BMI & Sex$^\dagger$ & Age$^\dagger$ & BMI$^\dagger$ \\
\midrule
Neuro-JEPA-L & \textbf{0.892} & \textbf{1.09} & \underline{2.55} & \textbf{0.941} & \textbf{4.02} & 2.79 & \textbf{0.927} & \underline{1.23} & 2.90 & \textbf{0.855} & \textbf{1.25} & 3.43 & 0.497 & 2.57 & 2.95 \\
un-CNN & \underline{0.856} & 1.46 & 2.66 & \underline{0.913} & 4.94 & 2.88 & 0.881 & 1.49 & \textbf{2.54} & 0.812 & \textbf{1.25} & \textbf{3.07} & 0.533 & 2.58 & 2.95 \\
NiChart-Brain2Vec & 0.793 & 1.20 & \textbf{2.52} & 0.881 & 4.78 & \textbf{2.35} & 0.866 & 1.41 & \underline{2.57} & 0.750 & 1.34 & \underline{3.08} & 0.500 & 2.61 & 2.99 \\
Neuro-JEPA-B & 0.836 & \underline{1.18} & 2.58 & \underline{0.913} & \underline{4.04} & \underline{2.76} & \underline{0.914} & \textbf{1.20} & 2.92 & \underline{0.827} & \underline{1.32} & 3.49 & 0.494 & \textbf{2.53} & 2.97 \\
3D-Neuro-SimCLR & 0.776 & 1.37 & 2.84 & 0.892 & 5.85 & 3.38 & 0.840 & 1.64 & 3.25 & 0.769 & 1.41 & 3.61 & 0.504 & 2.60 & 2.95 \\
Dinov3D-neuro & 0.727 & 1.42 & 2.68 & 0.846 & 6.03 & 3.26 & 0.796 & 1.58 & 3.20 & 0.682 & 1.38 & 3.53 & \underline{0.568} & 2.59 & \textbf{2.92} \\
AnatCL (Local) & 0.762 & 1.63 & 3.13 & 0.804 & 6.22 & 3.71 & 0.829 & 1.69 & 3.64 & 0.709 & \underline{1.32} & 3.70 & 0.436 & \textbf{2.53} & 2.95 \\
AnatCL (Global) & 0.783 & 1.61 & 3.21 & 0.799 & 6.25 & 3.87 & 0.799 & 1.68 & 3.66 & 0.755 & 1.35 & 3.71 & 0.461 & 2.55 & 2.95 \\
BrainIAC & 0.782 & 2.38 & 3.18 & 0.842 & 10.15 & 3.87 & 0.773 & 2.46 & 3.50 & 0.679 & 1.44 & 3.54 & \textbf{0.576} & 2.59 & \underline{2.94} \\
\midrule
FS Schaefer & 0.833 & 1.74 & 3.18 & 0.834 & 6.68 & 3.76 & 0.858 & 1.76 & 3.27 & 0.767 & \underline{1.32} & 3.64 & 0.450 & \underline{2.54} & \underline{2.94} \\
FS aparc & 0.819 & 1.91 & 3.34 & 0.822 & 7.69 & 3.89 & 0.821 & 1.91 & 3.48 & 0.750 & 1.35 & 3.77 & 0.433 & \underline{2.54} & 2.99 \\
\midrule
SwinBrain & 0.788 & 1.93 & 2.99 & 0.876 & 8.98 & 3.54 & 0.802 & 2.17 & 3.31 & 0.732 & 1.35 & 3.67 & 0.499 & 2.59 & 2.95 \\
\bottomrule
\end{tabular}}
\end{table*}

Download swinbrain_linear.tex

% BrainFMBench comparison, random forest probe, generated 2026-11-25 from https://www.epics-lab.ca/BrainFMBench/
% Needs \usepackage{booktabs} and \usepackage{graphicx}
\begin{table*}[t]
\centering
\caption{Comparison on BrainFMBench~\cite{encin2026comparative}, random forest probe on frozen features. Held out test mean over 5 seeds, each model on its own preprocessing. Sex: balanced accuracy ($\uparrow$); age: mean absolute error in years ($\downarrow$); BMI: mean absolute error ($\downarrow$). Best in bold, second underlined. Results as of November 25, 2026. $^\dagger$Every model is near chance.}
\label{tab:brainfmbench}
\resizebox{\textwidth}{!}{%
\begin{tabular}{l ccc ccc ccc ccc ccc}
\toprule
 & \multicolumn{3}{c}{HBN} & \multicolumn{3}{c}{NKI} & \multicolumn{3}{c}{PNC} & \multicolumn{3}{c}{BHRC} & \multicolumn{3}{c}{CCNP} \\
\cmidrule(lr){2-4} \cmidrule(lr){5-7} \cmidrule(lr){8-10} \cmidrule(lr){11-13} \cmidrule(lr){14-16}
Model & Sex & Age & BMI & Sex & Age & BMI & Sex & Age & BMI & Sex & Age & BMI & Sex & Age$^\dagger$ & BMI$^\dagger$ \\
\midrule
un-CNN & \underline{0.772} & \underline{1.42} & \textbf{2.70} & \textbf{0.857} & \underline{5.11} & \underline{3.13} & 0.787 & 1.60 & \textbf{2.97} & \textbf{0.741} & \textbf{1.26} & \textbf{3.31} & 0.575 & 2.59 & 3.02 \\
NiChart-Brain2Vec & 0.727 & 1.49 & \underline{3.01} & \underline{0.856} & \textbf{4.83} & \textbf{2.98} & \underline{0.801} & \textbf{1.54} & \textbf{2.97} & 0.652 & 1.35 & 3.45 & 0.460 & 2.78 & 3.08 \\
3D-Neuro-SimCLR & 0.768 & 1.64 & 3.02 & 0.835 & 5.86 & 3.52 & 0.788 & 1.68 & \underline{3.44} & 0.712 & 1.31 & \underline{3.40} & 0.522 & 2.73 & 3.22 \\
Neuro-JEPA-L & \textbf{0.775} & \textbf{1.40} & 3.02 & 0.821 & 5.22 & 3.60 & \textbf{0.839} & \underline{1.55} & 3.45 & 0.688 & 1.31 & 3.66 & 0.503 & 2.61 & 3.25 \\
Neuro-JEPA-B & 0.724 & 1.62 & 3.12 & 0.761 & 5.56 & 3.73 & 0.753 & 1.73 & 3.56 & 0.678 & 1.35 & 3.86 & \underline{0.593} & 2.58 & 3.17 \\
AnatCL (Global) & 0.723 & 1.78 & 3.39 & 0.738 & 6.26 & 3.92 & 0.723 & 1.88 & 3.63 & 0.647 & \underline{1.30} & 3.86 & 0.518 & 2.58 & \underline{2.91} \\
AnatCL (Local) & 0.707 & 1.85 & 3.34 & 0.765 & 6.19 & 3.92 & 0.719 & 1.83 & 3.70 & 0.659 & 1.33 & 3.83 & 0.472 & \underline{2.53} & 3.22 \\
Dinov3D-neuro & 0.696 & 1.96 & 3.23 & 0.757 & 8.29 & 3.69 & 0.738 & 2.14 & 3.67 & 0.656 & 1.41 & 3.80 & 0.529 & 2.63 & \textbf{2.84} \\
BrainIAC & 0.744 & 2.61 & 3.59 & 0.810 & 13.96 & 4.16 & 0.768 & 2.91 & 3.86 & 0.716 & 1.47 & 3.67 & \textbf{0.604} & 2.69 & 3.13 \\
\midrule
FS aparc & 0.740 & 2.13 & 3.51 & 0.770 & 9.09 & 3.99 & 0.755 & 2.15 & 3.64 & \underline{0.722} & 1.40 & 3.85 & 0.574 & 2.57 & 3.07 \\
FS Schaefer & 0.736 & 2.16 & 3.44 & 0.740 & 8.29 & 3.99 & 0.776 & 2.00 & \underline{3.44} & 0.688 & 1.39 & 3.88 & 0.482 & \textbf{2.48} & 2.95 \\
\midrule
SwinBrain & 0.744 & 2.39 & 3.41 & 0.855 & 9.47 & 3.97 & 0.771 & 2.63 & 3.70 & 0.717 & 1.40 & 3.99 & 0.556 & 2.59 & 3.02 \\
\bottomrule
\end{tabular}}
\end{table*}

Download swinbrain_rf.tex

@article{encin2026comparative,
  title     = {A Comparative Evaluation of Structural MRI Foundation Models for Age, Sex, and Body-Mass Index Predictions},
  author    = {Encin, Arel and Gilmore, Asa and Rokem, Ariel and Dickie, Erin and Glatard, Tristan},
  journal   = {bioRxiv},
  pages     = {2026.05.15.725427},
  year      = {2026},
  publisher = {Cold Spring Harbor Laboratory},
  doi       = {10.64898/2026.05.15.725427}
}