arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.02623cs.CVcs.LG
收藏

基于可学习缩放因子的综合在线网络剪枝

Comprehensive Online Network Pruning via Learnable Scaling Factors

Lahore University of Management Sciences(拉合尔管理科学大学)

Muhammad Umair Haider, Murtaza Taj

摘要:

部署深度神经网络架构的主要挑战之一是它们的大小,这对它们的推理时间和内存需求有不利影响。深度CNN可以通过根据其重要性删除过滤器来进行宽度修剪,也可以通过删除层和块来进行深度修剪。宽度修剪(过滤器修剪)通常通过可学习的门或开关和稀疏正则化器来执行,而层的修剪迄今为止通过手动设计通常称为学生网络的较小网络来任意执行。我们提出了一个全面的修剪策略,可以执行宽度以及深度明智的修剪。这是通过引入不同粒度的门(神经元,滤波器,层,块)来实现的,然后通过目标函数来控制这些门,该目标函数在每个前向传递期间以不同粒度同时执行修剪。我们的方法适用于各种各样的架构,没有任何限制的空间维度或连接类型(顺序,残留,并行或inception)。我们的方法在基准数据集上进行评估时,压缩率为70%至90%,而准确性没有明显损失。

英文摘要:

One of the major challenges in deploying deep neural network architectures is their size which has an adverse effect on their inference time and memory requirements. Deep CNNs can either be pruned width-wise by removing filters based on their importance or depth-wise by removing layers and blocks. Width wise pruning (filter pruning) is commonly performed via learnable gates or switches and sparsity regularizers whereas pruning of layers has so far been performed arbitrarily by manually designing a smaller network usually referred to as a student network. We propose a comprehensive pruning strategy that can perform both width-wise as well as depth-wise pruning. This is achieved by introducing gates at different granularities (neuron, filter, layer, block) which are then controlled via an objective function that simultaneously performs pruning at different granularity during each forward pass. Our approach is applicable to wide-variety of architectures without any constraints on spatial dimensions or connection type (sequential, residual, parallel or inception). Our method has resulted in a compression ratio of 70% to 90% without noticeable loss in accuracy when evaluated on benchmark datasets.

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

↑