arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.02840cs.LGcs.CVstat.ML
收藏

NTK-SAP:通过对齐训练动态来改进神经网络剪枝

NTK-SAP: Improving neural network pruning by aligning training dynamics

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心);Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Yite Wang, Dawei Li, Ruoyu Sun

AI总结:

本文提出了一种名为NTK-SAP的神经网络先训练剪枝算法,通过剪枝对神经正切核(NTK)谱影响最小的连接来对齐训练动态,该方法具有权重无关和数据无关的特性,并在多个数据集上优于所有基线。

摘要:

由于在训练前剪枝神经网络具有减少训练时间和内存的潜力,因此受到了越来越多的关注。一种流行的方法是基于某种度量来剪枝连接,但目前尚不完全清楚哪种度量是最佳选择。神经正切核(NTK)理论的最新进展表明,足够大的神经网络的训练动态与NTK的谱密切相关。受此发现启发,我们提出剪枝对NTK谱影响最小的连接。该方法有助于维持NTK谱,从而可能有助于将其训练动态与密集对应网络的动态对齐。然而,一个可能的问题是,对应于给定初始点的固定权重NTK可能与训练阶段后期迭代对应的NTK有很大不同。我们进一步提出采样多个随机权重实现来估计NTK谱。注意,我们的方法是权重无关的,这与大多数现有的依赖权重的方法不同。此外,我们使用随机输入来计算固定权重NTK,这使得我们的方法也是数据无关的。我们将这种前瞻性剪枝算法命名为Neural Tangent Kernel Spectrum-Aware Pruning(NTK-SAP)。在经验上,我们的方法在多个数据集上取得了优于所有基线的性能。

英文摘要:

Pruning neural networks before training has received increasing interest due to its potential to reduce training time and memory. One popular method is to prune the connections based on a certain metric, but it is not entirely clear what metric is the best choice. Recent advances in neural tangent kernel (NTK) theory suggest that the training dynamics of large enough neural networks is closely related to the spectrum of the NTK. Motivated by this finding, we propose to prune the connections that have the least influence on the spectrum of the NTK. This method can help maintain the NTK spectrum, which may help align the training dynamics to that of its dense counterpart. However, one possible issue is that the fixed-weight-NTK corresponding to a given initial point can be very different from the NTK corresponding to later iterates during the training phase. We further propose to sample multiple realizations of random weights to estimate the NTK spectrum. Note that our approach is weight-agnostic, which is different from most existing methods that are weight-dependent. In addition, we use random inputs to compute the fixed-weight-NTK, making our method data-agnostic as well. We name our foresight pruning algorithm Neural Tangent Kernel Spectrum-Aware Pruning (NTK-SAP). Empirically, our method achieves better performance than all baselines on multiple datasets.

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

↑