Representational models: A common framework for understanding encoding, pattern-component, and representational-similarity analysis

Jörn Diedrichsen, Nikolaus Kriegeskorte

Abstract

Representational models specify how activity patterns in populations of neurons relate to sensory stimuli, motor responses, or cognitive processes. Currently, three distinct methods are used to test such hypotheses: encoding analysis, pattern component modeling (PCM), and representational similarity analysis (RSA). This paper develops a common mathematical framework showing that these methods share a core commonality: they all evaluate the second moment of the distribution of activity profiles, which determines the representational geometry. Using simulated data, the authors compare the power of these methods, demonstrating that while PCM provides the most powerful test, the others can perform similarly when appropriately regularized or when statistical dependencies are accounted for. These methods are best viewed as complementary components of a single data-analytical toolkit.

Introduction: Moving Beyond "Where" to "How"

Modern neuroscience has transitioned from identifying active brain regions to understanding how neural populations represent information. This shift has led to the development of "representational models"—hypotheses about the distribution of activity profiles across experimental conditions. However, the field has been fragmented by three primary analytical approaches: Encoding Analysis, Representational Similarity Analysis (RSA), and Pattern Component Modeling (PCM).

Until recently, the mathematical relationship between these methods was not fully understood, leading researchers to choose methods based on tradition or software availability. This paper provides a unified framework, demonstrating that these three approaches are different perspectives on the same underlying mathematical structure.

The Mathematical Core: The Second Moment Matrix

The central insight of this work is that all three methods rely on the second moment matrix ($G$). This matrix describes the "representational geometry"—the shape and orientation of the cloud of activity patterns in high-dimensional space. If neural noise is assumed to be Gaussian, the second moment matrix contains all the information necessary to determine how well any feature can be decoded from the population activity.

1. Pattern Component Modeling (PCM)

PCM is treated as the benchmark in this framework. It uses a Bayesian approach to model the distribution of activity patterns and employs a likelihood-ratio test to adjudicate between models. This provides the most powerful statistical test when its assumptions (such as Gaussian noise) are met.

2. Encoding Analysis

Encoding models predict the activity of individual voxels or neurons based on features. The authors demonstrate that an encoding model only becomes a well-defined representational model when it includes regularization (e.g., Ridge regression). This regularization effectively imposes a prior on the activity profiles, making the model mathematically equivalent to specifying a second moment matrix.

3. Representational Similarity Analysis (RSA)

RSA compares the "distances" or dissimilarities between activity patterns, often visualized as Representational Dissimilarity Matrices (RDMs). The authors introduce a "Likelihood-based RSA" that accounts for the fact that distance estimates are statistically dependent. By using a multivariate normal approximation to handle these dependencies, RSA can achieve statistical power nearly identical to PCM.

Comparative Performance in Simulated Experiments

The authors evaluated these methods using simulations based on three real-world fMRI designs:

  1. Finger Movements: A simple 5-condition design comparing muscle-activity vs. natural-statistics models.
  2. Piano Chords: A complex 31-condition design.
  3. Object Recognition: A large-scale 96-image design using models derived from Deep Convolutional Neural Networks (DCNNs).

Key Findings:

  • Statistical Power: PCM consistently showed the highest accuracy in model selection, though the margin was often small compared to properly implemented RSA and encoding models.
  • The Importance of Priors: Encoding models without regularization failed to distinguish between models spanning the same subspace, highlighting that regularization is a core neuroscientific hypothesis, not just a technical fix.
  • RSA's Dependencies: Standard rank-based RSA performed significantly worse in complex designs. However, accounting for the covariance of distances (Likelihood-based RSA) restored its performance to near-optimal levels.

Practical Considerations and Computational Trade-offs

Each method offers unique advantages and renders different aspects of the information explicit:

  • Encoding Analysis is ideal for mapping specific features onto the brain's surface (voxel-wise mapping) and makes single-response tuning explicit.
  • RSA excels in visualization (e.g., via Multi-Dimensional Scaling) and exploratory analysis, making population-response representational dissimilarity explicit.
  • PCM is the most powerful for rigorous model selection and is computationally efficient for "condition-rich" designs where the number of pairwise distances in RSA grows quadratically.

Conclusion

Rather than competing methodologies, Encoding, RSA, and PCM are properly construed as complementary components of a single toolkit. By understanding their shared mathematical foundation in the second moment of activity profiles, researchers can more effectively choose the right tool for their specific neuroscientific questions.

Summary updated

BibTeX
@inproceedings{diedrichsen2017representational,
  author = {Jörn Diedrichsen and Nikolaus Kriegeskorte},
  title = {{Representational models: A common framework for understanding encoding, pattern-component, and representational-similarity analysis}},
  booktitle = {PLoS},
  year = {2017},
  doi = {10.1371/journal.pcbi.1005508},
}
Figure