arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.03533cs.LGcs.CV
收藏

稀疏神经网络中的梯度流与彩票中奖

Gradient Flow in Sparse Neural Networks and How Lottery Tickets Win

Google(谷歌);University of Calgary(卡尔加里大学);Facebook(脸书)

Utku Evci, Yani A. Ioannou, Cem Keskin, Yann Dauphin

摘要:

稀疏神经网络(NN)可以使用一小部分计算/存储来进行推理,从而与密集NN的泛化相匹配,并且还具有实现高效训练的潜力。然而,从随机初始化中天真地训练非结构化稀疏NN会导致显着更差的泛化,彩票(LT)和动态稀疏训练(DST)是显着的例外。通过我们对训练过程中梯度流的分析,我们试图回答:(1)为什么从随机初始化训练非结构化稀疏网络表现不佳;(2)是什么让LT和DST成为例外?我们发现,稀疏神经网络在初始化时梯度流很差,并证明了使用稀疏感知初始化的重要性。此外,我们发现DST方法在训练过程中比传统的稀疏训练方法显著改善了梯度流。最后,我们表明,LT不改善梯度流,而他们的成功在于重新学习的修剪解决方案,他们来自-然而,这是在学习新的解决方案的成本。

英文摘要:

Sparse Neural Networks (NNs) can match the generalization of dense NNs using a fraction of the compute/storage for inference, and also have the potential to enable efficient training. However, naively training unstructured sparse NNs from random initialization results in significantly worse generalization, with the notable exceptions of Lottery Tickets (LTs) and Dynamic Sparse Training (DST). Through our analysis of gradient flow during training we attempt to answer: (1) why training unstructured sparse networks from random initialization performs poorly and; (2) what makes LTs and DST the exceptions? We show that sparse NNs have poor gradient flow at initialization and demonstrate the importance of using sparsity-aware initialization. Furthermore, we find that DST methods significantly improve gradient flow during training over traditional sparse training methods. Finally, we show that LTs do not improve gradient flow, rather their success lies in re-learning the pruning solution they are derived from - however, this comes at the cost of learning novel solutions.

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

↑