arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1706.02393cs.CVcs.NE
收藏

ShiftCNN:一种用于卷积神经网络推理的通用低精度结构

ShiftCNN: Generalized Low-Precision Architecture for Inference of Convolutional Neural Networks

Panasonic Silicon Valley Lab(松下硅谷实验室)

Denis A. Gudovskiy, Luca Rigazio

摘要:

在本文中,我们介绍了ShiftCNN,一种用于无乘法器卷积神经网络(CNN)推理的通用低精度架构。ShiftCNN基于2的幂权重表示,因此仅执行移位和加法运算。此外,ShiftCNN通过预计算卷积项来大幅降低卷积层的计算成本。这种优化可以应用于具有相对小的权重码本的任何CNN架构,并且允许将乘积运算的数量减少至少两个数量级。所提出的架构目标定制推理加速器,并可以在FPGA或ASIC上实现。对ImageNet的广泛评估表明,当采用所提出的量化算法时,最先进的CNN可以在不重新训练的情况下转换为ShiftCNN,准确度下降不到1%。针对现代FPGA的RTL仿真表明,与传统的8位定点架构相比,卷积层的功耗降低了4倍。

英文摘要:

In this paper we introduce ShiftCNN, a generalized low-precision architecture for inference of multiplierless convolutional neural networks (CNNs). ShiftCNN is based on a power-of-two weight representation and, as a result, performs only shift and addition operations. Furthermore, ShiftCNN substantially reduces computational cost of convolutional layers by precomputing convolution terms. Such an optimization can be applied to any CNN architecture with a relatively small codebook of weights and allows to decrease the number of product operations by at least two orders of magnitude. The proposed architecture targets custom inference accelerators and can be realized on FPGAs or ASICs. Extensive evaluation on ImageNet shows that the state-of-the-art CNNs can be converted without retraining into ShiftCNN with less than 1% drop in accuracy when the proposed quantization algorithm is employed. RTL simulations, targeting modern FPGAs, show that power consumption of convolutional layers is reduced by a factor of 4 compared to conventional 8-bit fixed-point architectures.

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

↑