Beyond linear regression: mapping models in cognitive neuroscience should align with research goals

Anna A. Ivanova, Martin Schrimpf, Stefano Anzellotti, Noga Zaslavsky, Evelina Fedorenko, Leyla Işık

Abstract

Many cognitive neuroscience studies use large feature sets to predict and interpret brain activity patterns. Feature sets take many forms, from human stimulus annotations to representations in deep neural networks. Of crucial importance in all these studies is the mapping model, which defines the space of possible relationships between features and neural data. Until recently, most encoding and decoding studies have used linear mapping models. Increasing availability of large datasets and computing resources has recently allowed some researchers to employ more flexible nonlinear mapping models instead; however, the question of whether nonlinear mapping models can yield meaningful scientific insights remains debated. Here, we discuss the choice of a mapping model in the context of three overarching desiderata: predictive accuracy, interpretability, and biological plausibility. We show that, contrary to popular intuition, these desiderata do not map cleanly onto the linear/nonlinear divide; instead, each desideratum can refer to multiple research goals, each of which imposes its own constraints on the mapping model. Moreover, we argue that, instead of categorically treating the mapping models as linear or nonlinear, we should instead aim to estimate the complexity of these models. We show that, in many cases, complexity provides a more accurate reflection of restrictions imposed by various research goals. Finally, we outline several complexity metrics that can be used to effectively evaluate mapping models.

The Encoding and Decoding Framework

In modern cognitive neuroscience, the "encoding and decoding" framework serves as a primary method for linking external variables to internal neural states. This involves mapping features—such as the pixels of an image, linguistic properties of a word, or the layers of a deep neural network—to neural responses like fMRI voxels or single-neuron firing rates.

Common mapping scenarios in cognitive neuroscience, including stimulus-to-brain (A, D), behavior-to-brain (B), and brain-to-brain (C) mappings.

For decades, linear regression has been the gold standard for these mappings. The field has largely adhered to a "linear-only" dogma, driven by the perception that linear models are inherently more interpretable and biologically plausible. However, as datasets like BOLD5000 and the UK Biobank provide increasingly high-dimensional data, the limitations of strictly linear mappings are becoming apparent. The central challenge is determining when to maintain simplicity and when to embrace the flexibility of nonlinear models.

Deconstructing the Three Desiderata

The choice of a mapping model is typically guided by three overarching goals, or desiderata. However, the authors argue that these do not align as cleanly with the linear/nonlinear divide as previously thought.

1. Predictive Accuracy

While nonlinear models often provide higher predictive accuracy by capturing complex patterns, they require significantly more data to converge without overfitting. In data-limited regimes, a linear model may actually be more accurate due to its lower variance.

2. Interpretability

Interpretability is not a monolithic concept. If the goal is to test if a specific feature set (e.g., "phonology") is present in a brain region, a high-complexity nonlinear model is perfectly acceptable. Conversely, if the goal is to examine individual feature weights to understand exactly how much a specific stimulus property contributes to a voxel's response, a low-complexity, likely linear, model is required to prevent the mapping from "fixing" or obscuring the underlying feature representation.

3. Biological Plausibility

Linearity is often equated with biological plausibility, yet many neural measurements are inherently nonlinear. For example, the BOLD signal in fMRI is a nonlinear hemodynamic transformation of underlying neural activity. In such cases, a nonlinear mapping model that incorporates the Hemodynamic Response Function (HRF) is more biologically accurate than a linear one. Biological plausibility should be defined by the known constraints of the system being studied, not by the mathematical simplicity of the model.

From Linearity to Model Complexity

Instead of a binary choice between linear and nonlinear models, the paper proposes viewing mapping models on a continuum of complexity. A sparse nonlinear model may be more interpretable and easier to validate than a dense linear model with thousands of highly correlated weights. To move the field forward, the authors suggest adopting formal metrics to quantify model complexity, such as:

  • Number of Parameters: The most straightforward but sometimes misleading metric.
  • Minimum Description Length (MDL): A metric from information theory that considers how well a model compresses the data.
  • Sample Complexity: Evaluating how much data a model requires to reach a certain level of performance.

Conclusion

The strict requirement for linearity in cognitive neuroscience is often a proxy for a desire for low-complexity models. By shifting the focus from the linear/nonlinear binary to a nuanced evaluation of model complexity, researchers can better align their mapping models with their specific scientific objectives. High complexity is suitable for testing feature relevance or building "in silico" brain simulations, while low complexity remains essential for comparing feature sets and examining individual weights. Ultimately, the mapping model should be a tool tailored to the research question, not a dogmatic constraint.

Summary updated

Abstract

Many cognitive neuroscience studies use large feature sets to predict and interpret brain activity patterns. Feature sets take many forms, from human stimulus annotations to representations in deep neural networks. Of crucial importance in all these studies is the mapping model, which defines the space of possible relationships between features and neural data. Until recently, most encoding and decoding studies have used linear mapping models. Increasing availability of large datasets and computing resources has recently allowed some researchers to employ more flexible nonlinear mapping models; however, the question of whether nonlinear mapping models can yield meaningful scientific insights remains debated. Here, we discuss the choice of a mapping model in the context of three overarching desiderata: predictive accuracy, interpretability, and biological plausibility. We show that these desiderata do not map cleanly onto the linear/nonlinear divide; instead, each desideratum can refer to multiple research goals, each of which imposes its own constraints on the mapping model. Moreover, we argue that, instead of categorically treating the mapping models as linear or nonlinear, researchers should report the complexity of these models. We show that, in many cases, complexity provides a more accurate reflection of restrictions imposed by various research goals and outline several complexity metrics that can be used to effectively evaluate mapping models.
BibTeX
@inproceedings{ivanova2022beyond,
  author = {Anna A. Ivanova and Martin Schrimpf and Stefano Anzellotti and Noga Zaslavsky and Evelina Fedorenko and Leyla Işık},
  title = {{Beyond linear regression: mapping models in cognitive neuroscience should align with research goals}},
  booktitle = {Neurons},
  year = {2022},
  doi = {10.51628/001c.37507},
}
Figure