MC^2RAM: Markov Chain Monte Carlo Sampling in SRAM for Fast Bayesian Inference

arXiv:2003.02629 First posted 2020-02-28 v1 This paper has been accepted at the IEEE International Symposium on Circuits and Systems (ISCAS) to be held in May 2020 at Seville, Spain
Cite this paper ×
BibTeX
@misc{shukla2020mcram,
  title = {MC^2RAM: Markov Chain Monte Carlo Sampling in SRAM for Fast Bayesian Inference},
  author = {Priyesh Shukla and Ahish Shylendra and Theja Tulabandhula and Amit Ranjan Trivedi},
  year = {2020},
  eprint = {2003.02629},
  archivePrefix = {arXiv},
  primaryClass = {eess.SP},
  url = {https://arxiv.org/abs/2003.02629}
}
APA
Shukla, P., Shylendra, A., Tulabandhula, T., & Trivedi, A. R. (2020). MC^2RAM: Markov Chain Monte Carlo Sampling in SRAM for Fast Bayesian Inference [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.02629
GB/T 7714
SHUKLA P, SHYLENDRA A, TULABANDHULA T, et al. MC^2RAM: Markov Chain Monte Carlo Sampling in SRAM for Fast Bayesian Inference[EB/OL]. (2020-02-28)[2026-11-29]. https://arxiv.org/abs/2003.02629.

Abstract

This work discusses the implementation of Markov Chain Monte Carlo (MCMC) sampling from an arbitrary Gaussian mixture model (GMM) within SRAM. We show a novel architecture of SRAM by embedding it with random number generators (RNGs), digital-to-analog converters (DACs), and analog-to-digital converters (ADCs) so that SRAM arrays can be used for high performance Metropolis-Hastings (MH) algorithm-based MCMC sampling. Most of the expensive computations are performed within the SRAM and can be parallelized for high speed sampling. Our iterative compute flow minimizes data movement during sampling. We characterize power-performance trade-off of our design by simulating on 45 nm CMOS technology. For a two-dimensional, two mixture GMM, the implementation consumes 91 micro-Watts power per sampling iteration and produces 500 samples in 2000 clock cycles on an average at 1 GHz clock frequency. Our study highlights interesting insights on how low-level hardware non-idealities can affect high-level sampling characteristics, and recommends ways to optimally operate SRAM within area/power constraints for high performance sampling.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!