How does the brain compute with probabilities?

Ralf M. Haefner, Jeffrey M. Beck, Cristina Savin, Mehrdad Salmasi, Xaq PitkowarXiv 2024 · DOI

Introduction

The quest to understand how the brain performs Bayesian inference—integrating sensory evidence with prior knowledge—has led to several competing theories. However, these frameworks often use disparate notations and assumptions, making direct comparison difficult. This paper acts as a "Rosetta Stone," unifying three major theories—Probabilistic Population Codes (PPCs), Distributed Distributional Codes (DDCs), and Neural Sampling Codes (NSCs)—into a single mathematical language.

The Rosetta Stone of Neural Coding

The paper is the result of a Generative Adversarial Collaboration (GAC), where proponents of competing theories worked together to find common ground. By utilizing the Exponential Family of distributions, the authors map the three theories onto a unified framework. This mapping reveals that the theories differ primarily in which parameters of the distribution they represent:

  • PPCs: Neural activity represents the natural parameters (e.g., inverse variance) of a distribution. This makes multiplying probabilities (cue integration) computationally simple.
  • DDCs: Neural activity represents expectation parameters (e.g., the mean). This makes marginalization (ignoring irrelevant variables) easy.
  • NSCs: Neural activity represents samples from a distribution, allowing the brain to estimate complex expectations over time.
The conceptual hierarchy from computational goals to neural implementation, mapping abstract probabilistic concepts to biological neural activity.

Computational Trade-offs and Latent Variables

A central insight of this unified view is the "Easy Math" trade-off: no single code is optimal for all tasks. PPCs excel at multiplication but struggle with marginalization, while DDCs face the opposite challenge. The brain likely employs different coding schemes depending on the specific computational demands of a task or brain region.

Furthermore, the paper introduces a crucial distinction between the experimental stimulus ($s$) and the brain's internal latent variables ($z$). The authors argue that many perceived failures of these models in past literature were due to researchers assuming the brain represents the stimulus directly, rather than its own internal generative model of the world.

Empirical Re-evaluation and Future Frontiers

By re-evaluating data from the visual cortex (V1), area MT, and the hippocampus, the authors show how these codes can be reconciled. For instance, a sampling-based code (NSC) can appear to be a population code (PPC) depending on whether the analysis focuses on the stimulus ($s$) or latent features ($z$). This perspective potentially resolves long-standing debates regarding V1 tuning curves and neural variability. One striking empirical result discussed is that spontaneous brain activity in the dark matches the average of evoked activity—a unique prediction of Neural Sampling Codes that is difficult for other models to explain.

The authors conclude that the next frontier in neuroscience is not just recording more neurons, but performing causal interventions. By manipulating neural activity to represent specific probability states, researchers can test the divergent predictions of these models. For example, cooling a brain area to represent a "zero" probability would lead to different changes in downstream variability depending on whether the code is sampling-based or population-based.

Ultimately, the brain may not use a "pure" code but rather a continuum—perhaps sampling the parameters of a population code. This unified framework provides the necessary tools to finally distinguish between these possibilities and understand the "machine code" of the brain.

Summary updated

BibTeX
@misc{haefner2024how,
  author = {Ralf M. Haefner and Jeffrey M. Beck and Cristina Savin and Mehrdad Salmasi and Xaq Pitkow},
  title = {{How does the brain compute with probabilities?}},
  year = {2024},
  eprint = {2409.02709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.02709},
}
Figure