Skip to main content
QUICK REVIEW

[Paper Review] Scaling Laws for Hyperparameter Optimization

Arlind Kadra, Maciej Janowski|arXiv (Cornell University)|Feb 1, 2023
Machine Learning and Data ClassificationComputer Science3 citations
TL;DR

This paper proposes Deep Power Laws (DPL), a novel Bayesian optimization surrogate for hyperparameter optimization in deep learning that models learning curves as ensembles of power law functions. By leveraging scaling laws, DPL enables efficient multi-fidelity HPO with dynamic configuration prioritization, achieving state-of-the-art performance across 59 diverse deep learning tasks in tabular, image, and NLP domains.

ABSTRACT

Hyperparameter optimization is an important subfield of machine learning that focuses on tuning the hyperparameters of a chosen algorithm to achieve peak performance. Recently, there has been a stream of methods that tackle the issue of hyperparameter optimization, however, most of the methods do not exploit the dominant power law nature of learning curves for Bayesian optimization. In this work, we propose Deep Power Laws (DPL), an ensemble of neural network models conditioned to yield predictions that follow a power-law scaling pattern. Our method dynamically decides which configurations to pause and train incrementally by making use of gray-box evaluations. We compare our method against 7 state-of-the-art competitors on 3 benchmarks related to tabular, image, and NLP datasets covering 59 diverse tasks. Our method achieves the best results across all benchmarks by obtaining the best any-time results compared to all competitors.

Motivation & Objective

  • Address the high computational cost of hyperparameter optimization (HPO) in deep learning by exploiting scaling laws.
  • Overcome limitations of existing multi-fidelity HPO methods that rely only on monotonic improvement assumptions.
  • Develop a probabilistic surrogate that models learning curves as power laws to predict full-batch performance from low-budget evaluations.
  • Enable efficient, anytime HPO for diverse deep learning architectures including Transformers and ResNeXt.
  • Demonstrate the feasibility of HPO for large language models by tuning small-scale models and transferring optimal configurations to full-scale models.

Proposed method

  • Propose Deep Power Law (DPL) ensembles, a probabilistic surrogate based on multiple neural networks trained to predict power-law scaling of learning curves.
  • Condition the DPL models to enforce power-law behavior (y ∝ x^−α) across training epochs and model budgets.
  • Integrate DPL with Bayesian optimization to dynamically decide which hyperparameter configurations to pause or continue training based on performance predictions.
  • Use gray-box evaluations to observe early validation performance and estimate full-batch performance via power law extrapolation.
  • Train the ensemble jointly across all hyperparameter configurations to improve generalization and uncertainty estimation.
  • Apply the method in a multi-fidelity HPO framework where configurations are progressively evaluated at increasing budgets based on predictive uncertainty and expected improvement.

Experimental results

Research questions

  • RQ1Can power-law scaling of learning curves be effectively modeled using deep neural networks to improve HPO efficiency?
  • RQ2Does incorporating power-law priors into a surrogate model lead to better performance estimation and configuration selection in multi-fidelity HPO?
  • RQ3Can DPL outperform existing state-of-the-art HPO baselines across diverse deep learning tasks and architectures?
  • RQ4To what extent can HPO on small-scale models (e.g., small GPT-2) transfer to full-scale models using DPL?
  • RQ5How does DPL’s uncertainty estimation compare to standard Bayesian optimization surrogates in guiding exploration?

Key findings

  • DPL achieves the best any-time performance across all 59 tasks in the benchmark, outperforming 7 state-of-the-art HPO baselines.
  • On the PD1 benchmark, DPL explored unpromising configurations more effectively by leveraging uncertainty estimates, confirming superior search space efficiency.
  • For small-scale GPT-2 models, DPL discovered the optimal hyperparameter configuration for the full-scale 384-dim model in 3.6 hours, compared to 21.52 hours for a single full training run.
  • The configurations discovered by DPL on small models achieved competitive performance on full-scale transformers, often matching or exceeding the oracle configuration.
  • DPL demonstrated robustness across diverse modalities, including tabular, image, and NLP tasks, using architectures like Transformers, XFormer, ResNeXt, and GPT-2.
  • Despite suboptimal uncertainty estimates from deep ensemble components, DPL still achieved superior HPO performance, suggesting the power-law inductive bias is highly effective.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.