Which Stimuli to Scan?

Small Image-Set Selection for Image-to-fMRI Encoder Training

Navve Wasserman · Roman Beliy · Alex Nguyen · Kenneth A. Norman · Michal Irani

Weizmann Institute of Science · Princeton University

Overview

Image-to-fMRI encoders can predict how a person’s brain will respond to new images, but training them usually requires many image–fMRI measurements. Achieving higher accuracy with smaller training sets would substantially broaden the applicability of these encoding models, facilitating both large-scale studies of population variability and studies of how visual responses change with experience or intervention.

If we can scan only a few images for a new participant, which images should we choose?

We treat stimulus selection as an optimization problem. We show that image sets chosen to cover the brain-response space of a well-scanned participant generalize to new participants and improve image-to-fMRI encoding when only a small number of images are scanned. We compare selection in brain-response space with selection in image-feature space. Both outperform random sampling, with Brain-Space selection providing the largest gains.

0.230 Random sampling
0.256 Image-Space
0.288 Brain-Space

How it works

We aim to choose the most informative images to scan for a new participant, so an image-to-fMRI encoder can be adapted effectively from a small number of measurements. We build on the image-to-fMRI encoder of Beliy et al. and its efficient transfer learning approach.

01 · Pre-scanned fMRI data

Start with an image-to-fMRI encoder trained on previously scanned participants. The Universal Encoder supports efficient transfer learning to a new participant.

02 · Image-set selection

Choose a small set from a pool of candidate images

Choose the most informative images from the available candidate pool to scan for the new participant.

Three ways to select the image set

Prior work: Random sampling

Select images randomly from the candidate pool, without explicitly optimizing for visual or neural coverage.

Image-Space

Represent each image with a foundation model such as DINO or CLIP, then select images to cover the resulting image-feature space.

03 · Predict brain activity

For each candidate image, the pre-trained encoder predicts neural responses in the source participants, mapping the image into their Brain-Space.

04 · Cover Brain-Space

We select images whose predicted neural responses cover the source participants’ Brain-Space, creating a compact set for adapting the encoder to a new participant.

05 · Scan the new participant

We can then scan the new participant using the selected images. We test this retrospectively with existing scans and find that the selected images also cover the participant’s measured Brain-Space, providing useful image–fMRI pairs for adapting the encoder with relatively few scans.

Selecting which stimuli to scan improves encoding performance

Optimized image sets outperform random sampling

Both Image-Space and Brain-Space selection improve encoding over random sampling, and Brain-Space selection outperforms Image-Space. At 20 images, participant-averaged median voxelwise Pearson correlation rises from 0.230 with random sampling to 0.256 with Image-Space and 0.288 with Brain-Space selection.

Encoding improvements extend across visual regions

Brain-Space selection improves encoding across visual regions. The gains over Image-Space are especially pronounced in regions selective for faces, bodies, and scenes.

Figure 2: (a) Median correlation across image-set sizes, with Brain-Space and Image-Space selection outperforming random sampling. (b) Encoding performance across visual regions.

Generalization across datasets

NSD-derived selection transfers to LAION-fMRI

We select LAION-fMRI training images using Brain-Space representations predicted by encoders trained on NSD participants. LAION-fMRI responses are not used during selection; after selection, the measured image–fMRI pairs are used to adapt the encoder for each target participant. This NSD-derived selection improves performance over random sampling on both in-distribution and out-of-distribution test images at every image budget. With 20 images, the relative gains over random sampling are about 35% and 41%, respectively.

Selection transfers across acquisition conditions

We likewise select images for the 3T Generic Object Decoding (GOD) dataset using Brain-Space representations predicted by the NSD-trained Universal Encoder, without using GOD responses during selection. The selected images improve encoding on this dataset, which uses different acquisition conditions and includes object categories absent from the target training set. With 20 images, performance improves by about 37% over random sampling and 46% over Image-Space selection.

