Expressive probabilistic sampling in recurrent neural networks

Shirui Chen, Linxing Jiang, Rajesh P. N. Rao, E. Shea-Brown
2/12/2026

No official code found. Best implementation: chinsengi/score_RNN (2 stars, last commit 2024-05-21).

Abstract

In sampling-based Bayesian models of brain function, neural activities are assumed to be samples from probability distributions that the brain uses for probabilistic computation. However, a comprehensive understanding of how mechanistic models of neural dynamics can sample from arbitrary distributions is still lacking. We use tools from functional analysis and stochastic differential equations to explore the minimum architectural requirements for $\textit{recurrent}$ neural circuits to sample from complex distributions. We first consider the traditional sampling model consisting of a network of neurons whose outputs directly represent the samples (sampler-only network). We argue that synaptic current and firing-rate dynamics in the traditional model have limited capacity to sample from a complex probability distribution. We show that the firing rate dynamics of a recurrent neural circuit with a separate set of output units can sample from an arbitrary probability distribution. We call such circuits reservoir-sampler networks (RSNs). We propose an efficient training procedure based on denoising score matching that finds recurrent and output weights such that the RSN implements Langevin sampling. We empirically demonstrate our model's ability to sample from several complex data distributions using the proposed neural dynamics and discuss its applicability to developing the next generation of sampling-based brain models.

View on arXivView PDF

Code Implementations(1)

chinsengi/score_RNNCommunity100%

score-based generative model with RNN

20Shell, PythonJan 6, 20232 years ago

Similar Papers

Cite this paper

@article{chen2026expressive,
  title  = {Expressive probabilistic sampling in recurrent neural networks},
  author = {Shirui Chen and Linxing Jiang and Rajesh P. N. Rao and E. Shea-Brown},
  year   = {2026},
  eprint = {2308.11809},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.11809},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.11809.svg)](https://codeofpaper.com/paper/2308.11809)

Discussion