Probabilistic Compute-in-Memory Design For Efficient Markov Chain Monte Carlo Sampling

07/16/2023
by   Yihan Fu, et al.
0

Markov chain Monte Carlo (MCMC) is a widely used sampling method in modern artificial intelligence and probabilistic computing systems. It involves repetitive random number generations and thus often dominates the latency of probabilistic model computing. Hence, we propose a compute-in-memory (CIM) based MCMC design as a hardware acceleration solution. This work investigates SRAM bitcell stochasticity and proposes a novel “pseudo-read” operation, based on which we offer a block-wise random number generation circuit scheme for fast random number generation. Moreover, this work proposes a novel multi-stage exclusive-OR gate (MSXOR) design method to generate strictly uniformly distributed random numbers. The probability error deviating from a uniform distribution is suppressed under 10^-5. Also, this work presents a novel in-memory copy circuit scheme to realize data copy inside a CIM sub-array, significantly reducing the use of R/W circuits for power saving. Evaluated in a commercial 28-nm process development kit, this CIM-based MCMC design generates 4-bit∼32-bit samples with an energy efficiency of 0.53 pJ/sample and high throughput of up to 166.7M samples/s. Compared to conventional processors, the overall energy efficiency improves 5.41×10^11 to 2.33×10^12 times.

READ FULL TEXT

page 1

page 4

page 5

page 8

page 9

page 10

page 11

research
10/24/2022

Understanding Linchpin Variables in Markov Chain Monte Carlo

An introduction to the use of linchpin variables in Markov chain Monte...
research
06/29/2018

Quasi Markov Chain Monte Carlo Methods

Quasi-Monte Carlo (QMC) methods for estimating integrals are attractive ...
research
03/22/2018

Frequency violations from random disturbances: an MCMC approach

The frequency stability of power systems is increasingly challenged by v...
research
04/12/2023

CMOS + stochastic nanomagnets: heterogeneous computers for probabilistic inference and learning

Extending Moore's law by augmenting complementary-metal-oxide semiconduc...
research
10/27/2019

A Case for Quantifying Statistical Robustness of Specialized Probabilistic AI Accelerators

Statistical machine learning often uses probabilistic algorithms, such a...
research
07/29/2019

Blue-Noise Dithered QMC Hierarchical Russian Roulette

In order to efficiently sample specular-diffuse-glossy and glossy-diffus...
research
07/08/2020

Deep Fiducial Inference

Since the mid-2000s, there has been a resurrection of interest in modern...

Please sign up or login with your details

Forgot password? Click here to reset