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

精确、无乘法器的深度神经网络的软硬件协同设计

Hardware-Software Codesign of Accurate, Multiplier-free Deep Neural Networks

Hokchhay Tann, Soheil Hashemi, Iris Bahar, Sherief Reda

摘要:

虽然深度神经网络(DNN)在许多机器学习应用中推动了最先进的技术,但它们通常需要为每个输入分类进行数百万次昂贵的浮点运算。这种计算开销限制了DNN对低功耗嵌入式平台的适用性,并导致数据中心的高成本。这激发了人们对基于定点、三进制甚至二进制数据精度设计低功耗、低延迟DNN的兴趣。虽然该领域最近的工作提供了有希望的结果,但与浮点网络相比,它们往往会导致大幅准确度下降。我们提出了一种新的方法,将基于浮点数的DNN映射到具有2的整数幂权重的8位动态定点网络,而不改变网络架构。我们的动态定点DNN允许层之间具有不同的基数点。在推理期间,2的幂权重允许用算术移位代替乘法,而8位定点表示简化了缓冲器和加法器设计。此外,我们提出了一个硬件加速器的设计,以实现低功耗,低延迟的推理与微不足道的退化的准确性。使用CIFAR-10和ImageNet数据集的自定义加速器设计,我们证明了我们的方法在提高分类准确性的同时实现了显着的功耗和能耗节省。

英文摘要:

While Deep Neural Networks (DNNs) push the state-of-the-art in many machine learning applications, they often require millions of expensive floating-point operations for each input classification. This computation overhead limits the applicability of DNNs to low-power, embedded platforms and incurs high cost in data centers. This motivates recent interests in designing low-power, low-latency DNNs based on fixed-point, ternary, or even binary data precision. While recent works in this area offer promising results, they often lead to large accuracy drops when compared to the floating-point networks. We propose a novel approach to map floating-point based DNNs to 8-bit dynamic fixed-point networks with integer power-of-two weights with no change in network architecture. Our dynamic fixed-point DNNs allow different radix points between layers. During inference, power-of-two weights allow multiplications to be replaced with arithmetic shifts, while the 8-bit fixed-point representation simplifies both the buffer and adder design. In addition, we propose a hardware accelerator design to achieve low-power, low-latency inference with insignificant degradation in accuracy. Using our custom accelerator design with the CIFAR-10 and ImageNet datasets, we show that our method achieves significant power and energy savings while increasing the classification accuracy.

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

↑