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

AutoPruner:一种用于高效深度模型推理的端到端可训练滤波器修剪方法

AutoPruner: An End-to-End Trainable Filter Pruning Method for Efficient Deep Model Inference

National Key Laboratory for Novel Software Technology(新型软件技术国家重点实验室);Nanjing University(南京大学);Nanjing(南京);China(中国)

Jian-Hao Luo, Jianxin Wu

摘要:

通道修剪是加速深度模型推理的一种重要方法。以往的滤波器修剪算法将信道修剪和模型微调视为两个独立的步骤。本文认为,将它们组合成一个端到端的可训练系统将带来更好的结果。我们提出了一个有效的信道选择层,即AutoPruner,以联合训练的方式自动找到不太重要的滤波器。我们的AutoPruner将以前的激活响应作为输入,并生成一个真正的二进制索引代码进行修剪。因此,在训练之后,可以安全地移除对应于零索引值的所有滤波器。我们的经验表明,该通道选择层的梯度信息也有助于整个模型的训练。通过逐渐删除几个弱过滤器,我们可以防止模型精度的过度下降。与以前最先进的修剪算法(包括从头开始训练)相比,AutoPruner实现了更好的性能。此外,消融实验表明,所提出的新的小批量池和二值化操作是至关重要的过滤器修剪的成功。

英文摘要:

Channel pruning is an important family of methods to speed up deep model's inference. Previous filter pruning algorithms regard channel pruning and model fine-tuning as two independent steps. This paper argues that combining them into a single end-to-end trainable system will lead to better results. We propose an efficient channel selection layer, namely AutoPruner, to find less important filters automatically in a joint training manner. Our AutoPruner takes previous activation responses as an input and generates a true binary index code for pruning. Hence, all the filters corresponding to zero index values can be removed safely after training. We empirically demonstrate that the gradient information of this channel selection layer is also helpful for the whole model training. By gradually erasing several weak filters, we can prevent an excessive drop in model accuracy. Compared with previous state-of-the-art pruning algorithms (including training from scratch), AutoPruner achieves significantly better performance. Furthermore, ablation experiments show that the proposed novel mini-batch pooling and binarization operations are vital for the success of filter pruning.

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

↑