Figure 3: Brain-Space selection results on LAION-fMRI in-distribution, LAION-fMRI out-of-distribution, and the GOD dataset.

Generalization across encoders

Brain-Space selection generalizes across selection encoders

We test whether Brain-Space selection depends on the model used to predict candidate images’ neural responses. In place of the Universal Encoder, we use subject-specific Transformer encoders trained independently for each NSD source participant. The selection objective, downstream Universal Encoder adaptation, and evaluation remain fixed. Brain-Space selection with the Transformer closely matches selection with the Universal Encoder (0.282 vs. 0.288 at 20 images) and outperforms Image-Space and random sampling at every tested budget.

Selection method20 images406080100
Random0.2320.2940.3270.3460.361
Image-Space0.2590.3100.3350.3510.364
Brain-Space (Universal Encoder)0.2880.3330.3530.3610.372
Brain-Space (Transformer)0.2820.3260.3490.3570.369

Median voxelwise Pearson correlation; higher is better.

Selected images also benefit a different downstream encoder

Brain-Space-selected images improve a different downstream image-to-fMRI encoder at every tested image-set size. Selection uses the Universal Encoder; the selected images train a subject-specific Transformer from scratch.

Selection method20 images406080100
Random0.1300.1540.1640.1750.184
Image-Space0.1420.1660.1720.1830.187
Brain-Space0.1770.1920.1960.2010.207

Median voxelwise Pearson correlation on the NSD fixed test set; higher is better.

Visualizing the selected images

A 20-image set selected from NSD

This example shows the 20 images selected with Brain-Space Coverage from NSD Subject 1, Candidate Pool 1.

Twenty images selected from NSD Subject 1, arranged as two rows of ten images.

Where each method selects images in Brain Space

Each gray dot is a candidate image, placed according to its neural response predicted by the NSD encoder. The responses are reduced to 50 dimensions with PCA and then shown in a two-dimensional t-SNE projection. Colored dots mark the 20 images chosen by each method. Brain-Space Coverage places selected images in candidate neighborhoods that are sparsely represented by Random and Image-Space Coverage. A separate quantitative analysis confirms that Brain-Space Coverage achieves higher coverage in both predicted source responses and measured target-participant responses. Because t-SNE can distort distances, the plotted spacing is not itself a coverage measure; selection and quantitative coverage are evaluated in the original response space.

Selection methods
Projection into Brain Space

Random

The same NSD candidate pool projected into Brain Space, with 20 randomly selected images highlighted.

Image-Space Coverage

The same NSD candidate pool projected into Brain Space, with the 20 images selected by Image Space Coverage highlighted.

Brain-Space Coverage

The same NSD candidate pool projected into Brain Space, with the 20 images selected by Brain Space Coverage highlighted.

Conclusion

Rapidly characterizing an individual’s visual representations from only a few image–fMRI pairs is practically important. Image-to-fMRI encoders extend what can be learned from fMRI measurements by predicting participant-specific responses to unscanned images, while cross-subject transfer further reduces the amount of data required to fine-tune a pre-trained model on a new participant. This makes the choice of the few images that are actually scanned an important part of the problem. Our work treats this as an experimental-design problem, optimizing the small image set specifically to support efficient encoder transfer. The improvement over Random sampling establishes the value of optimized stimulus selection, but the additional advantage over Image-Space is also significant. We hypothesize that this gap reflects an imperfect correspondence between visual and neural representations. Although deep networks capture aspects of visual brain representations, as assessed by benchmarks such as Brain-Score, this correspondence remains incomplete. Similarities in image-feature space may therefore differ from those in Brain-Space, so a set covering image space well does not necessarily provide good coverage of brain responses.

Citation

If you use this work, please cite:

@misc{wasserman2026which,
  title  = {Which Stimuli to Scan? Small Image-Set Selection for Image-to-fMRI Encoder Training},
  author = {Wasserman, Navve and Beliy, Roman and Nguyen, Alex and Norman, Kenneth A. and Irani, Michal},
  year   = {2026}
}