For decades, functional neuroimaging relied heavily on "subtraction logic." To find out where the brain processes faces, researchers would show a subject pictures of faces, subtract the brain activity recorded while looking at houses, and look for the remaining "hotspots." While this approach successfully mapped the coarse geography of the cortex, it treated individual brain regions as monolithic blocks with singular functions.
In reality, a single millimeter-sized volumetric pixel (a voxel) in an fMRI scan contains hundreds of thousands of neurons. These neural populations do not simply turn on or off; they act as complex, continuous filters tuned to specific dimensions of our environment.
To map this intricate functional architecture, researchers pivoted from subtraction to voxel-wise encoding models. Instead of asking which region lights up during a task, voxel-wise encoding asks a predictive question: Can we build a mathematical model that predicts how every individual voxel in the brain will respond to any arbitrary, naturalistic stimulus?
The Core Mechanism: Linearizing the Brain
The fundamental challenge of modeling the brain is that neural computation is deeply non-linear. A raw stimulus—such as the pixels of a natural image or the pressure waves of a spoken narrative—undergoes layers of complex transformations before reaching the cortex. Trying to fit a direct linear model from raw pixels to an fMRI signal fails because the relationship is fundamentally non-linear.
Voxel-wise encoding solves this through the linearizing feature space framework. The process breaks down into three distinct stages:
[ Natural Stimulus ]
│
▼ (Non-linear Feature Extraction)
[ High-Dimensional Feature Space ]
│
▼ (Regularized Linear Mapping)
[ Predicted Voxel Response (BOLD) ]
- Stimulus Presentation: Subjects are exposed to rich, naturalistic stimuli—such as listening to a podcast, reading a story, or watching a movie—inside an fMRI scanner.
- Non-linear Feature Extraction: The raw stimulus is transformed into a high-dimensional feature space using an external computational model. This model acts as a proxy for the non-linear transformations performed by sensory organs and subcortical pathways. Historically, these were hand-crafted filters (like Gabor wavelets for vision or cochlear filterbanks for audio). Today, researchers increasingly use the internal activations of deep neural networks, such as convolutional neural networks (CNNs) or large language models (LLMs).
- Linear Mapping: A separate linear regression model is trained for every single voxel. This model learns a set of weights that map the high-dimensional feature space directly to that voxel's blood-oxygen-level-dependent (BOLD) metabolic response.
Why does this work? The core hypothesis is that while the transformation from stimulus to brain activity is non-linear, the relationship between a sufficiently rich latent feature space and the cortical response is approximately linear. By moving the non-linearity into the feature extraction step, we can use simple linear regression to find the exact "tuning profile" of each voxel.
The Mathematical Engine: Regularized Linear Mapping
When mapping high-dimensional feature spaces (which can contain thousands of dimensions) to fMRI data (which typically has only a few thousand timepoints per scan), standard ordinary least squares (OLS) regression breaks down due to overfitting and multicollinearity.
To solve this, voxel-wise encoding models rely heavily on Ridge Regression ($L_2$ regularization). Ridge regression adds a penalty proportional to the square of the magnitude of the weights, shrinking the weights toward zero. This stabilizes the model estimation when features are highly correlated—such as adjacent frequencies in audio or co-occurring words in a story.
In many cases, a stimulus contains multiple distinct types of information. For instance, speech contains both low-level acoustic properties (pitch, volume) and high-level semantic properties (meaning, context). If you throw all these features into a single ridge regression model, the features with larger scales or higher correlations can dominate the regularization process, drowning out the other feature spaces.
To address this, Deniz et al. and Kumar et al. utilize banded ridge regression. This technique applies separate regularization penalties to different feature "bands" or spaces simultaneously. By optimizing these penalties independently, the model can accurately estimate the unique contribution of each feature space without letting one mask the other.
Building Intuition Across Modalities
The power of voxel-wise encoding is its universality; it can be applied to any sensory or cognitive modality by simply changing the underlying feature space.
Auditory Processing and Speech
In the human auditory cortex, traditional models assumed a simple "tonotopic" layout where each cortical area responds to a single characteristic frequency. By applying a regularized regression model based on Relevance Vector Machines to natural sounds, Moerel et al. (2012) demonstrated that voxel-wise modeling could extract highly detailed frequency response profiles for localized neural populations.
Expanding on this with ultra-high-field (7T) fMRI, Moerel et al. (2013) discovered that over 60% of cortical populations are actually "multipeaked"—tuned to complex intervals like octaves and harmonics rather than single frequencies.
When moving from raw sounds to speech, the feature spaces become hierarchical. de Heer et al. used voxel-wise modeling to show how the brain transitions along a structural gradient from processing raw acoustic features to vocal gestures, and finally to abstract semantics. Similarly, Gong et al. mapped speech processing using "diphones" (adjacent phoneme pairs), revealing a massive, distributed cortical network organized around phonemic chunks.
Vision and Navigation
In visual neuroscience, competing theories often clash over whether scene-selective brain areas process low-level 2D features (like spatial frequency), mid-level 3D layouts, or high-level semantic categories. Lescroart et al. used voxel-wise encoding models to test these hypotheses simultaneously. They found that all three models predicted voxel responses remarkably well, demonstrating that the competing theories largely describe the same shared variance in natural scenes.
Furthermore, Güçlü et al. (2014) proved that feature spaces learned entirely via unsupervised feature learning from natural images predict visual cortex activity significantly better than traditional, hand-crafted mathematical filters. For spatial navigation, Nau et al. constructed forward encoding models using a basis set of circular-Gaussian kernels to map how the human visual-navigation network tracks continuous 360-degree directional variables.
Language and Cognitive Semantics
One of the most profound applications of voxel-wise encoding is mapping how the brain represents meaning. By extracting semantic vectors from text corpora, researchers can map word meanings directly onto the cortex. Deniz et al. (2019) used this to show that semantic maps are "amodal"—the brain maps the meaning of a word in the exact same cortical location regardless of whether the subject listens to it or reads it.
However, words do not exist in a vacuum. Jain et al. demonstrated that language encoding models perform significantly better when they incorporate linguistic context using recurrent neural networks (LSTMs). They revealed that different areas of the cortex have different "temporal receptive fields," with higher-level associative areas requiring longer context windows to be accurately predicted.
This relationship scales predictably: Antonello et al. showed that as the underlying language models grow in parameters and training data, their internal activations become logarithmically better at predicting human fMRI responses, approaching the theoretical noise ceiling of the human brain.
Why It Works: Generalization and Validation
The ultimate test of any voxel-wise encoding model is its ability to generalize to entirely unseen stimuli.
During the experiment, the dataset is split into a training set and a completely independent test set. The linear weights for each voxel are learned exclusively on the training set. To validate the model, the features of the test stimulus are passed through the learned weights to generate a predicted fMRI timecourse. This prediction is then correlated with the actual, observed fMRI data from the test session.
[ Test Stimulus Features ] ──> [ Trained Voxel Weights ] ──> [ Predicted BOLD ]
│
▼ (Correlation)
[ Actual BOLD ]
If a model achieves a high correlation on the test set, it means the feature space has truly captured a facet of the underlying neural computation. This predictive framework allows cognitive neuroscientists to move away from descriptive statistics and toward a rigorous, engineering-driven understanding of the human brain. By leveraging the representational power of modern artificial intelligence, voxel-wise encoding models turn the brain's complex, non-linear responses into an interpretable, linear map of human experience.
Key Foundational Work
Second Order Scattering Descriptors Predict fMRI Activity Due to Visual Textures (2013) — contributed 1 concept elements to this direction.
Multilayer Scattering Image Analysis Fits fMRI Activity in Visual Areas (2012) — contributed 1 concept elements to this direction.
Processing of Natural Sounds in Human Auditory Cortex: Tonotopy, Spectral Tuning, and Relation to Voice Sensitivity (2012) — contributed 1 concept elements to this direction.