Figures
Abstract
The efficient coding hypothesis, which proposes that neurons are optimized to maximize information about the environment, has provided a guiding theoretical framework for sensory and systems neuroscience. More recently, a theory known as the Bayesian Brain hypothesis has focused on the brain’s ability to integrate sensory and prior sources of information in order to perform Bayesian inference. Although pieces of a connection between these two hypotheses have appeared in prior work, a general formulation that treats the optimality criterion as an arbitrary functional of the posterior distribution – and thereby admits both information-based and other objectives within a single framework – has remained largely implicit. Here we make this formulation explicit, developing a Bayesian theory of efficient coding that defines Bayesian efficient codes in terms of four basic ingredients: (1) a stimulus prior distribution; (2) an encoding model; (3) a capacity constraint, specifying a neural resource limit; and (4) a loss functional, quantifying the desirability or undesirability of various posterior distributions. Classic efficient codes arise as the special case in which the loss functional is the posterior entropy, leading to a code that maximizes mutual information, but alternate loss functionals give solutions that differ dramatically from information-maximizing codes. Within this framework we introduce covtropy, a novel family of losses defined on posterior distributions and parameterized by a single exponent, and use it to show that decorrelation of sensory inputs – optimal under classic efficient codes in low-noise settings – can be disadvantageous for objectives that penalize large errors. We then reanalyze Laughlin’s seminal data on contrast coding in the blowfly large monopolar cell, and find that the measured response nonlinearity is better explained by minimizing reconstruction error with p = 1/2 than by information maximization, overturning a forty-year-old interpretation. Bayesian efficient coding thus enlarges the family of codes that are optimal under different objectives and provides a more general framework for understanding the design principles of sensory systems.
Author summary
Sensory neurons work under tight budgets. They represent a rich, noisy world with limited spikes, limited dynamic range, and limited energy. Two long-standing ideas address this problem. One, called efficient coding, asks why neurons encode signals in the ways they do: which signals to amplify, which to filter out. A second, the Bayesian brain hypothesis, asks how the brain turns those signals into a percept: how to combine sensory evidence with prior knowledge to form a best guess about the world. We develop a framework that asks both questions at once. An optimal sensory code in our framework is specified by four interlocking ingredients: a prior description of the world, a model of how neurons respond to it, a limit on the resources they can spend, and a rule for what counts as a good internal representation. Classical information-maximizing codes emerge as one special case, one corner of a much larger family of Bayesian efficient codes. Applying this framework to Laughlin’s 1981 blowfly experiment, long held up as the textbook example of information maximization, we find that the fly’s neurons are better explained by minimizing decoding error than by maximizing information.
Citation: Park IM, Pillow JW (2026) Bayesian efficient coding. PLoS Comput Biol 22(11): e1014894. https://doi.org/10.1371/journal.pcbi.1014894
Editor: Jian Liu, University of Birmingham, UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND
Received: April 12, 2026; Accepted: October 12, 2026; Published: November 4, 2026
Copyright: © 2026 Park, Pillow. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: Data and the Python code that reproduces the figures are available at Zenodo (DOI: 10.5281/zenodo.3970841).
Funding: JWP was supported by grants from the McKnight Foundation, Simons Collaboration on the Global Brain (SCGB AWD1004351) and the NSF CAREER Award (IIS-1150186). IMP was supported by the Thomas Hartman Center for Parkinson’s Research (64249), the NIH NIBIB R01 EB-026946, RF1 DA056404, and the NSF CAREER Award (IIS-1845836). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: I have read the journal’s policy and the authors of this manuscript have the following competing interests: I. M. Park is a co-founder of RyvivyR. J. W. Pillow has declared that no competing interests exist. RyvivyR had no role in the design, analysis, or writing of this manuscript, and this does not alter our adherence to PLOS Computational Biology policies on sharing data and materials.
Introduction
One of the primary goals of theoretical neuroscience is to understand the functional organization of neurons in the early sensory pathways and the principles governing them. Why do sensory neurons amplify some signals and filter out others? What can explain the particular configurations and types of neurons found in the early sensory system? What general principles can explain the solutions evolution has selected for extracting signals from the sensory environment?
Two of the most influential theories for addressing these questions are the “efficient coding” hypothesis and the “Bayesian brain” hypothesis. The efficient coding hypothesis, introduced by Attneave and Barlow more than seventy years ago, uses the ideas from Shannon’s information theory to formulate a theory of normatively optimal neural coding [1,2]. The Bayesian brain hypothesis, on the other hand, focuses on the brain’s ability to perform Bayesian inference, and can be traced back to ideas from Helmholtz about optimal perceptual inference [3–7].
A substantial literature has sought to alter or expand the original efficient coding hypothesis [5,8–20], and a large number of papers have considered optimal codes in the context of Bayesian inference [21–29]. Although this prior work has made important contributions, a general formulation that treats the loss as an arbitrary functional of the posterior distribution – and thereby admits both information-theoretic and non-information-theoretic optimality criteria within a single formalism – has remained largely implicit. Here we make this formulation explicit, developing a general Bayesian theory of efficient coding that connects the two hypotheses. We begin by reviewing the key elements of each theory and then describe a framework for unifying them. Our approach involves combining a prior and model-based likelihood function with a neural resource constraint and a loss functional that quantifies what makes for a “good” posterior distribution. We show that classic efficient codes arise when we use information-theoretic quantities for these ingredients, but that a much larger family of Bayesian efficient codes can be constructed by allowing these ingredients to vary. We explore Bayesian efficient codes for several important cases of interest, namely linear receptive fields and nonlinear response functions. The latter case was examined in an influential paper by Laughlin that examined contrast coding in the blowfly large monopolar cells (LMCs) [30]; we reanalyze data from this paper and argue that LMC responses are better explained by minimizing reconstruction error with p = 1/2 than by infomax.
Theoretical background
Efficient coding hypothesis
The Efficient Coding hypothesis, set forth by Attneave [1] and formalized by Barlow [2], proposes that sensory neurons are optimized to maximize the information they transmit about sensory inputs. This hypothesis represents one of the most influential theories in systems neuroscience, and was the first to apply Shannon’s information theory to the problem of neural coding.
Mutual information, as defined by Shannon [31], quantifies (in units of bits) the information between an external stimulus x and a neural response y, defined as , where
is the marginal entropy and
is the conditional (or “noise”) entropy of the response. The marginal entropy quantifies the uncertainty of the marginal response distribution P(y), while conditional entropy quantifies the uncertainty of the conditional response distribution P(y|x), averaged over the stimulus distribution P(x). The mutual information tells us how much uncertainty about y is reduced by knowing the stimulus x, on average. Remarkably, the mutual information is symmetric, so it can equally be written as
, the difference between stimulus entropy H(x) and conditional entropy H(x|y), corresponding to the average reduction in uncertainty about the stimulus due to an observed neural response [32].
Barlow’s proposal, which he termed the redundancy-reduction hypothesis, was that neurons maximize I(x,y)/C, the ratio between the mutual information between stimulus x and neural response y, and the channel capacity C, which is an upper bound (considered over all stimulus distributions) on the mutual information. A perfectly efficient code in Barlow’s sense is one for which I(x,y) = C, where mutual information equals the channel capacity.
Barlow’s original work focused on the deterministic or ‘noiseless’ case where noise entropy is zero and the channel capacity is fixed. In this setting, efficiency is achieved by maximizing response entropy H(y). This specific setting yields two predictions most commonly associated with the efficient coding hypothesis: (1) single neurons should nonlinearly transform the stimulus to achieve optimal use of their full dynamic range [30,33,34]; and (2) neural populations should decorrelate their inputs, so the population responses are marginally independent [9,35–38]. Subsequent work by Atick & Redlich [10,39,40] extended this framework to noisy responses, showing that information maximization predicts linear receptive fields that are low-pass at low light levels, where signal-to-noise is low, and band-pass or “whitening” at high light levels, where signal-to-noise is high, consistent with receptive field measurements in retina.
Bayesian brain hypothesis
The Bayesian Brain hypothesis provides a second theoretical perspective on neural coding [4,6,7]. The core idea can be traced back to Helmholtz’s 19th century work on perception: it proposes that the brain seeks to combine noisy sensory information about the current stimulus with prior information about the environment. The product of these two terms, known as likelihood and prior, can be normalized to obtain the posterior distribution, which captures all information about the state of the environment. In this view, sensory perception is a form of Bayesian inference, and the brain’s goal is to compute the posterior distribution over environmental variables given sensory inputs.
The two key ingredients for the Bayesian Brain hypothesis are a prior distribution P(x) over the stimulus and an encoding distribution P(y|x) that describes the mapping from stimuli x to neural responses y. These ingredients combine according to Bayes’ rule to form the posterior distribution: , which captures the observer’s beliefs about the stimulus x given the noisy sensory information contained in y. This theory has had major influences on the study of sensory and motor behavior [6,7,28,41–47], as well as on theories of neural population codes that support Bayesian inference [21–23,48–50]. Despite its emphasis on normatively optimal perception and behavior, the Bayesian brain literature and the efficient coding hypothesis have not yet been connected in full generality.
Bayesian efficient coding
Here we make the connection between the Bayesian brain hypothesis and efficient coding explicit by formulating a more general theory of Bayesian efficient coding, which includes classic efficient coding as a special case. We will define a Bayesian efficient code (BEC) with four basic ingredients:
- P(x) - A stimulus distribution, or prior.
- An encoding model, parametrized by
, describing how stimuli x are mapped to responses y.
- A capacity constraint on the parameters, specifying a neural resource limit.
- A loss functional, quantifying the desirability or undesirability of various posterior distributions.
Given these ingredients, a BEC corresponds to the model parameters that achieve a minimum of the expected loss,
subject to the capacity constraint , where
denotes the posterior over x given y and
, and expectation is taken with respect to the marginal response distribution
.
Each of the four ingredients plays a distinct role in determining a Bayesian efficient code (see Fig 1). The prior is determined by the statistics of the environment, and provides a complete description of the stimuli to be encoded. The model, in turn, determines the form of the probabilistic encoding function to be optimized; it determines the posterior distributions that the organism will utilize when the prior and likelihood are combined after each sensory response , where the asterisk denotes a particular observed response.
The theory is governed by four basic ingredients, highlighted in dark gray boxes. During any perceptual interval, a stimulus is drawn from the prior P(x) and presented to the organism. The nervous system encodes this stimulus with a sample
from the encoding distribution
, which is governed by parameters
(e.g., defining a neuron’s receptive field, nonlinearity, noise, etc). An application of Bayes’ rule leads to the posterior distribution
, which captures all information available to downstream brain areas about the stimulus given the sensory response
. The loss function
characterizes the desirability of this posterior. A Bayesian efficient code is one for which parameters
are set to minimize the average loss over stimuli and responses drawn from the prior and encoding model, subject to the resource constraint on the encoder,
.
The capacity constraint C defines a neural resource limitation, such as an energetic constraint on the average spike count or a physiological limit on the maximal firing rate. This makes the problem of determining an optimal code well posed, since without a constraint it is often possible to achieve arbitrarily good codes, e.g., by using arbitrarily large spike counts to encode stimuli with arbitrarily high fidelity.
Finally, the loss functional L is the key component that sets Bayesian efficient codes apart from classic efficient codes. It quantifies how much to penalize different posterior distributions that may arise from different settings of the encoder. In essence, the loss functional determines what counts as a “good” posterior distribution. For example: is it preferable for an organism to have a posterior distribution with low entropy, low variance, or low standard deviation? These desiderata are not the same, as we shall see shortly. We will discuss motivations for different choices of loss in the following sections.
Bayesian vs. classical efficient codes
Given the above definition, it is natural to ask: when does a Bayesian efficient code correspond to a traditional efficient code as defined by Barlow? The answer is that classical Barlow efficient codes are a special case of Bayesian efficient codes with loss function set to the posterior entropy:
This results in a code that maximizes mutual information between stimulus and response because the expected loss is the conditional entropy of the stimulus given the response
; subtracting this from the prior entropy H(x), which is independent of
, gives the mutual information I(x,y). Thus, minimizing average posterior entropy is the same as maximizing mutual information.
However, there is nothing privileged about minimizing entropy or maximizing information from a general coding perspective. In the following sections, we will show that it is often natural to consider other loss functions, and that the Bayesian efficient codes that result from doing so can differ strongly from classical, information-theoretically optimal codes.
Simple examples
We will motivate a Bayesian theory of efficient coding by showing two simple examples that illustrate the appeal of using loss functions other than posterior entropy, one with continuous and one with discrete encoding.
Continuous example: 2D Gaussian
To illustrate the role played by the loss function in Bayesian efficient codes, we first consider a toy example with two neurons encoding a bivariate Gaussian stimulus (Fig 2A). Suppose that a 2D stimulus has an independent Gaussian prior distribution with standard deviation
in both directions. We then consider three arbitrarily selected noisy encoders, each defined by a different level of independent additive Gaussian noise along each dimension:
- encoder 1: High-fidelity (i.e., low-noise) encoding of dimension x1 and zero-fidelity (i.e., infinite-noise) encoding of x2, resulting in a posterior with standard deviations
.
- encoder 2: Medium-fidelity encoding of dimension x1 and low-fidelity encoding of x2, resulting in posterior standard deviations
.
- encoder 3: Equal-fidelity encoding of both dimensions, resulting in posterior standard deviations
.
(A) Illustration showing three possible encoders of a stimulus with an independent bivariate Gaussian prior distribution. The encoders produce three different Gaussian posteriors, shown at right. For axis-aligned Gaussian distributions, the entropy depends on the product of standard deviations , whereas the “total deviation” depends on the sum of standard deviations
, and total variance depends on the sum of variances
. According to entropy loss, the top encoder is best (achieving a mutual information of
bits), but for total-deviation loss, the middle encoder is best (achieving
), and for total-variance loss, the bottom encoder is best (achieving
). (B) Discrete encoding example, showing two possible encoders for a multiple-choice exam. The prior is an equal p = 1/4 probability for each of the four possible stimuli {a, b, c, d}. The top encoder eliminates two possibilities so that the posterior assigns probability
to two stimuli and 0 to the other two. The bottom encoder gives a posterior distribution with probability
for one stimulus and the remaining 0.2 probability spread evenly among the other three. The top encoder is optimal for information theoretic loss, since it achieves a mutual information of 1 bit, vs. only 0.96 bits for the bottom encoder. However, for “percent correct” loss, which is sensitive only to
, the bottom encoder is clearly better. It identifies the correct stimulus 80% of the time (good for a grade of B-), whereas the top encoder achieves only 50% (an F).
See Fig 2A for an illustration. (See Methods for details).
It should be obvious that there is no loss-independent sense in which one of these three posteriors is preferable to the others. The three posteriors differ in how uncertainty is distributed across the two stimulus dimensions; which is better depends entirely on what the organism cares about. To make this concrete, we consider three loss functions: the posterior entropy, , (equivalent to maximizing mutual information), the total standard deviation,
, and the total variance,
. Each loss function gives a different best encoder. The first encoder achieves the smallest entropy (i.e., smallest product of standard deviations,
, compared to
for encoder 2, or
for encoder 3); it thus achieves the highest mutual information, even though it throws away all information about x2. The second encoder achieves minimal total-deviation loss, because 2 + 7 = 9 (encoder 2) is less than 1 + 10 = 11 (encoder 1) or 5 + 5 = 10 (encoder 3). The third encoder minimizes total-variance loss L3, because 25 + 25 = 50 is smaller than either 1 + 100 = 101 (encoder 1) or 4 + 49 = 53 (encoder 2).
This simple example illustrates the manner in which different loss functions give rise to different notions of optimal coding. The loss functions differ in how they penalize the allocation of uncertainty across stimulus dimensions. Entropy is only sensitive to the product , which corresponds to the volume of the posterior. We could stretch the posterior by an arbitrary constant a in one dimension and by 1/a in the other, and we would not affect entropy. The other two loss functions, on the other hand, seek to minimize the summed uncertainty (standard deviation or variance) along the two axes. Compared to the entropy, they disfavor posteriors with large uncertainty in one direction, an effect that is larger for variance than for standard deviation. For Gaussian posteriors, they can also be interpreted as minimizing error in an optimal decoder. Minimizing total standard deviation is equivalent to finding an encoder that minimizes the summed absolute error of a decoded estimate:
, where
is an estimate that minimizes the
error
. Similarly, minimizing total variance is equivalent to minimizing the mean squared error of an optimal decoder:
, where
is the posterior mean (note that this connection between sum of moments and minimization of error does not hold in general; see S1 Appendix, Loss functionals), also known as the Bayes’ least squares (BLS) or minimum mean squared error estimator.
We could of course have considered other loss functions that would have given us different reasons for preferring any of these three encoders. For example, a “minimax” loss function , which cares only about minimizing the worst possible performance in any dimension, would also favor the third encoder. Thus, optimality is in the eye of the loss function. For any set of encoders there may be multiple ways to regard them as Bayes optimal.
Discrete example: multiple choice exam
As a second example, consider the case of a discrete stimulus that takes on one of four possible values {a, b, c, d}, each with prior probability 0.25, and a noisy neuron that can respond with 1, 2, 3, or 4 spikes. We will consider the following two possible encoding rules (see Table 1 and Fig 2B).
The first encoder maps stimuli a and b to responses 1 and 2 randomly with equal probability, and similarly maps stimuli c and d to responses 3 and 4. The second encoder, on the other hand, maps ,
,
,
with probability 0.8, and with probability 0.2 maps to one of the other three responses selected at random. Fig 2B shows the kinds of posteriors that arise under these two encoders–-these are in fact equal to the rows of the encoding tables given above, since the prior is uniform and each row already sums to 1. For the first encoder, the posterior assigns probability 0.5 to two stimuli and rules out the other two. For the second encoder, the posterior concentrates on one stimulus with probability 0.8, and spreads the remaining 0.2 evenly across the other three stimuli.
It is now interesting to consider which of these two encoders is best according to different loss functions. First, let us consider posterior entropy, which corresponds to maximizing information as in Barlow’s classic definition. The prior has an entropy bits. The mean posterior entropy of the first encoder
bit, so the mutual information between stimulus and response is 1 bit. By contrast, the posterior entropy of the second encoder is
bits, which gives mutual information of only
bits. This means that the second encoder preserves strictly less Shannon information about the stimulus than the first, so the first encoder is more efficient (strictly speaking, the two channels have different capacity, so the definition of redundancy does not apply directly). A second natural choice of loss function, however, is the “percent correct”, defined as the percent of the time a maximum a posteriori decoder chooses the correct stimulus. According to this loss function, the second encoder is clearly superior, since 80% of the time it concentrates on the correct stimulus, whereas the best possible decoding of responses from the first encoder can only answer correctly 50% of the time.
This example has perhaps greater cultural and psychological salience if we reframe it in terms of students studying for a multiple choice exam. Each question on the exam will have four possible choices (a, b, c, and d), which occur equally often. Student 1 adopts a study strategy that allows her to rule out two of the four choices with absolute certainty, but to have total uncertainty about which of the two remaining options is correct for each exam question. Student 2, on the other hand, adopts a study strategy that allows her to know the correct answer 80% of the time, but has uniform uncertainty about the remaining three options, which are correct the remaining 20% of the time. Which student’s strategy is better? If we judge them according to mutual information, the first student has clearly learned more; her brain has stored 0.04 more bits about the subject matter than the second student. However, if we judge them according to the number of questions they can answer correctly on the exam, the second student’s strategy is clearly better: her expected grade is a B-, with a score of 80%, whereas the first student is expected to fail with only half the questions answered correctly.
An interesting corollary of this example, therefore, is that although information-theoretic learning (cf. [12,51]) is optimal for True/False exams, it can be substantially sub-optimal for multiple-choice exams.
Linear receptive fields
Now we turn to an application motivated by biology. Neurons in the early visual system are often described as performing an approximately linear transformation of the light pattern falling on the retina. A large body of previous work has examined the optimality of these linear weighting functions under the efficient coding paradigm and its variants [10,15,16,18,36,39,40,52–55].
Here we re-examine this problem through the lens of Bayesian efficient coding. We consider the following simplified model for linear encoding of sensory stimuli:
In this setup, we assume that the stimulus, an image consisting of n pixels, is encoded into a population of n neurons via a linear weight matrix W. Each row of W corresponds to the linear receptive field of a single neuron. For tractability, we take the population size equal to the stimulus dimensionality, which supplies the shared eigenbasis that makes the problem analytically solvable, and we assume that the stimulus has a Gaussian distribution (with covariance Q defining the correlations between pixels), and the neural population response is corrupted by additive Gaussian noise with covariance R. We will assume that translation-invariance applies to W, Q, and R, so that all three share a common eigenbasis, and impose a power constraint on the response, corresponding to a bound on the sum of squared responses y. This is a common choice of constraint in the efficient coding and engineering literature due to differentiability and analytic tractability [32,39]. In practice, the power constraint restricts the model from achieving infinite signal-to-noise ratio by growing W without bound.
For this model, the marginal response distribution P(y) is Gaussian, , so the power constraint can be written in terms of the trace of the marginal covariance:
The posterior distribution P(x|y) is also Gaussian, , with mean and covariance
In this setup, the coding question of interest is: given stimulus covariance Q, noise covariance R, and power constraint c, what is the optimal linear encoding matrix W? That is, what receptive fields are optimal for encoding stimuli from P(x) in the face of noise and a constraint on response variance? Here we consider two possible forms for the loss functional:
where are the eigenvalues of posterior covariance
, or the variances of the posterior along its principal axes.
The first loss function, posterior entropy, corresponds to classic infomax efficient coding, since minimizing posterior entropy corresponds to maximizing mutual information between stimulus and response. The second loss function, which we introduce here and term covtropy due to its similarity to entropy, is the summed p’th powers of posterior standard deviation along each principal axis. Covtropy is, to our knowledge, a novel family of posterior-functional loss functions, parameterized by a single exponent p, that interpolates between infomax coding (), mean-squared-error coding (p = 2), and mini-max coding (
), and is rotation-invariant in stimulus space. Like entropy, the covtropy depends only on the eigenvalues of the posterior covariance matrix, and is thus invariant to rotations (see S1 Appendix, Loss functionals). For p = 2, covtropy corresponds to the sum of posterior variances along each axis; minimizing it is equivalent to minimizing the mean squared error [15–17] (see S1 Appendix, Equivalence of MSE and covtropy for p = 2 for proof).
For p = 1, covtropy corresponds to a sum of standard deviations; this penalizes a posterior with large variance in one direction less severely than covtropy with p = 2. In the limit , minimizing covtropy is identical to maximizing mutual information for Gaussian posteriors, since
. In this limit, the optimal code minimizes the sum of log standard deviations,
, which is equivalent to minimizing the product
. (Note that this equivalence relies on the posterior entropy being a function of the covariance alone, which holds for Gaussian but not general distributions; see S1 Appendix, Loss functionals.) The other interesting regime to consider is the limit
. In this regime, minimizing covtropy is equivalent to minimizing
, the maximal posterior standard deviation, a form of “mini-max” encoding. The optimal code is therefore the one that achieves the smallest maximal posterior standard deviation in any direction.
Note that for the linear Gaussian model considered here, the posterior covariance is independent of the response y. This makes the problem easier to analyze because there is no need to compute average loss over the response distribution P(y) (eq. 1). We show here that there is an analytic solution for the optimal linear encoding matrix W in this setting, for both infomax loss and covtropy loss (with any choice of p > 0), if we assume that Q, R, and W have a common diagonalization. This condition arises naturally for a convolutional code, that is, W contains a single receptive field shape that is circularly shifted by one pixel for each neuron in the population, and noise is spatially shift invariant (i.e., R is a circulant matrix). In the following, we examine the properties of Bayesian efficient linear receptive field codes for both information-theoretic and covtropy loss functions (derivation in the SI Appendix).
Infomax encoding
The optimal weight matrix W for infomax coding is given by:
where c is the power constraint and n is the number of neurons. For this encoder, the responses y are perfectly whitened, meaning the response covariance is proportional to the identity, , and the posterior covariance of x|y is proportional to the product of signal and noise covariances,
Minimum covtropy encoding
For covtropy loss with exponent p, the optimal encoding weights W are given by
where constant simply enforces the power constraint. The constrained solution used in the low-power regime is described in Methods. For the all-active weights, the marginal covariance is
which implies that optimal responses can be more or less correlated than the stimulus. For example, when noise covariance R is proportional to stimulus covariance Q, then for p = 2 (minimum mean squared error encoding), the optimal receptive fields perfectly preserve the correlations in the stimulus, that is . For p > 2, the optimal receptive fields increase correlations so that responses are more correlated than the stimuli (See Fig 3).
(A) Gaussian stimulus distribution with strong correlations (), with 100 samples shown (blue dots). (B) Neural responses (red dots) corresponding to optimal representations under infomax and covtropy loss functions with Gaussian noise with covariance R = 0.1 Q, for encoders sharing a common eigenbasis. Responses are uncorrelated (“white”) for the infomax encoder, but unchanged for the p = 2 (minimum variance) encoder and stronger for p = 4. (C) Posterior distribution shape for each optimal encoder, showing that the infomax encoder achieves small posterior entropy using a long and narrow posterior, whereas optimal covtropy posteriors grow more spherical with increasing p. (D) Relative performance of each encoder according to the loss function considered, normalized so the optimum is 1. Each encoder does best according to its own loss function, and the fall-off in efficiency between infomax and covtropy encoders is substantial; the infomax coder captures almost twice as much information as the p = 4 covtropy encoder in terms of bits (left plot), while the infomax coder exhibits nearly 4 times higher p = 4 covtropy than the optimal p = 4 encoder (right plot).
Although the responses become more correlated with increasing p, the posterior covariance, given by
becomes increasingly white (i.e., uncorrelated) with increasing p, due to the fact that for any nonsingular matrix M. This results in a posterior with the same uncertainty in all directions, regardless of the prior or noise covariance, in accordance with the “minimax” property for
noted above. Thus, for example, if the additive noise is isotropic, the optimal filter bank in the
limit will be the identity matrix, regardless of the prior.
Fig 4 shows the shape of the optimal high-dimensional linear RF for encoding stimuli with naturalistic (1/f2) power spectrum in a population of neurons with i.i.d. Gaussian noise. Even in the high-SNR regime (when noise is infinitesimal), where perfect whitening maximizes mutual information, the optimal RFs under covtropy loss give less whitening as a function of increasing covtropy exponent p.
(A) Optimal 1D receptive fields in raw coefficient units for a 100-neuron population encoding correlated Gaussian stimuli with a 1/f2 power spectrum in the high-power regime. (B-C) Spatial covariance and Fourier power spectrum of the stimulus (dashed gray) and population responses. Infomax whitens the response, whereas covtropy encoders preserve more low-frequency information. (D-F) Unit-norm central RFs for p = 1,2,4 under high, intermediate, and low power constraints, with Q and R fixed. RF shape becomes more sensitive to the constraint as p increases. The infomax RF is omitted from D-F because its normalized shape is invariant to c for white output noise; exact parameter values are given in Linear receptive fields.
Holding Q and R fixed, we compared the high-power regime with progressively tighter response-power constraints (Fig 4D–4F). RF shapes are stable at high power and become increasingly sensitive to the constraint at low power, with larger changes for larger p. The qualitative ordering across loss functions nevertheless remains: larger p produces less whitening and greater preservation of low frequencies.
Nonlinear response functions
So far we have focused on encoders that linearly transform the stimulus. However, many neurons exhibit rectifying or saturating nonlinearities that map the raw stimulus intensities so as to make optimal use of a neuron’s limited response range.
Noiseless response
Barlow’s efficient coding theory states that the nonlinearity should map the stimulus distribution so as to maximize information between stimulus and response [2,34], which naturally depends on the prior distribution over stimuli, the conditional response distribution, and the particular constraint on neural responses. For the case of noiseless responses and a simple constraint over the range of allowed responses, the shape of the information-maximizing nonlinearity is proportional to the cumulative distribution function (CDF) of the stimulus distribution, producing a uniform marginal distribution over responses [56].
In a groundbreaking paper that is widely considered the first experimental validation of Barlow’s theory, Simon Laughlin [30] measured graded responses from blowfly large monopolar cells (LMC) to contrast levels measured empirically in natural scenes. Laughlin found that the LMC response nonlinearity, measured with responses to sudden contrast increments and decrements, exhibited a striking resemblance to the shape of the empirically measured CDF of contrast levels in natural scenes. Fig 5A shows a reproduction of the original figure, showing that the nonlinear response is closely matched with the stimulus distribution expected by the infomax solution.
Here we re-examine Laughlin’s conclusions by analyzing the same dataset through the enlarged framework of Bayesian efficient coding. We can formalize the coding problem as:
Here x is a scalar stimulus with prior distribution P(x) and the encoding model is described by g(x), a noiseless transformation from stimulus to discrete response levels. If we assume a finite quantized response , some information about the stimulus is lost due to quantization error. For classical infomax encoding, we know that optimal g performs histogram equalization by taking on the quantiles of P(x), resulting in a uniform marginal response distribution P(y) [30,56].
We consider several different choices of loss function, in particular, the -“norm” reconstruction error family of the form:
where and
is the Bayesian optimal decoder for x from y [57]. For p = 2, this loss is equivalent to the mean squared error, and estimate
is equal to the mean of the posterior over x given y. Smaller values of p correspond to reducing the relative penalty on large errors and increasing the relative penalty on small errors; in the limit of
, the loss converges to posterior entropy, making it equivalent to the infomax setting [26,57].
We extracted the stimulus distribution from Fig 2 of [30] to determine the optimal nonlinearity under Bayesian efficient coding paradigms. The cumulative stimulus distribution of the normalized contrast was fit with a Naka-Rushton function which is a shifted log-logistic distribution (Fig 5A). For this prior, the optimal solution can be derived in closed form (eq. 21, Closed-form optimal nonlinearity for a log-logistic prior) and it matches the numerically optimized quantization (Fig B in S1 Appendix).
(A): Measured large monopolar cell (LMC) response from [30] (circles, mean error bars) and the cumulative distribution function of the stimulus statistic (line). The two should be identical for optimal encoding under the infomax criterion. (B) Optimal nonlinearities predicted under
loss for
, together with the infomax solution (
, dashed), all computed from the Naka-Rushton fit of the stimulus distribution, against the same measured response. (C) Response marginals those codes induce, normalized so that infomax is flat at 1, and the marginal implied by the measured g (circles).
The empirical nonlinearity (Fig 5A) was also extracted from Fig 2 of [30]. We plotted the optimal nonlinearity g(x) family for (for details, see Fig C in S1 Appendix). We plotted these Bayes optimal nonlinearities against the infomax nonlinearity from Laughlin, as well as the empirically measured LMC response nonlinearity (Fig 5B). We quantified agreement with the measured LMC response using the root-mean-square error (RMSE) across the ten digitized response points. Using the same fitted stimulus distribution, the RMSE decreases from 0.051 for infomax to 0.015 for BEC with
, a reduction of approximately 70% (panel B of Fig C in S1 Appendix). The
nonlinearity gives the lowest RMSE on the tested grid.
The difference between infomax and loss appears slight when viewed in terms of the optimal nonlinearity g(x), but is more dramatic when we consider the predicted marginal distribution over responses P(y) (Fig 5C). We fit the neuron’s true response nonlinearity with a sigmoid function (Naka-Rushton CDF; See Methods), and computed the predicted marginal response distribution P(y) for each nonlinearity g(x). As expected, the infomax nonlinearity (dashed trace) produces a flat (uniform) distribution over response levels. However, both the
nonlinearity and the predicted LMC response distribution exhibit a noticeable peak around intermediate response levels, with intermediate response levels used more often, and responses at the extreme left and right tails used less often. We note that such peaking is expected under loss functions that penalize the magnitude of decoding errors. In fact, the optimal nonlinearities for p = 1 and p = 2 generate response distributions that are even more peaked than the real data, since they assign less probability mass to outermost response levels, where decoding errors are largest. The infomax loss function, by contrast, ignores the size of errors and simply seeks to match quantiles of the stimulus distribution.
Schaffner and colleagues [58] have since provided a task-level normative argument that supports the p = 1/2 result. They consider an organism performing repeated two-alternative forced choices over stimuli drawn from the natural distribution, with stimuli linearly mapped to reward value, and derive the utility function that maximizes expected reward without any assumption about maximizing information. The fitness-maximizing solution they obtain coincides with the p = 1/2 loss that we empirically identified here. Their derivation thus supplies an independent normative justification for the specific exponent that best fits the Laughlin 1981 LMC data, arrived at without invoking infomax as a goal in itself. For additional discussion of LMC response properties through a normative lens, see [59] (Chapter 8), which considers additional datasets from Laughlin [60] as well as the effects of temporal stimulus sequences [61].
Linear-nonlinear-Poisson spiking
In the previous example, we assumed there was no variability in the neural response, but what if we extend the model to incorporate neural response noise? Here we examine optimal encoding in the context of Poisson response noise to demonstrate the general principles of BEC. We consider the following linear-nonlinear-Poisson (LNP) model [62].
where is a non-decreasing scalar function. We consider a constraint on the marginal firing rate,
, where
is the empirical mean rate. Unlike the linear receptive field with Gaussian noise case discussed earlier, this form is no longer analytically tractable. Hence, we once again use numerical optimization to find the optimal nonlinearity g from neural spike counts.
We analyzed a blowfly H1 neuron’s responses to horizontal motion driven by white Gaussian noise [63]. We projected the stimulus onto its spike-triggered average (STA), then averaged the projections and counted spikes over 50 ms windows. Gaussian-process-Poisson regression provided the empirical nonlinearity and its uncertainty [64] (Fig 6A). We compared this with non-decreasing encoders optimized under the -norm loss in eq. 16 and constrained to match the observed mean spike count (Fig 6B).
(A) Blowfly H1 neuron response to white noise from [63]. Black curve shows a Poisson-Gaussian process fit of the nonlinear rate function, with its approximate 95% posterior band. The stimulus was projected onto the spike-triggered average (STA), and the projection and spikes were aggregated over the response intervals used by the Poisson count model. A random subset of observations is plotted as blue jittered dots to avoid overplotting. (B) Optimum nonlinear encoders for -norm reconstruction loss with mean firing rate constraint. Three of the four encoders use the same standard normal (Gaussian) prior: the thin grey curves at p = 2 and p = 7, drawn as solved under the mean rate constraint, and the thick curve at p = 5.75, the selected cell of that family. The remaining thick curve is the selected cell of the Student-t family (
) at p = 8.5, which matches the measured curve more closely. The two selected cells are compared to the measurement after fitting a gain and a baseline. (C) Predicted response marginals under the codes of panel B and the marginal distribution from spike data. The two selected cells predict nearly identical marginals, differing by at most 0.008 in probability, so the Student-t curve is drawn dashed over the Gaussian one; the response marginal does not discriminate between the two priors. See S1 Appendix, Numerical optimization and evaluation for the LNP model, for the optimization objective, the comparison criterion, and the prior-family analysis.
With a standard Gaussian prior matching the laboratory stimulus projections, we obtained the closest match to the empirical H1 curve at p = 5.75. However, this curve still overpredicted firing at large positive stimulus projections. We compared shapes after fitting gain and baseline, giving greater weight to log-rate discrepancies where the empirical Gaussian-process fit had lower posterior uncertainty. The remaining mismatch motivated us to ask whether a prior inspired by natural motion statistics would better describe the measured nonlinearity. In free-flying blowflies, the distribution of yaw velocities has a pronounced central peak and long tails, reflecting motion between saccades and during rapid turns [65].
We therefore considered a heavier-tailed Student-t prior, whose tail index controls the weight of the tails. The closest matches occurred at p = 8.5 for both
and
, and both reduced the shape mismatch. The fits were nearly identical; we display
because it is less affected by truncation of the numerical stimulus grid (Fig 6B). The corresponding response distributions are neither uniform nor Poisson (Fig 6C). The selected exponents describe agreement with this recording; they do not provide predictive estimates of the neural loss function or establish adaptation to a heavy-tailed natural ensemble.
This dataset was also analyzed by Wang and coworkers [57], who used a population-level tuning-curve framework with a Fisher-information approximation to the -norm loss. Our analysis differs in that we work with the exact posterior distribution under a single-neuron input-output nonlinearity.
Discussion
We have synthesized Barlow’s efficient coding hypothesis with the Bayesian brain hypothesis in order to formulate a Bayesian theory of efficient neural coding. In this theory, an efficient neural code corresponds to an encoding model that produces optimal posteriors over stimuli under a capacity constraint on the neural response. The optimality of the posterior is determined by a loss function L, and the choice of loss function can have major effects on the optimal code. We have shown that Barlow’s original theory corresponds to a special case of this theory in which the loss function is the Shannon entropy of the posterior, corresponding to codes that maximize mutual information between stimulus and response. However, such codes may be inefficient with respect to loss functions that are sensitive to the shape of the posterior, or the size of different decoding errors.
To illustrate our framework, we have derived Bayesian efficient codes for two canonical neural coding problems: (1) population encoding of high-dimensional stimuli with linear receptive fields; and (2) single-neuron encoding of low-dimensional stimuli with a nonlinear response function. In the first case, we showed that the “whitening” solution favored by classic efficient coding can be sub-optimal for other loss functions, and that even in the high-SNR (signal-to-noise ratio) regime, optimal codes may increase the correlations between neurons. In the second case, we re-examined the classical results of Laughlin, and showed that the nonlinear response functions of the blowfly LMC neurons are in fact more consistent with a Bayesian efficient code that minimizes the average square root of the decoding error than a code that maximizes mutual information. In a complementary analysis of spiking responses from a blowfly H1 neuron under a linear-nonlinear-Poisson encoding model, we found that the measured nonlinearity is better matched by a finite-p code than by the infomax solution, but that the selected exponent depends on the stimulus prior and the curve-comparison criterion. While these examples are all highly simplified, they illustrate the power of this general formulation of efficient coding, and show surprising and non-intuitive results that contrast with previous findings.
The H1 result is therefore a phenomenological fit rather than an ecological account of the neural loss function. Relative to a Gaussian prior with squared-error loss, a heavier-tailed prior makes large stimulus projections more common, while a larger value of p makes large reconstruction errors more costly. Together, these changes shift coding resources toward the tails. One possible biological interpretation is that H1 is adapted to rare, abrupt optic-flow events for which large errors have disproportionate behavioral costs.
Relationship to previous work
In the years since the seminal papers of Attneave and Barlow, a large literature has taken up the problem of optimal neural coding, spanning a wide range of both information and non-information-theoretic frameworks. Barlow’s original paper considered noiseless encoding, where each stimulus maps to a deterministic response [2]. Atick and Redlich extended this framework to incorporate noise, deriving the remarkable result that optimal receptive field shapes change with SNR, consistent with observed changes in retinal ganglion receptive fields [10]. They showed that whitening is optimal only at high SNR, and that optimal responses become correlated at lower SNR–-note that this differs from our result showing that whitening can be sub-optimal even at high SNR for other loss functions (Figs 3 and 4).
Several alternate versions of efficient coding based on information theory were advanced in the early years. Barlow first proposed that neurons optimize a quantity he called redundancy, given by , or one minus the mutual information divided by the channel capacity C [2]. (In fact, Barlow referred to his theory as the “redundancy reduction hypothesis”, and the more common “efficient coding hypothesis” label has only appeared more recently, e.g. [66],) Atick and Redlich modified Barlow’s theory to replace the C in the denominator by
, a modified notion of channel capacity related to the system’s total power, which they held to be more biologically plausible [10,40]. Neither theory therefore amounted to a pure “infomax” hypothesis, such as that advanced by [8], since optimality could be increased either by increasing mutual information or decreasing the channel capacity C or
in the denominator.
It bears mentioning that Barlow’s definition of redundancy has no relationship to the concepts of redundancy and synergy later introduced by Brenner and colleagues, which quantify whether groups of neurons encode more or less information jointly than separately [67–70]. An efficient code according to Barlow or Atick & Redlich may be perfectly efficient in the sense of maximizing the ratio of information to capacity, while being either redundant or synergistic in the (more widely used) sense defined by Brenner et al [71].
Theories of efficient coding based on information-theory have been applied to a wide variety of different sensory systems and brain areas. These can be roughly grouped into those focused on linear receptive fields [35,38,72,73], those focused on tuning curves [25–28,54,74–77], and those addressing some aspect of population coding, such as coupling strengths between neurons [78,79]. A substantial portion of this literature has approached the problem of optimal coding through the lens of Fisher information [25,26,28,57,74,76], although Fisher information may not accurately quantify coding performance in low SNR settings (e.g., short time windows or low firing rates) [17,24,27,80].
A substantial literature has also considered optimal coding under alternate loss functions, and recent work has shown that codes optimized for mutual information may perform poorly for non-information-theoretic loss functions [81]. The most well-studied alternate loss function is the squared loss, , which results in so-called “minimum mean squared error” codes; such codes achieve minimum expected posterior variance (as opposed to minimum posterior entropy). These codes have received substantial attention in both engineering [82,83] and neuroscience [15,16,18,24,27,84,85]. Optimal codes for a wide variety of other losses or optimality criteria have also been proposed, including: minimization of motor errors [14], maximization of accuracy [86–88], optimal coding for control applications [89], and optimal future prediction [12,90–93], and loss based on natural selection [6]. Other recent work has considered codes that maximize metabolic efficiency [11,13,20,94,95], which in our framework corresponds more naturally to the constraint (which is concerned with use of finite resources) than the loss function (which is concerned with the posterior distribution).
Since the original preprint version of this manuscript was posted in 2017, the Bayesian efficient coding framework has been taken up across a range of problems in sensory coding, decision-making, and cognition. Representative examples include applications to the efficient coding of subjective value [96], visual working memory [97], psychoeconomic judgment [98], population coding with nonlinear mixed selectivity [99], functional diversity among sensory neurons [75], adaptive coding for dynamic sensory inference [19], the statistical analysis of neural-system optimality [100], and as a reference framework in reviews of adaptive neural coding [101]. We take this uptake as evidence that the four-ingredient decomposition articulated here – prior, encoding model, capacity constraint, and loss functional – captures a useful set of abstractions for reasoning about normatively optimal neural codes, beyond the specific examples we develop below.
In the statistics and decision-making literature, our work is closely related to Bayesian statistical decision theory [102–104], although such work has tended not to consider the problem of optimal sensory coding. One noteworthy difference between our framework and classical Bayesian decision-making theory is that the loss functions in decision theory are typically defined in terms expected cost of a point estimate (e.g., mean squared error or percent correct). In our framework, by contrast, the loss is defined as a functional of the posterior, that is, an arbitrary integral over the posterior distribution. This allows us to consider a wider class of loss functions, such as the posterior entropy or the average posterior standard deviation, which cannot be written in terms of an expected loss for a point estimate of the stimulus. Thus, our loss function merely specifies what counts as a good or desirable posterior distribution, without assuming how the posterior will be used (e.g., to generate a point estimate). This distinction also separates our framework from more recent unifying treatments of efficient coding and Bayesian inference that remain within a point-estimate decision-theoretic view, such as the -based frameworks of [57] and [29].
Relevance of Shannon information theory
Shannon’s information theory holds a special status in engineering, signal processing, and other fields due to its universal implications for communication, compression, and coding in settings of perfect signal recovery. However, it is unclear whether information-theoretic quantities like entropy and mutual information are necessarily relevant to information processing and transmission in biological systems [105]. In particular, Shannon’s theory (1) requires complex computation and long delays to encode and decode in ways that achieve optimality [5]; (2) ignores biological constraints (e.g., neurons cannot implement arbitrary nonlinear functions); (3) applies to settings of perfect signal recovery, which may not be possible or even desirable in biological settings.
In the Bayesian efficient coding, the encoder is selected from a biologically relevant parametric family. And although we consider the (negative) mutual information as one possible choice of loss function, there is no a priori reason for preferring it to other loss functions; as we have shown, optimizing MI will not necessarily give good performance for other losses (e.g., Figs 2 and 3). We therefore find no justification for claims (commonly found in the neuroscience literature) that, in the absence of knowledge about the brain’s true loss function, it is somehow best to maximize mutual information.
A framework more relevant to sensory coding in the nervous system is Shannon’s rate distortion theory for lossy encoding [31]. Given an allowed maximum distortion (as a measure of encoding-decoding error) , the rate distortion function
describes the minimum necessary mutual information of the channel (implemented by the encoder-decoder pair) to achieve it:
. One can prove that the more mutual information is allowed, the smaller the achievable distortion; in fact
is a non-increasing convex function [32]. This provides an interesting overlap between the two theories: a subclass of BEC with mutual information constraint can be reformulated as a special case of rate distortion theory. Consider the following dual formulations:
where is the loss given in eq. 1. The rate distortion solution
coincides with the BEC solution
, because the distortion function is monotonically decreasing. Although this provides an insightful connection, such relations do not always exist, and more generally it is not clear why a bound on mutual information would be a biologically relevant constraint on a sensory encoder.
Application to experimental data
In this manuscript, we used the BEC framework to identify loss functions consistent with neurophysiology datasets. To accomplish this, we searched for the optimal encoding model under different choices of loss function, and asked which of the resulting encoding models most closely resembled the empirical encoding model. Although both of our examples came from the early visual system, one could apply the same approach to datasets from any sensory modality (e.g., audition, olfaction, somatosensation). This would reveal what loss function (if any) the neurons in different brain and different modalities seek to optimize. Researchers can therefore test whether neural representations maximize mutual information (as posited by classic efficient coding) or some other loss metric.
A second way to apply the BEC framework to data is to identify the prior distribution for which an observed sensory encoding is optimal (cf. [47,106,107]). In this case, we would take the encoding model parameters inferred from neurophysiological data and optimize the prior distribution under different fixed choices of loss functions or constraints. The inferred priors may then serve as predictions of the distribution of natural signals for which the system is optimized, or as an assay of neural adaptation in experiments with time-varying stimulus statistics.
Finally, the BEC framework could be used to test which constraints are most relevant to a particular neural code. Here we assumed that the relevant constraint was on the range (for analog responses; Fig 5), or on the mean firing rate (spiking responses; Fig 6). However, one could test whether observed responses are more consistent with alternate sets of constraints, including metabolic or energetic constraints [13,106,108], constraints on higher-order response statistics [109], or architectural constraints on the model parameters (e.g., sparsity, wiring length) [78,110,111].
The general domain of application of BEC is thus the same as classic efficient coding; the key difference is that BEC has one additional “knob” that can be tuned, namely the loss function. As classical efficient coding provided new explanations for adaptation and sparse coding, the BEC framework can be used to extend and refine such hypotheses, set free from the restrictive assumption that mutual information is the relevant loss function for all of behavior.
Limitations and future directions
What cost or loss function is the nervous system optimizing for? We emphasize that BEC alone cannot serve as a normative theory to answer this question; each problem and environment should dictate the loss functional and prior. Rather, BEC should be used as a guiding principle that frees the theory of efficient coding from its traditional reliance on information theoretic principles, and to cover an appropriately broad range of theories of optimal neural encoding.
BEC on its own has many degrees of freedom and is likely under-constrained by current neural and behavioral observations. Moreover, different combinations of constraints and loss functions may be consistent with a single encoding model, providing multiple “optimal” explanations for a single encoder. The priors, encoding models, constraints, and loss functions we have considered here were guided primarily by tractability as opposed to neural or biological plausibility, but some of these components (e.g., prior and noise) can be quantified with measurements [41,112,113]. We can start to make reasonable inferences about constraints and loss functions through careful study of the brain’s resource consumption [114,115] or the behavioral consequences of different kinds of errors [116–118].
A variety of other issues relating to normatively optimal neural coding remain to be addressed by our theory:
Computational demands: the BEC framework does not consider constraints on the brain’s computational capabilities. In particular, our theory–-like with the Bayesian brain hypothesis itself–-assumes that the brain can compute the desired posterior distribution over stimuli given the response, or at least extract the posterior statistics needed for optimal behavior. This is almost certainly not the case for many of the complex inference problems the brain faces. It seems more likely that the brain relies on shortcuts, heuristics, and approximate inference methods that result in sub-optimal use of the stimulus information contained in neural responses relative to a Bayesian ideal observer [119]. The BEC paradigm could therefore be extended to incorporate computational constraints: for example, restricting the readout of neural activity to be linear, or the use of particular approximate Bayesian inference methods [120].
The BEC framework does not require a particular neural representation of the posterior. For example, a downstream population could use a probabilistic population code [22], a sampling-based representation [121], or a distributed distributional code that represents selected conditional expectations rather than an explicit probability density [122]. If this population preserves the posterior quantities required by the loss, introducing it does not alter the BEC optimum; it provides a neural implementation of the readout already assumed by the theory. If its representation is noisy, capacity-limited, or approximate, however, those constraints must enter the optimization and can change the optimal upstream code.
The role of time: we have focused our analyses on coding problems that follow the sequential nature of Bayesian inference (stimulus response
posterior distribution) and have ignored the continuous-time nature of stimuli, responses, and behavior. However, there is nothing about our theory that precludes application to continuous-time problems, and previous work has formulated population codes capable of updating a posterior distribution in continuous time [123–127]. In many cases optimal coding depends on the timescale over which information is integrated: for example, previous work has shown that optimal tuning curve width depends on the time over which spikes are generated, with longer time windows necessitating narrower tuning [17,27]. Recent work has discovered limits on fast timescale transmission of information in physical and biological systems [128], but there is still a need for a theory of optimal coding in settings where there is uncertainty about the time (or times) at which the posterior distribution will be evaluated or “read out”.
Latent variables: we have not so far discussed latent variable models, in which there are additional unobserved stochastic components affecting either the stimulus or the neural response. In stimulus latent variable models, the quantity of interest is a latent variable z that may be regarded as underlying or generating the sensory stimulus x. (For example, z might the velocity of an object or the identity of a face, and x is the resulting image or image sequence presented to the retina [129]). In such settings, the posterior over the latent variable z might be the quantity of interest for an optimal code; BEC can handle this case by defining a loss function sensitive to the posterior p(z|y). This can be seen as a valid instance of BEC because this distribution can be written as a functional of the stimulus posterior: , where p(z|x) is the posterior over the latent given the stimulus under the generative model. Latent variables also arise in models of neural activity with shared underlying variability [130–134]. In such cases, it is natural to write the encoding model itself as a joint distribution over activity and latents, p(y,z|x); the BEC paradigm can once again handle this case by marginalizing over the latent to obtain p(x|y). Thus, BEC can accommodate both kinds of latent variable models typically used in neuroscience, and the consideration of stimulus-related latent variables may motivate the design of loss functions that are sensitive to particular latent variables while discarding other aspects of the stimulus (e.g., as in the information bottleneck [92] or accuracy maximization analysis [86,129]).
Transformation dependence: Shannon’s differential entropy, reconstruction loss, and covtropy are not invariant to transformations of the stimulus variable. That is, it is important to measure what is meaningful in the right scale. For example, the LMC analysis was done in the Weber contrast. The results would have been different if it was transformed to a linear scale.
Although we have focused on two canonical problems that arise repeatedly in the neural coding literature, namely optimal linear receptive fields and optimal nonlinear input-output functions, we hope that future work will address other coding problems relevant to information processing in the nervous system (e.g., multi-layer cascades, dynamics, correlations), and will be extended to non-Bayesian frameworks (e.g., that take into account computational costs or constraints). We believe that the BEC paradigm provides a rigorous theoretical framework for neuroscientists to evaluate neural systems, synthesizing the Bayesian brain and efficient coding hypothesis into a formalism that can incorporate diverse optimality criteria beyond classic information-theoretic costs.
Methods
Bivariate Gaussian encoding example (Fig 2)
The posteriors obtained in our first toy example rely on the well-known relationship between prior and posterior variance in a linear Gaussian encoder:
. To achieve the posteriors shown in Fig 2, we assumed following variances for the independent encoder noise in each dimension: Encoder 1:
,
; Encoder 2:
,
; Encoder 3:
,
.
Blowfly LMC data from [30]
We extracted the data points from the figures in the original paper [30] to fit the models in Nonlinear response functions and for the plots in Fig 5. Note that Laughlin’s stimulus variable is Weber contrast, : the deviation of a sample from the mean intensity
of the scan interval containing it, divided by that mean [30]. Therefore, the contrast variable is bounded below by
and unbounded above, so that the support of the contrast prior is
.
To fit the stimulus CDF and the response nonlinearity of the blowfly LMC, we fit a 3-parameter Naka-Rushton function (plotted as grey dotted line in Fig 5B) to estimate the stimulus CDF (Fig 5A). The parameters for the stimulus CDF were
, and
for the LMC response.
Closed-form optimal nonlinearity for the LMC prior
The Naka-Rushton CDF fit above is a log-logistic prior, for which the numerically optimized nonlinearity has a closed-form counterpart in the limit of many response levels. Writing F for the fitted prior CDF and b for the fitted Naka-Rushton exponent, the -optimal nonlinearity is a beta CDF warp of F,
where is the regularized incomplete beta function, that is, the CDF of Beta(A,B) evaluated at u. The exponent enters only through the two numbers
and
. At p = 0 they are both 1, the warp is the identity, and
recovers histogram equalization, so infomax is the
member of the family. A solution exists only for
, which is exactly the range over which the prior has a finite p-th moment. The derivation, the affine rescaling induced by truncating the fit at the contrast floor (the fit has
), and a numerical check of eq. 21 against the finite-level quantizer optima are given in S1 Appendix, Closed-form optimal nonlinearity for a log-logistic prior.
Blowfly H1 data from [63]
We projected the stimulus onto its spike-triggered average (STA). Spikes were summed over sliding 50 ms windows, and the corresponding stimulus projections were averaged over the same windows. We estimated the empirical nonlinearity (Fig 6A and 6B) using Gaussian-process-Poisson regression [64]. The conditional spike count was Poisson with an exponential link, and the latent log rate had a Gaussian-process prior with a linear mean and an isotropic squared-exponential covariance function. We used a Laplace approximation to obtain the posterior mean and variance of the log rate. The posterior mean defines the measured nonlinearity, while the posterior variance defines its uncertainty band and weights the shape comparison below. The candidate nonlinearities were monotone and non-negative over the range of stimulus projections supported by the data. Similarly with the LMC data, we then optimized the nonlinearity under different loss functionals with the marginal firing rate constraint (Fig 6B). The optimization uses the exact finite-count posterior and constrains the mean count to its measured value. We compare each predicted nonlinearity with the measured one after fitting a gain and a spontaneous rate. These two parameters were fitted using non-overlapping windows. S1 Appendix, Numerical optimization and evaluation for the LNP model gives the objective, the shape comparison, and the sensitivity analysis over the assumed stimulus prior.
Supporting information
S1 Appendix. Derivations, numerical methods, and supplementary figures.
Contains five sections and four figures (Figs A-D). Loss functionals catalogues the entropic and reconstruction losses and establishes the rotation invariance of covtropy. Equivalence of MSE and covtropy for p = 2 proves that minimizing covtropy at p = 2 minimizes mean squared error. Linear receptive fields derives the optimal linear encoder for infomax and covtropy under a shared eigenbasis. Closed-form optimal nonlinearity for a log-logistic prior derives the high-resolution point density and the Beta-CDF warp, recovers infomax as the member, and gives the existence condition
(Figs A and B). Fig C compares optimal nonlinearities with the measured LMC response across loss exponents. Numerical optimization and evaluation for the LNP model documents the discretization, the multistart protocol, the gain and baseline transport, the posterior-confidence-weighted comparison criterion, and the prior-family sweep (Fig D).
https://doi.org/10.1371/journal.pcbi.1014894.s001
(PDF)
Acknowledgments
We would like to thank Jacob Yates, Ozan Koyluoglu, Kaining Zhang, and Yi-Chun Hung for helpful comments and discussions.
References
- 1. Attneave F. Some informational aspects of visual perception. Psychol Rev. 1954;61(3):183–93. pmid:13167245
- 2.
Barlow HB. Possible principles underlying the transformation of sensory messages. In: Rosenblith W, editor. Sensory Communication. Cambridge, MA: MIT Press; 1961. p. 217–234.
- 3.
Helmholtz H v. Physiological optics. Optical Society of America. 1925.
- 4.
Knill D, Richards W. Perception as Bayesian Inference. Cambridge University Press. 1996.
- 5. Barlow H. Redundancy reduction revisited. Network. 2001;12(3):241–53. pmid:11563528
- 6. Geisler WS, Kersten D. Illusions, perception and Bayes. Nat Neurosci. 2002;5(6):508–10. pmid:12037517
- 7. Kersten D, Mamassian P, Yuille A. Object perception as Bayesian inference. Annu Rev Psychol. 2004;55:271–304. pmid:14744217
- 8. Linsker R. How to Generate Ordered Maps by Maximizing the Mutual Information between Input and Output Signals. Neural Computation. 1989;1(3):402–11.
- 9.
Barlow H, Földiák P. Adaptation and decorrelation in the cortex. In: Durbin R, Miall C, Mitchison G. The Computing Neuron. Wokingham, England: Addison-Wesley. 1989. p. 54–72.
- 10. Atick JJ, Redlich AN. Towards a Theory of Early Visual Processing. Neural Computation. 1990;2(3):308–20.
- 11. Laughlin SB. Energy as a constraint on the coding and processing of sensory information. Curr Opin Neurobiol. 2001;11(4):475–80. pmid:11502395
- 12. Bialek W, Nemenman I, Tishby N. Predictability, complexity, and learning. Neural Comput. 2001;13(11):2409–63. pmid:11674845
- 13. Balasubramanian V, Kimber D, Berry MJ 2nd. Metabolically efficient information processing. Neural Comput. 2001;13(4):799–815. pmid:11255570
- 14. Salinas E. How behavioral constraints may determine optimal sensory representations. PLoS Biol. 2006;4(12):e387. pmid:17132045
- 15. Doi E, Balcan DC, Lewicki MS. Robust coding over noisy overcomplete channels. IEEE Transactions on Image Processing. 2007;16(2):442–52.
- 16. Doi E, Lewicki MS. Characterization of minimum error linear coding with sensory and neural noise. Neural Comput. 2011;23(10):2498–510. pmid:21732860
- 17. Berens P, Ecker AS, Gerwinn S, Tolias AS, Bethge M. Reassessing optimal neural population codes with neurometric functions. Proc Natl Acad Sci U S A. 2011;108(11):4423–8. pmid:21368193
- 18. Doi E, Lewicki MS. A simple model of optimal population coding for sensory systems. PLoS Comput Biol. 2014;10(8):e1003761. pmid:25121492
- 19. Młynarski WF, Hermundstad AM. Adaptive coding for dynamic sensory inference. Elife. 2018;7:e32055. pmid:29988020
- 20.
Hung YC, Schwartz G, Cooper EA, Alexander E. Homeostatic adaptation of optimal population codes under metabolic stress. In: 2025. https://arxiv.org/abs/2507.07874
- 21. Rao RPN. Bayesian computation in recurrent neural circuits. Neural Comput. 2004;16(1):1–38. pmid:15006021
- 22. Ma WJ, Beck JM, Latham PE, Pouget A. Bayesian inference with probabilistic population codes. Nat Neurosci. 2006;9(11):1432–8. pmid:17057707
- 23. Jazayeri M, Movshon JA. Optimal representation of sensory information by neural populations. Nat Neurosci. 2006;9(5):690–6. pmid:16617339
- 24. Yaeli S, Meir R. Error-based analysis of optimal tuning functions explains phenomena observed in sensory neurons. Front Comput Neurosci. 2010;4:130. pmid:21079749
- 25. Ganguli D, Simoncelli EP. Efficient sensory encoding and Bayesian inference with heterogeneous neural populations. Neural Comput. 2014;26(10):2103–34. pmid:25058702
- 26.
Wang Z, Stocker A, Lee D. Optimal Neural Tuning Curves for Arbitrary Stimulus Distributions: Discrimax, Infomax and Minimum Lp Loss. Advances in Neural Information Processing Systems. 2012. p. 2177–85.
- 27.
Grabska-Barwinska A, Pillow JW. Optimal prior-dependent neural population codes under shared input noise. Advances in Neural Information Processing Systems 27. Curran Associates, Inc.; 2014. p. 1880–1888.
- 28. Wei X-X, Stocker AA. A Bayesian observer model constrained by efficient coding can explain “anti-Bayesian” percepts. Nat Neurosci. 2015;18(10):1509–17. pmid:26343249
- 29. Hahn M, Wei X-X. A unifying theory explains seemingly contradictory biases in perceptual estimation. Nat Neurosci. 2024;27(4):793–804. pmid:38360947
- 30. Laughlin S. A simple coding procedure enhances a neuron’s information capacity. Z Naturforsch C Biosci. 1981;36(9–10):910–2. pmid:7303823
- 31. Shannon CE. A Mathematical Theory of Communication. Bell System Technical Journal. 1948;27(4):623–56.
- 32.
Cover TM, Thomas JA. Elements of Information Theory. Wiley-Interscience. 1991.
- 33. Brenner N, Bialek W, de Ruyter van Steveninck R. Adaptive rescaling maximizes information transmission. Neuron. 2017;26(3):695–702.
- 34. Fairhall AL, Lewen GD, Bialek W, de Ruyter Van Steveninck RR. Efficiency and ambiguity in an adaptive neural code. Nature. 2001;412(6849):787–92. pmid:11518957
- 35. Dan Y, Atick JJ, Reid RC. Efficient coding of natural scenes in the lateral geniculate nucleus: experimental test of a computational theory. J Neurosci. 1996;16(10):3351–62. pmid:8627371
- 36. Bell AJ, Sejnowski TJ. The “independent components” of natural scenes are edge filters. Vision Res. 1997;37(23):3327–38. pmid:9425547
- 37. Schwartz O, Simoncelli EP. Natural signal statistics and sensory gain control. Nat Neurosci. 2001;4(8):819–25. pmid:11477428
- 38. Pitkow X, Meister M. Decorrelation and efficient coding by retinal ganglion cells. Nature Neuroscience. 2012;15(4):628–35.
- 39. Atick JJ, Redlich AN. What does the retina know about natural scenes?. Neural Computation. 1992;4(2):196–210.
- 40. Atick JJ. Could information theory provide an ecological theory of sensory processing?. Network: Computation in Neural Systems. 1992;3(2):213–51.
- 41. Geisler WS, Perry JS, Super BJ, Gallogly DP. Edge co-occurrence in natural images predicts contour grouping performance. Vision Res. 2001;41(6):711–24. pmid:11248261
- 42. Ernst MO, Banks MS. Humans integrate visual and haptic information in a statistically optimal fashion. Nature. 2002;415(6870):429–33. pmid:11807554
- 43. Weiss Y, Simoncelli EP, Adelson EH. Motion illusions as optimal percepts. Nat Neurosci. 2002;5(6):598–604. pmid:12021763
- 44. Körding KP, Wolpert DM. Bayesian integration in sensorimotor learning. Nature. 2004;427(6971):244–7. pmid:14724638
- 45. Stocker AA, Simoncelli EP. Noise characteristics and prior expectations in human visual speed perception. Nat Neurosci. 2006;9(4):578–85. pmid:16547513
- 46. Faisal AA, Wolpert DM. Near optimal combination of sensory and motor uncertainty in time during a naturalistic perception-action task. J Neurophysiol. 2009;101(4):1901–12. pmid:19109455
- 47. Girshick AR, Landy MS, Simoncelli EP. Cardinal rules: visual orientation perception reflects knowledge of environmental statistics. Nat Neurosci. 2011;14(7):926–32. pmid:21642976
- 48. Dayan P, Hinton GE, Neal RM, Zemel RS. The Helmholtz machine. Neural Comput. 1995;7(5):889–904. pmid:7584891
- 49. Zemel RS, Dayan P, Pouget A. Probabilistic interpretation of population codes. Neural Comput. 1998;10(2):403–30. pmid:9472488
- 50. Deneve S, Latham PE, Pouget A. Efficient computation and cue integration with noisy population codes. Nat Neurosci. 2001;4(8):826–31. pmid:11477429
- 51.
Príncipe JC. Information Theoretic Learning. Springer; 2010.
- 52. Linsker R. Local Synaptic Learning Rules Suffice to Maximize Mutual Information in a Linear Network. Neural Computation. 1992;4(5):691–702.
- 53. Liu YS, Stevens CF, Sharpee TO. Predictable irregularities in retinal receptive fields. Proc Natl Acad Sci U S A. 2009;106(38):16499–504. pmid:19805327
- 54. Gjorgjieva J, Sompolinsky H, Meister M. Benefits of pathway splitting in sensory coding. J Neurosci. 2014;34(36):12127–44. pmid:25186757
- 55. Kastner DB, Baccus SA, Sharpee TO. Critical and maximally informative encoding between neural populations in the retina. Proc Natl Acad Sci U S A. 2015;112(8):2533–8. pmid:25675497
- 56. Nadal J-P, Parga N. Nonlinear neurons in the low-noise limit: a factorial code maximizes information transfer. Network: Computation in Neural Systems. 1994;5(4):565–81.
- 57. Wang Z, Stocker AA, Lee DD. Efficient Neural Codes That Minimize Lp Reconstruction Error. Neural Comput. 2016;28(12):2656–86. pmid:27764595
- 58. Schaffner J, Bao SD, Tobler PN, Hare TA, Polania R. Sensory perception relies on fitness-maximizing codes. Nat Hum Behav. 2023;7(7):1135–51. pmid:37106080
- 59.
Stone JV. Principles of neural information theory: Computational neuroscience and metabolic efficiency. Sebtel Press. 2018.
- 60. Laughlin SB, Howard J, Blakeslee B. Synaptic limitations to contrast coding in the retina of the blowfly Calliphora. Proc R Soc Lond B Biol Sci. 1987;231(1265):437–67. pmid:2892202
- 61. van Hateren JH. Processing of natural time series of intensities by the visual system of the blowfly. Vision Res. 1997;37(23):3407–16. pmid:9425553
- 62.
Simoncelli EP, Paninski L, Pillow J, Schwartz O. Characterization of Neural Responses with Stochastic Stimuli. In: Koch C, Gazzaniga MS, Heatherton TF, Ledoux JE, Logothetis N. The Cognitive Neurosciences III. The MIT Press. 2004. p. 327.
- 63. van Steveninck RRdR, Lewen GD, Strong SP, Koberle R, Bialek W. Reproducibility and Variability in Neural Spike Trains. Science. 1997;275(5307):1805–8.
- 64.
Rasmussen CE, Williams CKI. Gaussian Processes for Machine Learning. The MIT Press. 2005.
- 65. Schilstra C, van Hateren JH. Blowfly flight and optic flow. I. Thorax kinematics and flight dynamics. Journal of Experimental Biology. 1999;202(11):1481–90.
- 66. Simoncelli EP, Olshausen BA. Natural image statistics and neural representation. Annu Rev Neurosci. 2001;24:1193–216. pmid:11520932
- 67. Brenner N, Strong SP, Koberle R, Bialek W, de Ruyter van Steveninck RR. Synergy in a neural code. Neural Comput. 2000;12(7):1531–52. pmid:10935917
- 68. Schneidman E, Bialek W, Berry MJ 2nd. Synergy, redundancy, and independence in population codes. J Neurosci. 2003;23(37):11539–53. pmid:14684857
- 69. Puchalla JL, Schneidman E, Harris RA, Berry MJ. Redundancy in the population code of the retina. Neuron. 2005;46(3):493–504. pmid:15882648
- 70. Schneidman E, Puchalla JL, Segev R, Harris RA, Bialek W, Berry MJ 2nd Synergy from silence in a combinatorial neural code. J Neurosci. 2011;31(44):15732–41. pmid:22049416
- 71. Latham P, Nirenberg S. Synergy, redundancy, and independence in population codes, revisited. J Neurosci. 2005;25:5195–206.
- 72. Dong DW, Atick JJ. Temporal decorrelation: a theory of lagged and nonlagged responses in the lateral geniculate nucleus. Network: Computation in Neural Systems. 1995;6(2):159–78.
- 73. Karklin Y, Simoncelli EP. Efficient coding of natural images with a population of noisy Linear-Nonlinear neurons. Adv Neural Inf Process Syst. 2011;24:999–1007. pmid:26273180
- 74. Pouget A, Deneve S, Ducom JC, Latham PE. Narrow versus wide tuning curves: what’s best for a population code?. Neural Computation. 1999;11(1):85–90.
- 75. Gjorgjieva J, Meister M, Sompolinsky H. Functional diversity among sensory neurons from efficient coding principles. PLoS Comput Biol. 2019;15(11):e1007476. pmid:31725714
- 76.
Wang Z, Wei XX, Stocker AA, Lee DD. Efficient neural codes under metabolic constraints. In: Advances in Neural Information Processing Systems, 2016. 4619–27.
- 77. Brinkman BAW, Weber AI, Rieke F, Shea-Brown E. How do efficient coding strategies depend on origins of noise in neural circuits?. PLOS Computational Biology. 2016;12(10):e1005150.
- 78. Tkacik G, Prentice JS, Balasubramanian V, Schneidman E. Optimal population coding by noisy spiking neurons. Proc Natl Acad Sci U S A. 2010;107(32):14419–24. pmid:20660781
- 79. Weber F, Machens CK, Borst A. Disentangling the functional consequences of the connectivity between optic-flow processing neurons. Nat Neurosci. 2012;15(3):441–8, S1-2. pmid:22327473
- 80. Bethge M, Rotermund D, Pawelzik K. Optimal short-term population coding: when Fisher information fails. Neural Comput. 2002;14(10):2317–51. pmid:12396565
- 81. Zhao MJ, Edakunni N, Pocock A, Brown G. Beyond Fano’s Inequality: Bounds on the Optimal F-Score, BER, and Cost-Sensitive Risk and Their Implications. Journal of Machine Learning Research. 2013;14:1033–90.
- 82. Wolf J, Ziv J. Transmission of noisy information to a noisy receiver with minimum distortion. IEEE Trans Inform Theory. 1970;16(4):406–11.
- 83. Seidler J. Bounds on the mean-square error and the quality of domain decisions based on mutual information. IEEE Trans Inform Theory. 1971;17(6):655–65.
- 84. Ruderman DL. Designing receptive fields for highest fidelity. Network: Computation in Neural Systems. 1994;5(2):147–55.
- 85.
Ocko SA, Lindsey JW, Ganguli S, Deny S. The emergence of multiple retinal cell types through efficient coding of natural movies. In: Advances in Neural Information Processing Systems, 2018. 1–9.
- 86. Geisler WS, Najemnik J, Ing AD. Optimal stimulus encoders for natural tasks. J Vis. 2009;9(13):17.1-16. pmid:20055550
- 87. Burge J, Geisler WS. Optimal defocus estimation in individual natural images. Proc Natl Acad Sci U S A. 2011;108(40):16849–54. pmid:21930897
- 88. Burge J, Jaini P. Accuracy Maximization Analysis for Sensory-Perceptual Tasks: Computational Improvements, Filter Robustness, and Coding Advantages for Scaled Additive Noise. PLoS Comput Biol. 2017;13(2):e1005281. pmid:28178266
- 89.
Susemihl AK, Meir R, Opper M. Optimal Neural Codes for Control and Estimation. In: Advances in Neural Information Processing Systems, 2014. 2987–95.
- 90. Srinivasan MV, Laughlin SB, Dubs A. Predictive coding: a fresh view of inhibition in the retina. Proc R Soc Lond B Biol Sci. 1982;216(1205):427–59. pmid:6129637
- 91. Hosoya T, Baccus SA, Meister M. Dynamic predictive coding by the retina. Nature. 2005;436(7047):71–7. pmid:16001064
- 92.
Tishby N, Pereira F, Bialek W. The information bottleneck method. In: Proceedings 37th Allerton Conference on Communication, Control, and Computing, 2000. 1–16.
- 93. Palmer SE, Marre O, Berry MJ, Bialek W. Predictive information in a sensory population. Proceedings of the National Academy of Sciences. 2015;112(22):6908–13.
- 94. Levy WB, Baxter RA. Energy efficient neural codes. Neural Comput. 1996;8(3):531–43. pmid:8868566
- 95.
Graham DJ, Field DJ. Natural Images: Coding Efficiency. Encyclopedia of Neuroscience. Elsevier. 2009. p. 19–27. https://doi.org/10.1016/b978-008045046-9.00212-6
- 96. Polanía R, Woodford M, Ruff CC. Efficient coding of subjective value. Nat Neurosci. 2019;22(1):134–42. pmid:30559477
- 97. Bays PM, Schneegans S, Ma WJ, Brady TF. Representation and computation in visual working memory. Nat Hum Behav. 2024;8(6):1016–34. pmid:38849647
- 98. Bhui R, Gershman SJ. Decision by sampling implements efficient coding of psychoeconomic functions. Psychol Rev. 2018;125(6):985–1001. pmid:30431303
- 99. Johnston WJ, Palmer SE, Freedman DJ. Nonlinear mixed selectivity supports reliable neural computation. PLoS Comput Biol. 2020;16(2):e1007544. pmid:32069273
- 100. Młynarski W, Hledík M, Sokolowski TR, Tkačik G. Statistical analysis and optimality of neural systems. Neuron. 2021;109(7):1227-1241.e5. pmid:33592180
- 101. Weber AI, Krishnamurthy K, Fairhall AL. Coding Principles in Adaptation. Annu Rev Vis Sci. 2019;5:427–49. pmid:31283447
- 102.
Bulthoff HH. Bayesian decision theory and psychophysics. Perception as Bayesian inference. 1996. p. 123.
- 103. Körding KP, Wolpert DM. Bayesian decision theory in sensorimotor control. Trends Cogn Sci. 2006;10(7):319–26. pmid:16807063
- 104.
Berger JO. Statistical decision theory and Bayesian analysis. Springer Science & Business Media. 2013.
- 105. Shannon C. The bandwagon. IRE Trans Inf Theory. 1956;2(1):3.
- 106.
Wang Z, Wei XX, Stocker AA, Lee DD. Efficient neural codes under metabolic constraints. In: Advances in Neural Information Processing Systems, 2016. 4619–27.
- 107.
Ganguli D, Simoncelli EP. Neural and perceptual signatures of efficient sensory coding. 2016. https://arxiv.org/abs/1603.00058
- 108. de Polavieja GG. Errors drive the evolution of biological signalling to costly codes. J Theor Biol. 2002;214(4):657–64. pmid:11851374
- 109. Tkačik G, Marre O, Amodei D, Schneidman E, Bialek W, Berry MJ 2nd. Searching for collective behavior in a large network of sensory neurons. PLoS Comput Biol. 2014;10(1):e1003408. pmid:24391485
- 110. Doi E, Gauthier JL, Field GD, Shlens J, Sher A, Greschner M, et al. Efficient coding of spatial information in the primate retina. J Neurosci. 2012;32(46):16256–64. pmid:23152609
- 111.
Chalk M, Marre O, Tkacik G. Relevant sparse codes with variational information bottleneck. In: Advances in Neural Information Processing Systems 29, 2016. 1957–65.
- 112. Ruderman D, Bialek W. Statistics of natural images: Scaling in the woods. Phys Rev Lett. 1994;73(6):814–7. pmid:10057546
- 113. Geisler WS. Visual perception and the statistical properties of natural scenes. Annu Rev Psychol. 2008;59:167–92. pmid:17705683
- 114. Lennie P. The cost of cortical computation. Curr Biol. 2003;13(6):493–7. pmid:12646132
- 115. Niven JE, Laughlin SB. Energy limitation as a selective pressure on the evolution of sensory systems. J Exp Biol. 2008;211(Pt 11):1792–804. pmid:18490395
- 116. Körding KP, Wolpert DM. The loss function of sensorimotor learning. Proc Natl Acad Sci USA. 2004;101(26):9839–42.
- 117. Körding KP, Fukunaga I, Howard IS, Ingram JN, Wolpert DM. A neuroeconomics approach to inferring utility functions in sensorimotor control. PLoS Biol. 2004;2(10):e330. pmid:15383835
- 118. Cashaback JGA, McGregor HR, Mohatarem A, Gribble PL. Dissociating error-based and reinforcement-based loss functions during sensorimotor learning. PLoS Comput Biol. 2017;13(7):e1005623. pmid:28753634
- 119. Beck JM, Ma WJ, Pitkow X, Latham PE, Pouget A. Not noisy, just wrong: The role of suboptimal inference in behavioral variability. Neuron. 2012;74(1):30–9.
- 120. Grabska-Barwińska A, Barthelmé S, Beck J, Mainen ZF, Pouget A, Latham PE. A probabilistic approach to demixing odors. Nat Neurosci. 2017;20(1):98–106. pmid:27918530
- 121. Orbán G, Berkes P, Fiser J, Lengyel M. Neural Variability and Sampling-Based Probabilistic Representations in the Visual Cortex. Neuron. 2016;92(2):530–43. pmid:27764674
- 122.
Vértes E, Sahani M. Flexible and accurate inference and learning for deep generative models. Advances in Neural Information Processing Systems 31. Curran Associates, Inc.; 2018. p. 4166–4175.
- 123.
Deneve S. Bayesian inference in spiking neurons. Advances in Neural Information Processing Systems. 2005. p. 353–60.
- 124. Denève S, Duhamel J-R, Pouget A. Optimal sensorimotor integration in recurrent cortical networks: a neural implementation of Kalman filters. J Neurosci. 2007;27(21):5744–56. pmid:17522318
- 125. Huys QJM, Zemel RS, Natarajan R, Dayan P. Fast population coding. Neural Comput. 2007;19(2):404–41. pmid:17206870
- 126. Natarajan R, Huys QJM, Dayan P, Zemel RS. Encoding and decoding spikes for dynamic stimuli. Neural Comput. 2008;20(9):2325–60. pmid:18386986
- 127. Beck JM, Ma WJ, Kiani R, Hanks T, Churchland AK, Roitman J, et al. Probabilistic population codes for Bayesian decision making. Neuron. 2008;60(6):1142–52. pmid:19109917
- 128.
Lahiri S, Sohl-Dickstein J, Ganguli S. A universal tradeoff between power, precision and speed in physical communication. 2016. https://arxiv.org/abs/1603.07758
- 129. Burge J, Geisler WS. Optimal speed estimation in natural image movies predicts human performance. Nat Commun. 2015;6.
- 130. Macke JH, Buesing L, Cunningham JP, Byron MY, Shenoy KV, Sahani M. Empirical models of spiking in neural populations. Advances in neural information processing systems. 2011. vol 24. p. 1350–8.
- 131. Vidne M, Ahmadian Y, Shlens J, Pillow JW, Kulkarni J, Litke AM, et al. Modeling the impact of common noise inputs on the network activity of retinal ganglion cells. J Comput Neurosci. 2012;33(1):97–121. pmid:22203465
- 132. Rabinowitz NC, Goris RL, Cohen M, Simoncelli E. Attention stabilizes the shared gain of V4 populations. eLife. 2015.
- 133. Ecker AS, Denfield GH, Bethge M, Tolias AS. On the Structure of Neuronal Population Activity under Fluctuations in Attentional State. J Neurosci. 2016;36(5):1775–89. pmid:26843656
- 134.
Dowling M, Zhao Y, Park IM. eXponential FAmily Dynamical Systems (XFADS): Large-scale nonlinear Gaussian state-space modeling. In: Advances in Neural Information Processing Systems 37, 2024. 13458–88. https://doi.org/10.52202/079017-0430