betaFeedback

WorksComputer Science

IQS-BO: In-Context Query Selection for Bayesian Optimisation

Abstract

Bayesian Optimisation (BO) is a powerful framework for optimising expensive black-box functions, but typically requires refitting a surrogate and maximising an acquisition function at every evaluation. In-context approaches based on Prior-data Fitted Networks (PFNs) amortise part of this cost by pre-training transformers on functions drawn from synthetic priors. PFNS4BO amortises the surrogate but still relies on a numerically maximised acquisition function, while FIBO performs BO fully in-context by sampling optimiser locations from a learned density, which fixes the decision rule and admits no surrogate. Learned acquisition functions score a finite candidate set with a network, but, lacking a label for the query, learn the score by reinforcement learning. We propose IQS-BO, a PFN that learns the query decision by supervised learning on synthetic priors. In a single forward pass, IQS-BO predicts the probability that each candidate is the best in the set, and we show that training minimises its expected KL divergence to the posterior probability of this event. The model can be pre-trained without a surrogate for fully in-context BO, or take the predictions of a fixed probabilistic surrogate as additional input, amortising only the decision step. Our method proposes queries at a fraction of the cost of acquisition-based methods, while matching or outperforming BO with Gaussian processes (GPs) and available in-context methods in sequential and batch optimisation, in low and high dimensions. Finally, we propose a mixture prior for pre-training PFNs which combines samples from GPs with functions exhibiting warped inputs, narrow optima, or plateaus that are poorly modelled by stationary GP kernels. We show that pre-training on this prior can improve performance and help the network generalise to a broader range of optimisation problems.

Introduction

Bayesian optimisation (BO) [22, 39, 10] aims to maximise an expensive black-box function, and has proven beneficial when objective evaluations are costly and only a limited number of evaluations is available. Given an initial dataset, BO typically alternates between fitting a probabilistic surrogate and selecting the next query by maximising an acquisition function. Both steps are repeated for every new observation: the surrogate must adapt as the dataset grows, while the acquisition function is a non-convex objective whose optimisation often requires dedicated sampling, restart, and numerical optimisation procedures [50].

In-context methods can reduce per-round costs by pre-training transformer architectures on functions drawn from priors from which sampling is efficient [31]. Existing methods differ in which part of the BO process they amortise Figure 1.

Figure 1. One optimisation round of traditional BO, PFNs4BO (Müller et al., [32]), FIBO (de Carvalho et al., [7]) and IQS-BO with and without a surrogate. DkD_k: observations after kk evaluations, xk+1x_{k+1}: next query, CkC_k: candidates drawn from DkD_k, α\alpha: acquisition function, J∗J^*: index of the best candidate. Red: fitted or optimised every round. Green: one forward pass of a pre-trained network. Red-to-green: fixed surrogate of either kind. Blue: sampling without learning. Grey: quantities passed between steps.

PFNs4BO [32] amortises the surrogate with a Prior-data Fitted Network (PFN) which returns the posterior predictive of each input in a single forward pass. Surrogate fitting is no longer required, since the model adapts to new observations in-context, but an acquisition function must still be specified and numerically maximised at every round. Moreover, the acquisition function requires a closed form on the PFN’s output. Tabular foundation models such as TabPFN [15] can be used in the same way to model the black-box function without fitting a surrogate.

FIBO [7] removes the surrogate fit as well as the choice and maximisation of the acquisition function. A pre-trained PFN encoder embeds the observations, and a normalising flow conditioned on that embedding models the distribution of the optimum’s location which is sampled directly to obtain proposals. The learned object is a density over the search space, and the authors show that sampling from it amounts to Thompson sampling under the pre-training prior. The method is especially suitable for high-throughput optimisation, since a batch of any size can be drawn almost for free as a set of i.i.d. draws, but implies a fixed query selection policy.

Relevant to our work, learned acquisition functions replace the analytic rule by a network that scores a finite candidate set. Since the best point to query is unknown on real data, they learn the score from rewards by reinforcement learning. Transformers for sequential decision making (Chen et al., [3]; Laskin et al., [26]), including ZeroShotOpt (Meindl et al., [30]) for BO, are trained on trajectories of existing algorithms to reproduce or improve on their decisions, whereas PFN-based methods approximate posterior quantities under a prior.

To the best of our knowledge, no BO method learns the query decision by supervised learning on synthetic priors. Under such priors the training label is free, since each pre-training function can be evaluated at every candidate, so the best one is known and query selection becomes a classification problem. This is the basis for In-context Query Selection for Bayesian Optimisation (IQS-BO).

Concretely, IQS-BO trains a transformer that reads the observations and a candidate set and predicts, for each candidate, the probability that it has the largest function value in the set. The network is trained with a cross-entropy loss, whose target is the posterior probability that each candidate is the best. At deployment, IQS-BO queries the candidate with the highest predicted probability, which approximates the Bayes-optimal choice among the candidates under the pre-training prior.

The proposed framework admits two implementations. First, the network can take only the observations and candidates as input, without a surrogate. This yields a model for fully in-context BO that, like FIBO, requires neither surrogate fitting nor acquisition function optimisation at deployment. Second, the network can take as additional input the predictions of a fixed probabilistic surrogate. We show this with released PFNs4BO and TabPFN models, and with a Gaussian process whose hyperparameters are fitted to each task in pre-training and refitted at every iteration at deployment.

Empirically, IQS-BO, pre-trained for a fixed input dimension and batch size, (i) outperforms PFNs4BO pre-trained on the same prior and deployed via acquisition-function maximisation with L-BFGS-B, with gains increasing as both context size and batch size grow; (ii) matches or outperforms GP-based BO, FIBO, TabPFN, ZeroShotOpt and other baselines across real and synthetic benchmarks in 3 to 200 dimensions; and (iii) excels in batch optimisation, reaching a better performance than FIBO at every batch size while maintaining comparable computational cost and proposing evaluations one to three orders of magnitude faster than other in-context methods and GP-based baselines.

Finally, we propose and evaluate a pre-training prior that augments GP samples with function families that are poorly captured by fixed-kernel GPs. We show that pre-training on this prior improves the optimisation performance of IQS-BO and other PFN-based models. The gains are largest when the available context is small and extend to functions outside the pre-training prior.

Summary of Main Contributions

Our main contributions are:

  • We formulate query selection in BO as supervised classification over a candidate set, where the class to predict is the index of the best candidate. Because this label is exact and cheap to compute for functions sampled from a prior, the selection rule can be learned with a standard cross-entropy loss.

  • We show that, up to a constant, the cross-entropy objective is the expected KL divergence to the posterior probability that a candidate is the best element of the candidate set. Consequently, the learned policy targets the Bayes-optimal decision rule induced by the pre-training prior.

  • We introduce IQS-BO, a transformer that selects the next query in-context by scoring a set of candidates in a single forward pass. The model can be pre-trained without a surrogate, enabling fully in-context BO, or combined with a fixed probabilistic surrogate, such as a pre-trained PFN or a GP, to amortise the query-selection step only. Batches are constructed sequentially, with each selection conditioned on the preceding ones.

  • We study the impact of the pre-training prior and propose a new prior that combines GP samples with warped, localised and piecewise-flat functions. We show that pre-training on this prior can improve the optimisation performance of PFN-based methods for BO.

Problem Statement

We consider the maximisation of an expensive black-box function f:X→Rf : \mathcal{X} \to\mathbb{R} over X=[0,1]d\mathcal{X} = [0, 1]^d. At each optimisation round, we have observed D={(xi,yi)}i=1n\mathcal{D} = \{(x_i, y_i)\}_{i=1}^{n}, with noisy evaluations yi=f(xi)+ϵiy_i = f(x_i) + \epsilon_i, and must choose the next point at which to evaluate ff. Standard BO makes this choice by fitting a probabilistic surrogate p(f∣D)p(f \mid\mathcal{D}) and maximising an acquisition function α\alpha over X\mathcal{X}.

Our goal is to replace the maximisation of the acquisition function or, more generally, the selection of the next query, by a decision rule that is learned in-context. At each optimisation round, a stochastic sampler constructs a finite candidate set C={c1,…,cM}⊂X\mathcal{C} = \{c_1, \ldots, c_M\} \subset\mathcal{X} of MM points from D\mathcal{D} (Appendix § 10.§ 2). Instead of maximising α\alpha over X\mathcal{X}, we learn to select one candidate from C\mathcal{C} directly. Let

J∗=arg⁡max⁡k=1,…,M f(ck)(1)J^* = \underset{k=1,\ldots,M}{\arg\max}\ f(c_k) \tag*{(1)}

denote the index of the best candidate. Given the context D\mathcal{D} and the candidate set C\mathcal{C}, we select the candidate with the largest posterior probability of achieving the highest function value in the set, i.e.,

j∗=arg⁡max⁡j=1,…,M P(J∗=j∣D,C).(2)j^* = \underset{j=1,\ldots,M}{\arg\max}\ \mathbb{P}(J^* = j \mid\mathcal{D}, \mathcal{C}). \tag*{(2)}

Methodology

We now describe how the network pθp_\theta, with parameters θ\theta, is trained to approximate the posterior

P(J∗=j∣D,C),j=1,…,M(3)\mathbb{P}(J^* = j \mid\mathcal{D}, \mathcal{C}), \qquad j = 1, \ldots, M \tag*{(3)}

and how it selects the next query at inference. The network reads the observations and the candidates and approximates (3) for every candidate in a single forward pass. It is pre-trained on functions sampled from a synthetic prior, so that it selects queries in-context without any parameter update, and it can take the predictions of a fixed surrogate ϕ\phi as additional input (§ 3.4). We first state the training objective (§ 3.1) and its Bayesian interpretation (§ 3.2), then describe the architecture (§ 3.3), pre-training (§ 3.4) and inference (§ 3.5). We denote our method by IQS-BO.

Training Objective

The network pθp_\theta is pre-trained on synthetic tasks (D,C,J∗)(\mathcal{D}, \mathcal{C}, J^*), obtained by drawing a function ff from a pre-training prior p(f)p(f), a context D\mathcal{D} of noisy evaluations of ff, a candidate set C\mathcal{C} from D\mathcal{D}, and the label J∗J^* of (1). Since ff is known during pre-training, it can be evaluated without noise at every candidate, so J∗J^* is computed exactly, at the cost of MM function evaluations and one arg max. The parameters θ\theta are learned by minimising the expected cross-entropy

L(θ)=E[−log⁡pθ(J∗∣D,C)](4)\mathcal{L}(\theta)=\mathbb{E}\left[-\log p_\theta(J^*\mid D,C)\right] \tag*{(4)}

where the expectation is over tasks generated as above. In practice, (4) is estimated by its average over mini-batches of sampled tasks. Pre-training thus reduces to a multiclass classification problem whose objective is, up to a constant, the expected KL divergence to the posterior (3), as shown in Proposition 1.

Posterior-Best-Candidate Interpretation

The cross-entropy objective (4) admits a simple Bayesian interpretation. Write J∗=J∗(f,C)J^*=J^*(f,C) for the label (1), viewed as a function of the sampled function ff and the candidate set CC. Training tasks are generated as f∼p(f)f\sim p(f), D∼p(D∣f)D\sim p(D\mid f) and C∼p(C∣D)C\sim p(C\mid D), so (4) is the population loss under the joint law of (f,D,C)(f,D,C). Since the candidate sampler uses only DD and independent randomness, C⊥f∣DC\perp f\mid D. The network output pθ(⋅∣D,C)p_\theta(\cdot\mid D,C) is a probability mass function on {1,…,M}\{1,\ldots,M\}.

Proposition 1. Let πj=P(J∗=j∣D,C)\pi_j=\mathbb{P}(J^*=j\mid D,C) and H(π)=−∑jπjlog⁡πjH(\pi)=-\sum_j\pi_j\log\pi_j. For every θ\theta,

L(θ)=E[H(π)]+E[KL⁡(π∥pθ(⋅∣D,C))].\mathcal{L}(\theta)=\mathbb{E}\left[H(\pi)\right]+\mathbb{E}\left[\operatorname{KL}\left(\pi\middle\|p_\theta(\cdot\mid D,C)\right)\right].

If the model is well specified, that is, pθ(⋅∣D,C)=πp_\theta(\cdot\mid D,C)=\pi almost surely for some θ\theta, then every minimiser θ∗\theta^* of L\mathcal{L} satisfies, almost surely and for all jj,

pθ∗(j∣D,C)=P(J∗=j∣D,C)=Pf∼p(f∣D)(J∗(f,C)=j).p_{\theta^*}(j\mid D,C)=\mathbb{P}(J^*=j\mid D,C)=\mathbb{P}_{f\sim p(f\mid D)}\left(J^*(f,C)=j\right).

Proof (details in Appendix § 11). Conditioning on (D,C)(D,C), with all outer expectations taken over (D,C)(D,C), gives L(θ)=E[−∑jπjlog⁡pθ(j∣D,C)]\mathcal{L}(\theta)=\mathbb{E}\left[-\sum_j\pi_j\log p_\theta(j\mid D,C)\right], and splitting the logarithm gives the decomposition. The first term is at most log⁡M\log M and does not depend on θ\theta, and the second is non-negative and vanishes if and only if pθ(⋅∣D,C)=πp_\theta(\cdot\mid D,C)=\pi almost surely. Well-specification makes the value E[H(π)]\mathbb{E}[H(\pi)] attainable, so the minimisers are exactly such θ\theta. Finally, J∗J^* is a function of (f,C)(f,C), and p(f∣D,C)=p(f∣D)p(f\mid D,C)=p(f\mid D) because C⊥f∣DC\perp f\mid D, which gives the last equality.

Consequently, over any model class, minimising (4) minimises the expected KL divergence to the target (3). Under a 0–1 loss on the identity of the best candidate, selecting arg max⁡jP(J∗=j∣D,C)\operatorname*{arg\,max}_j\mathbb{P}(J^*=j\mid D,C) is the Bayes-optimal decision, hence the network targets the Bayes-optimal myopic decision rule on the candidate set. Since each score depends only on DD and its own candidate, the model is not well specified in general and can only approximate this target, which it does closely in practice (Appendices § 11 and § 16.§ 1).

Architecture

The network pθp_\theta is a transformer that reads DD and CC and returns a probability for every candidate in a single forward pass. Each context point (xi,yi)(x_i,y_i) is represented by the token s=is=i and each candidate CjC_j by the token s=n+js=n+j, giving n+Mn+M tokens, each with a feature vector tst_s that includes the coordinates of the point and its relation to the data, and differs between context and candidate tokens (Appendix § 9). If a fixed surrogate ϕ\phi is used, its outputs at each token, collected in a vector msm_s, are added to the embedding

hs(0)=Wfeatts+Wϕms(5)h_s^{(0)}=W_{\mathrm{feat}}t_s+W_\phi m_s \tag*{(5)}

where WfeatW_{\mathrm{feat}} and WϕW_\phi are learned and the second term is absent without a surrogate.

The tokens are processed by a transformer encoder with LL layers and no positional encoding. The encoder maps the embeddings hs(0)h_s^{(0)} to final states hs(L)h_s^{(L)}, and a scoring head gθg_\theta maps the final state of each candidate token to a score zj=gθ(hn+j(L))z_j=g_\theta\left(h_{n+j}^{(L)}\right). A softmax over the candidates gives

pθ(j∣D,C)=exp⁡(zj)∑k=1Mexp⁡(zk),j=1,…,M.(6)p_\theta(j\mid D,C)=\frac{\exp(z_j)}{\sum_{k=1}^{M}\exp(z_k)},\qquad j=1,\ldots,M. \tag*{(6)}

Context tokens attend only to each other and candidate tokens only to context tokens, so each score depends only on DD and its own candidate, and the size MM and composition of CC can differ between pre-training and inference (Appendices § 9.§ 2 and § 14.§ 5).

Algorithm 1 Pre-training IQS-BO (no surrogate, single query)

