Recurrent Synaptic Weights as Bayesian Priors

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 19 papers21 conceptsfrozen 2026-10-04

In classical computing, a "prior" is a mathematical distribution stored in memory. In the brain, however, there is no separate memory bank for probability distributions. Instead, a growing body of research suggests that the brain "bakes" its expectations about the world directly into the physical structure of its circuits. By repurposing two apparent biological limitations—noisy neuronal firing and dense recurrent connections—neural populations can perform sophisticated Bayesian inference through their inherent dynamics.

The Synaptic Encoding of Expectations

The core intuition of this research direction is that the strength of connections between neurons (synaptic weights) represents the statistical structure of the environment. When two features in the world often appear together, the neurons representing them develop strong excitatory connections.

Si Wu and Shun-ichi Amari demonstrated in Neural Implementation of Bayesian Inference in Population Codes that Hebbian learning—the principle that "cells that fire together, wire together"—is a biological implementation of a Bayesian prior. By strengthening connections based on past observations, the network biases its future decoding toward those previously seen values.

This idea extends beyond simple associations. In Recurrent circuit based neural population codes for stimulus representation and inference, Wenhao Zhang, Brent Doiron, and colleagues argue that recurrent weights encode the "internal model" of the world. Specifically, the reciprocal synaptic weights between different neural modules can represent the precision matrix (the inverse of the covariance) of a prior distribution. This means the physical connectivity of the brain is a structural map of how different features of the world are expected to correlate.

Noise as a Computational Engine

If synaptic weights represent the "landscape" of the prior, how does the brain actually "walk" that landscape to find an answer? This is where biological noise—traditionally viewed as a nuisance—becomes a feature.

In Sampling-based Bayesian inference in recurrent circuits of stochastic spiking neurons, Wenhao Zhang and Si Wu propose that the Poisson-like variability of spiking neurons drives a stochastic sampling process. Instead of calculating a single "best guess," the network uses its internal noise to jitter its activity, effectively performing Langevin or Gibbs sampling.

The recurrent connections pull the activity toward likely states (the prior), while sensory input provides a tether to current reality (the likelihood). The resulting "chatter" of the population isn't just random noise; it is a representation of the full posterior probability distribution. This allows the brain to represent not just what it thinks is happening, but also how uncertain it is.

Dynamics of Uncertainty and Sensory Deprivation

This framework explains what happens when sensory information disappears. Richard Zemel and Peter Dayan showed in Probabilistic Computation in Spiking Populations that when external inputs are removed, the recurrent dynamics of the network naturally take over.

The activity doesn't just freeze; the recurrent weights drive the represented state toward the mean of the learned prior. Simultaneously, the variance of the population activity increases, reflecting the growing uncertainty of a system that is no longer receiving external updates. This matches how humans integrate sensorimotor information: we rely on our "internal model" more heavily as our sensory data becomes noisier or disappears.

Specialized Circuit Motifs for Complex Priors

While simple recurrent loops can handle basic correlations, the brain uses more specialized architectures for complex inference.

  1. Continuous Attractor Neural Networks (CANNs): Min Yan and Michael Wong explored how coupling two CANNs can integrate multisensory data. In Bimodular continuous attractor neural networks with static and moving stimuli, they show that excitatory inter-modular connections act as "attractive priors" that pull different sensory estimates (like sight and sound) together, while inhibitory connections act as "repulsive priors."
  2. Sister Cells: Sometimes the brain needs to represent correlations between variables that aren't directly connected. Sina Tootoonian and Andreas T. Schaefer discovered a motif in Inference with correlated priors using sisters cells where multiple "sister" neurons receive the same input but connect differently to downstream units. This allows the circuit to "bake in" complex correlations through feedback loops rather than needing a dense web of lateral connections.

Optimizing the Internal Model

For this system to work, the weights must be tuned precisely. Wenhao Zhang and his collaborators have shown that there is an "optimal regime" for these connections. By minimizing the Kullback-Leibler (KL) divergence between the network’s sampling distribution and the true Bayesian posterior, the network ensures that its internal dynamics accurately mirror the statistical structure of the external world.

This perspective shifts our understanding of the cortex from a simple feedforward processor to a sophisticated generative model, where every synapse is a piece of a stored probability distribution, and every spike is a sample from a world of uncertainty.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_recurrent_synaptic_weights_as_bayesian_p_293e6e9c,
  title = {Recurrent Synaptic Weights as Bayesian Priors},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/recurrent-synaptic-weights-as-bayesian-priors/rdr_293e6e9c8d174f94ab81ad67c3296b9e},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_recurrent_synaptic_weights_as_bayesian_p_293e6e9c_v1,
  title = {Recurrent Synaptic Weights as Bayesian Priors},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/recurrent-synaptic-weights-as-bayesian-priors/rdr_293e6e9c8d174f94ab81ad67c3296b9e/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}