arXiv:2609.11281cs.AISep 2026

Manuscript Offprint

arXiv:2609.11281

Bio-inspired Learning and Decision-Making with Probabilistic In-Memory Computing Hardware: Part 1

Thomas Dalgaty, Eiji Kawasaki, Miguel de Prado, Devendra Vyas, Tommaso Salvatori

Abstract

Learning and decision-making in animals are often modeled as Bayesian processes, where sensory evidence is integrated with prior beliefs to guide behavior in the face of uncertainty. But what are the inherent neural dynamics that give rise to this ability, and how could they be replicated in computing systems? This abstract discusses a biologically grounded framework in which noisy neural and synaptic dynamics perform inference and learning via stochastic sampling from an internal energy function, capturing uncertainty over latent states and model parameters through neural and synaptic variability, respectively. This enables approaches such as predictive coding networks to account for epistemic uncertainty via Markov chain Monte Carlo sampling. Drawing a parallel between intrinsic noise in biological systems and electrical noise in emerging probabilistic analogue memory technologies, we highlight how analogue in-memory computing hardware naturally emerges as the solution for massively scalable and energy-efficient probabilistic inference.

Introduction

Animals exhibit remarkable adaptability in uncertain and dynamic environments, often behaving in ways that approximate Bayesian inference (Knill and Richards 1996; Knill and Pouget 2004; Paunov et al. 2024). This has led to the hypothesis that the brain performs probabilistic reasoning by integrating sensory evidence with prior expectations, guided by uncertainty. Energy-based modeling is a compelling framework for understanding this process, which views the brain as a physical system minimizing its internal free energy (Hinton, Sejnowski et al. 1986; Friston 2010) to perform inference and learning efficiently. This has inspired computational formulations, such as predictive coding, in which neural populations continuously generate predictions about sensory input and update them through the minimization of prediction errors, implicitly performing Bayesian inference (Rao and Ballard 1999; Friston 2005; Salvatori et al. 2023). Biological neural systems, such as the brain, are inherently noisy. Thermodynamic fluctuations, stochastic neurotransmitter release, and variability in synaptic transmission (Fatt and Katz 1950; Conti, Tan, and Llano 2004; White, Rubinstein, and Kay 2000) introduce randomness at both the neuronal and synaptic levels (Buesing et al. 2011; Kappel et al. 2015). Rather than being detrimental however, this noise may serve a computational role by enabling sampling-based inference through neural and synaptic variability. Increasing evidence suggests that the brain leverages its intrinsic stochastic dynamics to perform Bayesian inference via mechanisms akin to Markov chain Monte Carlo (MCMC) sampling (Hoyer and Hyvärinen 2002; Berkes et al. 2011).

In this abstract, we motivate a biologically inspired framework for learning and decision-making that uses noise as a computational resource. Specifically, we discuss the development of a new form of predictive coding (Oliviers, Bogacz, and Meulemans 2024; Sennesh, Wu, and Salvatori 2024), capable of modeling its epistemic uncertainty. While predictive coding has been extensively studied as a mechanism for perceptual inference, its treatment of epistemic uncertainty — uncertainty about the parameters or structure of the generative model — remains underexplored. In particular, most implementations i) treat synaptic weights in a deterministic fashion, neglecting the possibility that the weights themselves could represent probability distributions, or ii) propose a variational posterior over the weights (Tschantz et al. 2025), not reflecting the persistent changes that result from biological noise according to synaptic sampling theory (Kappel et al. 2015).

We propose a pathway whereby applying stochastic updates to both neural and synaptic variables within an underlying energy function, inference and learning naturally emerge as biologically plausible Markov chain Monte Carlo sampling processes (Algorithmic Formulation). In addition, we draw a parallel between intrinsic biological noise in the brain and the electrical noise in semiconductor technologies (Bayesian Neuromorphic Hardware). Just as MCMC sampling offers a biologically plausible mechanism for Bayesian inference in neural systems, it also provides a framework for leveraging the inherent variability of analogue neuromorphic hardware. Rather than being a limitation, this device-level noise can be harnessed as a computational asset, enabling scalable energy-efficient Bayesian learning and inference (Dalgaty et al. 2021; Lin et al. 2025).

References (27)