arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.00051cs.NEcs.SYeess.SY
收藏

面向神经处理应用的硬件加速器设计与实现

Design and Implementation of Hardware Accelerators for Neural Processing Applications

Shilpa Mayannavar, Uday Wali

AI总结:

本研究针对新提出的可解释ARN网络应用基础薄弱的问题,开发了基于2层ARN的图像识别系统(在MNIST子集上达94%准确率),并提出多操作数加法进位位精确计算定理,为ARN设计低开销、高吞吐量的模块化硬件加速器。

摘要:

本工作的核心动因是需要为一种新提出的、用于机器人运动规划的人工神经网络(ANN)结构——Auto Resonance Network(ARN,自谐振网络)——实现硬件加速器。ARN是一种可逼近的前馈分层可解释网络,可应用于多种AI场景,但此前的应用基础较为薄弱。因此,本研究的目标分为两部分:开发基于ARN的新应用,以及为ARN实现硬件加速器。\n根据博士委员会的建议,本研究实现了一套基于ARN的图像识别系统。仅使用2层ARN就达到了约94%的准确率,该网络所需的训练数据集也很小,仅约500张图像。本次实验使用了公开的MNIST数据集,所有代码均采用Python编写。\n人工神经网络中存在的大规模并行性为CPU设计带来了诸多挑战。对于乘法这类给定功能,在相同的面积内可以实现多个串行模块的副本,其数量等同于一个并行模块所占面积。本研究讨论了面积约束下串行模块相较于并行模块的优势。多操作数加法是人工神经网络中常用的模块之一,其实现的一个难题是操作数数量变化时的进位位估计问题。论文中提出了一个定理,可精确计算多操作数加法所需的进位位数量,从而解决了这一问题。采用模块化方法实现多操作数加法的主要优势在于可以实现流水线加法,且重配置开销低。这对于大量加法运算(常见于多种深度神经网络(DNN)配置中)而言,能够整体提升吞吐量。

英文摘要:

Primary motivation for this work was the need to implement hardware accelerators for a newly proposed ANN structure called Auto Resonance Network (ARN) for robotic motion planning. ARN is an approximating feed-forward hierarchical and explainable network. It can be used in various AI applications but the application base was small. Therefore, the objective of the research was twofold: to develop a new application using ARN and to implement a hardware accelerator for ARN. As per the suggestions given by the Doctoral Committee, an image recognition system using ARN has been implemented. An accuracy of around 94% was achieved with only 2 layers of ARN. The network also required a small training data set of about 500 images. Publicly available MNIST dataset was used for this experiment. All the coding was done in Python. Massive parallelism seen in ANNs presents several challenges to CPU design. For a given functionality, e.g., multiplication, several copies of serial modules can be realized within the same area as a parallel module. Advantage of using serial modules compared to parallel modules under area constraints has been discussed. One of the module often useful in ANNs is a multi-operand addition. One problem in its implementation is that the estimation of carry bits when the number of operands changes. A theorem to calculate exact number of carry bits required for a multi-operand addition has been presented in the thesis which alleviates this problem. The main advantage of the modular approach to multi-operand addition is the possibility of pipelined addition with low reconfiguration overhead. This results in overall increase in throughput for large number of additions, typically seen in several DNN configurations.

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

↑