Spike-Timing-Dependent Plasticity for Bernoulli Message Passing
Sepideh Adamiat, Wouter M. Kouw, Bert de Vries
TL;DR
This work addresses implementing Bayesian inference on spike-based hardware by training spiking neural networks to realize sum-product message passing for Bernoulli distributions $p_x$, $p_y$, and $p_z$. It uses spike-timing-dependent plasticity (STDP) in networks of Leaky Integrate-and-Fire (LIF) neurons to implement factor nodes (e.g., AND/OR/NOT/XOR) within Forney-style Factor Graphs, encoding Bernoulli messages into spike trains and decoding outputs back to Bernoulli distributions via $p_z = \rho/\tau$. The results show that the SNN-based messages closely match numerical sum-product updates, demonstrated on an unreliable binary channel example, illustrating the approach's generality. This work provides a biologically plausible pathway to energy-efficient probabilistic inference on neuromorphic hardware, bridging the Bayesian brain/FEP perspective with spike-based computation.
Abstract
Bayesian inference provides a principled framework for understanding brain function, while neural activity in the brain is inherently spike-based. This paper bridges these two perspectives by designing spiking neural networks that simulate Bayesian inference through message passing for Bernoulli messages. To train the networks, we employ spike-timing-dependent plasticity, a biologically plausible mechanism for synaptic plasticity which is based on the Hebbian rule. Our results demonstrate that the network's performance closely matches the true numerical solution. We further demonstrate the versatility of our approach by implementing a factor graph example from coding theory, illustrating signal transmission over an unreliable channel.
