arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.05467cs.LGcond-mat.dis-nncs.CVq-bio.NCstat.ML
收藏

通过迭代保存突触流来修剪没有任何数据的神经网络

Pruning neural networks without any data by iteratively conserving synaptic flow

Stanford University(斯坦福大学)

Hidenori Tanaka, Daniel Kunin, Daniel L. K. Yamins, Surya Ganguli

摘要:

修剪深度神经网络的参数已经产生了强烈的兴趣,因为在训练和测试期间可能节省时间,内存和能量。最近的工作已经确定,通过一个昂贵的序列的训练和修剪周期,中奖彩票或稀疏可训练的子网络在初始化的存在。这就提出了一个基本问题:我们能否在初始化时识别出高度稀疏的可训练子网络,而不需要训练,甚至不需要查看数据?我们通过理论驱动的算法设计对这个问题给出了肯定的回答。我们首先从数学上制定和实验验证的守恒定律,解释了为什么现有的基于梯度的修剪算法在初始化遭受层崩溃,过早修剪整个层呈现网络不可训练。该理论还阐明了如何完全避免层崩溃,激发了一种新的修剪算法迭代突触流修剪(SynFlow)。该算法可以被解释为在初始化时保持通过网络的突触强度的总流量受到稀疏性约束。值得注意的是,该算法没有参考训练数据,并且在初始化时在一系列模型(VGG和ResNet),数据集(CIFAR-10/100和Tiny ImageNet)和稀疏约束(高达99.99%)上始终与现有的最先进的修剪算法竞争或优于现有的修剪算法。因此,我们的数据无关的修剪算法挑战现有的范式,在初始化,数据必须被用来量化哪些突触是重要的。

英文摘要:

Pruning the parameters of deep neural networks has generated intense interest due to potential savings in time, memory and energy both during training and at test time. Recent works have identified, through an expensive sequence of training and pruning cycles, the existence of winning lottery tickets or sparse trainable subnetworks at initialization. This raises a foundational question: can we identify highly sparse trainable subnetworks at initialization, without ever training, or indeed without ever looking at the data? We provide an affirmative answer to this question through theory driven algorithm design. We first mathematically formulate and experimentally verify a conservation law that explains why existing gradient-based pruning algorithms at initialization suffer from layer-collapse, the premature pruning of an entire layer rendering a network untrainable. This theory also elucidates how layer-collapse can be entirely avoided, motivating a novel pruning algorithm Iterative Synaptic Flow Pruning (SynFlow). This algorithm can be interpreted as preserving the total flow of synaptic strengths through the network at initialization subject to a sparsity constraint. Notably, this algorithm makes no reference to the training data and consistently competes with or outperforms existing state-of-the-art pruning algorithms at initialization over a range of models (VGG and ResNet), datasets (CIFAR-10/100 and Tiny ImageNet), and sparsity constraints (up to 99.99 percent). Thus our data-agnostic pruning algorithm challenges the existing paradigm that, at initialization, data must be used to quantify which synapses are important.

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

↑