arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.13850cs.LGcs.ETstat.ML
收藏

在模拟NVM交叉开关上部署DNN IoT应用程序的培训

Training DNN IoT Applications for Deployment On Analog NVM Crossbars

Arm Ltd. Cambridge(Arm有限公司剑桥);Arm Ltd. San José(Arm有限公司圣何塞)

Fernando García-Redondo, Shidhartha Das, Glen Rosendale

摘要:

能源效率、安全性和隐私性的趋势导致了最近对在微控制器上部署DNN的关注。然而,计算和内存资源的限制限制了可部署在这些系统中的ML模型的大小和复杂性。基于电阻式非易失性存储器(NVM)技术的存储器中计算架构在满足现代DNN中固有的高性能和低功率的计算和存储器需求方面具有很大的前景。然而,这些技术仍然不成熟,并且遭受固有的模拟域噪声问题和不能在NVM结构中表示负权重的问题,从而导致较大的交叉开关尺寸,同时对ADC和DAC产生影响。在本文中,我们提供了一个培训框架,以应对这些挑战,并定量评估电路级的效率收益,从而积累。我们做两个贡献:首先,我们提出了一种训练算法,该算法消除了调整DNN各个层的需要,从而确保层权重和激活的一致性。这确保了模拟模块可以重复使用,并大大减少了外围硬件。其次,使用NAS方法,我们提出使用单极加权(全正或全负权重)矩阵/子矩阵。重量单极消除了需要加倍的交叉杆面积,从而简化了模拟外围设备。我们验证我们的方法与CIFAR 10和HAR应用程序映射到交叉使用4位和2位设备。我们使用HAR的2位唯一正权重实现高达92:91%的准确度(95%浮点)。所提出的技术的组合导致80%的面积改善和高达45%的能源减少。

英文摘要:

A trend towards energy-efficiency, security and privacy has led to a recent focus on deploying DNNs on microcontrollers. However, limits on compute and memory resources restrict the size and the complexity of the ML models deployable in these systems. Computation-In-Memory architectures based on resistive nonvolatile memory (NVM) technologies hold great promise of satisfying the compute and memory demands of high-performance and low-power, inherent in modern DNNs. Nevertheless, these technologies are still immature and suffer from both the intrinsic analog-domain noise problems and the inability of representing negative weights in the NVM structures, incurring in larger crossbar sizes with concomitant impact on ADCs and DACs. In this paper, we provide a training framework for addressing these challenges and quantitatively evaluate the circuit-level efficiency gains thus accrued. We make two contributions: Firstly, we propose a training algorithm that eliminates the need for tuning individual layers of a DNN ensuring uniformity across layer weights and activations. This ensures analog-blocks that can be reused and peripheral hardware substantially reduced. Secondly, using NAS methods, we propose the use of unipolar-weighted (either all-positive or all-negative weights) matrices/sub-matrices. Weight unipolarity obviates the need for doubling crossbar area leading to simplified analog periphery. We validate our methodology with CIFAR10 and HAR applications by mapping to crossbars using 4-bit and 2-bit devices. We achieve up to 92:91% accuracy (95% floating-point) using 2-bit only-positive weights for HAR. A combination of the proposed techniques leads to 80% area improvement and up to 45% energy reduction.

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

↑