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

基于可分离滤波器的二值化卷积神经网络及其硬件加速

Binarized Convolutional Neural Networks with Separable Filters for Efficient Hardware Acceleration

UC San Diego(加州大学圣地亚哥分校);UC Los Angeles(加州大学洛杉矶分校);Cornell University(康奈尔大学)

Jeng-Hau Lin, Tianwei Xing, Ritchie Zhao, Zhiru Zhang, Mani Srivastava, Zhuowen Tu, Rajesh K. Gupta

摘要:

最先进的卷积神经网络在计算和存储方面都非常昂贵,需要大规模并行GPU来执行。这种网络使嵌入式和移动处理平台的计算能力和能量紧张,限制了它们在许多重要应用中的使用。在本文中,我们通过提出具有可分离滤波器的BCNN(BCNNw/SF)来推动硬件有效的CNN设计的边界,该BCNNw/SF在BCNN内核上应用奇异值分解(SVD)以进一步降低计算和存储复杂度。为了使其实现,我们提供了SVD上的梯度的闭合形式,以计算反向传播中相对于每个二进制化权重的精确梯度。我们在MNIST,CIFAR-10和SVHN数据集上验证BCNNw/SF,并在FPGA硬件上实现CIFAR-10的加速器。与BCNN相比,我们的BCNNw/SF加速器实现了17%的内存节省和31.3%的执行时间减少,只有很小的准确性牺牲。

英文摘要:

State-of-the-art convolutional neural networks are enormously costly in both compute and memory, demanding massively parallel GPUs for execution. Such networks strain the computational capabilities and energy available to embedded and mobile processing platforms, restricting their use in many important applications. In this paper, we push the boundaries of hardware-effective CNN design by proposing BCNN with Separable Filters (BCNNw/SF), which applies Singular Value Decomposition (SVD) on BCNN kernels to further reduce computational and storage complexity. To enable its implementation, we provide a closed form of the gradient over SVD to calculate the exact gradient with respect to every binarized weight in backward propagation. We verify BCNNw/SF on the MNIST, CIFAR-10, and SVHN datasets, and implement an accelerator for CIFAR-10 on FPGA hardware. Our BCNNw/SF accelerator realizes memory savings of 17% and execution time reduction of 31.3% compared to BCNN with only minor accuracy sacrifices.

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

↑