arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.05680cs.LG
收藏

联合调整硬件和超参数的多目标视角

A multi-objective perspective on jointly tuning hardware and hyperparameters

Amazon(亚马逊)

David Salinas, Valerio Perrone, Olivier Cruchant, Cedric Archambeau

摘要:

除了最佳模型架构和超参数之外,完整的AutoML解决方案还需要自动选择适当的硬件。这可以被视为一个多目标优化问题:没有一个单一的最佳硬件配置,而是一组最佳硬件配置,以实现成本和运行时间之间的不同权衡。在实践中,有些选择可能过于昂贵或需要几天的训练。为了减轻这一负担,我们采用了一种多目标方法,该方法自动选择和调整硬件配置以及神经架构及其超参数。我们的方法建立在Hyperband的基础上,并以两种方式对其进行扩展。首先,我们用一个非支配的排序规则来取代Hyperband中使用的停止规则,以抢先停止没有希望的配置。其次,我们通过迁移学习利用相关任务的超参数评估,通过构建Pareto前沿的概率估计,比随机搜索更有效地找到有希望的配置。我们在广泛的NAS和HPO实验中表明,这两种成分都带来了显着的速度提升和成本节约,对准确性几乎没有影响。在除了超参数之外还选择硬件的三个基准测试中,我们分别获得了至少5.8倍和8.8倍的运行时间和成本降低。此外,当我们的多目标方法只调整超参数时,我们在运行时间上获得了10%的改进,同时在两个流行的NAS基准测试中保持了相同的精度。

英文摘要:

In addition to the best model architecture and hyperparameters, a full AutoML solution requires selecting appropriate hardware automatically. This can be framed as a multi-objective optimization problem: there is not a single best hardware configuration but a set of optimal ones achieving different trade-offs between cost and runtime. In practice, some choices may be overly costly or take days to train. To lift this burden, we adopt a multi-objective approach that selects and adapts the hardware configuration automatically alongside neural architectures and their hyperparameters. Our method builds on Hyperband and extends it in two ways. First, we replace the stopping rule used in Hyperband by a non-dominated sorting rule to preemptively stop unpromising configurations. Second, we leverage hyperparameter evaluations from related tasks via transfer learning by building a probabilistic estimate of the Pareto front that finds promising configurations more efficiently than random search. We show in extensive NAS and HPO experiments that both ingredients bring significant speed-ups and cost savings, with little to no impact on accuracy. In three benchmarks where hardware is selected in addition to hyperparameters, we obtain runtime and cost reductions of at least 5.8x and 8.8x, respectively. Furthermore, when applying our multi-objective method to the tuning of hyperparameters only, we obtain a 10\% improvement in runtime while maintaining the same accuracy on two popular NAS benchmarks.

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

↑