The training of sparse neural networks is becoming an increasingly important tool for reducing the computational footprint of models at training and evaluation, as well enabling the effective scaling up of models. Whereas much work over the years has been dedicated to specialised pruning techniques, little attention has been paid to the inherent effect of gradient based training on model sparsity. In this work, we introduce Powerpropagation, a new weight-parameterisation for neural networks that leads to inherently sparse models. Exploiting the behaviour of gradient descent, our method gives rise to weight updates exhibiting a "rich get richer" dynamic, leaving low-magnitude parameters largely unaffected by learning. Models trained in this manner exhibit similar performance, but have a distribution with markedly higher density at zero, allowing more parameters to be pruned safely. Powerpropagation is general, intuitive, cheap and straight-forward to implement and can readily be combined with various other techniques. To highlight its versatility, we explore it in two very different settings: Firstly, following a recent line of work, we investigate its effect on sparse training for resource-constrained settings. Here, we combine Powerpropagation with a traditional weight-pruning technique as well as recent state-of-the-art sparse-to-sparse algorithms, showing superior performance on the ImageNet benchmark. Secondly, we advocate the use of sparsity in overcoming catastrophic forgetting, where compressed representations allow accommodating a large number of tasks at fixed model capacity. In all cases our reparameterisation considerably increases the efficacy of the off-the-shelf methods.
翻译:稀有神经网络的培训正在成为减少模型在培训和评估方面的计算足迹以及有效推广模型的工具。 虽然多年来大量工作都致力于专门裁剪技术,但很少注意基于模型宽度的梯度培训的内在影响。 在这项工作中,我们引入了电法调整,这是神经网络导致内在稀薄模型的一个新的重量分计。探索梯度下降的行为,我们的方法产生了显示“富富”动态的权重更新,使低放大参数在很大程度上不受学习的影响。以这种方式培训的模型表现相似,但分布密度明显提高,使得更多的参数能够安全地调整。 电法调整是一般的、直观的、廉价的和直向前的,可以与各种其他技术相结合。 为了突出其多模式性,我们用两种非常不同的环境来探索它:首先,根据最近的工作方针,我们调查其对于资源稀疏漏培训的影响,低的参数基本上不受学习的影响。 以这种方式培训的方式,但以零度分布得相当的密度为零,使得更多的参数能够安全地被调。 电法调整,我们把传统的精度应用了一个常规的图像缩缩缩缩缩缩缩缩缩缩缩缩缩缩缩图。在这里,我们用了一个在不断的缩缩缩缩缩缩缩缩缩缩缩缩图的缩缩缩的缩缩图。