This NeurIPS 2018 paper provides a theoretical bridge between two of the most prominent competing theories in computational neuroscience regarding how the brain represents uncertainty. By mathematically demonstrating that "sampling-based" neural codes and "parametric" Probabilistic Population Codes (PPCs) are not mutually exclusive, the authors offer a unified framework for understanding neural inference.
The Problem: How Does the Brain Represent Uncertainty?
To navigate the world, the brain must perform Bayesian inference—calculating the probability of a cause (like "there is a cat") given sensory input (pixels on the retina). Because exact Bayesian inference is computationally expensive, researchers have long debated how the brain approximates it. Two main hypotheses have historically dominated the field:
- Parametric Codes (PPCs): Neural firing rates represent the parameters of a probability distribution, such as the mean or the log-probability.
- Sampling-Based Codes: Neural activity represents individual samples drawn dynamically from a distribution.
Until this paper, these were largely treated as rival theories. The critical gap addressed here is the lack of a unified framework: can a single neural system be interpreted simultaneously as a sampler and a parametric encoder?
Methods: Bridging the Gap
The authors use a formal mathematical derivation supported by computational simulations to show that if neurons in the primary visual cortex (V1) generate samples from a generative image model, their collective activity automatically functions as a PPC for high-level stimulus features.
Their approach involves several key components:
- The Generative Model: They assume V1 implements a Linear Gaussian Model (LGM) of images. In this model, an image is reconstructed by a weighted sum of "projective fields" (features like edges or gratings).
- Neural Sampling: Neural responses ($x$) are defined as samples drawn from the posterior distribution of this image model.
- Implicit Variable Decoding: They introduce an "experimenter-defined" variable ($s$), such as the orientation of a grating. While the brain samples low-level image features, the authors derive what an ideal observer would conclude about $s$ based on those samples.
- Analytical Proof: Using the properties of Gaussian distributions, they show that as the number of neural samples increases, the resulting distribution over $s$ takes the exact mathematical form of a Linear PPC (an exponential family with linear sufficient statistics).
Instead of large-scale empirical datasets, the authors rely on synthetic stimuli—such as oriented grating "templates" ($T(s)$) standard in V1 electrophysiology—and generative basis functions that resemble the localized, oriented Gabor-like filters found in actual V1 neurons.
Key Insights
The most significant insight of this work is the "Both/And" conclusion: the debate between sampling and PPCs is a false dichotomy. A system that samples low-level features implicitly creates a parametric code for high-level variables.
The paper distinguishes between variables the brain samples "explicitly" (the intensity of specific image features) and variables it represents "implicitly" (abstract categories like orientation). Furthermore, the "kernels" that define how a neuron contributes to a PPC are shown to be mathematically related to that neuron's projective field and the stimulus template.
Interestingly, in this model, neural variability (the "noise" in sampling) represents uncertainty about low-level features. However, the uncertainty about the high-level stimulus ($s$) is encoded in the mean of those samples, not their variance. This suggests that an experimenter could increase stimulus uncertainty without necessarily seeing a change in neural trial-to-trial variability.
Key Results
The authors successfully prove that the posterior $p(s|r)$ (where $r$ is the neural response) converges to the PPC form: $p(s|r) \propto g(s) \exp(h(s)^T r)$.
Additional findings include:
- Binary Latents: If the image features are binary (present/absent), the neural firing rates are simultaneously proportional to the probability of the feature and the log-probability of the stimulus $s$. This elegantly reconciles another long-standing debate about whether the brain uses linear or log-probability codes.
- Nuisance Invariance: The model explains how the brain can remain invariant to factors like overall luminance. If a neuron's projective field averages to zero (a common trait in V1), the resulting PPC is naturally unaffected by changes in light levels.
Limitations and Future Work
While theoretically powerful, the Linear Gaussian Model is a simplified version of V1. The authors acknowledge that more complex models, such as Gaussian Scale Mixtures, are needed to fully capture real-world neural response properties like contrast-invariant tuning. Achieving perfect contrast invariance requires more specific assumptions about how sensory noise scales with input.
Furthermore, the paper shows that the kernels $h(s)$ must be learned for every task. How the brain's downstream areas actually learn these linear projections remains an open question. Finally, extending this "sampling-as-PPC" framework from V1 to higher-level cortical areas (like V4 or IT) with more complex generative models represents a logical and exciting next step for future research.
Summary updated