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

全连接神经网络的消除-补偿剪枝

Elimination-compensation pruning for fully-connected neural networks

MOX, Department of Mathematics, Politecnico di Milano(MOX数学系,米兰理工学院)

Enrico Ballini, Luca Muscarnera, Alessio Fumagalli, Anna Scotti, Francesco Regazzoni

AI总结:

本文提出了一种全连接神经网络的消除-补偿剪枝方法,通过优化相邻偏置的扰动来评估权重重要性,从而提高模型压缩效率。

摘要:

深度神经网络在捕捉大型和嘈杂数据集中的复杂模式方面具有 unmatched 的能力,这通常与它们的大型假设空间以及表征模型架构的大量参数有关。剪枝技术已证明是有效的工具,用于提取神经网络参数的稀疏表示,精心平衡压缩与信息保留之间的关系。然而,剪枝背后的一个基本假设是,可删除的权重对网络的误差影响应较小,而重要的权重则对推断有更大的影响。我们认为这一想法可以推广;如果一个权重不是简单地被删除,而是通过相邻偏置的扰动进行补偿,而这种扰动不贡献于网络的稀疏性,会怎样呢?我们的工作介绍了一种新的剪枝方法,其中每个权重的重要性度量是在最优扰动其相邻偏置后的输出行为计算得出的,通过自动微分高效计算。这些扰动可以在删除每个权重后直接应用,彼此独立。在推导上述量的解析表达式后,进行了数值实验,将该技术与一些最流行的剪枝策略进行比较,证明了所提出方法在非常多样化的机器学习场景中的内在效率。最后,我们的发现进行了讨论,并呈现了我们结果的理论含义。

英文摘要:

The unmatched ability of Deep Neural Networks in capturing complex patterns in large and noisy datasets is often associated with their large hypothesis space, and consequently to the vast amount of parameters that characterize model architectures. Pruning techniques affirmed themselves as valid tools to extract sparse representations of neural networks parameters, carefully balancing between compression and preservation of information. However, a fundamental assumption behind pruning is that expendable weights should have small impact on the error of the network, while highly important weights should tend to have a larger influence on the inference. We argue that this idea could be generalized; what if a weight is not simply removed but also compensated with a perturbation of the adjacent bias, which does not contribute to the network sparsity? Our work introduces a novel pruning method in which the importance measure of each weight is computed considering the output behavior after an optimal perturbation of its adjacent bias, efficiently computable by automatic differentiation. These perturbations can be then applied directly after the removal of each weight, independently of each other. After deriving analytical expressions for the aforementioned quantities, numerical experiments are conducted to benchmark this technique against some of the most popular pruning strategies, demonstrating an intrinsic efficiency of the proposed approach in very diverse machine learning scenarios. Finally, our findings are discussed and the theoretical implications of our results are presented.

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

↑