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

理解和优化用于超参数调整的压缩神经网络训练

Understanding and Optimizing Packed Neural Network Training for Hyper-Parameter Tuning

University of Chicago(芝加哥大学)

Rui Liu, Sanjay Krishnan, Aaron J. Elmore, Michael J. Franklin

摘要:

随着神经网络在机器学习实践中的应用越来越多,如何在各种模型训练任务之间有效地共享有限的训练资源成为一个至关重要的问题。为了更好地利用共享资源,本文探讨了在单个GPU上联合训练多个神经网络模型的思想。我们通过提出一个原始的,称为包的概念来实现这个想法。我们进一步提出了一个全面的经验研究包和端到端的实验,建议显着改善超参数调整。结果表明:(1)对于单个训练步骤,打包两个模型可以带来比未打包设置高达40%的性能改进,并且当打包更多模型时,改进增加;(2)打包原语的益处很大程度上取决于许多因素,包括存储器容量、芯片架构、神经网络结构和批量大小;(3)在有限的资源上训练多个神经网络模型时,存在着打包和解包的折衷;(4)包感知的Hyperband比原始Hyperband快2.7倍,这种改进随着内存大小的增加以及模型封装密度的增加而增加。

英文摘要:

As neural networks are increasingly employed in machine learning practice, how to efficiently share limited training resources among a diverse set of model training tasks becomes a crucial issue. To achieve better utilization of the shared resources, we explore the idea of jointly training multiple neural network models on a single GPU in this paper. We realize this idea by proposing a primitive, called pack. We further present a comprehensive empirical study of pack and end-to-end experiments that suggest significant improvements for hyperparameter tuning. The results suggest: (1) packing two models can bring up to 40% performance improvement over unpacked setups for a single training step and the improvement increases when packing more models; (2) the benefit of the pack primitive largely depends on a number of factors including memory capacity, chip architecture, neural network structure, and batch size; (3) there exists a trade-off between packing and unpacking when training multiple neural network models on limited resources; (4) a pack-aware Hyperband is up to 2.7x faster than the original Hyperband, with this improvement growing as memory size increases and subsequently the density of models packed.

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

↑