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

无需训练的剪枝神经网络恢复

Training-Free Restoration of Pruned Neural Networks

University of Torontoland(多伦多兰大学);University of Edenborrow(埃登伯勒大学)

Keonho Lee, Minsoo Kim, Dong-Wan Choi

AI总结:

针对网络剪枝后需昂贵微调且依赖原始数据的问题,提出无需训练和数据的LBYL方法,通过让被剪枝神经元向保留神经元传递信息实现鲁棒近似,实验表明其比基于神经元相似性的方法精度更高。

摘要:

尽管网络剪枝已被广泛用于压缩深度神经网络,但其最终精度严重依赖于微调过程,该过程通常计算成本高昂且需要原始数据。然而,在实际场景中情况可能并非如此,因此最近有一些研究尝试在不进行任何昂贵的再训练过程的情况下恢复剪枝网络。它们的强假设是,每个被剪枝的神经元都可以被另一个与其非常相似的神经元替代,但不幸的是,这在许多神经网络中并不成立——某些层中神经元之间的相似性极低。在本文中,我们提出了一种更严谨、更鲁棒的剪枝网络恢复方法,无需微调且无需数据,称为LBYL(Leave Before You Leave)。LBYL通过让每个被剪枝的神经元将其信息传递给尽可能多的保留神经元,从而使多个神经元共同对刚被移除的神经元的原始输出进行更鲁棒的近似,显著放宽了上述假设。我们的方法基于对如何构建原始网络与其近似之间的重构误差的理论分析,这自然得出了我们推导的损失函数的闭式解。通过广泛的实验,与最近利用两个神经元之间相似性的方法相比,LBYL被证实确实能更有效地近似原始网络,因此能够为恢复后的网络实现更高的精度。这项工作的最初版本包含主要技术和理论组件,已提交给NeurIPS 2021和ICML 2022。

英文摘要:

Although network pruning has been highly popularized to compress deep neural networks, its resulting accuracy heavily depends on a fine-tuning process that is often computationally expensive and requires the original data. However, this may not be the case in real-world scenarios, and hence a few recent works attempt to restore pruned networks without any expensive retraining process. Their strong assumption is that every neuron being pruned can be replaced with another one quite similar to it, but unfortunately this does not hold in many neural networks, where the similarity between neurons is extremely low in some layers. In this article, we propose a more rigorous and robust method of restoring pruned networks in a fine-tuning free and data-free manner, called LBYL (Leave Before You Leave). LBYL significantly relaxes the aforementioned assumption in a way that each pruned neuron leaves its pieces of information to as many preserved neurons as possible and thereby multiple neurons together obtain a more robust approximation to the original output of the neuron who just left. Our method is based on a theoretical analysis on how to formulate the reconstruction error between the original network and its approximation, which nicely leads to a closed form solution for our derived loss function. Through the extensive experiments, LBYL is confirmed to be indeed more effective to approximate the original network and consequently able to achieve higher accuracy for restored networks, compared to the recent approaches exploiting the similarity between two neurons. The very first version of this work, which contains major technical and theoretical components, was submitted to NeurIPS 2021 and ICML 2022.

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

↑