arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.01089stat.MLcs.LG
收藏

没有免费的剪枝:初始化时剪枝的信息论屏障

No Free Prune: Information-Theoretic Barriers to Pruning at Initialization

Harvard University(哈佛大学)

Tanishq Kumar, Kevin Luo, Mark Sellke

AI总结:

本文通过引入有效参数数量 $p_\ ext{eff}$(非零权重与掩码-数据互信息之和)从信息论角度解释了初始化时剪枝的屏障,证明了鲁棒稀疏网络需要依赖数据的掩码,从而揭示了快速寻找彩票的不可行性。

摘要:

初始化或接近初始化时存在的“彩票”引发了一个诱人的问题:在深度学习中是否需要大模型,或者是否可以在不训练包含它们的大模型的情况下,快速识别并训练稀疏网络。然而,在不训练大模型的情况下寻找这些稀疏子网络(“初始化时剪枝”)的尝试普遍未能成功。我们基于模型的有效参数数量 $p_\ ext{eff}$ 提出了一个理论解释,该数量由最终网络中非零权重数量与稀疏掩码和数据之间的互信息之和给出。我们证明了 arXiv:2105.12806 的鲁棒性定律扩展到了稀疏网络,其中通常的参数计数被 $p_\ ext{eff}$ 替代,这意味着一个能够鲁棒地插值噪声数据的稀疏神经网络需要一个严重依赖数据的掩码。我们假设在训练期间和训练后进行剪枝产生的掩码比初始化时剪枝产生的掩码具有更高的互信息。因此,两个网络可能具有相同的稀疏度,但基于它们的训练方式,其有效参数数量可能不同。这表明接近初始化时的剪枝可能是不可行的,并解释了为什么彩票存在,但无法被快速找到(即不训练整个网络)。在神经网络上的实验证实,训练期间获得的信息确实会影响模型容量。

英文摘要:

The existence of "lottery tickets" arXiv:1803.03635 at or near initialization raises the tantalizing question of whether large models are necessary in deep learning, or whether sparse networks can be quickly identified and trained without ever training the dense models that contain them. However, efforts to find these sparse subnetworks without training the dense model ("pruning at initialization") have been broadly unsuccessful arXiv:2009.08576. We put forward a theoretical explanation for this, based on the model's effective parameter count, $p_\text{eff}$, given by the sum of the number of non-zero weights in the final network and the mutual information between the sparsity mask and the data. We show the Law of Robustness of arXiv:2105.12806 extends to sparse networks with the usual parameter count replaced by $p_\text{eff}$, meaning a sparse neural network which robustly interpolates noisy data requires a heavily data-dependent mask. We posit that pruning during and after training outputs masks with higher mutual information than those produced by pruning at initialization. Thus two networks may have the same sparsities, but differ in effective parameter count based on how they were trained. This suggests that pruning near initialization may be infeasible and explains why lottery tickets exist, but cannot be found fast (i.e. without training the full network). Experiments on neural networks confirm that information gained during training may indeed affect model capacity.

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

↑