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

与CHITA一样快:基于组合优化的神经网络剪枝

Fast as CHITA: Neural Network Pruning with Combinatorial Optimization

MIT(麻省理工学院);Google Research(谷歌研究院)

Riade Benbaki, Wenyu Chen, Xiang Meng, Hussein Hazimeh, Natalia Ponomareva, Zhe Zhao, Rahul Mazumder

摘要:

现代神经网络的庞大规模使得模型服务成为一个严重的计算挑战。一种流行的压缩技术通过修剪或稀疏化预训练网络的权重来克服这一挑战。虽然有用,这些技术往往面临严重的计算要求和压缩质量之间的权衡。在这项工作中,我们提出了一种新的基于优化的修剪框架,认为修剪(和更新)的组合效果的稀疏约束下的多个权重。我们的方法,CHITA,扩展了经典的最佳脑外科医生框架,并在速度,内存和性能方面显着改善现有的基于优化的网络修剪方法。CHITA的主要主力对损失函数的局部二次近似的内存友好表示进行组合优化更新。在预训练模型和数据集的标准基准上,CHITA比竞争方法具有更好的稀疏性-准确性权衡。例如,对于仅保留2%权重的MLPNet,我们的方法相对于最先进的方法将准确度提高了63%。此外,当与微调SGD步骤结合使用时,我们的方法实现了比最先进方法显著的准确度增益。

英文摘要:

The sheer size of modern neural networks makes model serving a serious computational challenge. A popular class of compression techniques overcomes this challenge by pruning or sparsifying the weights of pretrained networks. While useful, these techniques often face serious tradeoffs between computational requirements and compression quality. In this work, we propose a novel optimization-based pruning framework that considers the combined effect of pruning (and updating) multiple weights subject to a sparsity constraint. Our approach, CHITA, extends the classical Optimal Brain Surgeon framework and results in significant improvements in speed, memory, and performance over existing optimization-based approaches for network pruning. CHITA's main workhorse performs combinatorial optimization updates on a memory-friendly representation of local quadratic approximation(s) of the loss function. On a standard benchmark of pretrained models and datasets, CHITA leads to significantly better sparsity-accuracy tradeoffs than competing methods. For example, for MLPNet with only 2% of the weights retained, our approach improves the accuracy by 63% relative to the state of the art. Furthermore, when used in conjunction with fine-tuning SGD steps, our method achieves significant accuracy gains over the state-of-the-art approaches.

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

↑