$MC^2RAM$:用于快速贝叶斯推理的SRAM中的马尔可夫链蒙特卡罗抽样
$MC^2RAM$: Markov Chain Monte Carlo Sampling in SRAM for Fast Bayesian Inference
摘要:
本文讨论了在SRAM中实现任意高斯混合模型(GMM)的马尔可夫链蒙特卡罗(MCMC)采样。我们展示了一种新的SRAM架构,通过嵌入随机数发生器(RNG),数模转换器(DAC)和模数转换器(ADC),使SRAM阵列可用于高性能的大都会黑斯廷斯(MH)算法为基础的MCMC采样。大多数昂贵的计算都在SRAM中执行,并且可以并行化以实现高速采样。我们的迭代计算流程最大限度地减少了采样期间的数据移动。我们的特点是功耗性能权衡我们的设计通过模拟45纳米CMOS工艺。对于二维、两个混合GMM,该实现每次采样迭代消耗约91微瓦功率,并且在1GHz时钟频率下平均在2000个时钟周期中产生500个样本。我们的研究突出了关于低级硬件非理想性如何影响高级采样特性的有趣见解,并推荐了在面积/功耗限制内优化SRAM操作以实现高性能采样的方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。