AdderNet及其面向节能人工智能的最简硬件设计
AdderNet and its Minimalist Hardware Design for Energy-Efficient Artificial Intelligence
摘要:
卷积神经网络(CNN)已被广泛用于提高许多机器智能任务的性能。然而,CNN模型通常是计算密集型和能量消耗型的,因为出于准确性原因,它们通常被设计成具有许多乘法运算和相当大的参数。因此,很难将它们直接应用于资源受限的环境中,例如“物联网”(IoT)设备和智能手机。为了降低计算复杂性和能量负担,提出了一种基于加法器卷积神经网络(AdderNet)的最小硬件架构,将原卷积替换为仅使用加法的加法器核。为了最大限度地挖掘潜在的能量消耗,本文采用共享比例因子的方法对AdderNet的低位量化算法进行了探索,并设计了专用和通用的AdderNet硬件加速器。实验结果表明,采用int 8/int 16量化的加法器内核也具有高性能,同时消耗更少的资源(理论上约81%)。此外,本文还将量化后的AdderNet部署在FPGA(Field Programmable门阵列)平台上。在相同的电路结构下,整个AdderNet与CNN相比,速度提高了16%,逻辑资源利用率降低了67.6%-71.4%,功耗降低了47.85%-77.9%.通过对性能、功耗、硬件资源消耗和网络泛化能力的综合比较,我们得出结论:AdderNet能够超越经典的CNN、新型忆阻网络、XNOR-Net和基于移位核的网络等所有竞争对手,表明其在未来高性能和节能的人工智能应用中具有巨大的潜力。
英文摘要:
Convolutional neural networks (CNN) have been widely used for boosting the performance of many machine intelligence tasks. However, the CNN models are usually computationally intensive and energy consuming, since they are often designed with numerous multiply-operations and considerable parameters for the accuracy reason. Thus, it is difficult to directly apply them in the resource-constrained environments such as 'Internet of Things' (IoT) devices and smart phones. To reduce the computational complexity and energy burden, here we present a novel minimalist hardware architecture using adder convolutional neural network (AdderNet), in which the original convolution is replaced by adder kernel using only additions. To maximally excavate the potential energy consumption, we explore the low-bit quantization algorithm for AdderNet with shared-scaling-factor method, and we design both specific and general-purpose hardware accelerators for AdderNet. Experimental results show that the adder kernel with int8/int16 quantization also exhibits high performance, meanwhile consuming much less resources (theoretically ~81% off). In addition, we deploy the quantized AdderNet on FPGA (Field Programmable Gate Array) platform. The whole AdderNet can practically achieve 16% enhancement in speed, 67.6%-71.4% decrease in logic resource utilization and 47.85%-77.9% decrease in power consumption compared to CNN under the same circuit architecture. With a comprehensive comparison on the performance, power consumption, hardware resource consumption and network generalization capability, we conclude the AdderNet is able to surpass all the other competitors including the classical CNN, novel memristor-network, XNOR-Net and the shift-kernel based network, indicating its great potential in future high performance and energy-efficient artificial intelligence applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。