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

稳定彩票假说

Stabilizing the Lottery Ticket Hypothesis

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);University of Cambridge(剑桥大学);Element AI;University of Toronto(多伦多大学);Vector Institute

Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael Carbin

摘要:

剪枝是一种成熟的技术,用于在训练后从神经网络中删除不必要的结构,以提高推理性能。最近的一些结果已经探索了在初始化时修剪的可能性,以在训练期间提供类似的好处。特别是,“彩票假说”认为,典型的神经网络包含小的子网络,可以在相当数量的步骤中训练到类似的精度。这一说法的证据是,基于迭代幅度修剪(IMP)的程序可靠地追溯到小视觉任务中的子网络。然而,IMP在更深的网络上失败,并且提出的在训练之前修剪或训练修剪的网络的方法遇到类似的缩放限制。在本文中,我们认为这些努力在更深层次的网络上一直在挣扎,因为它们专注于在初始化时精确修剪。我们修改了IMP,以搜索可以在训练早期(0.1%到7%)而不是在迭代0时通过修剪获得的子网络。通过这种变化,它可以找到更深层网络的小型子网(例如,Resnet-50上的80%稀疏度),可以完成训练过程,以匹配原始网络在更具挑战性的任务(例如,ImageNet)。在IMP在迭代0失败的情况下,延迟修剪的准确性好处在最早的训练迭代中迅速增加。为了解释这些行为,我们研究了子网络的“稳定性”,发现随着精度的提高,IMP子网络训练的参数更接近于整个网络的参数,并且在面对梯度噪声时具有更好的一致性。这些结果为在训练早期修剪大规模网络的机会以及彩票假设背后的行为提供了新的见解

英文摘要:

Pruning is a well-established technique for removing unnecessary structure from neural networks after training to improve the performance of inference. Several recent results have explored the possibility of pruning at initialization time to provide similar benefits during training. In particular, the "lottery ticket hypothesis" conjectures that typical neural networks contain small subnetworks that can train to similar accuracy in a commensurate number of steps. The evidence for this claim is that a procedure based on iterative magnitude pruning (IMP) reliably finds such subnetworks retroactively on small vision tasks. However, IMP fails on deeper networks, and proposed methods to prune before training or train pruned networks encounter similar scaling limitations. In this paper, we argue that these efforts have struggled on deeper networks because they have focused on pruning precisely at initialization. We modify IMP to search for subnetworks that could have been obtained by pruning early in training (0.1% to 7% through) rather than at iteration 0. With this change, it finds small subnetworks of deeper networks (e.g., 80% sparsity on Resnet-50) that can complete the training process to match the accuracy of the original network on more challenging tasks (e.g., ImageNet). In situations where IMP fails at iteration 0, the accuracy benefits of delaying pruning accrue rapidly over the earliest iterations of training. To explain these behaviors, we study subnetwork "stability," finding that - as accuracy improves in this fashion - IMP subnetworks train to parameters closer to those of the full network and do so with improved consistency in the face of gradient noise. These results offer new insights into the opportunity to prune large-scale networks early in training and the behaviors underlying the lottery ticket hypothesis

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

↑