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

通过约束强化学习进行神经网络修剪

Neural Network Pruning Through Constrained Reinforcement Learning

LUMS School of Science and Engineering(拉合尔管理科学大学科学与工程学院)

Shehryar Malik, Muhammad Umair Haider, Omer Iqbal, Murtaza Taj

摘要:

网络修剪通过删除(修剪)神经元来减小神经网络的大小,使得性能下降最小。传统的修剪方法侧重于设计指标来量化神经元的有用性,这通常是相当繁琐和次优的。最近的方法专注于训练辅助网络,以自动学习每个神经元的有用程度,然而,它们通常不考虑计算限制。在这项工作中,我们提出了一个通用的方法修剪神经网络。我们提出的方法可以修剪神经网络,以尊重预定义的计算预算的任意,可能是不可微的,功能。此外,我们只假设能够针对不同的输入来评估这些函数的能力,因此它们不需要事先完全指定。我们通过约束强化学习算法提出一种新型修剪策略来实现这一目标。我们通过与标准图像分类数据集上最先进的方法进行比较,证明了我们的方法的有效性。具体来说,我们减少了83-92.90的VGG的各种变体的总参数,同时实现可比或更好的性能比原来的网络。我们还在ResNet 18上实现了75.09的参数减少,而没有造成任何准确性损失。

英文摘要:

Network pruning reduces the size of neural networks by removing (pruning) neurons such that the performance drop is minimal. Traditional pruning approaches focus on designing metrics to quantify the usefulness of a neuron which is often quite tedious and sub-optimal. More recent approaches have instead focused on training auxiliary networks to automatically learn how useful each neuron is however, they often do not take computational limitations into account. In this work, we propose a general methodology for pruning neural networks. Our proposed methodology can prune neural networks to respect pre-defined computational budgets on arbitrary, possibly non-differentiable, functions. Furthermore, we only assume the ability to be able to evaluate these functions for different inputs, and hence they do not need to be fully specified beforehand. We achieve this by proposing a novel pruning strategy via constrained reinforcement learning algorithms. We prove the effectiveness of our approach via comparison with state-of-the-art methods on standard image classification datasets. Specifically, we reduce 83-92.90 of total parameters on various variants of VGG while achieving comparable or better performance than that of original networks. We also achieved 75.09 reduction in parameters on ResNet18 without incurring any loss in accuracy.

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

↑