English

Taking the GP Out of the Loop

Machine Learning 2026-05-06 v3 Artificial Intelligence Machine Learning

Abstract

Bayesian optimization (BO) has traditionally solved black-box problems where function evaluation is expensive and, therefore, observations are few. Recently, however, there has been growing interest in applying BO to problems where function evaluation is cheaper and observations are more plentiful. In this regime, scaling to many observations NN is impeded by Gaussian-process (GP) surrogates: GP hyperparameter fitting scales as O(N3)\mathcal{O}(N^3) (reduced to roughly O(N2)\mathcal{O}(N^2) in modern implementations), and it is repeated at every BO iteration. Many methods improve scaling at acquisition time, but hyperparameter fitting still scales poorly, making it the bottleneck. We propose Epistemic Nearest Neighbors (ENN), a lightweight alternative to GPs that estimates function values and uncertainty (epistemic and aleatoric) from KK-nearest-neighbor observations. ENN scales as O(N)\mathcal{O}(N) for both fitting and acquisition. Our BO method, TuRBO-ENN, replaces the GP surrogate in TuRBO with ENN and its Thompson-sampling acquisition with UCB=μ(x)+σ(x)\mathrm{UCB} = \mu(x) + \sigma(x). For the special case of noise-free problems, we can omit fitting altogether by replacing UCB\mathrm{UCB} with a non-dominated sort over μ(x)\mu(x) and σ(x)\sigma(x). We show empirically that TuRBO-ENN reduces proposal time (i.e., fitting time + acquisition time) by one to two orders of magnitude compared to TuRBO at up to 50,000 observations.

Keywords

Cite

@article{arxiv.2506.12818,
  title  = {Taking the GP Out of the Loop},
  author = {Mehul Bafna and Siddhant anand Jadhav and David Sweet},
  journal= {arXiv preprint arXiv:2506.12818},
  year   = {2026}
}

Comments

21 pages, 17 figures

R2 v1 2026-07-01T03:18:24.598Z