Canonical recurrent neural circuits: A unified sampling machine for static and dynamic inference
Abstract
AO_SCPLOWBSTRACTC_SCPLOWThe brain lives in an ever-changing world and needs to infer the dynamic evolution of latent states from noisy sensory inputs. Exploring how canonical recurrent neural circuits in the brain realize dynamic inference is a fundamental question in neuroscience. Nearly all existing studies on dynamic inference focus on deterministic algorithms, whereas cortical circuits are intrinsically stochastic, with accumulating evidence suggesting that they employ stochastic Bayesian sampling algorithms. Nevertheless, nearly all circuit sampling studies focused on static inference with fixed posterior over time instead of dynamic inference, leaving a gap between circuit sampling and dynamic inference. To bridge this gap, we study the sampling-based dynamic inference in a canonical recurrent circuit model with excitatory (E) neurons and two types of inhibitory interneurons: parvalbumin (PV) and somatostatin (SOM) neurons. We find that the canonical circuit unifies Langevin and Hamiltonian sampling to infer either static or dynamic latent states with various moving speeds. Remarkably, switching sampling algorithms and adjusting models internal latent moving speed can be realized by modulating the gain of SOM neurons without changing synaptic weights. Moreover, when the circuit employs Hamiltonian sampling, its sampling trajectories oscillate around the true latent moving state, resembling the decoded spatial trajectories from hippocampal theta sequences. Our work provides overarching connections between the canonical circuit with diverse interneurons and sampling-based dynamic inference, deepening our understanding of the circuit implementation of Bayesian sampling.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Natural gradient Bayesian sampling automatically emerges in canonical cortical circuits
Zhuolang Chen, Yi Ren, … Wenhao Zhang·bioRxiv·Jul 3, 2025
- Sampling-based Bayesian inference in recurrent circuits of stochastic spiking neurons
Wenhao Zhang, Si Wu, … Brent Doiron·Nature CommunicationsPeer-reviewed·Nov 4, 2023
- Cortical-like dynamics in recurrent circuits optimized for sampling-based probabilistic inference
Rodrigo Echeveste, Laurence Aitchison, … Máté Lengyel·Nature NeurosciencePeer-reviewed·Aug 10, 2020
- Scale-mixture Langevin sampling in the subspaces of recurrent cortical circuit dynamics
Zhuolang Chen, Yi Ren, Wenhao Zhang·bioRxiv·Oct 8, 2026
- Concurrent model evidence computation and posterior sampling in continuous attractor network subspaces
Yi Ren, Zhuolang Chen, … Wenhao Zhang·bioRxiv·Sep 8, 2026
- Distributed Sampling-based Bayesian Inference in Coupled Neural Circuits
Wenhao Zhang, Tai Sing Lee, … Si Wu·bioRxiv·Jul 20, 2020