LGAIJun 13, 2023

Tune As You Scale: Hyperparameter Optimization For Compute Efficient Training

arXiv:2306.08055v113 citationsh-index: 11
AI Analysis

This addresses the challenge of systematic hyperparameter optimization for compute-efficient training in deep learning, particularly for large models, offering a practical method that automates tuning processes.

The paper tackles the problem of hyperparameter tuning for large deep learning models by introducing CARBS, a Bayesian optimization algorithm that efficiently tunes models even as they scale, achieving results like solving the ProcGen benchmark and reproducing Chinchilla scaling laws with less compute.

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).

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes