TL;DR
Standard Bayesian optimization (BO) algorithms guarantee convergence to a global optimum only when kernel hyperparameters—such as lengthscales and function complexity bounds—are known in advance. In practice, estimating them on the fly often misleads models into getting stuck in local optima. This paper introduces Adaptive GP-UCB (A-GP-UCB), the first algorithm that guarantees sublinear regret (provable global convergence) without knowing the true hyperparameters, accomplished by systematically and carefully expanding the candidate function space over time.
What Problem Does This Paper Address?
Bayesian optimization with Gaussian processes (GPs) is a gold standard for optimizing expensive black-box functions, like hyperparameter tuning in machine learning or policy search in robotics. Theoretical convergence guarantees (such as those for GP-UCB) hinge on knowing the reproducing kernel Hilbert space (RKHS) norm bound $B$ and kernel lengthscales $\theta$ a priori.
In practice, practitioners estimate these hyperparameters online using maximum a posteriori (MAP) estimation or Markov Chain Monte Carlo (e.g., HMC). However, standard GP priors with stationary kernels assume the function’s smoothness is homogeneous across the entire search space. If the algorithm initially samples a smooth, flat region, online inference infers large lengthscales, rules out the possibility of sharp, isolated peaks, and gets permanently trapped in suboptimal regions.
Methods
The authors propose Adaptive GP-UCB (A-GP-UCB):
- Expanding the Function Space: Starting from an initial guess of lengthscales $\theta_0$ and norm bound $B_0$, the algorithm gradually decreases lengthscales $\theta_t = \theta_0 / g(t)$ and increases the norm bound $B_t = b(t) g(t)^d B_0$, where $g(t) \ge 1$ and $b(t) \ge 1$ are monotonically increasing functions.
- Accounting for Dimensionality: Shrinking lengthscales enlarges the function class, but it also inflates the RKHS norm of any existing function by up to $g(t)^d$. The algorithm explicitly scales the confidence parameter $\beta_t$ by $g(t)^d$ to preserve valid coverage.
- Reference Regret Matching: To keep scaling practical rather than excessively conservative, the authors propose tracking a sublinear reference regret target (e.g., $p(t) = t^{0.9}$). If estimated cumulative regret falls below $p(t)$, the algorithm scales up the function space to encourage exploration.
- Integration with Online Estimation: A-GP-UCB seamlessly wraps around standard MAP hyperparameter estimation—for instance, scaling down the MAP estimate directly via $\theta_t = \theta_t^{\text{MAP}} / \max(g(t), 1)$—combining fast empirical convergence with theoretical safeguards.
Initial Function Class (Small, Smooth)
[ H_θ0, B_0 ]
│
▼ (Scale g(t), b(t) slowly)
Expanded Function Class (Rougher, Higher Norm)
[ H_θt, B_t ] ──► Encloses True Function f
──► Guarantees Sublinear Regret
Datasets
The authors evaluated their approach across three testbeds:
- Synthetic 1D Bump Function: A function with a wide, flat region and a narrow peak ($\|f\|_{k_\theta} = 2, \theta = 0.1$) designed to induce failure in standard hyperparameter estimation.
- Discretized GP Samples: Functions drawn from a GP prior on a grid and interpolated to guarantee membership in the RKHS ($B=4, \theta=0.1$), evaluated across 10 random seeds.
- MNIST Logistic Regression Benchmark: Hyperparameter tuning of four parameters (learning rate, $\ell_2$ regularization, batch size, dropout rate) to minimize validation loss on the MNIST handwritten digit dataset.
Key Insights and Ideas
- The Local Trap of Stationary GPs: Under a stationary GP prior, a function that is flat everywhere except for a single sharp peak is viewed as statistically improbable. Online estimators will naturally favor overly large lengthscales, artificially collapsing uncertainty over the rest of the space.
- Two-Phase Regret Decomposition: The regret bound naturally splits into:
- A finite constant-regret phase ($R \le 2B t_0$) while the candidate function class is still too restrictive to contain the true function.
- A sublinear regret phase once $g(t)$ and $b(t)$ grow large enough that $f \in \mathcal{H}_{\theta_t}$ with $\|f\|_{\theta_t} \le B_t$, recovering GP-UCB convergence rates.
- Exploration Has a Dimension-Dependent Cost: Information capacity $\gamma_t$ grows with the scaling factor as $\mathcal{O}(g(t)^d (\log t)^{d+1})$ for squared exponential kernels. Heuristic approaches that shrink lengthscales without incorporating the dimension $d$ risk expanding uncertainty too quickly to achieve sublinear cumulative regret.
Key Results
- Avoiding Local Optima: On the synthetic bump problem, HMC hyperparameter estimation stalled at a simple regret around $0.3$ and suffered linear cumulative regret. In contrast, A-GP-UCB achieved sublinear cumulative regret and discovered the global optimum.
- Robustness to Severe Misspecification: On GP samples where the norm bound was underestimated ($B_0 = 0.25$ vs. true $B = 4.0$), standard GP-UCB stalled, whereas A-GP-UCB adjusted its confidence bounds and converged successfully.
- Preserving Empirical Speed: On the 4D MNIST benchmark, A-GP-UCB combined with MAP estimation matched the fast convergence of nominal MAP-based BO while retaining ongoing exploratory behavior to safeguard against unobserved optima.
Limitations and Future Work
- Curse of Dimensionality: The required scaling factor grows exponentially with dimension $d$ ($g(t)^d$), meaning exploration can slow down considerably in high-dimensional domains unless combined with low-dimensional subspace embeddings (e.g., REMBO).
- Stationary Kernel Limitation: The theory focuses on stationary kernels and varying lengthscales/norms; it does not yet extend to structural kernel learning or dynamically adapting the smoothness parameter $\nu$ of Matérn kernels.
- Sensitivity to the Reference Schedule: While reference regret matching performs well empirically, setting $p(t)$ or the exploration weight $\lambda$ introduces practical design choices that trade finite-time performance against exploration speed.
Summary updated