Fantasizing with Dual GPs in Bayesian Optimization and Active Learning

Paul E. Chang, Prakhar Verma, S. T. John, Victor Picheny, Henry B. Moss, Arno SolinarXiv 2022 · DOI

TL;DR

This paper introduces a new method for efficiently updating Gaussian Process (GP) models in Bayesian Optimization (BO) and Active Learning (AL), especially when dealing with non-Gaussian data. By leveraging a "dual parameterization" of sparse GPs, they achieve linear scaling with batch size and enable one-step updates, significantly speeding up complex optimization tasks.

What Problem Does This Paper Address?

Bayesian Optimization (BO) and Active Learning (AL) are powerful techniques for efficiently finding optimal solutions or learning the most informative data points in complex, black-box scenarios. They rely on surrogate models, most commonly Gaussian Processes (GPs), to predict the outcome of experiments or the behavior of a system. A key challenge arises when we want to query multiple points simultaneously (batch optimization) or when the data doesn't follow a simple Gaussian distribution (non-Gaussian likelihoods).

Standard GPs can be updated efficiently when new data arrives, but this becomes computationally expensive with large datasets or when using non-Gaussian likelihoods, often requiring iterative optimization. Sparse GPs offer a way to scale to larger datasets by using a smaller set of "inducing points," but updating them with new data, especially in a batch or non-Gaussian setting, still presents computational hurdles. Specifically, existing methods for batch updates with non-Gaussian likelihoods often resort to approximations like Laplace approximation, which can be slow and complex. This paper tackles the problem of efficiently conditioning sparse GP models on newly "fantasized" data points within batch acquisition functions, particularly for non-Gaussian likelihoods.

Methods

The core innovation of this paper lies in the application of the dual parameterization of sparse Gaussian Processes (GPs), introduced by Adam et al. [16], to the problem of batch conditioning.

  • Sparse Variational Gaussian Processes (SVGP): The paper builds upon SVGP models, which use a set of inducing points to approximate the full GP posterior, reducing computational complexity from cubic to quadratic in the number of data points (or linear in the number of inducing points, $m$).
  • Dual Parameterization: Instead of directly optimizing the mean and covariance of the variational posterior ($m, V$), the dual parameterization optimizes a different set of variables ($\Lambda, \Lambda^*$). This formulation, motivated by tighter hyperparameter bounds and efficient natural gradient steps, proves to be advantageous for posterior updates.
  • Dual Conditioning: The key contribution is showing that this dual parameterization allows for efficient, one-step updates when conditioning on new data, even with non-Gaussian likelihoods. This is achieved by using a specific update rule (Eq. 4 in the paper) that directly modifies the dual parameters based on the new data and the gradient of the log-likelihood. This bypasses the need for iterative optimization loops or complex approximations like Laplace approximation.
  • Fantasizing Batch Acquisition: The method integrates this dual conditioning into batch acquisition functions. For each point in the batch, a "fantasized" observation is generated (typically the mean prediction of the current GP), and then the GP is efficiently updated using the dual conditioning method. This process is repeated for each point in the batch, allowing for greedy batch construction.

Datasets

The paper evaluates their method on two main tasks:

  • Streaming Banana Classification: This is a synthetic dataset used in previous work [13] to evaluate online conditioning of sparse GPs. The data is presented in batches, simulating a streaming scenario.
  • Lunar Lander Problem: This is a challenging, high-dimensional, stochastic control problem. The authors model it using both a regression task (maximizing reward) and a classification task (predicting landing success), utilizing a non-Gaussian likelihood for the classification part. This serves as a benchmark for their method on a complex, real-world-inspired problem.

Key Insights and Ideas

  • One-Step Updates for Non-Gaussian Likelihoods: The most significant insight is that the dual parameterization of sparse GPs enables efficient, one-step posterior updates even when dealing with non-Gaussian likelihoods. This is a major improvement over previous methods that required iterative approximations.
  • Linear Scaling with Batch Size: By efficiently conditioning on fantasized data points, the method achieves a computational complexity that scales linearly with the batch size, making batch optimization much more feasible.
  • Unified Framework: The dual conditioning approach provides a unified way to handle both Gaussian and non-Gaussian likelihoods within the same efficient update mechanism, simplifying the implementation of batch BO/AL algorithms.
  • Recovering Offline Performance: The experiments demonstrate that their online dual conditioning method can recover a posterior very similar to that of an offline SVGP model trained on the full dataset, even when data arrives sequentially.

Key Results

  • Streaming Banana Classification: The dual SVGP model with dual conditioning produced a decision boundary and class probability that closely matched the offline SVGP model. In contrast, the OVC method [13] did not recover the full-data decision boundary as well and showed less accurate uncertainty estimates.
  • Lunar Lander Problem: The paper successfully applied their batch BO method to the high-dimensional, stochastic lunar lander problem. They showed the benefit of batch acquisition in this noisy setup by comparing their batch solution with fantasization against a non-batch approach, demonstrating improved performance.
  • Computational Efficiency: The paper highlights the superior computational complexity of their method ($O(n_{new}m^2 + m^3)$ per iteration) compared to methods relying on Laplace approximation for non-Gaussian likelihoods ($O((m+n_{new})^3)$).

Limitations and Future Work

  • Fixed Inducing Points and Hyperparameters: In their batch optimization algorithm (Algorithm 1), the inducing inputs ($Z$) and hyperparameters ($\Theta$) are kept fixed within the inner loop of optimizing the acquisition function. They are only updated in the outer loop when new experimental data is obtained.
  • Future Work: The authors suggest several promising directions:
  • Applying their method to model-based reinforcement learning.
  • Extending the framework to update the inducing points ($Z$) and hyperparameters ($\Theta$) in a fully online setting, building on prior work [14].

Summary updated

BibTeX
@misc{chang2022fantasizing,
  author = {Paul E. Chang and Prakhar Verma and S. T. John and Victor Picheny and Henry B. Moss and Arno Solin},
  title = {{Fantasizing with Dual GPs in Bayesian Optimization and Active Learning}},
  year = {2022},
  eprint = {2211.01053},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.01053},
}
Figure