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

通过递归贝叶斯剪枝加速CNN

Accelerate CNN via Recursive Bayesian Pruning

Cooperative Medianet Innovation Center, Shanghai Jiao Tong University(上海交通大学协同媒体网络创新中心);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Yuefu Zhou, Ya Zhang, Yanfeng Wang, Qi Tian

摘要:

通道剪枝是一个NP难问题,它被广泛用于加速卷积神经网络。现有的方法为了计算简单,通常忽略了上述依赖性。为了解决这个问题,在贝叶斯框架下,我们提出了一种逐层递归贝叶斯修剪方法(RBP)。提出了一种新的基于丢弃率的冗余度度量方法,该方法在假设层间相关性的前提下,简化了后验估计的计算。具体来说,我们将跨层的噪声建模为马尔可夫链,并将其后验作为目标以反映层间依赖性。考虑到后验问题的封闭形式解是难以处理的,我们推导了一个稀疏诱导的Dirac-like先验,它规则化了设计噪声的分布,以自动逼近后验。与现有的方法相比,当假设层间依赖性时,不需要额外的开销。冗余通道可以通过微小的丢弃噪声简单地识别出来,并直接逐层修剪。在流行的CNN架构上的实验表明,所提出的方法优于几种最先进的方法。特别地,我们分别针对VGG 16和ResNet 50在大规模数据集ILSVRC 2012上实现了高达$\bf{5.0\times}$和$\bf{2.2\times}$ FLOP的减少,并且精度损失很小。

英文摘要:

Channel Pruning, widely used for accelerating Convolutional Neural Networks, is an NP-hard problem due to the inter-layer dependency of channel redundancy. Existing methods generally ignored the above dependency for computation simplicity. To solve the problem, under the Bayesian framework, we here propose a layer-wise Recursive Bayesian Pruning method (RBP). A new dropout-based measurement of redundancy, which facilitate the computation of posterior assuming inter-layer dependency, is introduced. Specifically, we model the noise across layers as a Markov chain and target its posterior to reflect the inter-layer dependency. Considering the closed form solution for posterior is intractable, we derive a sparsity-inducing Dirac-like prior which regularizes the distribution of the designed noise to automatically approximate the posterior. Compared with the existing methods, no additional overhead is required when the inter-layer dependency assumed. The redundant channels can be simply identified by tiny dropout noise and directly pruned layer by layer. Experiments on popular CNN architectures have shown that the proposed method outperforms several state-of-the-arts. Particularly, we achieve up to $\bf{5.0\times}$ and $\bf{2.2\times}$ FLOPs reduction with little accuracy loss on the large scale dataset ILSVRC2012 for VGG16 and ResNet50, respectively.

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

↑