Hippo:用阶段树驯服深度学习的超参数优化
Hippo: Taming Hyper-parameter Optimization of Deep Learning with Stage Trees
摘要:
超参数优化对于将深度学习模型的准确性推向极限至关重要。超参数优化工作(称为研究)涉及使用不同训练旋钮训练模型的多次试验,因此计算量非常大,通常需要数小时和数天才能完成。我们观察到,从超参数优化算法发出的试验往往共享共同的超参数序列前缀。基于这一观察结果,我们提出了Hippo,一种超参数优化系统,可以在训练过程中消除冗余,从而显著减少整体计算量。Hippo不是像现有的超参数优化系统那样独立执行每个试验,而是将超参数序列分解为多个阶段,并合并公共阶段以形成一个阶段树(称为阶段树),然后在分布式GPU服务器环境中每棵树执行一次阶段。Hippo不仅适用于单个研究,也适用于多个研究场景,其中同一模型和搜索空间的多个研究可以用阶段树表示。评估表明,Hippo的基于阶段的执行策略优于基于试验的方法,如Ray Tune,用于几个模型和超参数优化算法,显著减少GPU时间和端到端训练时间。
英文摘要:
Hyper-parameter optimization is crucial for pushing the accuracy of a deep learning model to its limits. A hyper-parameter optimization job, referred to as a study, involves numerous trials of training a model using different training knobs, and therefore is very computation-heavy, typically taking hours and days to finish. We observe that trials issued from hyper-parameter optimization algorithms often share common hyper-parameter sequence prefixes. Based on this observation, we propose Hippo, a hyper-parameter optimization system that removes redundancy in the training process to reduce the overall amount of computation significantly. Instead of executing each trial independently as in existing hyper-parameter optimization systems, Hippo breaks down the hyper-parameter sequences into stages and merges common stages to form a tree of stages (called a stage-tree), then executes a stage once per tree on a distributed GPU server environment. Hippo is applicable to not only single studies, but multi-study scenarios as well, where multiple studies of the same model and search space can be formulated as trees of stages. Evaluations show that Hippo's stage-based execution strategy outperforms trial-based methods such as Ray Tune for several models and hyper-parameter optimization algorithms, reducing GPU-hours and end-to-end training time significantly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。