Require: prior p(f)p(f), network parameters θ\theta, candidate-set size MM

  1. for each optimiser step do

  2. Sample f∼p(f)f \sim p(f) and a context D={(xi,yi)}i=1n\mathcal{D} = \{(x_i, y_i)\}_{i=1}^{n} from ff ▷ § 3.4

  3. Draw C=CANDIDATESET⁡(D,M)\mathcal{C} = \operatorname{CANDIDATESET}(\mathcal{D}, M) ▷ Appendix § 10.§ 2

  4. Compute J∗J^* by (1) on noise-free ff

  5. Compute pθ(⋅∣D,C)p_\theta(\cdot\mid\mathcal{D}, \mathcal{C}) and take a gradient step on −log⁡pθ(J∗∣D,C)-\log p_\theta(J^* \mid\mathcal{D}, \mathcal{C}) ▷ § 3.3

  6. end for

Algorithm 2 One optimisation round of IQS-BO (single query)

Require: context D\mathcal{D}, network θ\theta, surrogate ϕ\phi or ∅\varnothing, candidate-set size MM

  1. Draw C=CANDIDATESET⁡(D,M)\mathcal{C} = \operatorname{CANDIDATESET}(\mathcal{D}, M)

  2. If ϕ≠∅\phi\ne\varnothing, compute the surrogate outputs m=ϕ(D,C)m = \phi(\mathcal{D}, \mathcal{C})

  3. Compute pθ(⋅∣D,C)p_\theta(\cdot\mid\mathcal{D}, \mathcal{C}) in one forward pass, with mm as input if available

  4. Select xnext=cȷ^x_{\mathrm{next}} = c_{\hat{\jmath}} with ȷ^=arg⁡max⁡j≤Mpθ(j∣D,C)\hat{\jmath} = \arg\max_{j \le M} p_\theta(j \mid\mathcal{D}, \mathcal{C})

  5. Evaluate ff at xnextx_{\mathrm{next}}, observe ynexty_{\mathrm{next}} and set D←D∪{(xnext,ynext)}\mathcal{D} \leftarrow\mathcal{D} \cup\{(x_{\mathrm{next}}, y_{\mathrm{next}})\}

Pre-Training

Pre-training only requires sampling functions from a prior and evaluating them at arbitrary points. We use two priors. The first is the HEBO prior of PFNs4BO (Müller et al., [32]), sampled with the hyperparameters of its released model. The second is a mixture prior that combines GP samples with three types of functions that stationary GP surrogates model poorly, namely input-warped GP samples, sums of local Gaussian bumps and piecewise-flat plateau functions (Appendices § 10.§ 1 and § 18).

Without a surrogate, the network reads only the observed data and is trained as in Algorithm 1. It learns from D\mathcal{D} both what the data imply about ff and which candidate to select, and the result is a fully in-context model that requires neither surrogate fitting nor an acquisition function at inference.

With a surrogate ϕ\phi, Algorithm 1 has one additional step. Before the forward pass, ϕ\phi is evaluated on the context of the task, and its outputs msm_s enter the embedding (5). The loss, the data and the rest of the network are unchanged. In our experiments we use two surrogates:

  • IQS-BO-PFN uses the released PFNS4BO-HEBO model (Müller et al., [32]), with parameters kept frozen during training. The network reads a learned combination of the PFN’s hidden states at every token and five summaries of its predictive distribution at every candidate. IQS-BO-TabPFN reads a frozen TabPFN in the same way (Appendix § 15.§ 1). Since both the surrogates and IQS-BO are in-context, this model performs BO fully in-context.

  • IQS-BO-GP uses a GP with a Matérn-5/2 kernel with automatic relevance determination (ARD), whose hyperparameters are fitted by maximum a posteriori (MAP) estimation to the context of each pre-training task. The network reads the posterior mean, the posterior standard deviation, the posterior correlation with the best context point and the fitted hyperparameters. At inference, the GP is refitted at every evaluation, as in standard BO.

All three variants can be pre-trained to select batches of qq queries (Appendix § 9.§ 3). The qq points are selected one at a time, and each earlier pick is passed to the network as a pending token, so that it learns to take previous decisions into account. Selecting the best qq points from a candidate set is a different decision problem for every qq. For optimal performance, each model was pre-trained for a specific batch size. Pre-training takes 2.7 to 6.1 hours on one NVIDIA H100 GPU in low dimensions, and about 6 hours on four H200 GPUs in high dimensions (Appendices § 9.§ 2 and § 15.§ 1).

Inference

After pre-training, the network is deployed without any parameter update (Algorithm 2). At every round a new candidate set with MM elements is drawn, one forward pass gives pθ(⋅∣D,C)p_\theta(\cdot\mid\mathcal{D}, \mathcal{C}), and the candidate with the highest probability is queried. A round of IQS-BO costs one forward pass, IQS-BO-PFN adds one forward pass of the frozen PFN, and IQS-BO-GP adds one GP fit. Batches are selected sequentially with pending tokens, as described in § 3.4 and Appendix § 9.§ 3.

Empirical Evaluation

We evaluate IQS-BO in four steps. § 4.2 compares its three variants, without a surrogate, with a PFNs4BO surrogate (IQS-BO-PFN) and with a GP surrogate (IQS-BO-GP), against GP-based and in-context baselines in 3D and 4D. § 4.3 extends this study to high dimensions. § 4.4 compares the learned query selection with acquisition functions on the same GP, and studies its exploration-exploitation decisions, the effect of the mixture prior and its performance outside the pre-training priors. § 4.5 ablates the design of the candidate set, the sequential batch rule and alternative loss specifications. Implementation details, datasets, baselines and additional results are in Appendices § 9–§ 18.

Experimental Setup

We benchmark all models on synthetic and real-world problems with d∈{3,4,20,50,100,200}d \in\{3, 4, 20, 50, 100, 200\} (Appendices § 13 and § 15). As baselines, we use GP-based BO with MAP (GP-MAP) and full Bayes (GP-FB), two released PFNs4BO models, FIBO, TabPFN v2 (Hollmann et al. [15]) with expected improvement (TabPFN-EI), ZeroShotOpt (Meindl et al. [30]) and Sobol search (Appendix § 12). In high dimensions, we compare with GP-MAP, TabPFN-EI, GIT-BO (Yu et al. [52]) and TuRBO (Eriksson et al. [8]).

We report the regret r~(t)=f∗−f(xt+)\tilde{r}(t) = f^{*} - f(x_{t}^{+}) after tt of TT rounds, where xt+x_{t}^{+} is the incumbent, clipped at zero and normalised by the mean regret of the initial design on each problem. Each run is summarised by the average regret RAUC=1T∑t=1Tr~(t)R^{\mathrm{AUC}} = \frac{1}{T} \sum_{t=1}^{T} \tilde{r}(t), which rewards reaching low regret early, and by Rfinal=r~(T)R^{\mathrm{final}} = \tilde{r}(T), which measures the regret at the final round. To compare methods across problems, we rank them on each problem and seed by these quantities, with 1 being best, and report the average ranks. For pairwise comparisons, we report the win rate, the share of paired runs, with the same problem, seed and initial design, in which a method attains the lower regret. For batch optimisation, we report the GAP (Huang et al. [18]), (yt−y0)/(y∗−y0)(y_t - y_0)/(y^{*} - y_0), where yty_t is the best value after tt evaluations, y0y_0 the best value in the initial design and y∗y^{*} the optimum.

Results in Low Dimensions

Figure 2 shows the average regret and the average rank per round with a starting context of ninit=40n_{\mathrm{init}} = 40 on the 3D problems, and Table 7 (Appendix § 14.§ 1) reports the average ranks at every context in 3D and 4D. In both, methods pre-trained on the mixture prior are compared separately from methods pre-trained on the HEBO or GP-based priors. TabPFN-EI, pre-trained on synthetic tabular data, is included with the mixture-prior methods. GP-MAP, GP-FB and Sobol require no pre-training and are included in all comparisons. Results at ninit∈{10,20}n_{\mathrm{init}} \in\{10, 20\} and per-problem results are given in Appendix § 14.§ 1.

Figure 2. Average rank (left) and average regret (right) per iteration, ten 3D problems, ninit=40n_{\mathrm{init}} = 40 Sobol points, T=30T = 30, q=2q = 2, 90 seeds, with 95% CIs. Top, methods pre-trained on the mixture prior (†\dagger) and TabPFN-EI. Bottom, methods pre-trained on the HEBO prior or on GP draws (∗*). Ranks are computed within each row, and regret is normalised by the mean initial regret of each problem.

RAUCR^{\mathrm{AUC}}RfinalR^{\mathrm{final}}
d=3d=3d=4d=4d=3d=3d=4d=4
ninitn_{\mathrm{init}}102040102040102040102040
IQS-BO†3.2±.1\mathbf{3.2}\pm.13.0±.13.0\pm.13.0±.13.0\pm.13.5±.13.5\pm.13.7±.13.7\pm.13.6±.13.6\pm.13.1±.13.1\pm.12.9±.12.9\pm.13.0±.13.0\pm.13.7±.13.7\pm.13.8±.13.8\pm.13.6±.13.6\pm.1
IQS-BO-PFN†3.3±.13.3\pm.12.9±.1\mathbf{2.9}\pm.12.8±.1\mathbf{2.8}\pm.13.8±.23.8\pm.23.7±.13.7\pm.13.4±.13.4\pm.13.1±.1\mathbf{3.1}\pm.12.8±.1\mathbf{2.8}\pm.12.7±.1\mathbf{2.7}\pm.13.8±.23.8\pm.23.8±.13.8\pm.13.6±.13.6\pm.1
IQS-BO-GP†3.8±.13.8\pm.13.5±.13.5\pm.13.7±.13.7\pm.13.8±.23.8\pm.23.3±.1\mathbf{3.3}\pm.13.3±.1\mathbf{3.3}\pm.13.1±.13.1\pm.13.1±.13.1\pm.13.0±.13.0\pm.13.4±.2\mathbf{3.4}\pm.23.2±.1\mathbf{3.2}\pm.13.1±.1\mathbf{3.1}\pm.1
PFNs4BO†4.0±.14.0\pm.14.5±.14.5\pm.14.7±.14.7\pm.14.4±.14.4\pm.14.7±.24.7\pm.25.5±.15.5\pm.15.6±.15.6\pm.15.8±.15.8\pm.15.8±.15.8\pm.15.8±.15.8\pm.15.9±.15.9\pm.16.1±.16.1\pm.1
FIBO†6.0±.16.0\pm.16.2±.16.2\pm.16.2±.16.2\pm.16.6±.16.6\pm.16.3±.16.3\pm.15.8±.15.8\pm.16.6±.16.6\pm.16.8±.16.8\pm.16.8±.16.8\pm.16.2±.16.2\pm.16.2±.16.2\pm.16.3±.16.3\pm.1
TabPFN-EI6.0±.16.0\pm.15.6±.15.6\pm.14.7±.14.7\pm.16.3±.16.3\pm.16.3±.16.3\pm.15.9±.15.9\pm.14.3±.14.3\pm.14.2±.14.2\pm.14.0±.14.0\pm.15.4±.25.4\pm.25.3±.25.3\pm.24.8±.14.8\pm.1
GP-MAP4.6±.14.6\pm.14.9±.14.9\pm.15.4±.15.4\pm.13.3±.1\mathbf{3.3}\pm.13.4±.13.4\pm.13.9±.13.9\pm.15.2±.15.2\pm.15.3±.15.3\pm.15.3±.15.3\pm.13.8±.13.8\pm.13.9±.13.9\pm.14.3±.14.3\pm.1
GP-FB5.7±.15.7\pm.15.7±.15.7\pm.15.6±.15.6\pm.14.8±.14.8\pm.14.7±.14.7\pm.14.6±.14.6\pm.15.3±.15.3\pm.15.4±.15.4\pm.15.5±.15.5\pm.14.2±.14.2\pm.14.1±.14.1\pm.14.3±.14.3\pm.1
Sobol8.4±.18.4\pm.18.7±.18.7\pm.18.8±.18.8\pm.18.5±.18.5\pm.18.8±.08.8\pm.08.9±.08.9\pm.08.7±.18.7\pm.18.7±.18.7\pm.18.8±.08.8\pm.08.8±.08.8\pm.08.9±.08.9\pm.08.9±.08.9\pm.0
IQS-BO⋆4.5±.14.5\pm.14.1±.14.1\pm.13.7±.13.7\pm.15.0±.25.0\pm.24.4±.24.4\pm.24.0±.14.0\pm.13.3±.13.3\pm.13.1±.13.1\pm.13.0±.1\mathbf{3.0}\pm.14.2±.24.2\pm.23.7±.13.7\pm.13.4±.13.4\pm.1
IQS-BO-PFN⋆5.3±.15.3\pm.14.8±.14.8\pm.14.3±.14.3\pm.15.4±.25.4\pm.25.0±.25.0\pm.24.5±.24.5\pm.24.6±.14.6\pm.14.1±.14.1\pm.13.7±.13.7\pm.14.7±.24.7\pm.24.4±.24.4\pm.24.2±.14.2\pm.1
IQS-BO-GP⋆4.7±.14.7\pm.14.1±.14.1\pm.13.7±.1\mathbf{3.7}\pm.15.0±.25.0\pm.23.9±.23.9\pm.23.6±.13.6\pm.13.1±.1\mathbf{3.1}\pm.12.8±.1\mathbf{2.8}\pm.13.0±.13.0\pm.14.2±.1\mathbf{4.2}\pm.13.2±.1\mathbf{3.2}\pm.12.7±.1\mathbf{2.7}\pm.1
PFNs4BO⋆3.8±.1\mathbf{3.8}\pm.14.0±.14.0\pm.14.6±.14.6\pm.14.2±.24.2\pm.24.9±.24.9\pm.25.2±.25.2\pm.25.4±.15.4\pm.15.5±.15.5\pm.15.7±.15.7\pm.15.4±.25.4\pm.25.9±.15.9\pm.16.2±.16.2\pm.1
FIBO⋆5.6±.15.6\pm.15.7±.15.7\pm.15.6±.15.6\pm.15.8±.25.8\pm.25.7±.15.7\pm.15.7±.15.7\pm.16.5±.16.5\pm.16.4±.16.4\pm.16.2±.16.2\pm.16.2±.16.2\pm.16.4±.16.4\pm.16.3±.16.3\pm.1
ZeroShotOpt⋆4.0±.24.0\pm.25.1±.15.1\pm.15.8±.15.8\pm.13.6±.23.6\pm.25.1±.15.1\pm.15.9±.15.9\pm.14.6±.14.6\pm.15.7±.15.7\pm.16.1±.16.1\pm.14.3±.24.3\pm.25.4±.15.4\pm.15.8±.15.8\pm.1
GP-MAP3.9±.13.9\pm.13.9±.1\mathbf{3.9}\pm.14.2±.14.2\pm.12.9±.1\mathbf{2.9}\pm.12.9±.1\mathbf{2.9}\pm.13.2±.1\mathbf{3.2}\pm.14.4±.14.4\pm.14.4±.14.4\pm.14.2±.14.2\pm.13.5±.1\mathbf{3.5}\pm.13.4±.1\mathbf{3.4}\pm.13.8±.13.8\pm.1
GP-FB5.2±.15.2\pm.14.8±.14.8\pm.14.5±.14.5\pm.14.6±.24.6\pm.24.4±.14.4\pm.14.1±.14.1\pm.14.5±.14.5\pm.14.5±.14.5\pm.14.5±.14.5\pm.14.0±.14.0\pm.13.7±.13.7\pm.13.8±.13.8\pm.1
Sobol8.2±.18.2\pm.18.5±.18.5\pm.18.6±.18.6\pm.18.3±.18.3\pm.18.8±.18.8\pm.18.8±.18.8\pm.18.5±.18.5\pm.18.5±.18.5\pm.18.6±.18.6\pm.18.6±.18.6\pm.18.8±.08.8\pm.08.8±.18.8\pm.1

Table 7. Mean rank on RAUCR^{\mathrm{AUC}} (left) and RfinalR^{\mathrm{final}} (right) over the ten 3D or five 4D problems and 90 seeds, ±\pm 95% bootstrap CI half-width. Ranks are computed within each block († mixture prior with TabPFN-EI, ⋆ HEBO or GP prior), and bold marks the best rank per column.

