arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.04940cs.LGcs.AIcs.DMmath.OC
收藏

基于子模块优化的数据高效结构化剪枝

Data-Efficient Structured Pruning via Submodular Optimization

Samsung - SAIT AI Lab(三星-三星先进技术研究院人工智能实验室);Harvard University(哈佛大学);Mila(米拉研究所);Université de Montreal(蒙特利尔大学)

Marwa El Halabi, Suraj Srinivas, Simon Lacoste-Julien

摘要:

结构化剪枝是压缩大型预训练神经网络而不显著影响其性能的有效方法。然而,大多数当前的结构化修剪方法不提供任何性能保证,并且经常需要微调,这使得它们不适用于有限的数据制度。我们提出了一个原则性的数据有效的结构化修剪方法的基础上子模块优化。特别地,对于给定的层,我们选择要修剪的神经元/通道以及下一层的相应新权重,这使得修剪引起的下一层输入的变化最小化。我们表明,这个选择问题是一个弱次模极大化问题,因此它可以证明近似使用一个有效的贪心算法。在合理的假设下,我们的方法保证在原始模型和修剪后的模型输出之间具有指数递减的误差。它也是文献中仅使用有限数量的训练数据且不使用标签的少数方法之一。我们的实验结果表明,我们的方法优于国家的最先进的方法在有限的数据制度。

英文摘要:

Structured pruning is an effective approach for compressing large pre-trained neural networks without significantly affecting their performance. However, most current structured pruning methods do not provide any performance guarantees, and often require fine-tuning, which makes them inapplicable in the limited-data regime. We propose a principled data-efficient structured pruning method based on submodular optimization. In particular, for a given layer, we select neurons/channels to prune and corresponding new weights for the next layer, that minimize the change in the next layer's input induced by pruning. We show that this selection problem is a weakly submodular maximization problem, thus it can be provably approximated using an efficient greedy algorithm. Our method is guaranteed to have an exponentially decreasing error between the original model and the pruned model outputs w.r.t the pruned size, under reasonable assumptions. It is also one of the few methods in the literature that uses only a limited-number of training data and no labels. Our experimental results demonstrate that our method outperforms state-of-the-art methods in the limited-data regime.

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

↑