Configurable p-Neurons Using Modular p-Bits
Saleh Bunaiyan, Mohammad Alsharif, Abdelrahman S. Abdelrahman, Hesham ElSawy, Suraj S. Cheema, Suhaib A. Fahmy, Kerem Y. Camsari, Feras Al-Dirini
TL;DR
The paper tackles the limitation of coupled p-bits by introducing modular p-bits that decouple stochastic and input paths, enabling configurable p-neurons with activations such as $p$-Tanh, $p$-Sigmoid, and $p$-ReLU. It presents spintronic (CMOS + sMTJ) designs, including a 2M stochastic unit and a 1M1R variant, demonstrating tunable probabilistic ranges and distributions; these are complemented by analytic insights, notably $\frac{V_{probabilistic}}{V_{DD}} = \frac{TMR}{2+TMR}$, linking probabilistic range to MTJ TMR. The authors also implement LUT-free digital p-neurons on FPGA using LFSR-based randomness with stochastic-unit sharing, achieving order-of-magnitude reductions in hardware resources and enabling a modular p-AND that follows Boltzmann-like statistics. Collectively, the work provides scalable, configurable hardware routes for Probabilistic Neural Networks, bridging spintronic and digital implementations through modular p-neurons. $V_{\mathit{probabilistic}} / V_{\mathit{DD}} = \frac{\mathit{TMR}}{2+\mathit{TMR}}$ captures a key tunability relation that governs probabilistic activation Range in high-TMR devices.
Abstract
Probabilistic bits (p-bits) have recently been employed in neural networks (NNs) as stochastic neurons with sigmoidal probabilistic activation functions. Nonetheless, there remain a wealth of other probabilistic activation functions that are yet to be explored. Here we re-engineer the p-bit by decoupling its stochastic signal path from its input data path, giving rise to a modular p-bit that enables the realization of probabilistic neurons (p-neurons) with a range of configurable probabilistic activation functions, including a probabilistic version of the widely used Logistic Sigmoid, Tanh and Rectified Linear Unit (ReLU) activation functions. We present spintronic (CMOS + sMTJ) designs that show wide and tunable probabilistic ranges of operation. Finally, we experimentally implement digital-CMOS versions on an FPGA, with stochastic unit sharing, and demonstrate an order of magnitude (10x) saving in required hardware resources compared to conventional digital p-bit implementations.
