Abstract
Time is at a premium for recurrent network dynamics, and particularly so when they are stochastic and correlated: the quality of inference from such dynamics fundamentally depends on how fast the neural circuit generates new samples from its stationary distribution. Indeed, behavioral decisions can occur on fast time scales (~100 ms), but it is unclear what neural circuit dynamics afford sampling at such high rates. We analyzed a stochastic form of rate-based linear neuronal network dynamics with synaptic weight matrix $W$, and the dependence on $W$ of the covariance of the stationary distribution of joint firing rates. This covariance $Σ$ can be actively used to represent posterior uncertainty via sampling under a linear-Gaussian latent variable model. The key insight is that the mapping between $W$ and $Σ$ is degenerate: there are infinitely many $W$'s that lead to sampling from the same $Σ$ but differ greatly in the speed at which they sample. We were able to explicitly separate these extra degrees of freedom in a parametric form and thus study their effects on sampling speed. We show that previous proposals for probabilistic sampling in neural circuits correspond to using a symmetric $W$ which violates Dale's law and results in critically slow sampling, even for moderate stationary correlations. In contrast, optimizing network dynamics for speed consistently yielded asymmetric $W$'s and dynamics characterized by fast transients, such that samples of network activity became fully decorrelated over ~10 ms. Importantly, networks with separate excitatory/inhibitory populations proved to be particularly efficient samplers, and were in the balanced regime. Thus, plausible neural circuit dynamics can perform fast sampling for efficient decoding and inference.
Introduction: The Speed of Perception
Human perception is remarkably efficient. We can categorize complex visual scenes in a fraction of a second, despite sensory input being inherently noisy and ambiguous. To manage this uncertainty, the brain is hypothesized to perform Bayesian inference, representing probability distributions over possible world states rather than single point estimates. A leading theory suggests that neural circuits represent these distributions through sampling: the joint activity of neurons at any given moment constitutes a "sample" from the posterior distribution.
However, for sampling to support rapid behavior, samples must be generated quickly and be relatively independent. If neural activity is highly correlated over time, the circuit effectively remains stuck on a single sample, delaying inference. Standard sampling algorithms, such as Langevin dynamics, often suffer from "critical slowing" in high-dimensional spaces, making them seemingly too sluggish to explain the speed of human cognition.
Modeling Neural Sampling and the Degeneracy of $W$
The authors investigated this problem using a stochastic, rate-based linear neuronal network. They focused on a linear-Gaussian latent variable model, where the network's goal is to sample from a posterior distribution characterized by a specific covariance matrix $\Sigma$.
A key mathematical insight of this work is the degeneracy in the relationship between the synaptic weight matrix $W$ and the stationary covariance $\Sigma$. There is not just one $W$ that produces a given $\Sigma$; rather, there are infinitely many. While all such networks eventually converge to the same target distribution, they differ dramatically in their sampling speed. By parameterizing these extra degrees of freedom using a skew-symmetric matrix, the researchers were able to optimize network dynamics specifically for speed.
Results: Asymmetry and the Balanced Regime
The study reveals that traditional "off-the-shelf" samplers, which typically use symmetric weight matrices, are fundamentally limited by the correlations in the target distribution. In high dimensions, this symmetry acts as a bottleneck, leading to agonizingly slow mixing.
In contrast, optimizing for speed consistently yielded asymmetric, non-normal weight matrices. These networks utilize large, "hidden" transient excursions to jump across the distribution much faster than individual neuronal membrane time constants would suggest.
Key findings include:
- Significant Speedup: Optimized networks decorrelated their activity in approximately 10 ms, an order of magnitude faster than the >100 ms required by symmetric Langevin samplers.
- Efficiency in Estimation: As shown in the performance benchmarks, optimized networks reach asymptotic accuracy in mean and covariance estimation almost immediately, whereas standard models require significant "burn-in" time.
- The Balanced Advantage: When constrained by Dale’s Law (separate excitatory and inhibitory populations), the fastest samplers naturally fell into a balanced regime where excitation and inhibition largely cancel out. This suggests that the balanced state observed in the cortex may be an evolutionary optimization for high-speed probabilistic computation.
Discussion and Future Directions
While this work provides a rigorous foundation for fast neural sampling, it is currently limited to linear dynamics and Gaussian distributions. Real-world neural processing involves non-linearities and multi-modal distributions. Furthermore, the study focuses on the existence of optimal weights rather than the biological learning rules (such as STDP) that might discover them. Future research may bridge these gaps by exploring the connections between these optimized dynamics and advanced machine learning techniques like Natural Gradient or Riemannian Monte Carlo sampling.
Summary updated