抽取早鸟票:迈向更高效的深度网络训练
Drawing Early-Bird Tickets: Towards More Efficient Training of Deep Networks
AI总结:
本文首次发现深度网络在训练早期即可通过低成本方案识别出“早鸟票”(关键子网络),并提出掩码距离度量和高效训练方法,在保持准确率的同时实现高达4.7倍的能耗节省。
摘要:
(Frankle & Carbin, 2019) 表明,对于密集的、随机初始化的网络,存在中奖票(小但关键的子网络),它们可以单独训练,在相似的迭代次数内达到与原网络相当的准确率。然而,识别这些中奖票仍需昂贵的训练-剪枝-重训练过程,限制了其实际效益。本文首次发现,中奖票可以在训练极早期阶段被识别,我们称之为早鸟(EB)票,这可通过大学习率下的低成本训练方案(如早停和低精度训练)实现。我们对EB票的发现与近期报告的观察一致,即神经网络的关键连接模式在早期形成。此外,我们提出一种掩码距离度量,可用于以低计算开销识别EB票,而无需知道完整训练后出现的真正中奖票。最后,我们利用EB票的存在及所提掩码距离开发高效训练方法,即先通过低成本方案识别EB票,然后仅继续训练EB票至目标准确率。基于多种深度网络和数据集的实验验证了:1) EB票的存在,及掩码距离在高效识别它们中的有效性;2) 所提基于EB票的高效训练可节省高达4.7倍的能耗,同时保持相当甚至更好的准确率,展示了一种有前景且易于采用的方法,以应对成本高昂的深度网络训练。代码可在 https://github.com/RICE-EIC/Early-Bird-Tickets 获取。
英文摘要:
(Frankle & Carbin, 2019) shows that there exist winning tickets (small but critical subnetworks) for dense, randomly initialized networks, that can be trained alone to achieve comparable accuracies to the latter in a similar number of iterations. However, the identification of these winning tickets still requires the costly train-prune-retrain process, limiting their practical benefits. In this paper, we discover for the first time that the winning tickets can be identified at the very early training stage, which we term as early-bird (EB) tickets, via low-cost training schemes (e.g., early stopping and low-precision training) at large learning rates. Our finding of EB tickets is consistent with recently reported observations that the key connectivity patterns of neural networks emerge early. Furthermore, we propose a mask distance metric that can be used to identify EB tickets with low computational overhead, without needing to know the true winning tickets that emerge after the full training. Finally, we leverage the existence of EB tickets and the proposed mask distance to develop efficient training methods, which are achieved by first identifying EB tickets via low-cost schemes, and then continuing to train merely the EB tickets towards the target accuracy. Experiments based on various deep networks and datasets validate: 1) the existence of EB tickets, and the effectiveness of mask distance in efficiently identifying them; and 2) that the proposed efficient training via EB tickets can achieve up to 4.7x energy savings while maintaining comparable or even better accuracy, demonstrating a promising and easily adopted method for tackling cost-prohibitive deep network training. Code available at https://github.com/RICE-EIC/Early-Bird-Tickets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。