面向高性能计算系统上大型数据集超参数优化的资源自适应连续倍增算法
Resource-Adaptive Successive Doubling for Hyperparameter Optimization with Large Datasets on High-Performance Computing Systems
AI总结:
本文提出资源自适应连续倍增算法(RASDA),结合连续倍增方案与ASHA,在HPC系统上利用大规模GPU并行优化超参数,在保持或提升模型质量的同时将运行时间缩短1.9倍,并首次实现TB级科学数据集的高效HPO。
摘要:
在 High-Performance Computing (HPC) 系统上,可以并行评估多个超参数配置以加速 Hyperparameter Optimization (HPO) 过程。最先进的 HPO 方法采用基于 bandit 的方法并建立在 successive halving 之上,其中组合的最终性能是基于低于完全训练的保真度性能指标来估计的,并且随着时间的推移,会为更有前景的组合分配更多资源。通常,epoch 数量被视为一种资源,让更有前景的组合训练更长时间。另一种选择是将 worker 数量作为一种资源,并通过数据并行训练直接将更多 worker 分配给更有前景的配置。本文提出了一种新颖的 Resource-Adaptive Successive Doubling Algorithm (RASDA),它将资源自适应连续倍增方案与普通的 Asynchronous Successive Halving Algorithm (ASHA) 相结合。该方法在现代 HPC 系统上高达 1,024 个 Graphics Processing Units (GPUs) 的规模上展示了可扩展性。它被应用于不同类型的 Neural Networks (NNs),并在来自 Computer Vision (CV)、Computational Fluid Dynamics (CFD) 和 Additive Manufacturing (AM) 领域的大型数据集上进行训练,在这些领域中,执行超过一次完整训练运行通常是不可行的。实证结果表明,在运行时间方面,RASDA 的性能比 ASHA 高出多达 1.9 倍。同时,RASDA 的隐式 batch size 调度保持甚至超越了最终 ASHA 模型的解质量。借助 RASDA,文献中首次将系统性 HPO 应用于 TB 级科学数据集,实现了对海量科学数据上复杂模型的高效优化。RASDA 的实现可在 https://github.com/olympiquemarcel/rasda 上获取。
英文摘要:
On High-Performance Computing (HPC) systems, several hyperparameter configurations can be evaluated in parallel to speed up the Hyperparameter Optimization (HPO) process. State-of-the-art HPO methods follow a bandit-based approach and build on top of successive halving, where the final performance of a combination is estimated based on a lower than fully trained fidelity performance metric and more promising combinations are assigned more resources over time. Frequently, the number of epochs is treated as a resource, letting more promising combinations train longer. Another option is to use the number of workers as a resource and directly allocate more workers to more promising configurations via data-parallel training. This article proposes a novel Resource-Adaptive Successive Doubling Algorithm (RASDA), which combines a resource-adaptive successive doubling scheme with the plain Asynchronous Successive Halving Algorithm (ASHA). Scalability of this approach is shown on up to 1,024 Graphics Processing Units (GPUs) on modern HPC systems. It is applied to different types of Neural Networks (NNs) and trained on large datasets from the Computer Vision (CV), Computational Fluid Dynamics (CFD), and Additive Manufacturing (AM) domains, where performing more than one full training run is usually infeasible. Empirical results show that RASDA outperforms ASHA by a factor of up to 1.9 with respect to the runtime. At the same time, the solution quality of final ASHA models is maintained or even surpassed by the implicit batch size scheduling of RASDA. With RASDA, systematic HPO is applied to a terabyte-scale scientific dataset for the first time in the literature, enabling efficient optimization of complex models on massive scientific data. The implementation of RASDA is available on https://github.com/olympiquemarcel/rasda
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。