Skip to main content
QUICK REVIEW

[Paper Review] Sampling-based probabilistic inference emerges from learning in neural circuits with a cost on reliability

Laurence Aitchison, Guillaume Hennequin|arXiv (Cornell University)|Jul 24, 2018
Neural dynamics and brain functionNeuroscience38 references6 citations
TL;DR

This paper demonstrates that when neural networks are trained with a biologically motivated cost on neural reliability—representing the metabolic expense of precise firing—they naturally develop sampling-based probabilistic inference. By balancing reconstruction accuracy against energetic cost, networks evolve response variability that samples from Bayesian posterior distributions, even though the learning task is non-probabilistic. This emergent behavior mirrors observed neural dynamics in sensory cortices and is analytically linked to variational inference in autoencoders.

ABSTRACT

Neural responses in the cortex change over time both systematically, due to ongoing plasticity and learning, and seemingly randomly, due to various sources of noise and variability. Most previous work considered each of these processes, learning and variability, in isolation -- here we study neural networks exhibiting both and show that their interaction leads to the emergence of powerful computational properties. We trained neural networks on classical unsupervised learning tasks, in which the objective was to represent their inputs in an efficient, easily decodable form, with an additional cost for neural reliability which we derived from basic biophysical considerations. This cost on reliability introduced a tradeoff between energetically cheap but inaccurate representations and energetically costly but accurate ones. Despite the learning tasks being non-probabilistic, the networks solved this tradeoff by developing a probabilistic representation: neural variability represented samples from statistically appropriate posterior distributions that would result from performing probabilistic inference over their inputs. We provide an analytical understanding of this result by revealing a connection between the cost of reliability, and the objective for a state-of-the-art Bayesian inference strategy: variational autoencoders. We show that the same cost leads to the emergence of increasingly accurate probabilistic representations as networks become more complex, from single-layer feed-forward, through multi-layer feed-forward, to recurrent architectures. Our results provide insights into why neural responses in sensory areas show signatures of sampling-based probabilistic representations, and may inform future deep learning algorithms and their implementation in stochastic low-precision computing systems.

Motivation & Objective

  • To understand why neural variability persists despite its negative impact on performance, especially in the context of ongoing synaptic plasticity.
  • To investigate the trade-off between neural reliability (high metabolic cost) and performance accuracy in learning systems.
  • To determine whether a biologically grounded cost on reliability can lead to the emergence of probabilistic computation in neural circuits.
  • To explore whether such a cost induces sampling from statistically appropriate posterior distributions, even in non-probabilistic learning tasks.
  • To establish a formal link between this biologically motivated objective and the variational free-energy principle used in modern machine learning.

Proposed method

  • Train neural networks on unsupervised learning tasks (e.g., sparse coding, autoencoding) with an additional cost term penalizing high reliability (low noise).
  • Model neural variability using stochastic dynamics with neuron-specific noise amplitudes (σi), where noise is scaled by a parameter reflecting metabolic cost.
  • Derive the reliability cost from biophysical principles—specifically, the energy required to maintain precise, low-noise spiking responses.
  • Use a dynamical system formulation with drift (Π) and noise (Q) matrices to model neural population dynamics, where Π includes symmetric (Q) and antisymmetric (S) components.
  • Introduce a regularizer on the product ΠΣ (dynamics matrix × stationary covariance) using the Frobenius norm to prevent unbounded growth of the antisymmetric component S.
  • Analyze sampling speed via the covariance of empirical mean estimates over time, using the trace of Σ⁻¹/²Cov[µ]Σ⁻¹/² as a proxy for mean-squared error in sampling.

Experimental results

Research questions

  • RQ1Can a biologically plausible cost on neural reliability lead to the emergence of probabilistic inference in neural networks?
  • RQ2Does neural variability in trained networks correspond to samples from a Bayesian posterior distribution over hidden causes?
  • RQ3How does the trade-off between energy cost and representation accuracy shape the structure of neural response variability?
  • RQ4Is there a formal connection between the derived reliability cost and the variational free-energy objective used in variational autoencoders?
  • RQ5Can this mechanism generalize across network architectures, including deep and recurrent networks?

Key findings

  • Neural networks trained with a cost on reliability develop response variability that samples from the posterior distributions of an internal probabilistic model of inputs, even though the learning task is non-probabilistic.
  • The optimal balance between accuracy and reliability leads to response distributions that are statistically equivalent to those generated by approximate Bayesian inference via sampling.
  • The derived objective function forms an upper bound on the variational free-energy, ensuring that minimizing it increases the similarity between network responses and true posterior distributions.
  • In deep and recurrent architectures, the same mechanism enables sampling from complex, correlated posterior distributions that feedforward networks cannot represent.
  • Sampling speed is quantitatively linked to the structure of the dynamics matrix, with optimal sampling achieved when the antisymmetric component S is tuned to balance noise and correlation.
  • The method remains robust even with temporal correlations in recurrent networks, and fast convergence can be encouraged without degrading inference accuracy or autoencoder performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.