The researchers connect two major ideas in neuroscience: efficient coding, which traditionally treats neurons as maximizing information about the environment, and Bayesian inference, in which the brain combines sensory evidence with prior expectations. Their framework defines an optimal neural code using a stimulus prior, an encoding model, a neural capacity limit and a loss function describing which errors matter most.

The framework predicts that different goals can produce very different neural codes. In particular, reducing correlations between sensory inputs—a familiar result of information-maximizing models—can be disadvantageous when large decoding errors are costly. Applying the framework to data from blowfly large monopolar cells, the researchers found that the measured contrast response was better explained by a model minimizing average square-root error than by a model maximizing mutual information.