Device Stochasticity Directly Implements Bayesian Sampling in Spiking Neurons
Year: 2026
Type: article
Abstract: ABSTRACT Device stochasticity is considered a non‐ideality in neuromorphic hardware, although stochastic neural activity supports probabilistic computation in biological systems. We show that intrinsic stochastic switching of magnetic tunnel junctions (MTJs) can be mapped to stochastic‐threshold spiking neurons, providing a physical sampling primitive for Bayesian spiking inference. We develop a spiking Bayesian neural network (SBNN) with neuronal threshold distributions learned during training and sampled during inference. We also introduce a rate‐estimation method that propagates firing probabilities rather than explicit spike sequences, achieving up to a 22‐fold speedup over surrogate‐gradient training. Compared with representative Bayesian neural‐network baselines, SBNN achieves favorable accuracy‐calibration trade‐offs, reaching high accuracy across static and event datasets and low negative log likelihood in both MNIST and Fashion‐MNIST. On MNIST, SBNN retains accuracy under a normalized weight‐noise standard deviation of 0.20 and under an input‐noise standard deviation of 0.25, compared with and , respectively, for the spiking neural network (SNN). Hardware‐in‐the‐loop validation using physical MTJ switching for sampling and software for network arithmetic closely matches software inference in spiking behavior and classification performance. This suggests that intrinsic device stochasticity can be transformed from a hardware non‐ideality into a Bayesian computational resource for compact and noise‐tolerant neuromorphic systems.
Source: Advanced Science
DOI: 10.1002/advs.78508
Authors: Huannan Zheng, Jingli Liu, Kezhou Yang
Language: English
Subfield: Electrical and Electronic Engineering
Field: Engineering
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $6,730
OpenAlex ID: W7128548852
