Signatures of Bayesian inference emerge from energy-efficient synapses

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

TL;DR

This paper proposes that the inherent unreliability of biological synapses isn't a bug, but a feature driven by energy efficiency. By modeling synapses as trainable components in artificial neural networks (ANNs) with an energy cost for reliability, they found that optimal networks exhibit patterns of synapse variability that mirror those predicted by Bayesian inference, suggesting a potential evolutionary link between energy efficiency and Bayesian computation in the brain.

What Problem Does This Paper Address?

Biological synapses, the fundamental units of neural communication, are notoriously unreliable. Neurotransmitters are released probabilistically, leading to variable postsynaptic potentials (PSPs). While mechanisms exist to increase synaptic reliability (e.g., higher release probability), these come at a significant energy cost. This raises a fundamental question: why is synaptic transmission so unreliable if more reliable transmission could potentially improve neural circuit performance? This paper investigates this trade-off between synaptic reliability and energy cost, exploring how it might shape neural computation and potentially explain observed patterns in biological synapses.

Methods

The authors developed a novel approach by integrating biophysically motivated energetic costs of synaptic reliability into artificial neural networks (ANNs). They modeled synapses as having trainable stochastic PSPs, where the mean and variance could be optimized. The core of their method involved:

  • Biophysical Cost Modeling: They identified four key biophysical mechanisms contributing to synaptic reliability costs (calcium efflux, vesicle membrane surface area, actin, and trafficking) and derived mathematical relationships between these costs and synaptic variance.
  • ANN Training with Trade-off Objective: They trained fully connected, rate-based ANNs on image classification tasks (MNIST). The training objective included a performance cost (cross-entropy loss) and a reliability cost, modulated by a parameter c that dictates the importance of energy efficiency.
  • Heterogeneous Synapse Variability: Crucially, they allowed for heterogeneous synapse variability, meaning each synapse could optimize its own noise level, rather than enforcing a uniform noise level across all synapses.
  • Synapse Importance Measurement: They used the Hessian matrix (specifically, its diagonal elements) of the performance cost with respect to synaptic weights as a measure of synapse importance.

Datasets

  • MNIST: The standard handwritten digit dataset was used for training and evaluating the ANNs.

Key Insights and Ideas

  • Unreliability as an Energy-Saving Strategy: The most striking insight is that synaptic unreliability isn't necessarily a limitation but can be a consequence of optimizing for energy efficiency. Investing energy to make synapses perfectly reliable is costly, and the brain appears to strike a balance.
  • Heterogeneous Noise is Key: Allowing individual synapses to optimize their noise levels (heterogeneous variability) led to significantly better performance and more efficient energy usage compared to enforcing uniform noise (homogeneous variability). This suggests that the brain might strategically allocate reliability across synapses.
  • Bayesian Signatures Emerge Naturally: The patterns of synapse variability observed in the energy-optimized ANNs (e.g., lower variability for important synapses, higher input rates correlating with lower variability) remarkably mirrored predictions from Bayesian inference models of synapses. This suggests that Bayesian-like behavior might emerge as a byproduct of energy efficiency, rather than requiring explicit Bayesian mechanisms.
  • Formal Link Between Energy and Bayesian Inference: The authors establish a theoretical connection, showing that their energy-efficiency cost function bounds the Evidence Lower Bound (ELBO) used in variational Bayesian inference. This provides a formal basis for why energy-efficient synapses might exhibit Bayesian characteristics.

Key Results

  • Performance-Reliability Trade-off: As the cost of synaptic reliability increased (higher c), network accuracy decreased, and average synaptic standard deviation increased, demonstrating a clear trade-off.
  • Heterogeneous Noise Advantage: Networks with heterogeneous synapse variability achieved considerably improved accuracy at a given average noise level or reliability cost compared to homogeneous noise settings.
  • Testable Predictions: The optimized ANNs predicted that synapses with lower variability would have higher input firing rates and lower learning rates. These predictions were found to be consistent with existing experimental data.
  • Synapse Importance and Variability: Synapses with higher importance (larger Hessian values) were found to have lower optimized variability, indicating that the network invests more in reliability for crucial connections.

Limitations and Future Work

  • Model Simplifications: The authors acknowledge that their ANN model is a simplification of biological neural networks. For instance, they used a rate-based model and a specific form of stochasticity.
  • Experimental Verification: While their predictions align with existing experimental data, direct experimental validation of the proposed energy-efficiency driven Bayesian signatures would be valuable.
  • Distinguishing Interpretations: The paper presents two possibilities: either evolution has favored energy efficiency leading to Bayesian-like synapses, or synapses are not explicitly Bayesian but appear so due to energy constraints. Distinguishing between these requires understanding how downstream brain areas utilize or ignore information about uncertainty.
  • Learning Rule Independence: The authors argue that the observed patterns are characteristic of energy-efficient networks and should not depend on the specific learning rule used (e.g., backpropagation), but further exploration of different learning rules could be beneficial.
  • Broader Task Applicability: While MNIST is a standard benchmark, exploring these principles on more complex or biologically relevant tasks could reveal further insights.

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