Mixture Prior Under the mixture prior, all three variants of IQS-BO consistently outperform the competing learned methods. On the 3D benchmarks, they achieve the best mean rank on both RAUCR^{\mathrm{AUC}} and RfinalR^{\mathrm{final}} across all initial context sizes, substantially outperforming PFNs4BO and FIBO despite being trained on the same prior. Figure 2 shows that the three variants behave similarly, indicating that the gain comes mostly from the learned query selection, and not from the surrogate choice. In 4D the GP baselines become more competitive, partly because two of the five benchmark problems are well specified by GP surrogates. Nevertheless, IQS-BO-GP attains the best RfinalR^{\mathrm{final}} rank at every context size, while all three variants of IQS-BO significantly outperform PFNs4BO, FIBO and TabPFN-EI. Overall, the results indicate that IQS-BO outperforms in-context methods pre-trained on the same prior, and matches or outperforms GP-based BO.

HEBO and GP-based Priors Similar results are found when comparing models trained on the HEBO or GP-based priors. At small context sizes, PFNs4BO, ZeroShotOpt and GP-based BO remain competitive in terms of average regret. As more observations become available, IQS-BO achieves the best or near-best final regret across all 3D settings and the strongest final-regret performance in 4D for moderate and large context sizes. PFNs4BO often performs well at the beginning of the optimisation process, whereas IQS-BO consistently reaches better solutions by the end of the budget. Finally, IQS-BO achieves these results at substantially lower computational cost. Because each query requires only forward passes, without surrogate fitting or acquisition function maximisation, IQS-BO proposes queries about 11 times faster than GP-MAP and more than two orders of magnitude faster than PFNs4BO-HEBO (Appendix § 14.§ 2).

Batch Optimisation In many applications, such as laboratory experiments, several queries are evaluated in parallel, and the batch size can be large ([40]). We evaluate batch sizes q∈{10,20,50}q \in\{10, 20, 50\} on seven of the 3D problems, starting from ninit=40n_{\mathrm{init}} = 40 points and running to 200 evaluations, with IQS-BO and IQS-BO-PFN pre-trained on the HEBO prior for each batch size. Figure 3 reports the GAP after 200 evaluations against the proposal time, the total time spent selecting all queries of a run (see also Appendix § 14.§ 2).

Figure 3. GAP after 200 evaluations against the time spent proposing queries over a complete run, one marker per problem and method, seven 3D problems, ninit=40n_{\mathrm{init}} = 40, mean over 90 seeds. Upper left is better.

IQS-BO and IQS-BO-PFN reach the highest GAP at every batch size, and their margin over the baselines grows with the batch size, so that at q=50q = 50 IQS-BO is still ahead of the best baseline at q=10q = 10. This robustness comes from pre-training at the deployed batch size, where the network learns to account for earlier picks in the batch and to diversify it (Appendix § 14.§ 2). Our models have the best GAP on almost every problem, the main exception being Rosenbrock, where GP-MAP leads as in the sequential setting.

IQS-BO achieves this at a fraction of the cost of most baselines. Since each point of a batch requires one forward pass, proposing all queries of a run takes about one second. Only FIBO is faster, because it samples the points of a batch independently, but it consistently reaches a lower GAP. The GP baselines and PFNS4BO-HEBO, which maximise an acquisition function for every batch, are one to three orders of magnitude slower, and IQS-BO is 38 to 68 times faster than GP-MAP.

Results in High Dimensions

We extend the study of § 4.2 to high dimensions, on ten scalable problems with 20, 50, 100 and 200 input dimensions and 700 evaluations per run (Figure 4, Appendix § 15). We compare with state-of-the-art baselines for this setting: GIT-BO and TabPFN-EI, which both rely on a tabular foundation model, the trust-region method TuRBO, and GP-MAP, in the configuration of Hvarfner et al. [19] for high dimensions. IQS-BO keeps the same architecture and is pre-trained once for each dimension. We also evaluate IQS-BO-TabPFN, which reads a frozen TabPFN as surrogate. By the end of the budget, the two IQS-BO models achieve the two best mean ranks at every dimension, and their regret is lower than that of GP-MAP, TuRBO and GIT-BO. IQS-BO has the lowest regret on seven of the ten problems in 20 and 50 dimensions, and IQS-BO-TabPFN the lowest mean regret of all methods in 200 dimensions. As in low dimensions, IQS-BO achieves these results at a fraction of the cost, proposing each query in under 0.1 s, one to two orders of magnitude faster than all considered surrogate-based baselines.

Figure 4. Average rank (top) and average regret (bottom) per evaluation, ten problems per dd, ninit=200n_{\mathrm{init}} = 200, 20 seeds, q=2q = 2, with 95% confidence intervals. Regret is normalised as in Figure 2.

Batch Optimisation High-dimensional problems, such as tuning the parameters of simulators or the hyperparameters of machine learning models, are often evaluated in large parallel batches (Eriksson et al., [8]). We extend the batch study of § 4.2 to ten problems at d=50d=50, with IQS-BO and IQS-BO-TabPFN trained for each batch size (Figure 5, Appendix § 15.§ 2). IQS-BO outperforms GP-MAP, TuRBO and GIT-BO at every batch size, and has the best GAP on more problems than any baseline. Its performance is similar to that of TabPFN-EI, which takes 80 to 90 times longer to propose its queries. Finally, IQS-BO-TabPFN nearly matches the mean GAP of TabPFN-EI, but requires only about a quarter of its proposal time.

Figure 5. As Figure 3, ten problems at d=50d = 50, 500 evaluations, 20 seeds, mean time per method.

Controlled Comparisons, Effect of the Prior and Generalisation

Learned Query Selection Against Acquisition Functions To isolate the contribution of the network, we keep the GP surrogate, candidate sets and batch rule of IQS-BO-GP, pre-trained on the mixture prior, and replace only the network by one of six standard acquisition functions (Appendix § 14.§ 3). IQS-BO-GP outperforms all six, with ties only against the upper confidence bound (UCB) (Srinivas et al., [43]) at small context sizes (Figure 6). It also selects better queries than a Monte Carlo estimate of the probability that each candidate is the best, computed from samples of the same GP posterior (Appendix § 16.§ 2).

Figure 6. IQS-BO-GP against acquisition functions that use the same GP surrogate and are evaluated on the same candidate sets, on the ten 3D problems (90 seeds, 95% CIs). Left: average rank at ninit=40n_{\mathrm{init}}=40. Right: win rate of IQS-BO-GP on RfinalR_{\mathrm{final}}. PI: probability of improvement, TS: Thompson sampling, KG: knowledge gradient, MES: max-value entropy search.

Exploration and Exploitation The loss of IQS-BO does not explicitly model the size of an improvement or information gain, and without a surrogate the network receives no estimate of uncertainty. Nevertheless, it learns to adjust its exploration-exploitation decisions directly from the context. The network is trained to predict the probability that each candidate is the best within the set (3). When observations are few, this probability is spread over unexplored regions, and the network explores. As observations accumulate, it concentrates near the best observations, and the network exploits (Appendix § 17, Figure 17). To compare this behaviour with acquisition functions, we take the posterior mean and standard deviation of a GP, and measure the weight that the queries of each method put on uncertainty relative to predicted value (Figure 18). For IQS-BO, this weight is large with few observations and falls steadily as the context grows, similarly to Thompson sampling and UCB. In our experiments, including improvement magnitude in the loss did not improve performance, as the same network pre-trained to learn expected improvement performs worse than IQS-BO (§ 4.5). In addition, with the same candidates and GP, IQS-BO-GP outperforms expected improvement and the knowledge gradient, which both weigh the size of improvements (Figure 6).

Figure 17. Exploration and exploitation of IQS-BO† (ninit=10n_{\mathrm{init}} = 10, q=2q = 2). Left: one run on Six-Hump Camel, with the probability that each point is the best, regret contours and the next two queries. Right: share of space-filling queries and best candidates over 900 runs on ten 3D problems, with 95% bootstrap intervals.

Figure 18. How IQS-BO† trades predicted value against uncertainty, on 2,400 contexts from GP-MAP runs on the ten 3D problems. Left, middle: probability under IQS-BO†, relative to a uniform choice, over the posterior mean μ\mu and standard deviation σ\sigma of a GP at the candidates, at small and large contexts. Dots mark the true best candidates. Right: weight ww for which querying the candidate with the highest μ+wσ\mu+ w\sigma best reproduces the queries of each method, and the ideal weight (dashed), with 95% bootstrap intervals.

Effect of the Prior We also pre-train other in-context BO methods on the mixture prior and compare each with the same model pre-trained on its original GP-based prior (Appendix § 14.§ 4, Figure 12). The mixture prior improves IQS-BO, IQS-BO-PFN and PFNs4BO in most runs, in 3D and 4D, and most strongly when the context is small. It costs little on problems where GP surrogates are well specified, while helping the models generalise to a more varied class of optimisation problems. Its benefit also extends to other types of learned methods, including a recurrent learned optimiser and, to a lesser extent, a meta-learned GP surrogate (Appendix § 14.§ 4).

Figure 12. Paired win rate on RfinalR^{\mathrm{final}} of each method pre-trained on the mixture prior against the same method pre-trained on its original prior, ten 3D problems, 900 paired runs per bar, with 95% bootstrap CIs. Below 50%, the mixture prior lowered performance.

Out of Prior Performance A model pre-trained on synthetic functions might be expected to perform well only on functions that resemble its prior. To test this, we measure the smoothness and the number of local optima of draws from each prior and of every test function (Appendix § 18, Figure 19). The HEBO prior covers only a narrow band of smoothness, and most of our benchmarks lie outside it, whereas the mixture prior is deliberately broad and contains every benchmark except Ackley. IQS-BO⋆^{\star} was thus evaluated mostly on functions whose smoothness it never saw in pre-training. We further evaluate both models, without retraining, on the BBOB functions (Hansen et al. [13]), which range from discontinuous to very smooth, and on a set of standard functions chosen to lie outside both priors (Figure 20). On both sets, IQS-BO†^{\dagger} outperforms GP-MAP more often than any other pre-trained method, including TabPFN-EI. IQS-BO⋆^{\star}, whose prior contains almost none of these functions, still performs similarly to GP-MAP. Overall, IQS-BO achieves strong performance on functions whose smoothness lies outside its pre-training prior, and the mixture prior further improves its generalisation capabilities.

Figure 19. Smoothness and number of local optima for the pre-training priors and the test functions.

Figure 20. Paired win rate on RAUCR^{\mathrm{AUC}} against GP-MAP away from the pre-training priors, with 95% bootstrap intervals over functions. † mixture prior, ⋆ HEBO or GP prior.

Ablation Study

To conclude, we ablate the composition and the size of the candidate set, the sequential selection of batch points and the training target (Table 1). The composition of the candidate set matters most. The network can only refine the incumbent if some candidates lie close to it. Replacing the perturbations of the best observations by space-filling candidates degrades performance in most runs, as it does for every acquisition function (Appendix § 14.§ 5). When such perturbations are present, the network is robust to how the candidates are generated: without retraining, it performs about as well on ten candidate set variants generated differently from pre-training (Appendix § 14.§ 5). In low dimensions, the size of the candidate set matters less: fewer candidates hurt, but more yield only a modest improvement in RfinalR^{\mathrm{final}} and none in RAUCR^{\mathrm{AUC}}. In high dimensions, a larger set contributes to a lower final regret (Appendix § 15.§ 1). Selecting batch points sequentially, with earlier picks as pending points, outperforms taking the best candidates of a single forward pass. Finally, we change the training target in two ways. Soft labels, which weight each candidate by its value, make the network greedier. An EI loss, with which the network predicts the improvement of each candidate and thus approximates expected improvement in-context, makes it explore for too long. Both degrade performance (Appendix § 17).

Variantninit=10n_{\mathrm{init}}=102040
space-filling84.2±2.284.2 \pm2.287.9±2.087.9 \pm2.088.4±1.888.4 \pm1.8
M=128M=12857.9±3.157.9 \pm3.156.7±3.256.7 \pm3.256.6±3.156.6 \pm3.1
M=2048M=204848.3±3.248.3 \pm3.246.4±3.246.4 \pm3.250.3±3.250.3 \pm3.2
top-qq batch59.2±3.259.2 \pm3.257.9±3.257.9 \pm3.255.6±3.255.6 \pm3.2
soft labels60.9±3.260.9 \pm3.257.7±3.357.7 \pm3.358.7±3.258.7 \pm3.2
EI loss84.7±2.384.7 \pm2.384.1±2.484.1 \pm2.486.5±2.286.5 \pm2.2

Table 1. Win rate (%) on RfinalR^{\mathrm{final}} of IQS-BO against each variant, means ±95%\pm95\% CI over ten 3D problems and 900 paired runs.

Conclusion

We introduced IQS-BO, a Bayesian optimisation method that selects the next query in-context. Instead of fitting a surrogate and maximising an acquisition function, IQS-BO predicts the posterior probability that each candidate is the best in a set and selects the candidate with the highest probability. Across low and high dimensions, it matches or outperforms GP-based BO, in-context methods and methods built on tabular foundation models, while proposing queries more than an order of magnitude faster than surrogate-based methods. Although its objective does not consider improvement magnitude or information gain, it learns to balance exploration and exploitation in-context, and performs well on functions outside its pre-training prior. Finally, we showed that pre-training on a broad class of functions can further improve performance and generalisation, especially at small context sizes.

Several directions for future work remain. Each model is pre-trained for a fixed input dimension and batch size, its queries are limited to a finite candidate set, and its objective is myopic. Natural extensions are a single model across dimensions and batch sizes, a candidate set learned jointly with the selection, and an objective that explicitly considers the remaining evaluation budget.

AI USE STATEMENT

No generative AI tools were used as part of the core methodology of this work. The method, the experimental design, the implementation of all models and baselines, the data and the interpretation of results are entirely the work of the authors. Generative AI tools were used as writing assistance, to improve the readability of the text and to format references. This use does not affect the scientific content, methodology or originality of the research. The authors take full responsibility for the final content of this work.

REPRODUCIBILITY STATEMENT

All information needed to reproduce our results is given in the paper. Appendix § 9 gives the full architecture and batch-selection rule, Appendix § 10 the pre-training priors, candidate sampler and all training hyperparameters, and Appendix § 12 the configuration of every baseline. The benchmark problems and their global optima are defined in Appendix § 13, the evaluation protocol in § 4.1, and the complete results behind every figure and table in Appendix § 14. Appendix § 15 gives the setup, the pre-training changes and the complete results of the high-dimensional study, and Appendices § 16 to § 18 the analyses of how well the network approximates its target, how it explores, and how it generalises beyond its pre-training prior.

Comparison to In-Context and Learned Acquisition Methods

This appendix positions IQS-BO among methods that learn part or all of the BO loop (Table 2), and compares it empirically with six of them (Appendix § 8.§ 5). We cover pre-trained surrogates, which still maximise an acquisition function, methods that propose queries fully in-context, learned acquisition functions, meta-learned GPs, and transformers for sequential decision making.

MethodLearned objectTraining signalSurrogateNext query
PFNs4BOposterior predictiveheld-out values, prioritselfmaximise acquisition
TabPFN-EIposterior predictiveheld-out values, prioritselfmaximise acquisition
GIT-BOposterior predictiveheld-out values, prioritselfmaximise acquisition
ifBOposterior predictiveheld-out values, prioritselfmaximise acquisition
FIBOdensity of optimumoptimum location, priornonesample
ExPTinput generatorconditional inputs, priornonesample
MetaBOcandidate scoreRL reward, solved tasksGPargmax
FSAFcandidate scoreRL reward, GP drawsGPargmax
HyperBOGP priormarginal likelihood, related tasksGPmaximise acquisition
FSBOdeep-kernel GPmarginal likelihood, related tasksGP, fine-tunedmaximise acquisition
NAPcandidate scoreRL reward, solved taskslearned jointlyargmax
POLARcandidate scoreRL reward, solved taskspre-trainedargmax
OptFormerquery policyimitation, optimiser runsown predictionsbest of samples
RIBBOquery policyoffline RL, optimiser runsnonesample
ZeroShotOptquery policyoffline RL, optimiser runsown predictionsbest of samples
RNN-Optquery policyimprovement, priornonenetwork output
IQS-BOposterior over setbest candidate, prioroptionalargmax

