arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.01762cs.DCcs.LGcs.NE
收藏

Deep Positron:一个使用Posit数系统的深度神经网络

Deep Positron: A Deep Neural Network Using the Posit Number System

Rochester Institute of Technology(罗切斯特理工学院);National University of Singapore(新加坡国立大学)

Zachariah Carmichael, Hamed F. Langroudi, Char Khazanov, Jeffrey Lillie, John L. Gustafson, Dhireesha Kudithipudi

摘要:

最近对深度神经网络(DNN)的兴趣激增,导致网络越来越复杂,对计算和内存资源造成了负担。许多DNN目前使用16位或32位浮点运算。当DNN加速器支持低精度数值格式时,可以获得显着的性能和功耗提升。尽管有大量的研究,但对于DNN训练和推理如何实现低精度操作仍然存在知识差距。在这项工作中,我们提出了一个DNN架构,深正电子,成功地在$\leq$ 8位的推理操作的数字格式。我们提出了一个精确自适应FPGA软核,用于精确的乘法和累加,以实现固定、浮点和浮点三种数值格式的统一比较。初步的结果表明,8位浮点数比8位固定或浮点数有更好的精度为三个不同的低维数据集。此外,精度可与Xilinx Virtex-7 FPGA器件上的32位浮点数相媲美。DNN性能和硬件资源(即延迟、功耗和资源利用率)之间的权衡表明,DNN在8位及以下的精度和延迟方面表现出色。

英文摘要:

The recent surge of interest in Deep Neural Networks (DNNs) has led to increasingly complex networks that tax computational and memory resources. Many DNNs presently use 16-bit or 32-bit floating point operations. Significant performance and power gains can be obtained when DNN accelerators support low-precision numerical formats. Despite considerable research, there is still a knowledge gap on how low-precision operations can be realized for both DNN training and inference. In this work, we propose a DNN architecture, Deep Positron, with posit numerical format operating successfully at $\leq$8 bits for inference. We propose a precision-adaptable FPGA soft core for exact multiply-and-accumulate for uniform comparison across three numerical formats, fixed, floating-point and posit. Preliminary results demonstrate that 8-bit posit has better accuracy than 8-bit fixed or floating-point for three different low-dimensional datasets. Moreover, the accuracy is comparable to 32-bit floating-point on a Xilinx Virtex-7 FPGA device. The trade-offs between DNN performance and hardware resources, i.e. latency, power, and resource utilization, show that posit outperforms in accuracy and latency at 8-bit and below.

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

↑