Skip to content
DraconiticResearch
Search Sources API
190,839 studies31 sourcesUpdated 50 min ago
PreprintCC BY 4.0arXiv

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

Abstract

Bayesian Optimisation (BO) is a powerful framework for the optimisation of expensive black-box functions, but typically requires refitting a surrogate and maximising an acquisition function at every evaluation step. 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 trained network, but, lacking a label for the query, learn the score by reinforcement learning on previously solved tasks. 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 maximises the objective over the set, and we show that the minimiser of its objective is 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 either matching or outperforming standard BO with Gaussian processes (GPs) and available in-context methods on synthetic and real-world benchmarks. Finally, we propose a mixture prior for pre-training PFNs which combines samples from GPs with functions exhibiting warped inputs, isolated narrow optima, or plateaus that are poorly modeled by stationary kernels common in GP surrogates. We show that pre-training on this prior can lead to improved optimisation performance.

Related

  1. Anisotropic Trust Region Warping for Prior-Data Fitted Networks in Bayesian Optimisation
    Samuel Younger, Tinkle Chugh, George De Ath
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  2. Convex-Analytic View of Query Selection for Safety Verification of Markov Decision Processes
    Han Bao, Shinsaku Sakaue, Kazuki Watanabe
    arXivPreprintCC BY-SA 4.0Full textOptimisation & controlarXiv
  3. PKComb-BOIN12: A Pharmacokinetically Guided Bayesian Design for Dose Optimisation in Oncology Drug-Combination Trials
    Jieqi Tu, Ruitao Lin, Ayon Mukherjee
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  4. Evaluation of optimisation and Bayesian inference methods for reaction rates in atmospheric chemical mechanisms
    Valery Ashu, Wenqing Peng, Zhi-Song Liu +7
    arXivPreprintarXiv licenceFull textOptimisation & controlStatisticsarXiv
  5. Converge Then Diversify: Decoupling Convergence and Diversity in Multi-Objective Bayesian Optimisation
    Chao Jiang, Yueling Huang, Miqing Li
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
BibTeX
@misc{geminiani2026iqsbo,
  title = {{IQS-BO: In-Context Query Selection for Bayesian Optimisation}},
  author = {Luca Geminiani and Nadja Klein},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.01269},
  eprint = {2610.01269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.01269},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - IQS-BO: In-Context Query Selection for Bayesian Optimisation
AU  - Luca Geminiani
AU  - Nadja Klein
PY  - 2026
DA  - 2026/10/01
PB  - arXiv
DO  - 10.48550/arxiv.2610.01269
UR  - https://arxiv.org/abs/2610.01269
AB  - Bayesian Optimisation (BO) is a powerful framework for the optimisation of expensive black-box functions, but typically requires refitting a surrogate and maximising an acquisition function at every evaluation step. 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 trained network, but, lacking a label for the query, learn the score by reinforcement learning on previously solved tasks. 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 maximises the objective over the set, and we show that the minimiser of its objective is 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 either matching or outperforming standard BO with Gaussian processes (GPs) and available in-context methods on synthetic and real-world benchmarks. Finally, we propose a mixture prior for pre-training PFNs which combines samples from GPs with functions exhibiting warped inputs, isolated narrow optima, or plateaus that are poorly modeled by stationary kernels common in GP surrogates. We show that pre-training on this prior can lead to improved optimisation performance.
ER  -