Table 2. What each method learns, from which training signal, and how it proposes the next query.

In-Context Methods

Amortised surrogates PFNs4BO (§ 1) and other pre-trained regressors replace the surrogate but keep an acquisition function, chosen in advance and maximised at every round. TabPFN-EI and GIT-BO (Yu et al., [52]) use the tabular foundation model TabPFN v2 (Hollmann et al., [15]), frozen, as surrogate. TabPFN-EI scores candidates by expected improvement, and GIT-BO queries the point with the highest upper confidence bound among random points in a subspace spanned by the dominant gradient directions of its predictions. ifBO (Rakotoarison et al., [37]) applies the same idea to learning curves, and Embed-then-regress (Nguyen et al., [34]) to inputs written as strings.

Amortised optimiser location FIBO (§ 1) samples queries from a learned density of the optimiser location, which requires the global optimiser of every pre-training function, and ExPT (Nguyen et al., [33]), pre-trained on GP draws, generates inputs conditioned on a few observations and a target value. Both learn from labels that the prior provides, but both fix the decision rule to sampling and admit no surrogate.

Amortised policies Other in-context methods learn the query policy, either from rewards or from other optimisers. Like IQS-BO, NAP (Maraval et al., [29]) scores a candidate set given the observations and queries the highest-scoring candidate, but its transformer neural process is meta-trained by proximal policy optimisation (Schulman et al., [38]) on the solved tasks of one search space, with the best observed value as the reward. POLAR (Huang et al., [17]) trains a scoring head on the representations of the tabular model TabICLv2 (Qu et al., [35]) by policy gradient on the meta-training tasks of each search space. RNN-Opt (Chen et al., [4]) is a recurrent network that outputs the next query, trained by backpropagating a loss on the function values through time and through differentiable GP samples. OptFormer (Chen et al., [5]), RIBBO (Song et al., [42]) and ZeroShotOpt (Meindl et al., [30]) learn from the trajectories of other optimisers. OptFormer is trained by imitation, and RIBBO and ZeroShotOpt by offline reinforcement learning, with the policy conditioned on the regret to be reached. OptFormer and ZeroShotOpt can also rank sampled queries by their own predictions of the function value. All three learn from the queries that other optimisers made, and not from which candidate is the best under the prior.

Learned Acquisition Functions and Meta-Learned GPs

MetaBO [46] and FSAF [16] learn by reinforcement learning a network that scores the points of a candidate set from the GP posterior mean and standard deviation at each point, with features such as the budget or the best observed value. The GP is updated at every round and the network never reads the observations, only these statistics, and thus neither method is in-context. MetaBO is meta-trained on related tasks, and FSAF on GP draws, with a few-shot adaptation to each new task. HyperBO [49] and FSBO [51] learn the GP instead, from related tasks. HyperBO learns its mean and kernel, and FSBO a deep kernel that it fine-tunes on every new task. Both then maximise a standard acquisition function.

Transformers for Sequential Decision Making

Transformers trained offline are also used for sequential decision making outside BO. The Decision Transformer [3] generates actions conditioned on a desired return, and Algorithm Distillation [26] learns from the histories of a reinforcement learning algorithm. DPT [27] is the closest in principle to IQS-BO. It samples tasks, such as bandits, and trains a transformer by supervised learning to predict the optimal action, a label available because the task is known during pre-training, which the authors show to implement posterior sampling (see also Lin et al. [28]). IQS-BO applies this principle to BO, with a candidate set redrawn from the continuous domain at every round instead of a fixed action set, scores that target the posterior probability that each candidate is the best (Proposition 1), and batches selected sequentially.

Relation to Our Method

Like the in-context methods, IQS-BO reads the observations directly, and like the learned acquisition functions, it selects the query from a finite candidate set. Three properties together distinguish it. First, the decision is learned by supervised classification. Under a synthetic prior, every function can be evaluated at all candidates, and the best candidate is therefore a free label. Training then needs no rollouts, reward design or policy gradients, deployment needs no acquisition function, and the output has a meaning, the posterior probability of Proposition 1. Other learned decision rules learn from rewards or from the trajectories of other optimisers, or predict a specified acquisition function, FIBO and ExPT learn other free labels, the optimiser location and inputs that attain a given value. To our knowledge, no other method learns the query decision by supervised learning on a synthetic prior. Second, training needs only a prior over functions, not solved or related tasks, and a trained model applies to any problem of its input dimension and batch size without meta-training or adaptation at test time. Third, the same network and loss work with or without a fixed surrogate. With one, only the query selection is amortised, and without one, the whole BO loop runs in-context.

Empirical Comparison with Further Learned Methods

We compare IQS-BO with NAP, RNN-Opt, FSBO and ExPT, and again with TabPFN-EI and ZeroShotOpt, configured as in Appendix § 12, under the same setting of § 4.1 and with the two blocks of pre-training priors of Table 7. We do not run FIBO and Embed-then-regress, which target other settings (learning curves, string inputs), nor OptFormer, RIBBO and HyperBO, whose families ZeroShotOpt and FSBO already represent.

IQS-BO is the strongest learned method in both blocks (Figure 7). At ninit=40n_{\mathrm{init}} = 40, it has the best average rank from the first rounds on and the lowest regret throughout, in 3D and in 4D. The same holds at ninit=10n_{\mathrm{init}} = 10 and 20, only when ZeroShotOpt* at ninit=10n_{\mathrm{init}} = 10 comes close to it. IQS-BO* beats NAP, the method closest to it in form, in 84 to 93% of paired runs. The effect of the mixture prior on these methods is analysed in Appendix § 14.§ 4.

Figure 7. Average rank and regret per iteration of IQS-BO and other methods on the ten 3D and five 4D problems (ninit=40n_{\mathrm{init}} = 40, q=2q = 2, 90 seeds), with 95% confidence intervals. Top: mixture prior (†) and TabPFN-EI. Bottom: HEBO or GP prior (⋆). Ranks are computed within each row.

Model Details

This appendix details the model of Section 3, namely the inputs of each token, the network and its deployment settings, and the sequential selection of batch points with its loss and algorithms.

Tokens and Inputs

Surrogate-free model Without a surrogate, IQS-BO reads one token per observation and one per candidate. Every token carries the point channels of Table 3, observation tokens also carry the value channels, and each token is embedded by (5) without the surrogate term. As candidate tokens attend only to the observations (§ 3.3), the features of a candidate are carried forward by the residual connections of every layer, and its score zjz_j is unchanged by adding, removing or permuting other candidates.

channelwidthcarried bydefinition
coordinatesddall tokensx∈[0,1]dx \in[0,1]^d
distances2all tokensmin⁡i∥x−xi∥2\min_i\lVert x-x_i\rVert_2 and ∥x−x+∥2\lVert x-x^+\rVert_2
role4all tokensone-hot token type
state3all tokens1/n1/\sqrt{n}, log⁡10σnoise\log_{10}\sigma_{\mathrm{noise}}, q/4q/4
value1observations, filled pendingy~i=(yi−yˉ)/sy\tilde{y}_i=(y_i-\bar{y})/s_y with sy≥10−3s_y\geq10^{-3}, or fantasy y^\hat{y}
rank1observationsΦ−1((ri+12)/n)\Phi^{-1}((r_i+\frac{1}{2})/n), with rir_i the rank of yiy_i
gap1observationsy~i−max⁡ky~k\tilde{y}_i-\max_k\tilde{y}_k
incumbent1observations1[xi=x+]1[x_i=x^+]

Table 3. Token channels: point channels (top) and value channels (bottom). Statistics are over the nn observed values, and x+x^+ is the incumbent. Channels are zero on tokens that do not carry them.

With a surrogate IQS-BO-PFN and IQS-BO-GP use the same tokens, channels and attention mask as IQS-BO, and only add the surrogate term of (5), with the features msm_s of Table 4. IQS-BO-TabPFN of the high-dimensional study (Appendix § 15.§ 1) uses the features of IQS-BO-PFN, with the states of the 12 layers of TabPFN v2, of width 192, taken at its target token. The PFN is run on the context-standardised values, and its predictive summaries are not standardised across candidates, since this would make each score depend on the other candidates.

