arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.07131cs.ARcs.AIeess.SP
收藏

状态空间方程的硬件综合;应用于FPGA实现浅层和深层神经网络

Hardware Synthesis of State-Space Equations; Application to FPGA Implementation of Shallow and Deep Neural Networks

Emory University(埃默里大学)

Amir-Hossein Kiamarzi, Pezhman Torabi, Reza Sameni

摘要:

目前,浅层和深层神经网络在生物医学工程、图像处理、计算机视觉和语音识别等领域有着广泛的应用。许多研究人员已经开发了硬件加速器,包括现场可编程门阵列(FPGA),用于实现高性能和节能的神经网络。显然,硬件架构的设计过程是具体的和耗时的每一个神经网络。因此,一个系统的方法来设计,实现和优化神经网络是非常必要的。本文提出了一种在寄存器传输级(RTL)实现状态空间模型的系统方法,特别是NN实现。所提出的设计流程是基于状态空间模型的迭代性质和状态空间公式与有限状态机之间的类比。该方法可用于线性/非线性和时变/时不变系统。它也可以用来实现固有的迭代系统(广泛用于各种领域,如信号处理,数值分析,计算机运算和控制工程),或系统,可以重写为等效的迭代形式。具有内在状态空间形式的递归神经网络(例如长短期记忆(LSTM)神经网络)的实现是该框架的另一个主要应用。作为一个案例研究,它表明,状态空间系统可以用于系统的实施和优化的神经网络(作为非线性和时变动态系统)。还在线提供RTL代码生成软件,该软件简化了任意大小的NN的自动生成。

英文摘要:

Nowadays, shallow and deep Neural Networks (NNs) have vast applications including biomedical engineering, image processing, computer vision, and speech recognition. Many researchers have developed hardware accelerators including field-programmable gate arrays (FPGAs) for implementing high-performance and energy efficient NNs. Apparently, the hardware architecture design process is specific and time-consuming for each NN. Therefore, a systematic way to design, implement and optimize NNs is highly demanded. The paper presents a systematic approach to implement state-space models in register transfer level (RTL), with special interest for NN implementation. The proposed design flow is based on the iterative nature of state-space models and the analogy between state-space formulations and finite-state machines. The method can be used in linear/nonlinear and time-varying/time-invariant systems. It can also be used to implement either intrinsically iterative systems (widely used in various domains such as signal processing, numerical analysis, computer arithmetic, and control engineering), or systems that could be rewritten in equivalent iterative forms. The implementation of recurrent NNs such as long short-term memory (LSTM) NNs, which have intrinsic state-space forms, are another major applications for this framework. As a case study, it is shown that state-space systems can be used for the systematic implementation and optimization of NNs (as nonlinear and time-varying dynamic systems). An RTL code generating software is also provided online, which simplifies the automatic generation of NNs of arbitrary size.

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

↑