Concept Generalization in Visual Brain Decoding via Encoder-Generated fMRI
Organizations: ECE, Seoul National University · Microsoft Research Asia · IPAI, Seoul National University · ASRI / INMC / AIIS, Seoul National University
Abstract
Visual brain decoders are typically trained and evaluated on stimuli drawn from similar semantic distributions, leaving their ability to reconstruct unseen concepts poorly understood. We study this concept generalization problem by withholding semantic concepts from a target subject's training data. We find that three recent fMRI-to-image decoders degrade substantially for the held-out concepts, even when the concept remains available for multi-subject models. In contrast, brain encoders that map a pretrained visual representation directly to voxels are markedly more robust to the same semantic holdout. Motivated by this asymmetry, we use such an encoder to generate synthetic fMRI responses for new images and add the resulting image-fMRI pairs to decoder training. Across three decoders, four subjects, and twelve semantic concepts, synthetic data recovers a substantial fraction of the performance lost on unseen concepts without requiring additional, time-consuming fMRI acquisition. We further show that the same approach improves general decoding performance across a wide range of data budgets. Analyses of encoder training conditions, encoder designs, and synthetic-data controls show that the gains depend on both encoder generalization and the semantic content of the synthetic supervision, rather than merely increasing the amount of training data. Together, our results show that encoder-generated fMRI can transfer semantic generalization to decoders.
Figures & tables
| High-level | Object Detection | ||||||
| Decoder | Concept | Incep | CLIP | EffNet | SwAV | Recall | Relaxed |
| Brain-Diffuser | Seen | 90.2% | 91.7% | 0.761 | 0.397 | 0.330 | 0.584 |
| Unseen | 81.2% | 82.5% | 0.847 | 0.458 | 0.073 | 0.189 | |
| Unseen + syn. | 88.7% | 90.5% | 0.781 | 0.408 | 0.273 | 0.532 | |
| MindEye2 | Seen | 95.9% | 93.0% | 0.636 | 0.340 | 0.443 | 0.662 |
| Unseen | 88.5% | 83.5% | 0.767 | 0.410 | 0.096 | 0.242 | |
| incl. for | Probe decoder trained with synthetic data | Encoder | |||||||||
| Encoder variant | Other | Target | Incep | CLIP | EffNet | SwAV | Rec. | Rel. | D.Rec. | D.Rel. | |
| Scratch-oracle | – | ✓ | n/a: trained on real fMRI for | 0.303 | 0.497 | 0.686 | |||||
| Transfer-oracle | ✓ | ✓ | 0.350 | 0.574 | 0.735 | ||||||
| Scratch-blind | – | ✗ | 91.4% | 86.9% | 0.729 | 0.390 | 0.218 | 0.427 | 0.277 | 0.290 | 0.492 |
| Transfer-blind | ✗ | ✗ | 91.4% | 87.2% | 0.723 | 0.387 | 0.229 | 0.441 | 0.337 | 0.379 | 0.585 |
| Transfer-concept | ✓ | ✗ | 92.8% | 88.5% | 0.709 | 0.381 | 0.279 | 0.486 | 0.344 | 0.499 | 0.685 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Train images containing | Test set | ||||||
| Concept | Subj 1 | Subj 2 | Subj 5 | Subj 7 | Mean % | Count | % |
| Accessory | 1,281 | 1,237 | 1,232 | 1,211 | 13.8% | 97 | 9.7% |
| Backpack | 393 | 411 | 413 | 404 | 4.5% | 29 | 2.9% |
| Handbag | 465 | 478 | 473 | 446 | 5.2% | 43 | 4.3% |
| Animal | 1,934 | 1,929 | 1,924 | 1,943 | 21.5% | 266 | 26.6% |
| Bird | 258 | 239 | 274 | 271 | 2.9% | 39 | 3.9% |
| Low-level | High-level | ||||||||
| Decoder | Concept | PixCorr | SSIM | Alex(2) | Alex(5) | Incep | CLIP | EffNet | SwAV |
| Brain-Diffuser | Seen | 0.260 | 0.358 | 94.5% | 96.6% | 88.0% | 92.0% | 0.772 | 0.423 |
| Unseen | 0.255 | 0.357 | 94.1% | 96.4% | 87.6% | 91.9% | 0.773 | 0.425 | |
| Unseen + syn. | 0.260 | 0.357 | 94.6% | 96.7% | 87.9% | 92.2% | 0.770 | 0.421 | |
| MindEye2 | Seen | 0.281 | 0.378 | 95.8% | 98.7% | 94.9% | 93.7% | 0.619 | 0.345 |
| Unseen | 0.276 | 0.379 | 95.2% | 98.5% | 94.6% | 92.9% | 0.628 | 0.350 | |
| Low-level | |||||
| Decoder | Concept | PixCorr | SSIM | Alex(2) | Alex(5) |
| Brain-Diffuser | Seen | 0.245 | 0.352 | 93.8% | 96.8% |
| Unseen | 0.221 | 0.350 | 91.7% | 94.6% | |
| Unseen + syn. | 0.240 | 0.351 | 93.6% | 96.7% | |
| MindEye2 | Seen | 0.255 | 0.358 | 95.1% | 98.6% |
| Unseen | 0.217 | 0.353 | 92.3% | 96.7% | |
| Low-level | ||||
| Training condition | PixCorr | SSIM | Alex(2) | Alex(5) |
| Supercategory generalization (12 concepts) | ||||
| unseen | 0.209 | 0.351 | 91.3% | 96.2% |
| + syn. (scratch-blind) | 0.232 | 0.358 | 93.0% | 97.5% |
| + syn. (transfer-blind) | 0.231 | 0.357 | 93.1% | 97.5% |
| + syn. (transfer-concept) | 0.236 | 0.358 | 93.4% | 97.7% |
| Animal test images | Non-animal test images | ||||||
| Training set | # images | Recall | Relaxed | Incep | CLIP | Incep | CLIP |
| Full ( seen) | 9,000 | 0.462 | 0.748 | 88.2% | 91.9% | 96.5% | 93.4% |
| Random deletion, animals kept | 7,066 | 0.456 | 0.767 | 90.3% | 91.5% | 95.2% | 91.6% |
| Concept deletion ( unseen) | 7,066 | 0.015 | 0.054 | 72.7% | 71.8% | 96.1% | 92.6% |
| Encoder | in encoder training | Recall | Relaxed | Incep | CLIP | Retained |
| Real test fMRI (no encoder) | – | 0.484 | 0.771 | 96.1% | 93.4% | – |
| Transfer-oracle | seen | 0.559 | 0.810 | 97.0% | 94.0% | – |
| Transfer-concept | held out (target subject) | 0.471 | 0.713 | 96.4% | 93.4% | 84% / 88% |
| Transfer-blind | held out (all subjects) | 0.358 | 0.663 | 96.0% | 92.9% | 64% / 82% |
| Scratch-oracle | seen | 0.535 | 0.798 | 95.8% | 93.5% | – |
| Scratch-blind | held out | 0.262 | 0.593 | 93.9% | 91.7% | 49% / 74% |
| Low-level | High-level | Object Detection | ||||||||
| Training condition | PixCorr | SSIM | Alex(2) | Alex(5) | Incep | CLIP | EffNet | SwAV | Recall | Relaxed |
| unseen | 0.247 | 0.360 | 94.0% | 97.1% | 88.4% | 82.9% | 0.770 | 0.411 | 0.080 | 0.219 |
| + syn. (non- images) | 0.262 | 0.365 | 94.2% | 97.6% | 88.1% | 83.7% | 0.766 | 0.407 | 0.088 | 0.242 |
| + syn. (wrong fMRI) | 0.238 | 0.356 | 92.5% | 96.4% | 87.7% | 83.1% | 0.769 | 0.415 | 0.122 | 0.298 |
| + syn. (scratch-blind) | 0.269 | 0.367 | 95.1% | 98.1% | 91.6% | 87.2% | 0.718 | 0.383 | 0.228 | 0.435 |
| + syn. (transfer-blind) | 0.272 | 0.364 | 95.2% | 98.2% | 92.1% | 87.8% | 0.718 | 0.381 | 0.222 | 0.432 |
| incl. for | Probe decoder trained with synthetic data | Encoder | |||||||||
| Encoder variant | Other | Target | Incep | CLIP | EffNet | SwAV | Rec. | Rel. | D.Rec. | D.Rel. | |
| Scratch-oracle | – | ✓ | n/a: trained on real fMRI for | 0.275 | 0.551 | 0.693 | |||||
| Transfer-oracle | ✓ | ✓ | 0.322 | 0.623 | 0.738 | ||||||
| Scratch-blind | – | ✗ | 94.5% | 91.9% | 0.685 | 0.363 | 0.338 | 0.582 | 0.268 | 0.436 | 0.644 |
| Transfer-blind | ✗ | ✗ | 94.7% | 92.4% | 0.675 | 0.360 | 0.351 | 0.580 | 0.318 | 0.513 | 0.692 |
| Transfer-concept | ✓ | ✗ | 94.8% | 92.1% | 0.676 | 0.358 | 0.365 | 0.578 | 0.320 | 0.551 | 0.697 |
| Synthetic data | Incep | CLIP | Recall | Relaxed | Gap rec. |
| None ( unseen) | 72.7% | 71.8% | 0.015 | 0.054 | – |
| images (main setting) | 83.4% | 86.4% | 0.270 | 0.543 | 57% / 70% |
| Fixed general pool | 83.3% | 88.1% | 0.234 | 0.543 | 49% / 70% |
| Shuffled within | 66.3% | 70.4% | 0.029 | 0.209 | 3% / 22% |
| Real fMRI for (seen) | 88.2% | 91.9% | 0.462 | 0.748 | – |
| Encoder for synthesis | Incep | CLIP | EffNet | SwAV | Recall | Relaxed | Gap rec. |
| seen (upper bound) | 88.2% | 91.9% | 0.666 | 0.365 | 0.462 | 0.748 | – |
| unseen (no synthetic) | 72.7% | 71.8% | 0.898 | 0.511 | 0.015 | 0.054 | – |
| UE, frozen random-init ViT | 73.0% | 76.8% | 0.886 | 0.506 | 0.028 | 0.147 | 3% / 13% |
| Ridge, frozen DINOv2 | 75.5% | 79.7% | 0.846 | 0.474 | 0.094 | 0.275 | 18% / 32% |
| SynBrain | 72.0% | 73.0% | 0.887 | 0.505 | 0.026 | 0.093 | 2% / 6% |
| UE scratch-blind | 79.7% | 80.7% | 0.810 | 0.453 | 0.167 | 0.434 | 34% / 55% |
| Encoder | Animals in training? | Animal test ( ) | Non-animal test ( ) | Within-concept identification |
| SynBrain, released checkpoint | Yes | 94.3% / 93.7% | 98.1% / 95.6% | – |
| SynBrain, our retrain | No | 82.2% / 80.0% | 98.0% / 96.2% | 20% |
| UE scratch-blind (subject 1 only) | No | 87.3% / 88.6% | 98.6% / 96.3% | 30% |
| UE transfer-blind | No (any subject) | 93.7% / 94.6% | 99.1% / 97.3% | 58% |
| UE transfer-blind (OpenCLIP) | No (any subject) | 85.1% / 84.1% | 98.8% / 96.4% | 38% |
| Encoder | Voxel-wise | Decoded CLIP | Decoded Recall | Within-concept identification | Decoder gap rec. (Recall / Relaxed) |
| SynBrain | 0.334 | 80.0% | 0.14 | 20% | 2% / 6% |
| Ridge, frozen DINOv2 | 0.362 | 82.9% | 0.11 | 28% | 18% / 32% |
| UE scratch-blind | 0.342 | 88.6% | 0.26 | 30% | 34% / 55% |
| UE transfer-blind | 0.398 | 94.6% | 0.42 | 58% | 44% / 65% |
| UE transfer-concept | 0.400 | 96.1% | 0.58 | 62% | 57% / 70% |
| Recall | Precision | FPR | ||||
| Training condition | Exact | Relaxed | Exact | Relaxed | Exact | Relaxed |
| Real fMRI for | 0.411 | 0.643 | 0.461 | 0.686 | 2.01% | 4.69% |
| No synthetic | 0.087 | 0.228 | 0.273 | 0.573 | 1.23% | 3.13% |
| + syn. (transfer-concept) | 0.279 | 0.486 | 0.416 | 0.680 | 1.58% | 3.82% |
| + syn. (transfer-blind) | 0.229 | 0.441 | 0.397 | 0.671 | 1.50% | 3.60% |
| + syn. (scratch-blind) | 0.218 | 0.427 | 0.393 | 0.658 | 1.56% | 3.74% |
| Low-level | High-level | ||||||||
| Decoder | Syn. | PixCorr | SSIM | Alex(2) | Alex(5) | Incep | CLIP | EffNet | SwAV |
| Full data ( images) | |||||||||
| Brain-Diffuser | ✗ | 0.258 | 0.357 | 94.4% | 96.6% | 88.2% | 91.9% | 0.770 | 0.420 |
| ✓ | 0.273 | 0.353 | 95.5% | 97.4% | 90.1% | 93.3% | 0.749 | 0.401 | |
| MindEye2 | ✗ | 0.278 | 0.376 | 95.6% | 98.6% | 94.9% | 93.4% | 0.621 | 0.344 |
| ✓ | 0.312 | 0.389 | 96.9% | 99.1% | 96.1% | 94.1% | 0.604 | 0.330 | |
| Video-based | Frame-based | |||||||
| Semantic-level | ST-level | Semantic-level | Pixel-level | |||||
| Training data | Syn. | 2-way | 50-way | CLIP-pcc | 2-way | 50-way | SSIM | PSNR |
| Limited ( clips) | ✗ | 0.837 | 0.185 | 0.932 | 0.770 | 0.154 | 0.357 | 9.458 |
| ✓ | 0.855 | 0.235 | 0.932 | 0.797 | 0.187 | 0.383 | 9.669 | |
| Full ( clips) | ✗ | 0.857 | 0.259 | 0.937 | 0.810 | 0.206 | 0.377 | 9.672 |
| ✓ | 0.865 | 0.275 | 0.936 | 0.816 | 0.221 | 0.397 | 9.896 | |
| Decoders (Table 1 ) | Probe decoder by encoder (Table 2 ) | |||||
| Metric | Brain-Diffuser | MindEye2 | Brain-IT | Scratch-blind | Transfer-blind | Transfer-concept |
| PixCorr | 82% [77, 87] | 71% [62, 81] | 40% [16, 66] | 61% [51, 74] | 59% [49, 72] | 73% [63, 86] |
| Alex(2) | 92% [84, 102] | 64% [54, 72] | 64% [38, 89] | 63% [51, 76] | 67% [57, 79] | 77% [67, 88] |
| Alex(5) | 93% [89, 98] | 73% [68, 79] | 58% [46, 71] | 63% [56, 72] | 64% [57, 73] | 74% [67, 81] |
| Incep | 83% [79, 87] | 66% [60, 71] | 46% [33, 55] | 51% [46, 56] | 51% [46, 57] | 69% [63, 74] |
| CLIP | 87% [84, 90] | 57% [53, 62] | 53% [43, 62] | 46% [41, 53] | 49% [43, 56] | 62% [57, 67] |
| Seen vs. Unseen | Unseen + syn. vs. Unseen | ||||||
| Decoder | Metric | Ratio | Ratio | ||||
| Brain-Diffuser | Incep | 9.0 | 0.4 ∗ | 4% | 7.5 | 0.2 | 3% |
| CLIP | 9.3 | 0.1 | 1% | 8.1 | 0.3 ∗ | 4% | |
| EffNet | 0.086 | 0.001 | 1% | 0.066 | 0.003 ∗ | 4% | |
| SwAV | 0.061 | 0.002 ∗ | 4% | 0.050 | 0.004 ∗ | 8% | |
| MindEye2 | Incep | 7.4 | 0.3 ∗ | 5% | 4.9 | 0.4 ∗ | 8% |
| Metric | Brain-Diffuser | MindEye2 | Brain-IT |
| PixCorr | 2.64 [2.48, 2.77] | 2.94 [2.67, 3.26] | 1.94 [1.87, 2.02] |
| Alex(2) | 2.55 [2.42, 2.69] | 2.61 [2.45, 2.80] | 2.27 [2.17, 2.38] |
| Alex(5) | 2.39 [2.27, 2.53] | 2.35 [2.20, 2.51] | 2.03 [1.91, 2.19] |
| Incep | 2.37 [2.20, 2.64] | 2.16 [1.98, 2.36] | 1.86 [1.72, 1.99] |
| CLIP | 2.20 [2.08, 2.35] | 1.74 [1.61, 1.87] | 1.78 [1.66, 1.90] |
| EffNet | 2.30 [2.21, 2.40] | 1.87 [1.78, 1.96] | 1.78 [1.72, 1.83] |