Personalized visual encoding model construction with small data

Zijin Gu, Keith Jamison, Mert R. Sabuncu, Amy Kuceyeski

Abstract

Quantifying population heterogeneity in brain stimuli-response mapping is essential for understanding variability in neural systems. While encoding models can capture these relationships, they typically require massive fMRI datasets—often 20,000+ images per subject—to achieve high accuracy. We propose a linear ensemble approach that constructs personalized encoding models for new individuals using significantly less data. By modeling a new subject's predicted response as a linear combination of pre-trained models from "donor" subjects, we achieve "gold standard" accuracy with only a few hundred image-response pairs. This method preserves individual neural fingerprints and remains robust across different experimental domains, offering a practical path for personalized neuroscience in clinical and large-scale settings.

Introduction

Building accurate models of how the human brain responds to visual stimuli is a cornerstone of computational neuroscience. However, the "data tax" for these models is steep. State-of-the-art personalized models often require subjects to undergo 30–40 hours of fMRI scanning, viewing tens of thousands of images. This requirement is a major barrier for studies involving children, clinical patients, or large cohorts where scan time is limited.

While population-level models can be built with less data per person, they often fail to capture the unique inter-individual differences—the "neural fingerprints"—that are essential for understanding personalized brain function. This paper addresses the challenge: Can we build a highly accurate, personalized encoding model using only a "small data" regime (e.g., 40 minutes of scanning)?

Methods: The Linear Ensemble Approach

The researchers developed a Linear Ensemble Model that leverages existing, densely-sampled data from a small group of "donor" subjects to predict responses in a new "query" subject.

Model Architecture

The system consists of two main components:

  1. Base Encoding Models: For each donor subject, a "gold standard" encoding model is trained on over 20,000 images. These models use a ResNet-50 backbone to extract visual features, followed by a linear readout layer to predict voxel-wise brain activity.
  2. Linear Ensemble: For a new subject with limited data (100–800 images), the model does not train from scratch. Instead, it learns a set of weights ($\beta$) to represent the new subject's brain response as a weighted linear combination of the predictions from the donor models.
The proposed architecture includes (a) the base ResNet-50 encoding model and (b) the linear ensemble model which combines donor predictions to model a new subject.

This approach rests on the hypothesis that individual brain responses exist within a common functional space that can be spanned by a small number of well-mapped individuals.

Experimental Setup and Datasets

The method was validated using two primary datasets:

  • Natural Scenes Dataset (NSD): Used to train donor models and establish a "gold standard" for accuracy. It contains ~24,000 natural images viewed by 8 subjects.
  • NeuroGen Dataset: Used to test domain shift. This dataset involved different MRI scanners (3T vs. 7T) and experimental setups, providing a rigorous test of the model's generalizability.

Key Results

Achieving Gold Standard Accuracy with Small Data

The linear ensemble approach demonstrated remarkable efficiency. With only 300 image-response pairs (approximately 40 minutes of scan time), the ensemble models achieved accuracy statistically indistinguishable from models trained on the full 20,000-image dataset. In contrast, models trained from scratch on the same small amount of data performed significantly worse across all tested visual regions, including V1, FFA, EBA, and PPA.

Preserving the Neural Fingerprint

A critical finding was that the ensemble model does not just average out differences. By learning subject-specific weights, the model successfully captured the unique "prediction consistency" of individuals. It accurately modeled how one person's brain response differs from another's when viewing the same image, preserving the inter-individual variability that population-level models typically lose.

Robustness to Domain Shift

The model's performance held up even when the donor data and query data came from different environments (e.g., different scanner strengths). This suggests that the learned functional relationships are robust enough for real-world applications where experimental conditions may vary.

Discussion and Future Directions

The linear ensemble method provides a practical solution to the data bottleneck in personalized brain modeling. By treating existing high-quality datasets as "basis vectors," researchers can efficiently map new individuals into a common functional space.

Future work may explore expanding the donor pool to capture even more diverse brain patterns or utilizing non-linear ensemble methods to further refine the mapping. Additionally, testing this approach in higher-order cognitive areas will be essential to determine if the same linear relationships hold true beyond the visual cortex.

Summary updated

BibTeX
@inproceedings{gu2022personalized,
  author = {Zijin Gu and Keith Jamison and Mert R. Sabuncu and Amy Kuceyeski},
  title = {{Personalized visual encoding model construction with small data}},
  booktitle = {Communications},
  year = {2022},
  doi = {10.1038/s42003-022-04347-z},
}
Figure