arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.00783cs.LGcs.CR
收藏

监督式保持鲁棒性的无数据神经网络剪枝

Supervised Robustness-preserving Data-free Neural Network Pruning

National University of Singapore(新加坡国立大学);The University of Queensland(昆士兰大学);Institute for Infocomm Research(信息与通信研究院)

Mark Huasong Meng, Guangdong Bai, Sin Gee Teo, Jin Song Dong

AI总结:

针对无数据场景下剪枝后无法微调的问题,提出基于随机优化、以鲁棒性指标指导的渐进式剪枝方法,在保持鲁棒性和准确性上显著优于现有一次性方法。

摘要:

在真实世界应用中部署预训练神经网络模型时,模型使用者常常会遇到资源受限的平台,如移动设备和智能设备。他们通常使用剪枝技术来减小模型的规模和复杂度,生成一个资源消耗更少的轻量级模型。然而,大多数现有的剪枝方法都基于一个前提,即剪枝后的模型有机会基于原始训练数据进行微调甚至重新训练。这在实践中可能是不现实的,因为数据控制者往往不愿意向模型使用者提供原始数据。在这项工作中,我们研究了无数据情境下的神经网络剪枝,旨在生成不仅在预测上准确,而且在开放世界部署中对不良输入具有鲁棒性的轻量级模型。考虑到缺乏可以修复错误剪枝单元的微调和重新训练,我们用一种保守的策略取代了传统的激进式一次性策略,将剪枝视为一个渐进过程。我们提出了一种基于随机优化的剪枝方法,使用与鲁棒性相关的指标来指导剪枝过程。我们的方法以Python程序实现,并在多种神经网络模型上进行了一系列实验评估。实验结果表明,在鲁棒性保持和准确性方面,我们的方法显著优于现有的无数据一次性剪枝方法。

英文摘要:

When deploying pre-trained neural network models in real-world applications, model consumers often encounter resource-constraint platforms such as mobile and smart devices. They typically use the pruning technique to reduce the size and complexity of the model, generating a lighter one with less resource consumption. Nonetheless, most existing pruning methods are proposed with the premise that the model after being pruned has a chance to be fine-tuned or even retrained based on the original training data. This may be unrealistic in practice, as the data controllers are often reluctant to provide their model consumers with the original data. In this work, we study the neural network pruning in the data-free context, aiming to yield lightweight models that are not only accurate in prediction but also robust against undesired inputs in open-world deployments. Considering the absence of the fine-tuning and retraining that can fix the mis-pruned units, we replace the traditional aggressive one-shot strategy with a conservative one that treats the pruning as a progressive process. We propose a pruning method based on stochastic optimization that uses robustness-related metrics to guide the pruning process. Our method is implemented as a Python program and evaluated with a series of experiments on diverse neural network models. The experimental results show that it significantly outperforms existing one-shot data-free pruning approaches in terms of robustness preservation and accuracy.

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

↑