arXivDaily arXiv每日学术速递 周一至周五更新
今晚才能更新了~~大家休息下再来吧
arXiv 2306.08055cs.LGcs.AI
收藏

随规模扩展同步调优:面向计算高效训练的超参数优化

Tune As You Scale: Hyperparameter Optimization For Compute Efficient Training

Generally Intelligent(通用智能公司);UC Berkeley(加州大学伯克利分校)

Abraham J. Fetterman, Ellie Kitanidis, Joshua Albrecht, Zachary Polizzi, Bryden Fogelman, Maksis Knutins, Bartosz Wróblewski, James B. Simon, Kanjun Qiu

AI总结:

针对大模型超参数调优成本高、难度大的问题,提出成本感知帕累托区域贝叶斯搜索算法CARBS,可随模型规模扩展同步调优,以更低计算量复现经典缩放结果并适配各类深度学习任务。

摘要:

深度学习模型的超参数调优可在相同计算量下带来数量级的性能提升。尽管如此,系统性调优并不常见,尤其是针对大模型——这类模型评估成本高昂,且往往包含大量超参数,需要在权衡取舍、预算和搜索范围之间做出艰难的判断决策。为解决这些问题并提出一种可稳健调优大模型的实用方法,我们提出了成本感知帕累托区域贝叶斯搜索(Cost-Aware Pareto Region Bayesian Search,CARBS),这是一种围绕性能-成本帕累托前沿进行局部搜索的贝叶斯优化算法。CARBS即使在超参数众多的无界搜索空间中也表现出色,它能学习缩放关系,从而在模型规模扩大时仍可完成调优,并将调优过程中大量的“黑魔法”式操作自动化。在我们的实验结果中,仅通过调优一个简单基线(原始ProcGen论文中提供的PPO),我们就有效攻克了整个ProcGen基准测试。我们还复现了Chinchilla项目(Hoffmann等人,2022)中的模型规模与训练token数的缩放结果,同时通过一套简便的自动化流程发现了所有其他超参数的缩放定律;该流程的计算消耗显著更低,且适用于任意深度学习问题(而非仅语言模型)。

英文摘要:

Hyperparameter tuning of deep learning models can lead to order-of-magnitude performance gains for the same amount of compute. Despite this, systematic tuning is uncommon, particularly for large models, which are expensive to evaluate and tend to have many hyperparameters, necessitating difficult judgment calls about tradeoffs, budgets, and search bounds. To address these issues and propose a practical method for robustly tuning large models, we present Cost-Aware Pareto Region Bayesian Search (CARBS), a Bayesian optimization algorithm that performs local search around the performance-cost Pareto frontier. CARBS does well even in unbounded search spaces with many hyperparameters, learns scaling relationships so that it can tune models even as they are scaled up, and automates much of the "black magic" of tuning. Among our results, we effectively solve the entire ProcGen benchmark just by tuning a simple baseline (PPO, as provided in the original ProcGen paper). We also reproduce the model size vs. training tokens scaling result from the Chinchilla project (Hoffmann et al. 2022), while simultaneously discovering scaling laws for every other hyperparameter, via an easy automated process that uses significantly less compute and is applicable to any deep learning problem (not just language models).

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

↑