arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.10759cs.ETcs.AIcs.AR
收藏

精确且容错的模拟神经网络蓝图

A Blueprint for Precise and Fault-Tolerant Analog Neural Networks

Boston University(波士顿大学);Lightmatter(莱特马特公司)

Cansu Demirkiran, Lakshmi Nair, Darius Bunandar, Ajay Joshi

AI总结:

本文提出基于余数数制(RNS)的模拟神经网络方案,以低精度转换器实现接近 FP32 的推理与训练精度,并利用冗余 RNS 纠错码提供容错能力。

摘要:

模拟计算作为加速深度神经网络(DNN)的一种有前景的途径重新兴起,因为它有可能克服传统数字架构所带来的能效和可扩展性挑战。然而,使用此类技术实现高精度和 DNN 准确率颇具挑战,因为高精度数据转换器成本高昂且不切实际。在本文中,我们通过使用余数数制(RNS)来应对这一挑战。RNS 允许由多个低精度运算组合成高精度运算,从而消除由数据转换器精度有限所导致的信息损失。我们的研究表明,采用基于 RNS 方法的模拟加速器仅使用 6 位精度的数据转换器,即可在最先进的 DNN 推理中达到 FP32 准确率的 99% 以上;而传统模拟核心在相同 DNN 中达到相同准确率则需要超过 8 位的精度。降低的精度要求意味着,使用 RNS 可将模拟加速器的能耗降低数个数量级,同时保持相同的吞吐量和精度。我们的研究将该方法扩展到 DNN 训练,即可以使用 7 位整数算术高效训练 DNN,同时达到与 FP32 精度相当的准确率。最后,我们提出了一种使用冗余 RNS 纠错码的容错数据流,以保护计算免受模拟加速器内部固有噪声和错误的影响。

英文摘要:

Analog computing has reemerged as a promising avenue for accelerating deep neural networks (DNNs) due to its potential to overcome the energy efficiency and scalability challenges posed by traditional digital architectures. However, achieving high precision and DNN accuracy using such technologies is challenging, as high-precision data converters are costly and impractical. In this paper, we address this challenge by using the residue number system (RNS). RNS allows composing high-precision operations from multiple low-precision operations, thereby eliminating the information loss caused by the limited precision of the data converters. Our study demonstrates that analog accelerators utilizing the RNS-based approach can achieve ${\geq}99\%$ of FP32 accuracy for state-of-the-art DNN inference using data converters with only $6$-bit precision whereas a conventional analog core requires more than $8$-bit precision to achieve the same accuracy in the same DNNs. The reduced precision requirements imply that using RNS can reduce the energy consumption of analog accelerators by several orders of magnitude while maintaining the same throughput and precision. Our study extends this approach to DNN training, where we can efficiently train DNNs using $7$-bit integer arithmetic while achieving accuracy comparable to FP32 precision. Lastly, we present a fault-tolerant dataflow using redundant RNS error-correcting codes to protect the computation against noise and errors inherent within an analog accelerator.

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

↑