Signatures of Bayesian inference emerge from energy efficient synapses

James Malkin, Cian O’Donnell, Conor Houghton, Laurence Aitchison · DOI

Abstract

Biological synaptic transmission is unreliable, and this unreliability likely degrades neural circuit performance. While there are biophysical mechanisms that can increase reliability, for instance by increasing vesicle release probability, these mechanisms cost energy. We examined four such mechanisms along with the associated scaling of the energetic costs. We then embedded these energetic costs for reliability in artificial neural networks (ANN) with trainable stochastic synapses, and trained these networks on standard image classification tasks. The resulting networks revealed a tradeoff between circuit performance and the energetic cost of synaptic reliability. Additionally, the optimised networks exhibited two testable predictions consistent with pre-existing experimental data: synapses with lower variability tended to have higher input firing rates and lower learning rates. Surprisingly, these predictions also arise when synapse statistics are inferred through Bayesian inference. We find a formal theoretical link between the performance-reliability cost tradeoff and Bayesian inference, suggesting that energy-efficient synapses may display signatures of Bayesian inference as an emergent property of metabolic optimization.

Introduction

Biological synapses are notoriously unreliable; a signal arriving at a synapse often fails to trigger a response. Historically, neuroscientists have viewed this noise through two lenses. The Bayesian Perspective posits that synaptic noise represents "uncertainty," and the brain uses this variability to perform probabilistic inference. Conversely, the Energy Perspective suggests that noise is an unavoidable byproduct of a system trying to minimize metabolic costs, such as the ATP required for neurotransmitter vesicle release.

This study set out to bridge these two views by asking: If a neural network is optimized to be as accurate as possible while spending as little energy as possible on synaptic reliability, what patterns of noise emerge? And do those patterns look like Bayesian inference?

The quantal model of synaptic transmission (b) and the physical structure of the synapse (a). The model relates biological parameters like release probability ($p$) and vesicle count ($n$) to the mean ($\mu$) and variance ($\sigma$) of the synaptic response.

Biophysical Modeling of Synaptic Costs

The researchers modeled four specific biological mechanisms that contribute to synaptic reliability:

  1. Calcium Efflux (I): ATP-driven pumps must remove calcium ions that entered the bouton to trigger release.
  2. Vesicle Membrane (II): Forming the phospholipid bilayer of vesicles requires lipid metabolism.
  3. Actin Filaments (III): Turnover of actin filaments that cluster and reserve vesicles consumes energy.
  4. Vesicle Trafficking (IV): Shuttling vesicles to docking sites via actin-myosin crossbridges.
Overview of the four biophysical mechanisms (I-IV) and their associated energetic costs relative to synaptic variability ($\sigma$).

Mathematical derivations showed that the energetic cost $C$ for each mechanism scales as a power law of synaptic variance: $C \propto \sigma^{-\rho}$.

Methods

These biophysical costs were embedded into Artificial Neural Networks (ANNs) where each synapse is stochastic, defined by a mean weight ($\mu$) and a standard deviation ($\sigma$). The networks were trained on the MNIST image classification task using a custom objective function: $$Loss = \text{Performance Cost} + \text{Magnitude Cost} + \text{Reliability Cost}$$ The "reparameterization trick" was used to allow backpropagation through these stochastic synapses, optimizing both $\mu$ and $\sigma$ for every connection.

Key Results

The optimized networks revealed several key insights:

  • Heterogeneity is Efficient: The most energy-efficient strategy is not to make all synapses equally noisy. Instead, the network "invests" energy to make "important" synapses (those that heavily impact performance) highly reliable, while allowing "unimportant" synapses to remain noisy to save energy.
  • The Bayesian Mirror: The patterns of noise allocation in the energy-optimized network perfectly match the signatures of Bayesian inference. Specifically, synapses that are more "certain" in a Bayesian sense are the same ones the energy-efficient model chooses to make more reliable.
  • The Formal Link: The authors proved that the biological reliability cost acts as a mathematical bound on the "entropic cost" used in Variational Bayesian inference. In essence, minimizing metabolic cost is mathematically analogous to maximizing a lower bound on model evidence (ELBO).

Experimental Validation

The model's predictions were consistent with pre-existing biological datasets:

  1. Firing Rates: The model predicted that synapses with higher input firing rates should be more reliable (lower variability). This was confirmed by re-analyzing data from Ko et al. (2013).
  2. Learning Rates: The model predicted that synapses with higher variability should have higher learning rates (more plasticity). This was confirmed using data from Sjöström et al. (2003).

Conclusion

This research suggests that the brain's apparent "probabilistic" reasoning might be an emergent property of saving energy. Either evolution "stumbled" upon Bayesian inference by simply trying to save energy, or the brain isn't "doing Bayes" at all—it just looks that way because it's highly optimized for metabolic efficiency. Future work should explore whether these energy-efficiency signatures hold up in more complex, recurrent circuits performing naturalistic tasks.

Summary updated

BibTeX
@inproceedings{malkin2024signatures,
  author = {James Malkin and Cian O’Donnell and Conor Houghton and Laurence Aitchison},
  title = {{Signatures of Bayesian inference emerge from energy efficient synapses}},
  booktitle = {eLife},
  year = {2024},
  doi = {10.7554/elife.92595.3},
}
Figure