先前的研究表明,Winograd算法可以降低卷积神经网络(CNN)的计算复杂性,其中权重和激活以浮点表示。然而,很难将该方案应用于低精度量化(例如INT 8)网络的推理。本文将Winograd算法推广到剩余数制(RNS)。使用Winograd变换和低成本(例如,8位)算法在滤波器和激活补丁的大变换瓦片(例如,10 x 10至16 x 16)上精确地计算最小复杂度卷积,而不会降低推理期间网络的预测准确性。对于3 × 3和5 × 5滤波器,算法复杂度降低高达7.03倍,而性能提高高达2.30倍至4.69倍。
英文摘要:
Prior research has shown that Winograd algorithm can reduce the computational complexity of convolutional neural networks (CNN) with weights and activations represented in floating point. However it is difficult to apply the scheme to the inference of low-precision quantized (e.g. INT8) networks. Our work extends the Winograd algorithm to Residue Number System (RNS). The minimal complexity convolution is computed precisely over large transformation tile (e.g. 10 x 10 to 16 x 16) of filters and activation patches using the Winograd transformation and low cost (e.g. 8-bit) arithmetic without degrading the prediction accuracy of the networks during inference. The arithmetic complexity reduction is up to 7.03x while the performance improvement is up to 2.30x to 4.69x for 3 x 3 and 5 x 5 filters respectively.
Exploring Winograd Convolution for Cost-effective Neural Network Fault Tolerance
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing Institute of Control Engineering(北京控制工程研究所);Institute of High Performance Computing, A*STAR(新加坡科技研究局高性能计算研究所)
深度卷积神经网络(CNN)被部署在各种应用中,但需要巨大的计算需求。剪枝技术和Winograd卷积是减少CNN计算量的两种典型方法。但是,它们不能直接组合,因为Winograd变换填充了修剪产生的稀疏性。Li et al.(2017)提出了稀疏Winograd卷积,其中权重直接在Winograd域中修剪,但这种技术不是很实用,因为Winograd域再训练需要较低的学习率,因此需要更长的训练时间。此外,Liu等人(2018)将ReLU函数移动到Winograd域中,这可以帮助增加权重稀疏性,但需要改变网络结构。为了在不改变网络结构的情况下实现Winograd域的高权值稀疏性,提出了一种新的剪枝方法-空间Winograd剪枝。首先,对空间域权值进行结构化修剪,有效地将空间域稀疏性转移到Winograd域,避免了Winograd域的再训练。对于下一步,我们还直接在Winograd域中执行修剪和再训练,但建议使用重要性因子矩阵来调整权重重要性和权重梯度。这种调整使得在不改变网络结构的情况下有效地重新训练修剪的Winograd-domain网络成为可能。对于CIFAR 10,CIFAR-100和ImageNet数据集上的三个模型,我们提出的方法可以分别实现63%,50%和74%的Winograd域稀疏度。
Winograd Convolution: A Perspective from Fault Tolerance
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Institute of High Performance Computing, A*STAR(新加坡科技研究局高性能计算研究所)
Stanford University(斯坦福大学);NVIDIA(英伟达);Massachusetts Institute of Technology(麻省理工学院);Google Brain(谷歌大脑)
卷积神经网络(CNN)是计算密集型的,这限制了其在移动设备上的应用。它们的能量主要取决于执行卷积所需的乘法次数。Winograd的最小过滤算法(Lavin,2015)和网络修剪(Han et al.,2015)可以减少操作计数,但是这两种方法不能直接组合$-$,应用Winograd变换填充权重和激活两者中的稀疏性。我们对基于Winograd的CNN提出了两个修改,以使这些方法能够利用稀疏性。首先,我们将ReLU操作移动到Winograd域中,以增加转换激活的稀疏性。其次,我们修剪Winograd域中的权重,以利用静态权重稀疏性。对于CIFAR-10,CIFAR-100和ImageNet数据集上的模型,我们的方法分别将乘法次数减少了$10.4\times$,$6.8\times$和$10.8\times$,准确性损失小于$0.1\%$,优于之前的基线$2.0\times$ - $3.0\times$。我们还表明,将ReLU移动到Winograd域可以进行更积极的修剪。
DWM: A Decomposable Winograd Method for Convolution Acceleration
SKL of Computer Architecture, Institute of Computing Technology, CAS(中国科学院计算技术研究所计算机体系结构国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Cambricon Tech. Ltd(寒武纪科技有限公司);Institute of Brain-Intelligence Technology, Zhangjiang Laboratory(张江实验室脑智科技研究所);Shanghai Research Center for Brian Science and Brain-Inspired Instelligence(上海脑科学与脑启发智能研究中心);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)
Noah’s Ark Lab, Huawei Technologies(华为技术有限公司诺亚方舟实验室);Peking University(北京大学);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)
SFC: Achieve Accurate Fast Convolution under Low-precision Arithmetic
School of Electronic Science and Engineering, Nanjing University(南京大学电子科学与工程学院);Interdisciplinary Research Center for Future Intelligent Chips (Chip-X), Nanjing University(南京大学未来智能芯片交叉研究中心(Chip-X))
Inferred global dense residue transition graphs from primary structure sequences enable protein interaction prediction via directed graph convolutional neural networks
Division of Computer Science Texas Woman’s University(计算机科学系德克萨斯女子大学);Department of Computer Science The University of Texas Rio Grande Valley(计算机科学系德克萨斯大学里奥格兰德谷分校)
RRCNN: A novel signal decomposition approach based on recurrent residue convolutional neural network
Guangdong University of Finance and Economics(广东财经大学);University of L’Aquila(拉奎拉大学);Istituto di Astrofisica e Planetologia Spaziali, INAF(意大利国家天体物理研究所空间天体物理与行星学研究所);Istituto Nazionale di Geofisica e Vulcanologia(意大利国家地球物理与火山学研究所);Georgia Institute of Technology(佐治亚理工学院)
Boosting Convolutional Neural Networks' Protein Binding Site Prediction Capacity Using SE(3)-invariant transformers, Transfer Learning and Homology-based Augmentation