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

一种有效的神经网络压缩微结构权值统一和修剪算法

Efficient Micro-Structured Weight Unification and Pruning for Neural Network Compression

Tencent Media Lab(腾讯媒体实验室);Northeastern University(东北大学)

Sheng Lin, Wei Jiang, Wei Wang, Kaidi Xu, Yanzhi Wang, Shan Liu, Songnan Li

摘要:

压缩深度神经网络(DNN)模型以减轻存储和计算需求对于实际应用至关重要,尤其是对于资源有限的设备。虽然能够减少合理数量的模型参数,以前的非结构化或结构化的权重修剪方法很难真正加速推理,无论是由于非结构化稀疏性的硬件兼容性差,还是由于结构修剪网络的稀疏率低。为了减少存储和计算,以及保持原有的任务性能,我们提出了一个广义的重量统一框架,在硬件兼容的微结构化水平,以实现高量的压缩和加速。所选微结构块的权重系数被统一以减少块的存储和计算而不改变神经元连接,当所有统一系数被设置为零时,这变成微结构修剪特殊情况,其中神经元连接(因此存储和计算)被完全去除。此外,我们开发了一个有效的训练框架的基础上交替方向的乘法器(ADMM),它将我们的复杂约束优化到单独可解的子问题。通过迭代优化子问题,可以确保所需的微结构,高压缩比和低性能退化。我们使用各种基准模型和不同应用程序的数据集广泛评估了我们的方法。实验结果表明,国家的最先进的性能。

英文摘要:

Compressing Deep Neural Network (DNN) models to alleviate the storage and computation requirements is essential for practical applications, especially for resource limited devices. Although capable of reducing a reasonable amount of model parameters, previous unstructured or structured weight pruning methods can hardly truly accelerate inference, either due to the poor hardware compatibility of the unstructured sparsity or due to the low sparse rate of the structurally pruned network. Aiming at reducing both storage and computation, as well as preserving the original task performance, we propose a generalized weight unification framework at a hardware compatible micro-structured level to achieve high amount of compression and acceleration. Weight coefficients of a selected micro-structured block are unified to reduce the storage and computation of the block without changing the neuron connections, which turns to a micro-structured pruning special case when all unified coefficients are set to zero, where neuron connections (hence storage and computation) are completely removed. In addition, we developed an effective training framework based on the alternating direction method of multipliers (ADMM), which converts our complex constrained optimization into separately solvable subproblems. Through iteratively optimizing the subproblems, the desired micro-structure can be ensured with high compression ratio and low performance degradation. We extensively evaluated our method using a variety of benchmark models and datasets for different applications. Experimental results demonstrate state-of-the-art performance.

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

↑