马尔科夫蒙特卡洛
概率逻辑
计算机科学
马尔可夫链
静态随机存取存储器
蒙特卡罗方法
算法
精确统计数据
采样(信号处理)
并行计算
理论计算机科学
数学
计算机硬件
统计
人工智能
置信区间
滤波器(信号处理)
机器学习
计算机视觉
作者
Yihan Fu,Daijing Shi,Anjunyi Fan,Wenshuo Yue,Yuchao Yang,Ru Huang,Bonan Yan
出处
期刊:IEEE Transactions on Circuits and Systems I-regular Papers
[Institute of Electrical and Electronics Engineers]
日期:2023-12-07
卷期号:71 (2): 703-716
被引量:3
标识
DOI:10.1109/tcsi.2023.3337529
摘要
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^{-6}$ . 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 $\sim$ 32-bit samples with an energy efficiency of 0.53 pJ/sample and high throughput of up to 1066.7M samples/s. Compared to conventional processors, the overall energy efficiency improves $2.12\times10^{9}$ to $9.58\times10^{9}$ times.
科研通智能强力驱动
Strongly Powered by AbleSci AI