arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.06815cs.LGstat.ML
收藏

神经网络模型压缩研究:框架、算法与收敛性保证

On Model Compression for Neural Networks: Framework, Algorithm, and Convergence Guarantee

New Jersey Institute of Technology(新泽西理工学院);Pusan National University(釜山国立大学)

Chenyang Li, Jihoon Chung, Mengnan Du, Haimin Wang, Xianlian Zhou, Bo Shen

AI总结:

针对神经网络低秩近似与权重剪枝压缩中精度下降、收敛性差的问题,提出基于非凸优化的整体框架及无梯度NN-BCD算法,证明其O(1/k)全局收敛性,实验验证了其高效性与优越性能。

摘要:

模型压缩是神经网络(NN)部署的关键环节,尤其在诸多应用场景中计算设备的内存与存储空间受限的情况下更为重要。本文聚焦于当前应用广泛的两种神经网络模型压缩技术:低秩近似与权重剪枝。然而,采用低秩近似和权重剪枝训练神经网络时,往往会出现精度大幅下降以及收敛性问题。本文从非凸优化的全新视角出发,通过设计合适的目标函数,提出了一套用于模型压缩的整体框架。随后,我们提出了NN-BCD算法,这是一种用于求解该非凸优化问题的块坐标下降(BCD)算法。该算法的一大优势在于可推导出具有闭式解的高效迭代格式,无需计算梯度,因此不会面临梯度消失或爆炸的问题。此外,借助目标函数的Kurdyka-Łojasiewicz(KŁ)性质,我们证明了该算法能以O(1/k)的速率全局收敛到临界点,其中k表示迭代次数。最后,通过基于张量列车分解和权重剪枝的大量实验,验证了所提框架的高效性与优越性能。我们的代码实现可在https://github.com/ChenyangLi-97/NN-BCD获取。

英文摘要:

Model compression is a crucial part of deploying neural networks (NNs), especially when the memory and storage of computing devices are limited in many applications. This paper focuses on two model compression techniques: low-rank approximation and weight pruning in neural networks, which are very popular nowadays. However, training NN with low-rank approximation and weight pruning always suffers significant accuracy loss and convergence issues. In this paper, a holistic framework is proposed for model compression from a novel perspective of nonconvex optimization by designing an appropriate objective function. Then, we introduce NN-BCD, a block coordinate descent (BCD) algorithm to solve the nonconvex optimization. One advantage of our algorithm is that an efficient iteration scheme can be derived with closed-form, which is gradient-free. Therefore, our algorithm will not suffer from vanishing/exploding gradient problems. Furthermore, with the Kurdyka-Łojasiewicz (KŁ) property of our objective function, we show that our algorithm globally converges to a critical point at the rate of O(1/k), where k denotes the number of iterations. Lastly, extensive experiments with tensor train decomposition and weight pruning demonstrate the efficiency and superior performance of the proposed framework. Our code implementation is available at https://github.com/ChenyangLi-97/NN-BCD

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

↑