arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.07179cs.LGstat.ML
收藏

基准测试神经网络训练算法

Benchmarking Neural Network Training Algorithms

Google(谷歌);University of Tübingen(图宾根大学);Vector Institute(向量研究所);Dalhousie University(达尔豪斯大学);University of Toronto(多伦多大学);Stanford University(斯坦福大学);Meta AI (FAIR)(Meta AI(FAIR))
George E. Dahl, Frank Schneider, Zachary Nado, Naman Agarwal, Chandramouli Shama Sastry, Philipp Hennig, Sourabh Medapati, Runa Eschenhagen, Priya Kasimbeg, Dan… 展开作者

George E. Dahl, Frank Schneider, Zachary Nado, Naman Agarwal, Chandramouli Shama Sastry, Philipp Hennig, Sourabh Medapati, Runa Eschenhagen, Priya Kasimbeg, Daniel Suo, Juhan Bae, Justin Gilmer, Abel L. Peirson, Bilal Khan, Rohan Anil, Mike Rabbat, Shankar Krishnan, Daniel Snider, Ehsan Amid, Kongtao Chen, Chris J. Maddison, Rakshith Vasudev, Michal Badura, Ankush Garg, Peter Mattson

AI总结:

针对训练算法比较的三大挑战,提出AlgoPerf基准,通过多工作负载与变体评估优化器,证明可行性并设定临时最优水平。

摘要:

训练算法,广义上而言,是每个深度学习流程中必不可少的部分。训练算法的改进,若能加速多种工作负载下的训练(例如,更好的更新规则、调参协议、学习率调度或数据选择方案),则可以节省时间、节省计算资源,并带来更好、更准确的模型。遗憾的是,作为一个社区,我们目前无法可靠地识别训练算法的改进,甚至无法确定最先进的训练算法。在这项工作中,通过具体实验,我们认为在加速训练方面取得真正进展需要新的基准,以解决训练算法经验比较所面临的三个基本挑战:(1)如何决定训练何时完成并精确测量训练时间,(2)如何处理测量对确切工作负载细节的敏感性,以及(3)如何公平比较需要超参数调优的算法。为了应对这些挑战,我们引入了一个新的、具有竞争性的、基于固定硬件上多个工作负载的“结果时间”基准,即AlgoPerf:训练算法基准。我们的基准包括一组工作负载变体,使得能够检测出比当前广泛使用的方法对工作负载变化更稳健的基准提交。最后,我们评估了使用代表当前实践的各种优化器以及最近在文献中受到关注的优化器构建的基线提交。这些基线结果共同证明了我们基准的可行性,表明方法之间存在非平凡的差距,并为未来的基准提交设定了一个临时的最先进水平以供尝试超越。

英文摘要:

Training algorithms, broadly construed, are an essential part of every deep learning pipeline. Training algorithm improvements that speed up training across a wide variety of workloads (e.g., better update rules, tuning protocols, learning rate schedules, or data selection schemes) could save time, save computational resources, and lead to better, more accurate, models. Unfortunately, as a community, we are currently unable to reliably identify training algorithm improvements, or even determine the state-of-the-art training algorithm. In this work, using concrete experiments, we argue that real progress in speeding up training requires new benchmarks that resolve three basic challenges faced by empirical comparisons of training algorithms: (1) how to decide when training is complete and precisely measure training time, (2) how to handle the sensitivity of measurements to exact workload details, and (3) how to fairly compare algorithms that require hyperparameter tuning. In order to address these challenges, we introduce a new, competitive, time-to-result benchmark using multiple workloads running on fixed hardware, the AlgoPerf: Training Algorithms benchmark. Our benchmark includes a set of workload variants that make it possible to detect benchmark submissions that are more robust to workload changes than current widely-used methods. Finally, we evaluate baseline submissions constructed using various optimizers that represent current practice, as well as other optimizers that have recently received attention in the literature. These baseline results collectively demonstrate the feasibility of our benchmark, show that non-trivial gaps between methods exist, and set a provisional state-of-the-art for future benchmark submissions to try and surpass.

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

↑