健全检查修剪方法:随机票可以赢得大奖
Sanity-Checking Pruning Methods: Random Tickets can Win the Jackpot
摘要:
网络修剪是一种以最小的性能下降来减少测试时计算资源需求的方法。修剪算法的传统智慧表明:(1)修剪方法利用来自训练数据的信息来找到好的子网络;(2)修剪网络的架构对于良好的性能至关重要。在本文中,我们对最近几种非结构化剪枝方法进行了上述信念的健全性检查,并惊讶地发现:(1)一组旨在找到随机初始化网络的良好子网络的方法(我们称之为“初始票”),几乎不利用来自训练数据的任何信息;(2)对于这些方法得到的剪枝网络,在保持每层保留权值总数不变的同时,随机改变每层保留权值,并不影响最终性能。这些发现启发我们为每一层选择一系列简单的\emph{data-independent}修剪比率,并相应地随机修剪每一层以获得一个子网(我们称之为“随机票”)。实验结果表明,我们的zero-shot随机票优于或达到类似的性能相比,现有的“初始票”。此外,我们确定了一个现有的修剪方法,通过我们的健全性检查。我们将随机票中的比率与该方法混合,提出了一种新的方法,称为“混合票”,实现了进一步的改进。(Our代码可在https://github.com/JingtongSu/sanity-checking-pruning上公开获取)
英文摘要:
Network pruning is a method for reducing test-time computational resource requirements with minimal performance degradation. Conventional wisdom of pruning algorithms suggests that: (1) Pruning methods exploit information from training data to find good subnetworks; (2) The architecture of the pruned network is crucial for good performance. In this paper, we conduct sanity checks for the above beliefs on several recent unstructured pruning methods and surprisingly find that: (1) A set of methods which aims to find good subnetworks of the randomly-initialized network (which we call "initial tickets"), hardly exploits any information from the training data; (2) For the pruned networks obtained by these methods, randomly changing the preserved weights in each layer, while keeping the total number of preserved weights unchanged per layer, does not affect the final performance. These findings inspire us to choose a series of simple \emph{data-independent} prune ratios for each layer, and randomly prune each layer accordingly to get a subnetwork (which we call "random tickets"). Experimental results show that our zero-shot random tickets outperform or attain a similar performance compared to existing "initial tickets". In addition, we identify one existing pruning method that passes our sanity checks. We hybridize the ratios in our random ticket with this method and propose a new method called "hybrid tickets", which achieves further improvement. (Our code is publicly available at https://github.com/JingtongSu/sanity-checking-pruning)
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。