Top-KAST:Top-K始终稀疏训练
Top-KAST: Top-K Always Sparse Training
摘要:
稀疏神经网络正变得越来越重要,因为该领域寻求通过扩大现有模型来提高其性能,同时试图降低功耗和计算占用空间。不幸的是,大多数现有的用于诱导性能稀疏模型的方法仍然需要在训练期间在向后传递中实例化密集参数或密集梯度。对于非常大的模型,这一要求可能是禁止的。在这项工作中,我们提出了Top-KAST,一种在整个训练过程中保持恒定稀疏性的方法(在向前和向后传递中)。我们证明了我们的方法的有效性,当在已建立的ImageNet基准上训练模型时,它的性能优于或优于以前的工作,同时完全保持稀疏性。除了我们的ImageNet结果外,我们还展示了我们在语言建模领域的方法,目前性能最好的架构往往具有数百亿个参数,并且扩展似乎还没有饱和性能。这些架构的稀疏版本可以用更少的资源运行,使它们更广泛地可访问和适用。此外,除了有效之外,我们的方法简单明了,并且可以很容易地在各种现有的机器学习框架中实现,只需添加几行代码。因此,我们希望我们的贡献将有助于更广泛的社区探索大规模模型的潜力,而不会产生大量的计算成本。
英文摘要:
Sparse neural networks are becoming increasingly important as the field seeks to improve the performance of existing models by scaling them up, while simultaneously trying to reduce power consumption and computational footprint. Unfortunately, most existing methods for inducing performant sparse models still entail the instantiation of dense parameters, or dense gradients in the backward-pass, during training. For very large models this requirement can be prohibitive. In this work we propose Top-KAST, a method that preserves constant sparsity throughout training (in both the forward and backward-passes). We demonstrate the efficacy of our approach by showing that it performs comparably to or better than previous works when training models on the established ImageNet benchmark, whilst fully maintaining sparsity. In addition to our ImageNet results, we also demonstrate our approach in the domain of language modeling where the current best performing architectures tend to have tens of billions of parameters and scaling up does not yet seem to have saturated performance. Sparse versions of these architectures can be run with significantly fewer resources, making them more widely accessible and applicable. Furthermore, in addition to being effective, our approach is straightforward and can easily be implemented in a wide range of existing machine learning frameworks with only a few additional lines of code. We therefore hope that our contribution will help enable the broader community to explore the potential held by massive models, without incurring massive computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。