arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.07476cs.DC
收藏

面向高能效in-RTM深度神经网络的一种横向读取辅助的随机计算MAC快速有效位收集方法

A Transverse-Read-assisted Fast Valid-Bits Collection in Stochastic Computing MACs for Energy-Efficient in-RTM DNNs

Jihe Wang, Zhiying Zhang, Xingwu Dong, Danghui Wang

AI总结:

本文提出横向读取辅助的随机计算MAC架构,通过并行TR、伪分形压缩、异步调度和交错数据放置实现快速有效位收集,在in-RTM深度神经网络中较CORUSCANT取得2.88-4.40倍加速并降低能耗。

摘要:

将赛道存储器(RM)与随机计算(SC)协同起来构建超低功耗神经元架构看起来非常有吸引力。然而,上述组合一直受到一个致命弱点的质疑:RM-MTJ繁重的有效位收集,即累加并行计数器(APCs),在物理上无法满足高能效内存内深度神经网络的要求。幸运的是,最近发展起来的横向读取(Transverse-Read,TR)通过检测单根纳米线上两个MTJ之间的畴壁电阻,提供了一种轻量级的有效位收集方式。在本工作中,我们首先提出了一种神经元架构,利用并行TR为随机计算构建超快速有效位收集,其中向量乘法被成功降级为快速的TR操作。为解决有限TR存储体所导致的完整随机序列的巨大存储需求,设计了一种混合编码,即伪分形压缩,以分段方式生成随机序列。为克服并行提前终止带来的错位问题,进一步设计了TR的异步调度来规范化向量化过程,其中来自不同通道的有效位在多个RM堆栈中合并,实现向量级有效位收集。然而,TR的一个固有缺陷,即相邻部分无法同时访问,可能限制并行向量乘法的吞吐量,因此采用交错数据放置以在不同向量之间充分利用存储器总线。结果表明,与CORUSCANT相比,TR辅助的SC-MAC实现了2.88倍至4.40倍的加速,同时能耗降低了1.26倍至1.42倍。

英文摘要:

It looks very attractive to coordinate racetrack-memory (RM) and stochastic-computing (SC) jointly to build an ultra-low power neuron-architecture.However, the above combination has always been questioned in a fatal weakness that the heavy valid-bits collection of RM-MTJ, a.k.a. accumulative parallel counters (APCs), cannot physically match the requirement for energy-efficient in-memory DNNs.Fortunately, a recently developed Transverse-Read (TR) provides a lightweight collection of valid-bits by detecting domain-wall resistance between a couple of MTJs on a single nanowire.In this work, we first propose a neuron-architecture that utilizes parallel TRs to build an ultra-fast valid-bits collection for SC, in which, a vector multiplication is successfully degraded as swift TRs.To solve huge storage for full stochastic sequences caused by the limited TR banks, a hybrid coding, pseudo-fractal compression, is designed to generate stochastic sequences by segments.To overcome the misalignment by the parallel early-termination, an asynchronous schedule of TR is further designed to regularize the vectorization, in which, the valid-bits from different lanes are merged in multiple RM-stacks for vector-level valid-bits collection.However, an inherent defect of TR, i.e., neighbor parts cannot be accessed simultaneously, could limit the throughput of the parallel vector multiplication, therefore, an interleaving data placement is used for full utilization of memory bus among different vectors.The results show that the SC-MAC assisted with TR achieves $2.88\times-4.40\times $speedup compared to CORUSCANT, at the same time, energy consumption is reduced by $1.26\times-1.42\times$.

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

↑