arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.01820cs.CVcs.AI

通过数据驱动的谱前瞻剪枝在视觉模型中寻找彩票

Finding Lottery Tickets in Vision Models via Data-driven Spectral Foresight Pruning

Politecnico di Torino(都灵理工大学)

Leonardo Iurada, Marco Ciccone, Tatiana Tommasi

AI总结:

提出基于NTK理论的初始化剪枝算法PX,通过解析NTK迹的上界保留关键参数,在高稀疏度下找到彩票子网络,大幅降低计算与训练成本。

摘要:

神经网络剪枝的最新进展表明,在训练前降低深度学习模型的计算成本和内存需求是可能的。我们聚焦于这一框架,提出了一种新的初始化剪枝算法,该算法利用神经正切核(NTK)理论,将稀疏网络的训练动态与密集网络对齐。具体而言,我们展示了如何通过将神经网络分解为单条路径来获得NTK迹的解析上界,从而将NTK谱中通常被忽略的数据依赖分量纳入考量。这引出了我们的路径排除(PX),这是一种前瞻剪枝方法,旨在保留对NTK迹影响最大的参数。即使在高度稀疏的情况下,PX也能找到彩票(即良好路径),并大幅减少对额外训练的需求。应用于预训练模型时,它提取的子网络可直接用于多个下游任务,其性能与密集网络相当,但显著节省了成本和计算量。代码获取:https://github.com/iurada/px-ntk-pruning

英文摘要:

Recent advances in neural network pruning have shown how it is possible to reduce the computational costs and memory demands of deep learning models before training. We focus on this framework and propose a new pruning at initialization algorithm that leverages the Neural Tangent Kernel (NTK) theory to align the training dynamics of the sparse network with that of the dense one. Specifically, we show how the usually neglected data-dependent component in the NTK's spectrum can be taken into account by providing an analytical upper bound to the NTK's trace obtained by decomposing neural networks into individual paths. This leads to our Path eXclusion (PX), a foresight pruning method designed to preserve the parameters that mostly influence the NTK's trace. PX is able to find lottery tickets (i.e. good paths) even at high sparsity levels and largely reduces the need for additional training. When applied to pre-trained models it extracts subnetworks directly usable for several downstream tasks, resulting in performance comparable to those of the dense counterpart but with substantial cost and computational savings. Code available at: https://github.com/iurada/px-ntk-pruning

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

↑