NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable Hyperparameter Transfer Learning

Valerio Perrone, Rodolphe Jenatton, Matthias W. Seeger, Cédric ArchambeauNeurIPS 2018

Introduction

Hyperparameter Optimization (HPO) is essential for maximizing machine learning model performance, but it is computationally expensive since every trial requires training a model from scratch. Bayesian Optimization (BO) mitigates this by using a surrogate model—typically a Gaussian Process (GP)—to predict promising hyperparameters.

However, GPs scale cubically ($O(n^3)$) with the number of evaluations. This computational bottleneck makes it nearly impossible to leverage data from past HPO runs (transfer learning) because the aggregated observations across tasks become too large for a GP. Consequently, most HPO processes start from scratch, wasting valuable historical data.

To address this, the authors propose a multi-task Adaptive Bayesian Linear Regression (ABLR) model that allows BO to "warm-start" by transferring knowledge from previous tuning runs. Unlike traditional GPs, this method scales linearly, enabling the use of hundreds of thousands of past evaluations to find optimal hyperparameters significantly faster.

Methods: Multi-Task ABLR

The authors introduce a multi-task ABLR model to bridge the gap between scalability and transferability:

  1. Shared Architecture: The model employs a shared deep neural network (NN) that learns a feature representation ($\phi$) across all tasks. On top of this shared representation, each individual task (e.g., HPO on a specific dataset) has its own Bayesian Linear Regression head.
  2. Transfer Learning: By sharing the underlying neural network, the model learns a basis for effective hyperparameter configurations across different datasets or related signals.
  3. Joint Learning: Unlike previous two-step methods (such as DNGO) that train the NN and the Bayesian layer separately, this approach learns them jointly by optimizing the marginal likelihood. This joint optimization allows the model to better calibrate its uncertainty.
  4. Scalability: By utilizing linear regression on top of learned features, the computational complexity is reduced to $O(n)$ relative to the number of observations. The implementation leverages efficient linear algebra operators in MXNet for automatic differentiation and GPU acceleration.

Datasets and Evaluation

The method was evaluated across three distinct problem types:

  • Synthetic Quadratics: A controlled environment using parameterized quadratic functions to test basic transfer learning mechanics.
  • OpenML Benchmarks: Large-scale real-world HPO data for SVM and XGBoost across 30 datasets. The XGBoost dataset alone contained nearly 600,000 function evaluations—a scale unreachable by standard GPs.
  • LIBSVM Benchmarks: A multi-signal experiment where the model tuned a feedforward neural network by leveraging auxiliary signals (like training loss and training time) to accelerate the optimization of the target validation loss.

Key Insights

  • Representation is Key: The shared neural network acts as a feature extractor that maps the landscape of the hyperparameter space. This enables the model to make educated guesses on a new dataset after seeing only one or two evaluations.
  • Empirical Bayes: Automatically learning the noise ($\beta$) and scale ($\alpha$) parameters for each task is critical. Different datasets exhibit different noise levels; treating them uniformly leads to poor performance.
  • Auxiliary Signals as Tasks: Transfer learning isn't limited to different datasets. Auxiliary metrics like "training loss" or "training time" can be treated as related tasks. Since these are generated for free during a trial, the model uses them to learn the feature space faster, improving the optimization of the primary validation loss metric.

Key Results

The proposed ABLR method demonstrated significant improvements in both speed and optimization efficiency.

Optimization performance comparing ABLR with DNGO and BOHAMIANN
  • Speed: ABLR was found to be at least one order of magnitude faster than competing state-of-the-art methods like BOHAMIANN and DNGO. In the SVM experiment, ABLR took approximately 16 seconds per iteration, whereas BOHAMIANN required over 1,300 seconds.
  • Efficiency: On the quadratic toy problem, the transfer-learning version of ABLR reached the global minimum significantly faster than single-task BO.
  • Large-Scale Success: On the massive OpenML XGBoost benchmark, ABLR successfully leveraged over half a million past observations to outperform standard BO and random search. This demonstrates that more data actively improves HPO when the surrogate model can scale to handle it.
Wall-clock time scaling linearly with the number of evaluations

Limitations and Future Work

While ABLR is highly scalable, linear regression surrogates can sometimes struggle with predictive variance (uncertainty estimation) when extrapolating far from observed data points, compared to non-linear kernels.

Future directions proposed by the authors include:

  • Extending the model to handle binary signals using logistic regression layers.
  • Scaling to an even larger number of tasks by transitioning from batch optimization (L-BFGS) to stochastic optimization.
  • Applying the joint Bayesian learning framework to multi-task active learning or multi-label learning scenarios.

Summary updated

BibTeX
@inproceedings{perrone2018scalable,
  author = {Valerio Perrone and Rodolphe Jenatton and Matthias W. Seeger and Cédric Archambeau},
  title = {{Scalable Hyperparameter Transfer Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=HkZ0FUWO-r},
}
Figure