modelfeaturewidthcarried bydefinition
IQS-BO-PFNlayer states512all tokens∑ℓsoftmax⁡(γ)ℓstateℓ,s\sum_{\ell}\operatorname{softmax}(\gamma)_{\ell}\mathrm{state}_{\ell,s}, learned γ∈R12\gamma\in\mathbb{R}^{12}
IQS-BO-PFNsummaries5candidatesmean, 68% half-width, 10/50/90% quantiles
IQS-BO-GPmean1all tokensposterior mean μ(x)\mu(x)
IQS-BO-GPstd. dev.1all tokenslatent posterior σ(x)\sigma(x)
IQS-BO-GPcorrelation1all tokenscorr⁡(f(x),f(x′))\operatorname{corr}(f(x), f(x'))
IQS-BO-GPhyperparametersd+2d+2all tokenslog-lengthscales, log-noise, constant mean

Table 4. Surrogate features msm_s.

Pending tokens For a batch of qq points, every model also carries q−1q-1 pending tokens, which hold the points already selected in the current round (Appendix § 9.§ 3). A pending token holds the coordinates of a selected point and a fantasy value y^\hat{y}, which is the context mean for IQS-BO and the surrogate’s posterior mean for IQS-BO-PFN and IQS-BO-GP, whose surrogate is also conditioned on these points. Candidate tokens attend to both observation and pending tokens, and the score of a candidate becomes zj(D,P,cj)z_j(\mathcal{D},\mathcal{P},c_j), with P\mathcal{P} the pending points.

Network, Training and Deployment

The encoder of § 3.3 is a transformer with 4 layers of width 512 and 8 attention heads, followed by a two-layer scoring head, for about 13M parameters. As the coordinates of a token enter its first linear layer, a model applies only to the dimension it was pre-trained for. The 3D and 4D models are trained with AdamW at a learning rate of 10−410^{-4}, which takes 2.7 to 6.1 hours on a single NVIDIA H100 GPU, depending on the variant and the prior. At deployment, they use M=512M=512 candidates, and their noise channel is set to σ0=10−3\sigma_0=10^{-3} under the mixture prior and to σ0=0.025\sigma_0=0.025 under the HEBO prior.

Batch Selection

The points of a batch are selected one at a time through the pending tokens of Appendix § 9.§ 1. For q=2q=2, the loss of one task is

L=CE⁡(z(1),J∗)+1[j1≠J∗]CE⁡(z(2),J∗),j1∼softmax⁡(z(1)),(7)\mathcal{L}=\operatorname{CE}(z^{(1)},J^*)+\mathbf{1}[j_1\ne J^*]\operatorname{CE}(z^{(2)},J^*),\qquad j_1\sim\operatorname{softmax}(z^{(1)}), \tag*{(7)}

where z(k)z^{(k)} are the scores at slot kk. The first candidate j1j_1 is sampled without gradient and written into a pending token, and the same candidates are then scored again with the same label J∗J^*. The second term applies only if j1j_1 is not the best candidate. Over unrestricted models, it is therefore minimised by the posterior probability that each candidate is the best, given that j1j_1 is not (Appendix § 11), which pushes the network to diversify the batch. For q>2q>2, the loss of a slot counts only if no earlier query is the best candidate, and the losses of min⁡(q,4)\min(q,4) random slots are averaged (Algorithm 3). At deployment, a fresh candidate set is drawn for every slot (Algorithm 4).

Algorithm 3 Pre-training on one task (surrogate ϕ\phi or ∅\varnothing, batch size qq)

Require: prior p(f)p(f), surrogate ϕ\phi or ∅\varnothing, network θ\theta, candidate-set size MM, batch size qq

  1. Sample f∼p(f)f\sim p(f), a context D\mathcal{D} from ff and candidates C=CANDIDATESET⁡(D,M)\mathcal{C}=\operatorname{CANDIDATESET}(\mathcal{D},M)

  2. Compute the label J∗=arg⁡max⁡j≤Mf(cj)J^*=\arg\max_{j\le M} f(c_j) ▷ noise-free ff

  3. If ϕ\phi is a GP, fit its hyperparameters to D\mathcal{D} by MAP

  4. P←∅\mathcal{P}\leftarrow\varnothing, L←0\mathcal{L}\leftarrow0 ▷ pending points and loss

  5. for each slot k=1,…,qk=1,\ldots,q do

  6. Compute pθ(k)(⋅∣D,P,C)p_\theta^{(k)}(\cdot\mid\mathcal{D},\mathcal{P},\mathcal{C}) in one forward pass

  7. L←L−log⁡pθ(k)(J∗∣D,P,C)\mathcal{L}\leftarrow\mathcal{L}-\log p_\theta^{(k)}(J^*\mid\mathcal{D},\mathcal{P},\mathcal{C})

  8. Sample jk∼pθ(k)(⋅∣D,P,C)j_k\sim p_\theta^{(k)}(\cdot\mid\mathcal{D},\mathcal{P},\mathcal{C}) without gradient

  9. if jk=J∗j_k=J^* then stop ▷ the best candidate is already selected

  10. Add cjkc_{j_k} to P\mathcal{P}, with its fantasy value y^\hat{y} ▷ Appendix § 9.§ 1

  11. end for

  12. return the task loss L\mathcal{L} ▷ averaged over its slots and over a mini-batch of tasks

Algorithm 4 One optimisation round (surrogate ϕ\phi or ∅\varnothing, batch size qq)

Require: observations D\mathcal{D}, surrogate ϕ\phi or ∅\varnothing, network θ\theta, candidate-set size MM, batch size qq

  1. If ϕ\phi is a GP, fit its hyperparameters to D\mathcal{D} by MAP

  2. P←∅\mathcal{P} \leftarrow\varnothing

  3. for k=1,…,qk=1,\ldots,q do

  4. Draw Ck=CANDIDATESET⁡(D,M)\mathcal{C}_k = \operatorname{CANDIDATESET}(\mathcal{D}, M)

  5. Compute pθ(k)(⋅∣D,P,Ck)p_\theta^{(k)}(\cdot\mid\mathcal{D},\mathcal{P},\mathcal{C}_k) in one forward pass

  6. xk←cȷ^∈Ckx_k \leftarrow c_{\hat{\jmath}}\in\mathcal{C}_k with ȷ^=arg⁡max⁡j≤Mpθ(k)(j∣D,P,Ck)\hat{\jmath}=\arg\max_{j\le M}p_\theta^{(k)}(j\mid\mathcal{D},\mathcal{P},\mathcal{C}_k)

  7. P←P∪{(xk,y^(ϕ,xk))}\mathcal{P}\leftarrow\mathcal{P}\cup\{(x_k,\hat{y}(\phi,x_k))\} ▷ fantasy value y^\hat{y}, Appendix § 9.§ 1

  8. end for

  9. Evaluate ff at x1,…,xqx_1,\ldots,x_q, observe y1,…,yqy_1,\ldots,y_q, and add them to D\mathcal{D}

Pre-Training Details

This appendix describes how the pre-training tasks of § 3.1 are generated, namely the two priors (Appendix § 10.§ 1) and the contexts and candidate sets (Appendix § 10.§ 2).

Priors

HEBO prior Müller et al. [32] propose several pre-training priors for PFNs4BO, among them a GP-based prior inspired by the surrogate of HEBO (Cowen-Rivers et al., [6]). We pre-train on this prior with the settings of the released PFNS4BO-HEBO model. Functions are drawn from a GP with a Matérn-3/2 ARD kernel, with Gamma hyperpriors on the lengthscales and the output scale, log-normal observation noise, and each input dimension dropped with probability 0.3. Since the context points are chosen adaptively (Appendix § 10.§ 2), ff is sampled sequentially, with each new value drawn from the GP conditioned on all values drawn so far.

Mixture prior A GP draw varies at the same lengthscale across the whole domain. A model pre-trained only on such draws can therefore read a plateau or a sharp step only as noise or as a very short lengthscale. The mixture prior adds three families of functions that stationary GPs model poorly (Table 5). Warped functions vary quickly in some regions and slowly in others (Snoek et al., [41]), bumps have narrow optima within nearly flat regions, and plateaus are piecewise-flat with sharp steps, such as those caused by thresholds or regime changes in physical processes.

familyweightfunctionshape
stationary0.30rff⁡(x)\operatorname{rff}(x)GP path, from rough to very smooth
warped0.23rff⁡(κ(x))\operatorname{rff}(\kappa(x))lengthscale that varies across the domain
bumps0.23∑k=1Kηkexp⁡(−12∥(x−uk)/wk∥2)\sum_{k=1}^{K}\eta_k\exp\left(-\frac{1}{2}\left\lVert(x-u_k)/w_k\right\rVert^2\right)narrow optima within nearly flat regions
plateau0.23∑j=1Ksigm⁡((rff⁡(x)−λj)/τ)\sum_{j=1}^{K}\operatorname{sigm}\left((\operatorname{rff}(x)-\lambda_j)/\tau\right)piecewise-flat, with sharp steps

Table 5. The four families of the mixture prior. Here, rff is a random GP path, κ\kappa a monotone warping of each input and sigm the logistic function.

The stationary, warped and plateau families use the random-Fourier-feature approximation of a GP path (Rahimi & Recht, [36]), as in FIBO (de Carvalho et al., [7]),

rff⁡(x)=2/F∑k=1Fakcos⁡(ωkTx+bk),F=256,\operatorname{rff}(x)=\sqrt{2/F}\sum_{k=1}^{F}a_k\cos(\omega_k^{\mathsf{T}}x+b_k),\qquad F=256,

where ak∼N(0,1)a_k\sim\mathcal{N}(0,1), bk∼U(0,2π)b_k\sim\mathcal{U}(0,2\pi) and ωk\omega_k is drawn from the spectral density of a Matérn-ν\nu kernel, with ν∼U{12,32,52,∞}\nu\sim\mathcal{U}\left\{\frac{1}{2},\frac{3}{2},\frac{5}{2},\infty\right\}. The warping κ\kappa applies a Kumaraswamy CDF with random parameters to each input (Kumaraswamy, [24]). The bumps have random centres uku_k, heights ηk\eta_k and widths wkw_k, and the steps of the plateau family have equally spaced levels λj\lambda_j and a random steepness τ\tau. Every function is standardised, and observations carry Gaussian noise with σ∼LogU⁡(10−3,0.1)\sigma\sim\operatorname{LogU}(10^{-3},0.1).

Pre-Training Contexts and Candidate Sets

Contexts. Each pre-training context imitates a BO run on ff. It starts with scrambled Sobol points, and the others follow in rounds of qq. Each is the next Sobol point or, with a probability that rises over the rounds, a Gaussian perturbation of a context point xix_i drawn with probability ∝exp⁡(f(xi)/T)\propto\exp(f(x_i)/T), so that good observations are perturbed more often. The rate, scale and temperature of the perturbations are drawn at random, which makes the contexts range from mostly space-filling to strongly concentrated, so that the network is trained on the range of contexts it meets during a BO run. Contexts have 4 to 128 points for q=2q = 2, and up to 366 for the batch models of § 4.2.

Candidates. Candidates are drawn by Algorithm 5, in pre-training and at deployment, where a fresh set is drawn for every query. They consist of 40% scrambled Sobol points, 30% uniform points and 30% Gaussian perturbations of the three best observations, clipped to [0,1]d[0, 1]^d by the projection Π\Pi. The space-filling points support exploration, and the perturbations allow the network to refine the incumbent. Pre-training draws MM between 64 and 384, and up to 640 for the batch models.

Algorithm 5 CANDIDATESET(D,M)(D, M)

  1. S←⌊0.4M⌋S \leftarrow\lfloor0.4M\rfloor scrambled-Sobol points in [0,1]d[0, 1]^d

  2. U←M−⌊0.4M⌋−⌊0.3M⌋U \leftarrow M - \lfloor0.4M\rfloor- \lfloor0.3M\rfloor uniform points in [0,1]d[0, 1]^d

  3. A←A \leftarrow the inputs of the three observations in DD with the largest yy

  4. for t=1,…,⌊0.3M⌋t = 1, \ldots, \lfloor0.3M\rfloor do

  5. Draw a∼U(A)a \sim\mathcal{U}(A), δ∼LogU⁡(0.02,0.2)\delta\sim\operatorname{LogU}(0.02, 0.2) and ξ∼N(0,Id)\xi\sim\mathcal{N}(0, I_d), and set lt←Π(a+δξ)l_t \leftarrow\Pi(a + \delta\xi)

  6. end for

  7. return S∪U∪{lt}t≤⌊0.3M⌋S \cup U \cup\{l_t\}_{t \le\lfloor0.3M\rfloor}

Proof of Proposition 1 and Extension to Batches

This appendix proves in detail Proposition 1, shows how it extends to the batch loss of Appendix B.3, and shows that the architecture of § 3.3 can only approximate the posterior. The proof uses three assumptions.

  1. Functions. ff is a random continuous function on [0,1]d[0, 1]^d, as under the priors of Appendix C.1.

  2. Candidates. C⊥f∣D\mathcal{C} \perp f \mid\mathcal{D}, as Algorithm 5 uses only the observations and independent randomness.

  3. Model. For every θ\theta, pθ(⋅∣D,C)p_\theta(\cdot\mid\mathcal{D}, \mathcal{C}) is a probability mass function on the labels.

Here D\mathcal{D} includes the noise level and any fitted surrogate, and a random MM is part of C\mathcal{C}.

Proof of Proposition 1. Write qθ=pθ(⋅∣D,C)q_\theta= p_\theta(\cdot\mid\mathcal{D}, \mathcal{C}). Given (D,C)(\mathcal{D}, \mathcal{C}), the label J∗J^* takes the value jj with probability πj\pi_j, and thus

L(θ)=E[−∑jπjlog⁡qθ(j)].\mathcal{L}(\theta) = \mathbb{E}\left[-\sum_j \pi_j \log q_\theta(j)\right].

For any probability vector qq, adding and subtracting log⁡πj\log\pi_j gives

−∑jπjlog⁡qj=H(π)+KL⁡(π∥q),-\sum_j \pi_j \log q_j = H(\pi) + \operatorname{KL}(\pi\mathbin{\|} q),

and taking expectations gives the first statement of the proposition. The term E[H(π)]≤log⁡M\mathbb{E}[H(\pi)] \le\log M does not depend on θ\theta, and minimising L\mathcal{L} is therefore the same as minimising the expected KL divergence, in any model class.

By Gibbs’ inequality, KL⁡(π∥q)≥0\operatorname{KL}(\pi\mathbin{\|} q) \ge0, with equality if and only if q=πq = \pi. If the model is well specified, the minimisers of L\mathcal{L} are therefore exactly the θ\theta with qθ=πq_\theta= \pi almost surely.

Finally, since C⊥f∣D\mathcal{C} \perp f \mid\mathcal{D}, conditioning on C\mathcal{C} does not change the posterior of ff, and

πj=P(J∗(f,C)=j∣D,C)=Pf∼p(f∣D)(J∗(f,C)=j).\pi_j = \mathbb{P}(J^*(f,\mathcal{C}) = j \mid\mathcal{D}, \mathcal{C}) = \mathbb{P}_{f \sim p(f \mid\mathcal{D})}(J^*(f,\mathcal{C}) = j).

Extension to batches The second term of the batch loss (7) is the loss (4) restricted to the tasks in which the first pick j1j_1 is not the best candidate. As j1j_1 is sampled without gradient, we treat its law as fixed. The proof above then applies to these tasks, with (D,C,j1)(\mathcal{D},\mathcal{C},j_1) in place of (D,C)(\mathcal{D},\mathcal{C}). Over unrestricted models, the second term is therefore minimised by the probability that each candidate is the best given (D,C,j1)(\mathcal{D},\mathcal{C},j_1) and j1≠J∗j_1 \ne J^*. Since j1j_1 is drawn using only (D,C)(\mathcal{D},\mathcal{C}) and independent randomness, this is the posterior with j1j_1 removed and the rest renormalised,

P(J∗=j∣D,C,j1,j1≠J∗)=πj1−πj11[j≠j1],\mathbb{P}(J^*=j \mid\mathcal{D},\mathcal{C},j_1,j_1\ne J^*) = \frac{\pi_j}{1-\pi_{j_1}}\mathbf{1}[j\ne j_1],

which does not depend on the law of j1j_1. For q>2q>2, the same argument applies at slot kk, given that none of j1,…,jk−1j_1,\ldots,j_{k-1} is the best candidate.

Independent scores Since each score depends only on (D,cj)(\mathcal{D},c_j), the network cannot represent the posterior exactly in general, and can only approximate it. The reason is that the odds between two candidates,

pθ(j∣D,C)pθ(k∣D,C)=exp⁡(z(D,cj)−z(D,ck)),\frac{p_\theta(j\mid\mathcal{D},\mathcal{C})}{p_\theta(k\mid\mathcal{D},\mathcal{C})}=\exp\left(z(\mathcal{D},c_j)-z(\mathcal{D},c_k)\right),

are the same in every set that contains them. Under the posterior, these odds can change with the set. A near-duplicate of cjc_j, for example, takes part of its probability and lowers its odds against the other candidates. The first part of Proposition 1 holds for any model class. Pre-training therefore still minimises the expected KL divergence to the posterior over all networks with independent scores, and only the exact equality of the second part does not apply. In practice, the network approximates the posterior as accurately as Monte Carlo under a correctly specified GP (Appendix I.1).

Baselines

GP baselines GP-MAP and GP-FB use BoTorch 0.18.1 ([2]) with a Matérn-5/2 ARD kernel, inputs in the unit cube and standardised outputs. At every round, qLogNoisyExpectedImprovement ([1]) is maximised jointly over the qq points. GP-MAP fits the hyperparameters by MAP, and GP-FB samples them by NUTS and averages the acquisition function over the samples.

Pre-trained surrogates For PFNs4BO, we use the released PFNS4BO-HEBO and PFNS4BO-BNN models ([32]), pre-trained on the HEBO prior and on random Bayesian neural networks, with the authors’ optimiser of expected improvement. PFNs4BO{sup}† is pre-trained by us on the mixture prior, with the architecture and recipe of PFNS4BO-HEBO. TabPFN-EI uses the released TabPFN v2 regressor ({citep}[15]) with its default inference settings, and maximises expected improvement over the candidate sets of Appendix C.2. As both propose one point at a time, batches use the kriging believer ({citep}[11]`), in which each selected point is added to the observations with its predictive mean as value before the next point is selected.

FIBO No implementation of FIBO ([7]) is public, so we reimplemented it following the paper, with one model per dimension. It is trained on the paper’s squared-exponential GP prior, and FIBO{ᶜ}†` on the mixture prior, and a batch is qq independent samples of the flow. Where the paper leaves a choice open, we took the option that favours FIBO. On functions from its prior at d=3d=3, our implementation reaches a GAP of 0.90 after 58 evaluations, close to the 0.93 that the paper reports after 200 evaluations.

ZeroShotOpt We use the released model ([30]) without further training, with the settings of the authors’ documentation. The model was pre-trained on 30 runs of at most 50 evaluations and its code does not cover batches. We therefore tell it a budget of 50 evaluations and query the two best of its four sampled candidates, two choices fixed in advance on the BBOB functions.

Further learned methods NAP ([29]), ExPT ([33]), FSBO ([51]) and RNN-Opt ([4]) appear only in Appendices A.5 and G.4. We use the authors’ code for the first three and reimplemented RNN-Opt, for which no code is public. NAP is meta-trained on the GP task family of MetaBO ([46]), and the other three are pre-trained on the mixture prior (†) and on a GP-based prior (*), with their code adapted where needed.

Benchmark Problems

Table 6 lists the ten 3D and five 4D problems. Every problem is mapped to the unit cube and maximised, with minimisation problems negated. Regret is computed against the global optimum, which is known in closed form or was found by multi-start L-BFGS-B and confirmed by an independent second search.

problemddnative domainsourceproblemddnative domainsource
Ackley3, 4[−32.768,32.768]d[-32.768, 32.768]^dBoTorchSix-Hump Camel3[−3,3]×[−2,2][-3, 3] \times[-2, 2]BoTorch
Levy3, 4[−10,10]d[-10, 10]^dBoTorchbioprocess3[0,1]3[0, 1]^3this work
Rosenbrock3, 4[−2.048,2.048]d[-2.048, 2.048]^dBoTorchfullerenes3emulatorOlympus
Rastrigin3[−5.12,5.12]3[-5.12, 5.12]^3BoTorchcolours3emulatorOlympus
Michalewicz3[0,π]3[0, \pi]^3BoTorchbenzylation4emulatorOlympus
Hartmann3[0,1]3[0, 1]^3BoTorchGP-prior draws4[0,1]4[0, 1]^4FIBO prior

Table 6. Benchmark problems. Minimisation problems are negated.

Analytic functions The analytic functions use the implementations of BoTorch 0.18.1 [2, 44]. They cover needle-in-a-haystack landscapes (Ackley), dense ripples on a global trend (Levy, Rastrigin), narrow ridges on a plateau (Michalewicz), an ill-conditioned valley (Rosenbrock) and smooth surfaces with few optima (Hartmann, Six-Hump Camel). The two-dimensional Six-Hump Camel function is embedded in 3D through a third coordinate that does not affect ff.

Bioprocess surface This surface, constructed for this work, models the tuning of a microbial fuel cell over three concentrations with Haldane substrate-inhibition kinetics [12],

f(x)=h(x1;p1)h(x2;p2(x3))h(x3;p3),p2(x3)=p2(1+0.8(x3−0.5)),f(x) = h(x_1; p_1) h(x_2; p_2(x_3)) h(x_3; p_3), \qquad p_2(x_3) = p_2 \left(1 + 0.8 (x_3 - 0.5)\right),

where h(⋅;p)h(\cdot; p) is the Haldane rate v(s)=s/(K+s+s2/Ki)v(s) = s/(K + s + s^2/K_i) normalised to one at its peak pp, with (p1,p2,p3)=(0.10,0.20,0.35)(p_1, p_2, p_3) = (0.10, 0.20, 0.35) and K/Ki=6\sqrt{K/K_i} = 6. It is unimodal, non-separable and strongly non-stationary, with about 0.3% of the domain within 10% of the optimum.

Olympus campaigns The real-world campaigns come from Olympus [14], whose neural-network emulators, trained on data from automated experiments, serve as oracles. Fullerenes maximises the mole fraction of a bis-adduct in a flow reactor [47], colours minimises the distance of a mixed colour to a target green, and benzylation minimises the impurity of an N-benzylation reaction in 4D, whose smooth response surface is well suited to GP modelling.

GP-prior draws The 4D GP-prior problem consists of ten functions drawn from the GP prior of FIBO (Appendix § 12), each optimised as a separate problem, with their results averaged into one. On these problems, GP surrogates are well specified by construction.

Low-Dimensional Study

This appendix reports the complete results on the 3D and 4D problems of § 4. We first give the results in sequential optimisation (Appendix § 14.§ 1) and in batch optimisation (Appendix § 14.§ 2). We then compare the learned scores with acquisition functions (Appendix § 14.§ 3), and study the effect of the pre-training prior (Appendix § 14.§ 4) and the robustness to the candidate set (Appendix § 14.§ 5).

Sequential Optimisation

Table 7 gives the mean ranks at every context size, and Table 8 the paired win rate of every IQS-BO variant against every baseline. Figure 9 shows the regret and rank curves on the five 4D problems, and Figure 8 and Figure 10 the results per problem.

modelGP-MAPGP-FBPFNs4BO-HEBOPFNs4BO-BNNFIBOTabPFN-EIZeroShot-OptSobol
ninit=10n_{\mathrm{init}}=10
IQS-BO†77.4±2.477.4\pm2.477.3±2.477.3\pm2.486.4±2.186.4\pm2.185.1±2.285.1\pm2.292.7±1.792.7\pm1.771.1±2.871.1\pm2.877.8±2.577.8\pm2.596.4±1.296.4\pm1.2
IQS-BO-PFN†76.1±2.676.1\pm2.677.3±2.477.3\pm2.486.3±2.286.3\pm2.285.7±2.285.7\pm2.290.9±1.990.9\pm1.972.0±2.872.0\pm2.875.7±2.575.7\pm2.595.4±1.495.4\pm1.4
IQS-BO-GP†77.6±2.677.6\pm2.678.8±2.478.8\pm2.485.7±2.185.7\pm2.183.9±2.283.9\pm2.291.0±1.891.0\pm1.868.8±2.868.8\pm2.874.8±2.774.8\pm2.796.3±1.296.3\pm1.2
IQS-BO⋆65.2±2.765.2\pm2.767.4±2.767.4\pm2.775.3±2.775.3\pm2.775.4±2.875.4\pm2.883.6±2.283.6\pm2.255.1±3.055.1\pm3.064.9±2.764.9\pm2.794.2±1.594.2\pm1.5
IQS-BO-PFN⋆49.7±3.149.7\pm3.151.0±3.051.0\pm3.060.4±2.960.4\pm2.961.8±3.161.8\pm3.172.0±2.872.0\pm2.840.2±3.040.2\pm3.051.3±3.051.3\pm3.090.9±1.890.9\pm1.8
IQS-BO-GP⋆71.0±2.871.0\pm2.871.6±2.771.6\pm2.777.0±2.677.0\pm2.676.7±2.676.7\pm2.685.3±2.185.3\pm2.158.1±3.058.1\pm3.068.4±2.668.4\pm2.693.7±1.693.7\pm1.6
ninit=20n_{\mathrm{init}}=20
IQS-BO†79.7±2.279.7\pm2.280.3±2.280.3\pm2.290.1±1.890.1\pm1.886.4±2.286.4\pm2.294.4±1.494.4\pm1.469.8±2.869.8\pm2.889.4±1.989.4\pm1.997.7±0.997.7\pm0.9
IQS-BO-PFN†81.6±2.381.6\pm2.381.6±2.281.6\pm2.290.7±1.790.7\pm1.786.1±2.186.1\pm2.194.6±1.494.6\pm1.471.1±2.771.1\pm2.789.1±1.989.1\pm1.997.6±0.997.6\pm0.9
IQS-BO-GP†78.3±2.478.3\pm2.479.9±2.379.9\pm2.386.7±2.186.7\pm2.183.1±2.283.1\pm2.292.4±1.792.4\pm1.768.0±2.968.0\pm2.987.0±2.187.0\pm2.198.0±0.998.0\pm0.9
IQS-BO⋆69.6±2.669.6\pm2.670.1±2.670.1\pm2.679.5±2.579.5\pm2.575.6±2.775.6\pm2.785.2±2.285.2\pm2.252.4±2.952.4\pm2.979.8±2.279.8\pm2.295.8±1.395.8\pm1.3
IQS-BO-PFN⋆57.3±3.257.3\pm3.257.1±3.157.1\pm3.167.2±2.867.2\pm2.862.6±2.962.6\pm2.976.5±2.576.5\pm2.539.8±3.139.8\pm3.172.5±2.672.5\pm2.694.3±1.594.3\pm1.5
IQS-BO-GP⋆75.0±2.875.0\pm2.876.7±2.676.7\pm2.680.7±2.380.7\pm2.374.7±2.674.7\pm2.687.6±2.087.6\pm2.052.8±3.152.8\pm3.181.9±2.181.9\pm2.196.1±1.296.1\pm1.2
ninit=40n_{\mathrm{init}}=40
IQS-BO†79.6±2.279.6\pm2.280.6±2.180.6\pm2.192.4±1.692.4\pm1.691.6±1.791.6\pm1.794.2±1.594.2\pm1.566.7±2.966.7\pm2.993.0±1.593.0\pm1.598.8±0.798.8\pm0.7
IQS-BO-PFN†81.2±2.181.2\pm2.181.7±2.181.7\pm2.192.4±1.692.4\pm1.690.0±1.890.0\pm1.894.7±1.394.7\pm1.371.6±2.871.6\pm2.892.6±1.692.6\pm1.698.3±0.898.3\pm0.8
IQS-BO-GP†81.1±2.381.1\pm2.382.7±2.382.7\pm2.391.6±1.791.6\pm1.787.9±1.887.9\pm1.894.3±1.494.3\pm1.467.2±2.867.2\pm2.891.3±1.791.3\pm1.798.3±0.898.3\pm0.8
IQS-BO⋆68.6±2.668.6\pm2.671.9±2.571.9\pm2.582.5±2.482.5\pm2.480.3±2.480.3\pm2.487.8±2.087.8\pm2.050.4±3.050.4\pm3.084.3±2.084.3\pm2.096.2±1.296.2\pm1.2
IQS-BO-PFN⋆58.6±2.958.6\pm2.962.6±2.962.6\pm2.975.2±2.575.2\pm2.568.2±2.668.2\pm2.680.6±2.380.6\pm2.339.3±2.839.3\pm2.880.7±2.280.7\pm2.295.6±1.395.6\pm1.3
IQS-BO-GP⋆70.1±2.970.1\pm2.972.6±2.872.6\pm2.879.9±2.479.9\pm2.477.5±2.277.5\pm2.287.3±2.087.3\pm2.047.8±3.147.8\pm3.184.9±2.184.9\pm2.196.8±1.196.8\pm1.1

Table 8. Paired win rate (%) on RfinalR^{\mathrm{final}} of each IQS-BO variant against each baseline, ten 3D problems, 900 paired runs per cell, ±\pm 95% bootstrap CI half-width. † mixture prior, ⋆ HEBO prior.

Average regret per iteration on each 3D problem

Figure 8. Average regret per iteration on each 3D problem, ninit=40n_{\mathrm{init}}=40, 90 seeds, with 95% confidence intervals.

Four-panel plots of average rank and average regret over iteration, with legends IQS-BO, IQS-BO-PFN, IQS-BO-GP, PFNs4BO, FIBO, TabPFN-EI, GP-MAP, GP-FB, and Sobol; axes labelled Average Rank, Average Regret, and Iteration

Figure 9. As Figure 2, on the five 4D problems, ninit=40n_{\mathrm{init}} = 40.

Five-panel plots of average regret over iteration for Ackley, Levy, Rosenbrock, Benzylation, and GP-prior draws, with legends IQS-BO, IQS-BO-PFN, IQS-BO-GP, PFNs4BO, FIBO, TabPFN-EI, ZeroShotOpt, GP-MAP, GP-FB, and Sobol

Figure 10. Average regret per iteration on each 4D problem, ninit=40n_{\mathrm{init}} = 40, 90 seeds (900 runs for the ten GP-prior draws), with 95% confidence intervals.

Context sizes and paired win rates At ninit=10n_{\mathrm{init}}=10 and 20, the ranking is close to that at ninit=40n_{\mathrm{init}}=40, except that ZeroShotOpt ranks higher with less context and TabPFN-EI with more (Table 7). Pre-trained on the mixture prior, each IQS-BO variant beats every baseline in most paired runs, including TabPFN-EI, the strongest (Table 8). Pre-trained on the HEBO prior, IQS-BO and IQS-BO-GP still beat GP-MAP in most runs, and win about half of the runs against TabPFN-EI. IQS-BO-PFN⋆, which reads the released PFNs4BO-HEBO model unchanged, also outperforms it in most runs.

Per-problem results In 3D, the gains of IQS-BO are largest on Ackley, Levy and Michalewicz, where its regret is lower than that of all baselines for most of the run (Figure 8). The exceptions are Rosenbrock, a smooth valley on which a Matérn GP is well specified, and Camel, Hartmann and Rastrigin, on which TabPFN-EI ends lower than IQS-BO† at some context sizes. In 4D, the IQS-BO variants pre-trained on the mixture prior reach a lower final regret than GP-MAP on Ackley, Levy and Rosenbrock (Figure 10). The GP-prior draws and benzylation favour the GP baselines. On the former, a GP surrogate is well specified by construction. On the latter, the optimum lies at a corner of the domain, which the acquisition optimiser of the GP baselines reaches exactly and the candidates of IQS-BO only when perturbations are clipped to the domain.

Batch Optimisation

Table 9 and Figure 11 give the per-problem results behind Figure 3, for the seven 3D problems of the batch study, all but Camel and the two Olympus campaigns.

Figure 11. GAP per evaluation on each problem of the batch study (rows) for q=10q = 10, 2020 and 5050 (columns), HEBO prior, ninit=40n_{\mathrm{init}} = 40, 90 seeds, with 95% confidence intervals. Solid: checkpoints pretrained at the deployed batch size. Dashed: q=2q = 2 checkpoints used at that batch size. Dash-dotted: top-qq selection. Dotted: GP-MAP.

Results The mean GAP of IQS-BO stays above 0.9 at every batch size, and its margin over the best baseline widens as qq grows. GP-MAP leads only on Rosenbrock, at q≤20q\leq20. Proposing all queries of a run takes about one second for IQS-BO and a few seconds for IQS-BO-PFN. FIBO is as fast, and the other baselines take from 45 s to several minutes. For a single batch of two queries (Ackley in 3D, n=30n=30), IQS-BO takes 0.02 s, against 0.23 s for GP-MAP and 6.8 s for PFNs4BO-HEBO.

Batch size and batch construction This robustness comes from pre-training at the deployed batch size. For IQS-BO, the checkpoint pre-trained at the deployed qq beats the q=2q=2 checkpoint used at the same qq (dashed in Figure 11) in most paired runs, and in almost all of them at q=50q=50. There, the mean GAP of the q=2q=2 checkpoint drops to 0.44, while that of the checkpoint pre-trained at q=50q=50 stays above 0.90. For IQS-BO-PFN, the q=2q=2 checkpoint degrades much less. Sequential selection outperforms top-qq selection, which takes the qq highest-scoring candidates of a single forward pass, in most paired runs at q=2q=2 Table 1 and at q=10q=10. At q=20q=20 and 50, the two are closer, and top-qq selection is ahead on some problems.

Comparison with Acquisition Functions

Each rule uses the GP-MAP fit, candidate sets and kriging-believer batch rule of IQS-BO-GP, and only the score of a candidate changes. We consider expected improvement (EI), the probability of improvement (PI) [25], the upper confidence bound (UCB) μ+β σ\mu+ \sqrt{\beta}\,\sigma [43], Thompson sampling (TS) [45], the discrete knowledge gradient (KG) [9] and max-value entropy search (MES) [48]. On RfinalR^{\mathrm{final}}, IQS-BO-GP outperforms every rule in 61 to 79% of paired runs (Figure 6). The only exception is UCB at ninit=10n_{\mathrm{init}} = 10 and 20, which ties with IQS-BO-GP for its best value of β\beta, chosen after the runs. On RAUCR^{\mathrm{AUC}}, IQS-BO-GP outperforms every rule at ninit=20n_{\mathrm{init}} = 20 and 40, and is close to EI and UCB at ninit=10n_{\mathrm{init}} = 10. EI, PI, UCB and TS on these candidates also beat GP-MAP in most paired runs, while KG is level with it (Figure 13, default set).

Paired win rate against GP-MAP of IQS-BO-GP and the acquisition functions

Figure 13. Paired win rate on RfinalR^{\mathrm{final}} against GP-MAP of IQS-BO-GP† and the acquisition functions on the same GP and candidate sets, ten 3D problems, ninit∈{10,20,40}n_{\mathrm{init}} \in\{10, 20, 40\} pooled, with 95% CIs. Each row changes one aspect of the default set.

methodAckleyHartm.Bioproc.LevyMichal.Rastr.Rosenb.means/run
q=10q=10
IQS-BO.940±6.940 \pm6.999±0.999 \pm0.999±0.999 \pm0.998±1.998 \pm1.853±51.853 \pm51.750±39.750 \pm39.909±20.909 \pm20.921±10.921 \pm100.9
IQS-BO-PFN.949±6.949 \pm6.998±1.998 \pm1.998±1.998 \pm1.954±13.954 \pm13.874±47.874 \pm47.741±38.741 \pm38.933±30.933 \pm30.921±10.921 \pm103.2
GP-MAP.839±13.839 \pm13.999±0.999 \pm0.995±2.995 \pm2.857±35.857 \pm35.760±57.760 \pm57.682±40.682 \pm40.973±6.973 \pm6.872±11.872 \pm1154.5
GP-FB.834±14.834 \pm14.999±0.999 \pm0.994±2.994 \pm2.885±29.885 \pm29.719±61.719 \pm61.679±39.679 \pm39.971±11.971 \pm11.869±11.869 \pm11350.3
PFNs4BO-HEBO.773±20.773 \pm20.968±10.968 \pm10.879±41.879 \pm41.946±16.946 \pm16.797±39.797 \pm39.714±31.714 \pm31.855±37.855 \pm37.848±11.848 \pm11182.6
PFNs4BO-BNN.719±18.719 \pm18.975±11.975 \pm11.987±8.987 \pm8.949±15.949 \pm15.547±59.547 \pm59.678±35.678 \pm35.850±39.850 \pm39.815±12.815 \pm12131.8
FIBO.805±15.805 \pm15.994±2.994 \pm2.975±14.975 \pm14.941±16.941 \pm16.810±39.810 \pm39.568±43.568 \pm43.863±35.863 \pm35.851±10.851 \pm100.6
q=20q=20
IQS-BO.930±10.930 \pm10.998±1.998 \pm1.999±1.999 \pm1.995±3.995 \pm3.871±40.871 \pm40.781±37.781 \pm37.931±18.931 \pm18.929±8.929 \pm80.9
IQS-BO-PFN.947±6.947 \pm6.998±1.998 \pm1.998±1.998 \pm1.922±25.922 \pm25.953±22.953 \pm22.790±31.790 \pm31.937±25.937 \pm25.935±7.935 \pm73.1
GP-MAP.819±13.819 \pm13.998±0.998 \pm0.983±7.983 \pm7.832±41.832 \pm41.680±55.680 \pm55.598±49.598 \pm49.964±10.964 \pm10.839±12.839 \pm1260.8
GP-FB.816±12.816 \pm12.998±0.998 \pm0.976±9.976 \pm9.808±48.808 \pm48.631±64.631 \pm64.617±43.617 \pm43.960±14.960 \pm14.829±13.829 \pm13417.0
PFNs4BO-HEBO.756±15.756 \pm15.967±8.967 \pm8.859±47.859 \pm47.943±15.943 \pm15.809±38.809 \pm38.715±37.715 \pm37.852±33.852 \pm33.843±12.843 \pm12208.5
PFNs4BO-BNN.710±21.710 \pm21.974±9.974 \pm9.989±6.989 \pm6.951±13.951 \pm13.589±60.589 \pm60.664±37.664 \pm37.878±29.878 \pm29.822±12.822 \pm12135.8
FIBO.806±17.806 \pm17.993±2.993 \pm2.965±18.965 \pm18.935±23.935 \pm23.768±48.768 \pm48.557±46.557 \pm46.864±34.864 \pm34.841±12.841 \pm120.4
q=50q=50
IQS-BO.860±13.860 \pm13.998±1.998 \pm1.989±5.989 \pm5.975±7.975 \pm7.853±46.853 \pm46.796±27.796 \pm27.892±34.892 \pm34.909±9.909 \pm91.2
IQS-BO-PFN.917±11.917 \pm11.999±0.999 \pm0.992±4.992 \pm4.909±25.909 \pm25.933±25.933 \pm25.783±29.783 \pm29.952±19.952 \pm19.926±7.926 \pm73.9
GP-MAP.787±13.787 \pm13.998±1.998 \pm1.945±17.945 \pm17.741±52.741 \pm52.619±58.619 \pm58.550±50.550 \pm50.931±25.931 \pm25.796±14.796 \pm1445.1
GP-FB.799±16.799 \pm16.998±0.998 \pm0.954±11.954 \pm11.703±61.703 \pm61.489±65.489 \pm65.599±52.599 \pm52.926±27.926 \pm27.781±15.781 \pm15396.3
PFNs4BO-HEBO.692±21.692 \pm21.953±16.953 \pm16.774±52.774 \pm52.908±28.908 \pm28.781±44.781 \pm44.604±49.604 \pm49.780±51.780 \pm51.784±15.784 \pm15225.4
PFNs4BO-BNN.667±17.667 \pm17.971±9.971 \pm9.986±5.986 \pm5.946±14.946 \pm14.657±50.657 \pm50.641±39.641 \pm39.858±35.858 \pm35.818±11.818 \pm1198.7
FIBO.806±14.806 \pm14.988±4.988 \pm4.955±26.955 \pm26.911±32.911 \pm32.755±48.755 \pm48.538±48.538 \pm48.852±33.852 \pm33.829±12.829 \pm120.3

Table 9. GAP after 200 evaluations in 3D, mean over 90 seeds with the 95% CI half-width (×10−3\times10^{-3} as subscript), and seconds spent proposing the queries of a run. Bold marks the best value per problem and batch size.

Effect of the Pre-Training Prior

Figure 12 compares each method pre-trained on the mixture prior with the same method pre-trained on its original prior, for the three IQS-BO variants, PFNs4BO, FIBO and the further learned methods RNN-Opt, FSBO and ExPT of Appendix A.5.

The mixture prior improves all three IQS-BO variants at every context size, in 3D and in 4D. The improvement is larger on RAUCR^{\mathrm{AUC}} than on RfinalR^{\mathrm{final}}, which indicates that the prior helps most when the context is small and the model learns more on pre-training. Among the other methods, the mixture prior improves RNN-Opt, PFNs4BO and, slightly, FSBO, does not change FIBO and lowers the performance of ExPT. On Rosenbrock and the GP-prior draws, where a GP is already the right model, the mixture-prior versions of IQS-BO and IQS-BO-PFN still win about half of the runs or more. The mixture prior also helps IQS-BO on functions outside both priors (Appendix K.2).

The prior also affects the comparison with acquisition functions. Pre-trained on the HEBO prior, IQS-BO-GP beats EI only narrowly on RfinalR^{\mathrm{final}}, loses to it on RAUCR^{\mathrm{AUC}}, and is outperformed by UCB. The clear advantage of Appendix § 14.§ 3 therefore depends on the mixture prior.

Robustness to the Candidate Set

The same network can be deployed, without retraining, with candidate sets that differ from the default set of Appendix § 10.§ 2. We deploy the IQS-BO-GP† model of Appendix § 14.§ 3 with sets that each change one aspect of the default set, and run the acquisition functions of that appendix on the same GP and the same sets (Figure 13).

The rows of Figure 13 change the type of perturbation, its size, the observations that are perturbed, the space-filling part and the share of perturbations. On the ten sets that keep small perturbations of the best observations, IQS-BO-GP beats GP-MAP in 75 to 81% of paired runs, against 79% with the default set. UCB beats GP-MAP about as often, but IQS-BO-GP has the lowest mean RfinalR^{\mathrm{final}} of the rules shown on every set.

Performance drops in two cases. Without perturbations, with only Sobol and uniform candidates, IQS-BO-GP and every acquisition function lose to GP-MAP (see also Table 1 for IQS-BO), as space-filling candidates almost never fall close enough to the best observations. With perturbations five times larger, IQS-BO-GP is only level with GP-MAP, since it can no longer refine the best observations.

High-Dimensional Study

This appendix gives the setup and pre-training of the high-dimensional study of § 4.3 (Appendix § 15.§ 1) and its full results (Appendix § 15.§ 2).

Setup and Pre-Training

Setup The problems are ten scalable objectives used also in the GIT-BO (Yu et al., [52]) paper; nine synthetic functions and the Rover trajectory problem, at d∈{20,50,100,200}d \in\{20, 50, 100, 200\}, maximised on [0,1]d[0, 1]^d. Every method starts from the same 200-point Latin hypercube design and runs 250 rounds with q=2q = 2 (700 evaluations), over 20 seeds. With larger batches at d=50d = 50, runs start from 40 points and stop after 500 evaluations. Metrics are as in § 4.1, and for Michalewicz, which has no known optimum at these dimensions, the regret is computed against the best value found by any run. GP-MAP is the vanilla BO of Hvarfner et al. [19], configured as in Appendix § 12, and TuRBO (Eriksson et al., [8]) runs with one trust region at its default settings. GIT-BO runs the authors’ code and TabPFN-EI uses the released TabPFN v2 model, as in Appendix § 12.

Pre-training We pre-train one model per dimension and batch size, with the architecture of Appendix § 9. The prior is the mixture of Appendix § 10.§ 1, with lengthscales that grow with dd to better fit high-dimensional problems. Candidate sets have M=2048M = 2048 points, half generated from the best observations and half space-filling. Pre-training with q=2q = 2 takes about 6 h on four NVIDIA H200 GPUs. IQS-BO-TabPFN is pre-trained in the same way, and reads a frozen TabPFN v2 as IQS-BO-PFN reads the PFN (Appendix § 9.§ 1).

Results

Table 10 and Figure 14 give the full results with q=2q = 2, with the seven methods ranked together. The two IQS-BO models have the two best mean ranks at every dd, and a lower mean regret than GP-MAP, GIT-BO and TuRBO at every dd. At d=20d = 20 and 50, one of them has the lowest final regret on seven of the ten problems, and at every dd the better of the two is among the three best methods on each problem. Only TabPFN-EI has a lower mean regret, at d≤100d \le100, which is due to Michalewicz, where it is best at every dd. At d=200d = 200, GIT-BO and GP-MAP lead on more individual problems, but IQS-BO-TabPFN has the lowest mean regret. IQS-BO proposes queries one to two orders of magnitude faster than the surrogate-based baselines.

Methodd=20d = 20 Rankd=20d = 20 Regretd=50d = 50 Rankd=50d = 50 Regretd=100d = 100 Rankd=100d = 100 Regretd=200d = 200 Rankd=200d = 200 Regret
IQS-BO1.83±.110.112±.0061.96±.100.159±.0062.68±.110.195±.0072.96±.110.229±.007
IQS-BO-TabPFN2.09±.100.102±.0062.39±.100.164±.0062.62±.100.192±.0072.89±.110.222±.008
TabPFN-EI3.43±.110.092±.0073.44±.110.147±.0073.34±.120.182±.0063.54±.100.227±.006
GP-MAP4.87±.110.222±.0064.36±.080.254±.0053.81±.100.266±.0043.50±.080.264±.003
GIT-BO5.54±.060.347±.0054.51±.070.338±.0033.56±.040.322±.0043.01±.040.316±.003
TuRBO3.35±.130.164±.0104.44±.100.212±.0065.07±.070.301±.0065.21±.080.412±.007
Sobol6.90±.020.868±.0176.91±.020.905±.0126.92±.010.938±.0086.90±.010.949±.007

Table 10. Mean rank and mean regret after 700 evaluations over the ten problems and 20 seeds, ± 95% bootstrap CI half-width. Bold marks the best value per column.

Figure 14. Normalised regret (log scale) per evaluation on each problem (rows) at d=20d = 20, 50, 100 and 200 (columns), 20 seeds, with 95% confidence intervals.

With batches of q=10q = 10, 20 and 50 at d=50d = 50, the mean GAP of IQS-BO is well above that of GP-MAP, TuRBO and GIT-BO, and only TabPFN-EI is slightly higher (Figure 5). IQS-BO has the best GAP on five or six of the ten problems, more than any baseline (Table 11), and proposes queries almost two orders of magnitude faster than TabPFN-EI. IQS-BO-TabPFN is close to TabPFN-EI in mean GAP, in about a quarter of its proposal time.

methodAckleyRosenb.Griew.LevyPowellDixon-P.Michal.Rastr.Styb.-T.Rovers/run
q=10q = 10
IQS-BO.661±13.999±0.995±0.990±2.997±11.000±0.584±61.658±15.557±17.798±418.7
IQS-BO-TabPFN.678±13.997±0.994±1.993±1.996±11.000±0.636±54.736±21.559±25.746±48189.9
TabPFN-EI.637±22.990±5.987±4.982±7.994±11.000±0.774±39.755±24.559±32.794±54742.3
GP-MAP.613±22.990±2.997±0.972±5.928±17.995±1.163±21.417±19.310±43.732±411083.1
TuRBO.529±28.974±7.842±31.849±23.937±18.959±10.429±25.468±22.526±27.808±39111.3
GIT-BO.441±10.994±1.986±1.985±1.994±1.999±0.279±37.613±18.013±14.585±44425.7
q=20q = 20
IQS-BO.648±14.997±0.994±1.991±1.997±11.000±0.546±56.648±21.480±24.789±448.2
IQS-BO-TabPFN.625±14.995±1.994±1.992±1.996±11.000±0.573±45.689±30.497±23.763±42192.0
TabPFN-EI.601±22.989±4.986±5.983±7.993±21.000±0.698±55.727±22.527±28.784±35740.6
GP-MAP.614±31.985±3.997±0.969±3.881±35.993±1.153±28.396±26.231±41.708±35769.6
TuRBO.448±17.956±10.795±29.810±24.911±19.935±15.435±34.454±24.436±27.722±6258.8
GIT-BO.431±19.993±1.983±2.982±2.993±1.999±0.290±21.570±21.016±16.527±51417.9
q=50q = 50
IQS-BO.502±18.990±1.991±1.989±1.994±11.000±0.414±48.674±13.372±26.756±409.1
IQS-BO-TabPFN.533±14.989±2.992±1.990±1.994±21.000±0.516±51.677±23.364±35.734±49193.7
TabPFN-EI.549±32.983±8.985±4.980±7.990±21.000±0.556±60.704±19.461±21.685±55741.9
GP-MAP.669±21.976±5.996±0.946±9.858±28.989±1.149±28.367±25.115±31.645±40504.4
TuRBO.411±13.935±8.754±17.757±22.882±25.921±17.415±36.424±22.411±40.676±3730.0
GIT-BO.402±15.990±2.974±3.974±3.990±2.998±0.262±33.546±20.018±16.477±55367.3

Table 11. GAP after 500 evaluations at d=50d = 50, mean over 20 seeds with the 95% CI half-width (×10−3\times10^{-3}) as subscript, and seconds spent proposing the queries of a run. Bold marks the best value per problem and batch size.

Approximating the Probability of the Best Candidate

Proposition 1 shows that pre-training minimises the expected KL divergence from the posterior probability π\pi (3) that each candidate is the best to the network’s output, within the model class. Since each candidate is scored independently before the softmax, this class does not contain π\pi in general (Appendix § 11). This appendix answers two questions empirically. Can a network with independent scores represent π\pi accurately? And how does IQS-BO compare with estimating π\pi directly by Monte Carlo posterior sampling? Appendix § 16.§ 1 answers both on tasks where π\pi is known, and Appendix § 16.§ 2 answers the second question on real optimisation benchmarks.

Independent Scores Against the Exact Posterior

Measuring the distance to π\pi requires a setting in which π\pi can be estimated accurately. We draw functions from a GP with a Matérn-3/2 kernel at d=3d = 3, 400 for each context size n∈{10,20,80}n \in\{10, 20, 80\}, with contexts and M=64M = 64 candidates generated as in pre-training. Here the posterior of the GP is available in closed form, and Monte Carlo sampling from this exact posterior, with the hyperparameters integrated out, gives π\pi to negligible error.

We compare π\pi with the probabilities of IQS-BO* of § 4.2 and with those of Monte Carlo under a GP with the same kernel, but with hyperparameters fitted by MAP to the available context. This setting favours Monte Carlo, since its surrogate models the same distribution that generated the data.

Without any fine-tuning, IQS-BO* is about as accurate as Monte Carlo under this GP, and places its probability where π\pi does (Figure 15). With few observations, which determine the hyperparameters of the GP poorly, it is more accurate (KL divergence 0.13 against 0.35 at n=10n = 10), and its queries are more often the best candidate. With 80 observations, the GP is slightly ahead.

Figure 15. Probability that each candidate is the best under the exact posterior, IQS-BO⋆ before and after fine-tuning, and Monte Carlo under GP-MAP, on tasks from the HEBO prior with n=10n = 10, 20 and 80 observations (rows). Left, centre: two functions that vary only with x1x_1, with 64 candidates evenly spaced along x1x_1. Right: mean over the 400 tasks of each nn, with the candidates ranked by their exact probability.

Fine-tuned on tasks from the same process, the network is closer to π\pi than the GP at every nn, and its queries are at least as good. This shows that much of the remaining distance in the approximation accuracy of the network can be reduced by further pre-training.

Monte Carlo Posterior Sampling in Real Optimisation Settings

On the benchmarks, no posterior is available in closed form, and Monte Carlo is limited by how well its surrogate is specified. It draws joint samples of the surrogate’s posterior at the candidates and queries the candidate that is most often the maximum. We use the candidates and batch rule of IQS-BO-GP, such that only the selection of queries differs, and two surrogates. The first is a GP with a fixed kernel, the Matérn-5/2 GP that IQS-BO-GP also reads, with its hyperparameters fitted by MAP (MC, fixed GP) or integrated out (MC, fixed GP, fully Bayesian). The second is a GP

ends_mid=1 selected at every query among ten kernels by leave-one-out likelihood, which fits each problem as closely as possible but is expensive (MC, selected GP).

We first compare single queries. On contexts taken from BO runs on the benchmarks, we measure how often the next query of each method is the best candidate in the set (Figure 16a). The query of IQS-BO is the best candidate in 26% of cases, against about 18% for Monte Carlo with the fixed GP, which stops improving after a few thousand draws. IQS-BO-GP, which reads the same GP, selects better queries than Monte Carlo because the network learns when to correct the GP’s predictions on functions where they are not accurate. Monte Carlo with the selected GP reaches the same query quality as IQS-BO only after a few thousand draws, at about 50 times its cost per query.

Figure 16. Monte Carlo estimates of π\pi on the ten 3D problems. (a) 600 states of BO runs, with 512 candidates each. (b) 2,700 paired runs, with S=4,096S = 4{,}096 draws; time per batch of two queries.

Over complete BO runs (Figure 16b), IQS-BO performs at least as well as Monte Carlo with both surrogates. This shows that the network selects queries as good as or better than those of Monte Carlo under a GP surrogate, at a lower cost and without requiring kernel specifications and hyperparameter tuning for each problem.

Exploration and Exploitation

IQS-BO is pre-trained without an acquisition function or an exploration term, and without a surrogate it receives no estimate of uncertainty. Yet, it learns to adapt exploration-exploitation to the context (§ 4.4). This appendix explains why, measures how it trades predicted value against uncertainty, and tests whether a target that weighs the size of an improvement would do better.

Why the Target Explores The target (3) is the share of functions consistent with D\mathcal{D} on which cjc_j is the best candidate. Far from the observations, these functions are not constrained, and a candidate there is the best on every function that peaks in its region. With few observations, many functions peak in unexplored regions, and the network explores. Each new observation rules out the functions that disagree with it, and exploration fades as the context grows. Figure 17 (right) illustrates this on the 3D problems, where each candidate set mixes space-filling points, which explore, with perturbations of the best observations (Appendix § 10.§ 2). With a small context, the best candidate is often a space-filling point, and the network often queries one. As the context grows, this becomes rare for both.

How the Network Trades Value Against Uncertainty As IQS-BO† receives no uncertainty, we describe its choices by the posterior mean μ\mu and standard deviation σ\sigma of a GP fitted to D\mathcal{D}. With few observations, the probability under IQS-BO† rises with both μ\mu and σ\sigma, and an uncertain candidate can be preferred to one with a higher predicted value (Figure 18, left). After 80 observations, it depends almost only on μ\mu and concentrates where the true best candidates lie (middle).

To summarise this trade-off in one number, we describe each method by the rule that queries the candidate with the highest μ+wσ\mu+ w\sigma, and fit the weight ww that best reproduces its queries (Figure 18, right). A weight of zero means pure exploitation, and a larger weight more exploration. Fitting the same rule to the true best candidates gives the ideal weight (dashed). The weight of IQS-BO† falls from 0.56 after 10 observations to 0.04 after 100, similarly to the ideal weight. Thompson sampling and UCB behave similarly, whereas EI and KG keep a slowly declining weight.

Improvement Magnitude and Information Gain The target (3) does not weigh the size of an improvement. To test whether the network would benefit from a loss that includes the size of improvements, we pre-train it to predict the improvement of each candidate over the best observation so far, max⁡(f(cj)−y+,0)\max(f(c_j) - y^+, 0), so that it approximates expected improvement in-context. This variant performs similarly to GP-MAP, but IQS-BO† with the proposed loss outperforms it in 84 to 87% of paired runs (Table 1). We also tested soft labels, which weight each candidate by its value, and neither improved over the proposed loss. In addition, with the same GP surrogate and candidates, IQS-BO-GP outperforms expected improvement and the knowledge gradient, which weigh the size of an improvement, as well as max-value entropy search, which considers information gain (Figure 6).

Generalisation Outside the Pre-Training Prior

A model pre-trained on synthetic functions might be expected to work only on functions that resemble its prior. This appendix first measures the smoothness and the number of local optima of the pre-training priors and of every test function (Appendix § 18.§ 1), and then evaluates both IQS-BO models, without retraining, on functions outside the priors (Appendix § 18.§ 2). All experiments are at d=3d = 3, with the checkpoints of § 4.2.

Smoothness and Shape of the Priors and Test Functions

We describe a function by its number of local optima and by its smoothness, the Hölder exponent α\alpha, estimated by generalised quadratic variations [20, 23]. Here α=0\alpha= 0 is discontinuous, α=1\alpha= 1 Lipschitz, and a Matérn-ν\nu path has α=ν\alpha= \nu.

The HEBO prior is concentrated around α≈1.5\alpha\approx1.5, as expected from its Matérn-3/2 kernel, and only two of the ten benchmarks, colours and fullerenes, fall within it (Figure 19). The mixture prior spans from rough to very smooth functions and reaches all benchmarks except Ackley, which is almost discontinuous (α≈0\alpha\approx0). The benchmarks are therefore mostly out-of-prior for IQS-BO*, which still outperforms GP-MAP on them in most paired runs (Table 8).

Generalisation without Retraining

To test performance outside our benchmarks, we add two test sets. The first includes the 24 BBOB functions ([13]), which range from discontinuous to very smooth. The second includes twelve functions ([21]) that neither prior covers, namely smooth functions with many optima and rough functions with few. On each set, we compare every method with GP-MAP by its paired win rate on RAUCR^{\mathrm{AUC}}. Besides the two IQS-BO models, we consider the other pre-trained methods, PFNS4BO and FIBO, each on the mixture prior and on its original prior, and TabPFN-EI.

IQS-BO† outperforms GP-MAP in 60 to 74% of runs on BBOB and on the twelve functions outside both priors (Figure 20). Importantly, IQS-BO⋆ stays level with GP-MAP on these functions, although almost none of them resemble those implied by its prior. GP-MAP is ahead of the learned methods only on draws from the HEBO prior, which are GP paths with a Matérn kernel close to the one it uses. Overall, these results show that IQS-BO does not rely on a prior that matches the test function. It adapts in-context to functions different from those seen in pre-training, and a broader prior specification further improves its generalisation capabilities.

References

  1. [1]Sebastian Ament, Samuel Daulton, David Eriksson, Maximilian Balandat, and Eytan Bakshy. Unexpected improvements to expected improvement for Bayesian optimization. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2310.20708
  2. [2]Maximilian Balandat, Brian Karrer, Daniel R. Jiang, Samuel Daulton, Benjamin Letham, Andrew Gordon Wilson, and Eytan Bakshy. BoTorch: A framework for efficient Monte-Carlo Bayesian optimization. In Advances in Neural Information Processing Systems (NeurIPS), 2020.arxiv.org/abs/1910.06403
  3. [3]Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Michael Laskin, Pieter Abbeel, Aravind Srinivas, and Igor Mordatch. Decision Transformer: Reinforcement learning via sequence modeling. In Advances in Neural Information Processing Systems (NeurIPS), 2021.arxiv.org/abs/2106.01345
  4. [4]Yutian Chen, Matthew W. Hoffman, Sergio Gómez Colmenarejo, Misha Denil, Timothy P. Lillicrap, Matt Botvinick, and Nando de Freitas. Learning to learn without gradient descent by gradient descent. In International Conference on Machine Learning (ICML), 2017.arxiv.org/abs/1611.03824
  5. [5]Yutian Chen, Xingyou Song, Chansoo Lee, Zi Wang, Qiuyi Zhang, David Dohan, Kazuya Kawakami, Greg Kochanski, Arnaud Doucet, Marc’Aurelio Ranzato, Sagi Perel, and Nando de Freitas. Towards learning universal hyperparameter optimizers with transformers. In Advances in Neural Information Processing Systems (NeurIPS), 2022.arxiv.org/abs/2205.13320
  6. [6]Alexander I. Cowen-Rivers, Wenlong Lyu, Rasul Tutunov, Zhi Wang, Antoine Grosnit, Ryan Rhys Griffiths, Alexandre Max Maraval, Jianye Hao, Jun Wang, Jan Peters, and Haitham Bou Ammar. HEBO: Pushing the limits of sample-efficient hyper-parameter optimisation. Journal of Artificial Intelligence Research, 74:1269–1349, 2022.
  7. [7]Gustavo Sutter Pessurno de Carvalho, Mohammed Abdulrahman, Hao Wang, Sriram Ganapathi Subramanian, Marc St-Aubin, Sharon O’Sullivan, Lawrence Wan, Luis Ricardez-Sandoval, Pascal Poupart, and Augustinus Kristiadi. Simplifying Bayesian optimization via in-context direct optimum sampling. arXiv preprint arXiv:2505.23913, 2025.
  8. [8]David Eriksson, Michael Pearce, Jacob Gardner, Ryan D. Turner, and Matthias Poloczek. Scalable global optimization via local Bayesian optimization. In Advances in Neural Information Processing Systems (NeurIPS), 2019.arxiv.org/abs/1910.01739
  9. [9]Peter Frazier, Warren Powell, and Savas Dayanik. The knowledge-gradient policy for correlated normal beliefs. INFORMS Journal on Computing, 21(4):599–613, 2009.DOI
  10. [10]Roman Garnett. Bayesian Optimization. Cambridge University Press, 2023.DOI
  11. [11]David Ginsbourger, Rodolphe Le Riche, and Laurent Carraro. Kriging is well-suited to parallelize optimization. In Yoel Tenne and Chi-Keong Goh (eds.), Computational Intelligence in Expensive Optimization Problems, pp. 131–162. Springer, 2010.
  12. [12]John Burdon Sanderson Haldane. Enzymes. Longmans, Green and Co., London, 1930.
  13. [13]Nikolaus Hansen, Steffen Finck, Raymond Ros, and Anne Auger. Real-parameter black-box optimization benchmarking 2009: Noiseless functions definitions. Technical Report RR-6829, INRIA, 2009.
  14. [14]Florian Häse, Matteo Aldeghi, Riley J. Hickman, Loïc M. Roch, Melodie Christensen, Elena Liles, Jason E. Hein, and Alán Aspuru-Guzik. Olympus: A benchmarking framework for noisy optimization and experiment planning. Machine Learning: Science and Technology, 2(3):035021, 2021.DOI
  15. [15]Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 637(8045):319–326, 2025.DOI
  16. [16]Bing-Jing Hsieh, Ping-Chun Hsieh, and Xi Liu. Reinforced few-shot acquisition function learning for Bayesian optimization. In Advances in Neural Information Processing Systems (NeurIPS), 2021.arxiv.org/abs/2106.04335
  17. [17]Daolang Huang, Zhuoyue Huang, Conor Hassan, Luigi Acerbi, Samuel Kaski, and Tom Rainforth. Efficient adaptive data acquisition via pretrained belief representations. In Advances in Neural Information Processing Systems (NeurIPS), 2026.arxiv.org/abs/2606.25197
  18. [18]Deng Huang, Theodore T. Allen, William I. Notz, and Ning Zeng. Global optimization of stochastic black-box systems via sequential Kriging meta-models. Journal of Global Optimization, 34(3):441–466, 2006.DOI
  19. [19]Carl Hvarfner, Erik Orm Hellsten, and Luigi Nardi. Vanilla Bayesian optimization performs great in high dimensions. In International Conference on Machine Learning (ICML), 2024.arxiv.org/abs/2402.02229
  20. [20]Jacques Istas and Gabriel Lang. Quadratic variations and estimation of the local Hölder index of a Gaussian process. Annales de l’Institut Henri Poincaré, Probabilités et Statistiques, 33(4):407–436, 1997.DOI
  21. [21]Momin Jamil and Xin-She Yang. A literature survey of benchmark functions for global optimisation problems. International Journal of Mathematical Modelling and Numerical Optimisation, 4(2):150–194, 2013.DOI
  22. [22]Donald R. Jones, Matthias Schonlau, and William J. Welch. Efficient global optimization of expensive black-box functions. Journal of Global Optimization, 13(4):455–492, 1998.DOI
  23. [23]John T. Kent and Andrew T. A. Wood. Estimating the fractal dimension of a locally self-similar Gaussian process by using increments. Journal of the Royal Statistical Society: Series B (Methodological), 59(3):679–699, 1997.
  24. [24]P. Kumaraswamy. A generalized probability density function for double-bounded random processes. Journal of Hydrology, 46(1–2):79–88, 1980.DOI
  25. [25]Harold J. Kushner. A new method of locating the maximum point of an arbitrary multipeak curve in the presence of noise. Journal of Basic Engineering, 86(1):97–106, 1964.
  26. [26]Michael Laskin, Luyu Wang, Junhyuk Oh, Emilio Parisotto, Stephen Spencer, Richie Steigerwald, DJ Strouse, Steven Hansen, Angelos Filos, Ethan Brooks, Maxime Gazeau, Himanshu Sahni, Satinder Singh, and Volodymyr Mnih. In-context reinforcement learning with algorithm distillation. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.14215
  27. [27]Jonathan N. Lee, Annie Xie, Aldo Pacchiano, Yash Chandak, Chelsea Finn, Ofir Nachum, and Emma Brunskill. Supervised pretraining can learn in-context reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2306.14892
  28. [28]Licong Lin, Yu Bai, and Song Mei. Transformers as decision makers: Provable in-context reinforcement learning via supervised pretraining. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.08566
  29. [29]Alexandre Maraval, Matthieu Zimmer, Antoine Grosnit, and Haitham Bou Ammar. End-to-end meta-Bayesian optimisation with transformer neural processes. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2305.15930
  30. [30]Jamison Meindl, Yunsheng Tian, Tony Cui, Veronika Thost, Zhang-Wei Hong, Johannes Dürholt, Jie Chen, Wojciech Matusik, and Mina Konaković Luković. ZeroShotOpt: Towards zero-shot pretrained models for efficient black-box optimization. arXiv preprint arXiv:2510.03051, 2025.arxiv.org/abs/2510.03051
  31. [31]Samuel Müller, Noah Hollmann, Sebastian Pineda Arango, Josif Grabocka, and Frank Hutter. Transformers can do Bayesian inference. In International Conference on Learning Representations (ICLR), 2022.arxiv.org/abs/2112.10510
  32. [32]Samuel Müller, Matthias Feurer, Noah Hollmann, and Frank Hutter. PFNs4BO: In-context learning for Bayesian optimization. In International Conference on Machine Learning (ICML), 2023.arxiv.org/abs/2305.17535
  33. [33]Tung Nguyen, Sudhanshu Agrawal, and Aditya Grover. ExPT: Synthetic pretraining for few-shot experimental design. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2310.19961
  34. [34]Tung Nguyen, Quiyu Zhang, Bangding Yang, Chansoo Lee, Jorg Bornschein, Yingjie Miao, Sagi Perel, Yutian Chen, and Xingyou Song. Language model embeddings can be sufficient for Bayesian optimization. arXiv preprint arXiv:2410.10190, 2024.arxiv.org/abs/2410.10190
  35. [35]Jingang Qu, David Holzmüller, Gaël Varoquaux, and Marine Le Morvan. TabICLv2: A better, faster, scalable, and open tabular foundation model. In International Conference on Machine Learning (ICML), 2026.arxiv.org/abs/2602.11139
  36. [36]Ali Rahimi and Benjamin Recht. Random features for large-scale kernel machines. In Advances in Neural Information Processing Systems (NeurIPS), 2007.
  37. [37]Herilalaïna Rakotoarison, Steven Adriaensen, Neeratyoy Mallik, Samir Garibov, Eddie Bergman, and Frank Hutter. In-context freeze-thaw Bayesian optimization for hyperparameter optimization. In International Conference on Machine Learning (ICML), 2024.arxiv.org/abs/2404.16795
  38. [38]John Schulman, Filip Wolksi, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.arxiv.org/abs/1707.06347
  39. [39]Bobak Shahriari, Kevin Swersky, Ziyu Wang, Ryan P. Adams, and Nando de Freitas. Taking the human out of the loop: A review of Bayesian optimization. Proceedings of the IEEE, 104(1): 148–175, 2016.DOI
  40. [40]Joshua W. Sin, Siu Lun Chau, Ryan P. Burwood, Kurt Püntener, Raphael Bigler, and Philippe Schwaller. Highly parallel optimisation of chemical reactions through automation and machine intelligence. Nature Communications, 16:6464, 2025.DOI
  41. [41]Jasper Snoek, Kevin Swersky, Richard S. Zemel, and Ryan P. Adams. Input warping for Bayesian optimization of non-stationary functions. In International Conference on Machine Learning (ICML), 2014.arxiv.org/abs/1402.0929
  42. [42]Lei Song, Chen-Xiao Gao, Ke Xue, Chenyang Wu, Dong Li, Jianye Hao, Zongzhang Zhang, and Chao Qian. Reinforced in-context black-box optimization. In International Joint Conference on Artificial Intelligence (IJCAI), 2025.arxiv.org/abs/2402.17423
  43. [43]Niranjan Srinivas, Andreas Krause, Sham M. Kakade, and Matthias Seeger. Gaussian process optimization in the bandit setting: No regret and experimental design. In International Conference on Machine Learning (ICML), 2010.DOI
  44. [44]Sonja Surjanovic and Derek Bingham. Virtual library of simulation experiments: Test functions and datasets. https://www.sfu.ca/~ssurjano, 2013.
  45. [45]William R. Thompson. On the likelihood that one unknown probability exceeds another in view of the evidence of two samples. Biometrika, 25(3/4):285–294, 1933.DOI
  46. [46]Michael Volpp, Lukas P. Fröhlich, Kirsten Fischer, Andreas Doerr, Stefan Falkner, Frank Hutter, and Christian Daniel. Meta-learning acquisition functions for transfer learning in Bayesian optimization. In International Conference on Learning Representations (ICLR), 2020.arxiv.org/abs/1904.02642
  47. [47]Barnaby E. Walker, James H. Bannock, Adrian M. Nightingale, and John C. deMello. Tuning reaction products by constrained optimisation. Reaction Chemistry & Engineering, 2(5):785–798, 2017.DOI
  48. [48]Zi Wang and Stefanie Jegelka. Max-value entropy search for efficient Bayesian optimization. In International Conference on Machine Learning (ICML), 2017.arxiv.org/abs/1703.01968
  49. [49]Zi Wang, George E. Dahl, Kevin Swersky, Chansoo Lee, Zachary Nado, Justin Gilmer, Jasper Snoek, and Zoubin Ghahramani. Pre-trained Gaussian processes for Bayesian optimization. Journal of Machine Learning Research, 25(212):1–83, 2024.
  50. [50]James T. Wilson, Frank Hutter, and Marc Peter Deisenroth. Maximizing acquisition functions for Bayesian optimization. In Advances in Neural Information Processing Systems (NeurIPS), 2018.arxiv.org/abs/1805.10196
  51. [51]Martin Wistuba and Josif Grabocka. Few-shot Bayesian optimization with deep kernel surrogates. In International Conference on Learning Representations (ICLR), 2021.arxiv.org/abs/2101.07667
  52. [52]Rosen Ting-Ting Yu, Cyril Picard, and Faez Ahmed. GIT-BO: High-dimensional Bayesian optimization with tabular foundation models. In International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2505.20685

Paper details

vlnc:W_r54gwbd9
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Generative AI tools

View statement
Looking for related papers…
Contents