DTNN:边缘视觉应用中基于树枝状树启发的神经网络的节能推理
DTNN: Energy-efficient Inference with Dendrite Tree Inspired Neural Networks for Edge Vision Applications
摘要:
深度神经网络(DNN)在计算机视觉(CV)中取得了显著的成功。然而,DNN模型的训练和推理都是内存和计算密集型的,在能耗和硅面积方面会产生显著的开销。特别是,推理比训练对成本更敏感,因为训练可以通过强大的平台离线完成,而推理可能必须在具有受限形状因子的电池供电设备上完成,特别是对于移动或边缘视觉应用。为了加速DNN推理,提出了模型量化。然而,以前的工作只关注量化率,而不考虑操作的效率。在本文中,我们提出了基于树突树的神经网络(DTNN)的能量有效的推理与激活量化启用查表操作。在DTNN中,既消除了昂贵的权重访问和算术计算的推理。我们在各种DNN模型上进行了实验,如LeNet-5,MobileNet,VGG和ResNet,使用不同的数据集,包括MNIST,Cifar 10/Cifar 100,SVHN和ImageNet。DTNN实现了显着的节能(使用ImageNet的ResNet-18和VGG-11分别提高了19.4倍和64.9倍),准确性损失可以忽略不计。为了进一步验证DTNN的有效性,并与最先进的低能量实现边缘视觉相比,我们设计和实现基于DTNN的MLP图像分类器使用现成的FPGA。结果表明,DTNN在FPGA上,具有更高的精度,可以实现数量级更好的能源消耗和延迟相比,最先进的低能耗的方法,使用ASIC芯片报道。
英文摘要:
Deep neural networks (DNN) have achieved remarkable success in computer vision (CV). However, training and inference of DNN models are both memory and computation intensive, incurring significant overhead in terms of energy consumption and silicon area. In particular, inference is much more cost-sensitive than training because training can be done offline with powerful platforms, while inference may have to be done on battery powered devices with constrained form factors, especially for mobile or edge vision applications. In order to accelerate DNN inference, model quantization was proposed. However previous works only focus on the quantization rate without considering the efficiency of operations. In this paper, we propose Dendrite-Tree based Neural Network (DTNN) for energy-efficient inference with table lookup operations enabled by activation quantization. In DTNN both costly weight access and arithmetic computations are eliminated for inference. We conducted experiments on various kinds of DNN models such as LeNet-5, MobileNet, VGG, and ResNet with different datasets, including MNIST, Cifar10/Cifar100, SVHN, and ImageNet. DTNN achieved significant energy saving (19.4X and 64.9X improvement on ResNet-18 and VGG-11 with ImageNet, respectively) with negligible loss of accuracy. To further validate the effectiveness of DTNN and compare with state-of-the-art low energy implementation for edge vision, we design and implement DTNN based MLP image classifiers using off-the-shelf FPGAs. The results show that DTNN on the FPGA, with higher accuracy, could achieve orders of magnitude better energy consumption and latency compared with the state-of-the-art low energy approaches reported that use ASIC chips.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。