ExPAN(N)D:探索在基于FPGA的系统中使用Posit数制进行高效人工神经网络设计
ExPAN(N)D: Exploring Posits for Efficient Artificial Neural Network Design in FPGA-based Systems
AI总结:
本文提出ExPAN(N)D框架,结合Posit数制与定点算术,通过新颖的转换器和参数表示,在FPGA上实现高效ANN,显著降低存储和能耗。
摘要:
机器学习的最新进展,尤其是人工神经网络(ANN)的进展,使得智能嵌入式系统成为更多应用领域的有吸引力的选择。然而,机器学习模型的高计算复杂度、内存占用和能量需求阻碍了它们在资源受限的嵌入式系统上的部署。大多数最先进的工作通过提出各种低比特宽度的数据表示方案、优化算术运算器的实现以及不同的复杂度降低技术(如网络剪枝)来考虑这个问题。为了进一步提升这些单独技术带来的实现收益,需要交叉检验并组合这些技术的独特特性。本文提出了ExPAN(N)D,一个用于分析和汇集Posit数表示方案的有效性以及ANN的定点算术实现效率的框架。Posit方案相比IEEE 754单精度浮点格式,为各种应用提供了更好的动态范围和更高的精度。然而,由于Posit方案各个字段的动态特性,相应的算术电路相比基于单精度的算术单元,具有更高的关键路径延迟和资源需求。为此,我们提出了一种新颖的Posit到定点转换器,以实现高性能和能量高效的ANN硬件实现,同时输出精度下降最小。我们还提出了一种基于Posit的修改表示来存储网络的训练参数。与基于8位定点的推理加速器相比,我们提出的实现分别减少了约46%的参数存储需求和约18%的MAC单元能耗。
英文摘要:
The recent advances in machine learning, in general, and Artificial Neural Networks (ANN), in particular, has made smart embedded systems an attractive option for a larger number of application areas. However, the high computational complexity, memory footprints, and energy requirements of machine learning models hinder their deployment on resource-constrained embedded systems. Most state-of-the-art works have considered this problem by proposing various low bit-width data representation schemes, optimized arithmetic operators' implementations, and different complexity reduction techniques such as network pruning. To further elevate the implementation gains offered by these individual techniques, there is a need to cross-examine and combine these techniques' unique features. This paper presents ExPAN(N)D, a framework to analyze and ingather the efficacy of the Posit number representation scheme and the efficiency of fixed-point arithmetic implementations for ANNs. The Posit scheme offers a better dynamic range and higher precision for various applications than IEEE $754$ single-precision floating-point format. However, due to the dynamic nature of the various fields of the Posit scheme, the corresponding arithmetic circuits have higher critical path delay and resource requirements than the single-precision-based arithmetic units. Towards this end, we propose a novel Posit to fixed-point converter for enabling high-performance and energy-efficient hardware implementations for ANNs with minimal drop in the output accuracy. We also propose a modified Posit-based representation to store the trained parameters of a network. Compared to an $8$-bit fixed-point-based inference accelerator, our proposed implementation offers $\approx46\%$ and $\approx18\%$ reductions in the storage requirements of the parameters and energy consumption of the MAC units, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。