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

Efficient Transfer Bayesian Optimization with Auxiliary Information

Tomoharu Iwata, Takuma OtsukaarXiv 2019

Abstract

We propose an efficient transfer Bayesian optimization method, which finds the maximum of an expensive-to-evaluate black-box function by using data on related optimization tasks. Our method uses auxiliary information that represents the task characteristics to effectively transfer knowledge for estimating a distribution over target functions. In particular, we use a Gaussian process, in which the mean and covariance functions are modeled with neural networks that simultaneously take both the auxiliary information and feature vectors as input. With a neural network mean function, we can estimate the target function even without evaluations. By using the neural network covariance function, we can extract nonlinear correlation among feature vectors that are shared across related tasks. Our Gaussian process-based formulation not only enables an analytic calculation of the posterior distribution but also swiftly adapts the target function to observations. Our method is also advantageous because the computational costs scale linearly with the number of source tasks. Through experiments using a synthetic dataset and datasets for finding the optimal pedestrian traffic regulations and optimal machine learning algorithms, we demonstrate that our method identifies the optimal points with fewer target function evaluations than existing methods.

Introduction

Bayesian Optimization (BO) is the standard approach for finding the maximum of "expensive" black-box functions, such as hyperparameter tuning for deep learning models or complex physical simulations. However, traditional BO typically starts from scratch for every new task, ignoring potentially valuable data from related previous experiments. Transfer Bayesian Optimization aims to address this by "warm-starting" the process using metadata from prior tasks.

The primary challenges in Transfer BO include effectively utilizing task-specific "auxiliary information" (descriptors like dataset size or environmental conditions), ensuring computational scalability as the number of prior tasks grows, and handling "cold starts" where the model must predict function values before any new samples are taken.

Proposed Method: Neural Mean and Covariance Gaussian Processes (NGP)

To address these challenges, we introduce the Neural Mean and Covariance Gaussian Process (NGP). This model combines the non-parametric flexibility of Gaussian Processes with the representational power of neural networks.

In a standard GP, the mean is often zero and the kernel is fixed. NGP replaces these with:

  • Neural Mean Function: A neural network $m(x, r; \xi)$ that takes both the feature vector $x$ and the task descriptor $r$ as input. This enables the model to predict the function's shape for a new task even before the first evaluation.
  • Neural Covariance Function: A neural network $g(x, r; \psi)$ transforms inputs into a latent space before applying a kernel, allowing the model to learn complex, nonlinear correlations shared across tasks.
Architecture of the NGP model

The workflow involves a meta-training phase where parameters ($\xi, \psi$) are optimized across all source tasks. Crucially, this process scales linearly ($O(D)$) with the number of tasks, avoiding the cubic complexity ($O(D^3)$) typical of multi-task GPs. During target optimization, the trained NGP serves as the surrogate model, using the Expected Improvement (EI) acquisition function to guide sampling.

Experimental Evaluation

We evaluated the NGP framework across three distinct domains to test its robustness and transfer capabilities:

  1. Synthetic Data: Functions generated by random neural networks to assess the model's ability to recover complex surfaces across 100 source tasks.
  2. Traffic Regulation Data: A multi-agent crowd simulator for the National Stadium in Tokyo. The goal was to minimize congestion by finding optimal pedestrian route proportions, using population sizes as task descriptors.
  3. Classifier Hyperparameter Data: Optimizing six machine learning algorithms (e.g., SVM, Random Forest) across various datasets, with dataset statistics serving as auxiliary information.
Target functions for the three experimental datasets

Results and Discussion

The full NGP model (NGP-RMK) demonstrated significant efficiency gains over standard BO and existing transfer methods. On the synthetic dataset, NGP-RMK identified the maximum in an average of 9.00 evaluations, compared to 71.05 for a standard GP. In the traffic optimization task, it required only 18.16 evaluations, outperforming other transfer methods.

A key insight is the "zero-shot" advantage provided by the neural mean function. By conditioning on task descriptors, the model can make highly accurate initial guesses, often placing the first few samples near the global optimum. Ablation studies confirmed that both the neural mean and the inclusion of task descriptors are critical for this performance. Furthermore, the linear scalability allows the model to leverage hundreds of prior tasks without the computational bottlenecks of traditional multi-task approaches.

Conclusion and Future Work

The NGP framework provides a scalable and effective solution for Transfer Bayesian Optimization. By integrating auxiliary information through neural networks, it achieves rapid adaptation and high sample efficiency.

Future research will focus on improving intra-task scalability to handle large numbers of observations within a single task (e.g., via sparse GPs) and extending the model to handle structured auxiliary inputs like images or graphs using specialized neural architectures like CNNs or GNNs.

Summary updated

BibTeX
@misc{iwata2019efficient,
  author = {Tomoharu Iwata and Takuma Otsuka},
  title = {{Efficient Transfer Bayesian Optimization with Auxiliary Information}},
  year = {2019},
  eprint = {1909.07670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.07670},
}
Figure