arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.08340cs.ETcs.AR
收藏

基于ReRAM的全内存随机计算

All-in-Memory Stochastic Computing using ReRAM

João Paulo C. de Lima, Mehran Shoushtari Moghadam, Sercan Aygun, Jeronimo Castrillon, M. Hassan Najafi, Asif Ali Khan

AI总结:

本文提出利用ReRAM器件物理特性实现全内存随机计算,原位完成随机数生成、随机计算和比特流转换,在吞吐量和能耗上显著优于现有方案,同时以仅5%的图像质量下降应对ReRAM低可靠性问题。

摘要:

随着嵌入式和边缘设备对高效、低功耗计算需求的增长,传统计算方法在处理复杂任务时变得愈发低效。随机计算(SC)提供了一种有前景的替代方案,它通过对随机比特流执行简单的按位运算(如多数门或与门)来近似复杂的算术运算(如加法和乘法)。虽然SC运算天然具备容错能力,但其精度在很大程度上取决于随机比特流(SBS)的长度和质量。这些比特流通常由基于CMOS的随机比特流生成器产生,而该生成器消耗了SC系统超过80%的功耗和面积。当前的SC解决方案主要关注逻辑门优化,却往往忽视了比特流在存储器和处理器之间搬运所带来的高昂成本。本工作利用新兴ReRAM器件的物理特性,将整个SC流程原位实现:(1)生成低成本的真正随机数和SBS,(2)执行SC运算,以及(3)将SBS转换回二进制。考虑到ReRAM单元的低可靠性,我们展示了SC对错误的鲁棒性如何应对ReRAM的工艺波动。我们的评估表明,与最先进的(基于CMOS和基于ReRAM的)解决方案相比,吞吐量分别提升了1.39倍和2.16倍,能耗分别降低了1.15倍和2.8倍,同时在多种SBS长度和图像处理任务中平均图像质量下降仅为5%。

英文摘要:

As the demand for efficient, low-power computing in embedded and edge devices grows, traditional computing methods are becoming less effective for handling complex tasks. Stochastic computing (SC) offers a promising alternative by approximating complex arithmetic operations, such as addition and multiplication, using simple bitwise operations, like majority or AND, on random bit-streams. While SC operations are inherently fault-tolerant, their accuracy largely depends on the length and quality of the stochastic bit-streams (SBS). These bit-streams are typically generated by CMOS-based stochastic bit-stream generators that consume over 80% of the SC system's power and area. Current SC solutions focus on optimizing the logic gates but often neglect the high cost of moving the bit-streams between memory and processor. This work leverages the physics of emerging ReRAM devices to implement the entire SC flow in place: (1) generating low-cost true random numbers and SBSs, (2) conducting SC operations, and (3) converting SBSs back to binary. Considering the low reliability of ReRAM cells, we demonstrate how SC's robustness to errors copes with ReRAM's variability. Our evaluation shows significant improvements in throughput (1.39x, 2.16x) and energy consumption (1.15x, 2.8x) over state-of-the-art (CMOS- and ReRAM-based) solutions, respectively, with an average image quality drop of 5% across multiple SBS lengths and image processing tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