arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2206.12755cs.CV
收藏

使用任何掩码更好地训练稀疏神经网络

Training Your Sparse Neural Network Better with Any Mask

The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of California, Irvine(加州大学欧文分校)

Ajay Jaiswal, Haoyu Ma, Tianlong Chen, Ying Ding, Zhangyang Wang

摘要:

修剪大型神经网络以创建高质量的、可独立训练的稀疏掩码,其可以保持与其密集对应物类似的性能,这是非常期望的,因为减少了空间和时间复杂度。由于研究工作的重点是越来越复杂的修剪方法,导致稀疏的子网络从零开始训练,我们主张一个正交的,探索不足的主题:改进修剪子网络的训练技术,即稀疏训练。除了普遍认为只有稀疏掩码的质量对稀疏训练很重要之外,在本文中,我们展示了一个替代的机会:人们可以仔细定制稀疏训练技术,以偏离默认的密集网络训练协议,包括在训练的早期阶段引入“幽灵”神经元和跳过连接,并策略性地修改初始化和标签。我们的新稀疏训练配方通常适用于使用各种稀疏掩码从头开始改进训练。通过采用我们新策划的技术,我们在各种流行的数据集(CIFAR-10,CIFAR-100,TinyImageNet),架构(ResNet-18/32/104,Vgg 16,MobileNet)和稀疏掩码选项(彩票,SNIP/GRASP,SynFlow,甚至随机修剪)上表现出显着的性能提升,与默认的训练协议相比,特别是在高稀疏度水平下。代码位于https://github.com/VITA-Group/ToST

英文摘要:

Pruning large neural networks to create high-quality, independently trainable sparse masks, which can maintain similar performance to their dense counterparts, is very desirable due to the reduced space and time complexity. As research effort is focused on increasingly sophisticated pruning methods that leads to sparse subnetworks trainable from the scratch, we argue for an orthogonal, under-explored theme: improving training techniques for pruned sub-networks, i.e. sparse training. Apart from the popular belief that only the quality of sparse masks matters for sparse training, in this paper we demonstrate an alternative opportunity: one can carefully customize the sparse training techniques to deviate from the default dense network training protocols, consisting of introducing ``ghost" neurons and skip connections at the early stage of training, and strategically modifying the initialization as well as labels. Our new sparse training recipe is generally applicable to improving training from scratch with various sparse masks. By adopting our newly curated techniques, we demonstrate significant performance gains across various popular datasets (CIFAR-10, CIFAR-100, TinyImageNet), architectures (ResNet-18/32/104, Vgg16, MobileNet), and sparse mask options (lottery ticket, SNIP/GRASP, SynFlow, or even randomly pruning), compared to the default training protocols, especially at high sparsity levels. Code is at https://github.com/VITA-Group/ToST

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

↑