Neural network-based encoding in free-viewing fMRI with gaze-aware models

Dora Gözükara, Nasir Ahmad, Katja Seeliger, Djamari Oetringer, Linda Geerligs · DOI

TL;DR

Researchers have developed a "gaze-aware" encoding model that uses eye-tracking data to map brain activity during natural movie viewing. By sampling only the specific parts of a video frame a person is actually looking at, the model achieves the same performance as traditional methods while using 112x fewer parameters and significantly less memory.

What Problem Does This Paper Address?

In traditional vision neuroscience, participants in fMRI scanners are often told to stare at a tiny cross in the center of the screen ("central fixation") while images or videos flash by. While this makes the data easy to analyze, it’s incredibly unnatural. In the real world, our eyes are constantly darting around to explore our environment. Forcing fixation suppresses activity in certain brain regions and adds an artificial "cognitive load" as the participant struggles not to look away.

However, "free-viewing" experiments—where people just watch a movie naturally—are a nightmare to model. If you use a Convolutional Neural Network (CNN) to represent the visual stimulus, the "feature space" becomes massive. To predict how a single brain voxel responds, a standard model might try to look at every single spatial location in a CNN layer simultaneously. This leads to a "parameter explosion," requiring massive datasets and high-performance computing just to train a model that might still be prone to overfitting.

Methods

The authors propose a simple but elegant fix: Gaze-Aware Brain Encoding.

Instead of feeding the entire CNN feature map into the encoding model, they use simultaneous eye-tracking data to see exactly where the participant was looking at any given moment.

  1. Feature Extraction: They passed movie frames through a pre-trained VGG-19 network.
  2. Spatial Sampling: Instead of using the whole $7 \times 16$ feature grid (the "hyperlayer"), they sampled only the feature vector at the specific $(x, y)$ coordinate of the participant's gaze.
  3. Linear Encoding: They trained a simple linear model to map these gaze-specific features to fMRI voxel activity.

They compared this to a Baseline model (which uses the entire feature map), a Center Fixation model (which always samples the middle of the frame), and a PCA model (which uses dimensionality reduction).

Datasets

The study utilized the StudyForrest dataset. This is a unique, open-source resource that includes:

  • High-resolution fMRI data from 15 participants.
  • Participants watching the movie Forrest Gump.
  • Synchronized, high-quality eye-tracking data.
  • Retinotopic mapping data (used for supplementary validation).

Key Insights and Ideas

  • The "Less is More" Surprise: The most striking "aha moment" is that discarding ~99% of the spatial data (by only looking at the gaze point) doesn't hurt the model's accuracy. This suggests that during natural viewing, the brain's ventral visual stream is primarily driven by the foveated (centered) part of the image.
  • Efficiency as an Enabler: By reducing the parameter space by 112x, the researchers moved the computational requirements from "High-Performance Computing Cluster" to "Standard Laptop." This makes advanced fMRI encoding accessible to many more labs.
  • Individual Differences Matter: The model isn't just a generic tool; it's personalized. The "gaze-aware" approach was significantly more effective for participants with "dynamic" eye movements—those who explored the screen more actively.

Key Results

  • Performance Parity: The gaze-aware model predicted activity in 53% of the voxels in the visual mask, compared to 57% for the massive baseline model. Statistically, they performed similarly across all major Regions of Interest (V1, V2, V3, LO, etc.).
  • Massive Compression: The gaze-aware model used only 1,472 features per TR, compared to 164,864 for the baseline.
  • Memory Footprint: Peak RAM usage during training dropped from 15.6 GB (baseline) to just 419 MB (gaze-aware)—a 37x reduction in working memory.
  • Failure of "Center-Only": Simply assuming everyone looks at the center (the "Center Fixation" baseline) performed significantly worse, proving that actual eye-tracking data is the "secret sauce."

Limitations and Future Work

While a major step forward, the authors note several areas for improvement:

  • Ignoring the Periphery: The current model samples a single point. In reality, we have peripheral vision. Future models could use a "Gaussian kernel" to sample a weighted area around the gaze point, better mimicking the human retina.
  • Fixations Only: The study only used "fixation" events (when the eye is still). It ignored "saccades" (quick jumps) and "smooth pursuit" (tracking moving objects), both of which elicit brain responses.
  • Static CNNs: They used VGG-19, which was trained on static images (ImageNet). Using a video-based model (like a 3D-CNN or Transformer) might capture the temporal dynamics of movies even better.

This work paves the way for studying the brain in even more complex environments, like playing video games or navigating Virtual Reality, where "staring at a cross" is simply not an option.

Summary updated

BibTeX
@inproceedings{gozukara2026neural,
  author = {Dora Gözükara and Nasir Ahmad and Katja Seeliger and Djamari Oetringer and Linda Geerligs},
  title = {{Neural network-based encoding in free-viewing fMRI with gaze-aware models}},
  booktitle = {Neurons},
  year = {2026},
  doi = {10.51628/001c.158956},
}
Figure