[Paper Review] Language-Based Bayesian Optimization Research Assistant (BORA)
BORA couples Bayesian optimization with an LLM to inject domain knowledge, provide real-time commentary, and adaptively guide search in high-dimensional, costly experiments, outperforming baselines on synthetic and real-world tasks.
Many important scientific problems involve multivariate optimization coupled with slow and laborious experimental measurements. These complex, high-dimensional searches can be defined by non-convex optimization landscapes that resemble needle-in-a-haystack surfaces, leading to entrapment in local minima. Contextualizing optimizers with human domain knowledge is a powerful approach to guide searches to localized fruitful regions. However, this approach is susceptible to human confirmation bias and it is also challenging for domain experts to keep track of the rapidly expanding scientific literature. Here, we propose the use of Large Language Models (LLMs) for contextualizing Bayesian optimization (BO) via a hybrid optimization framework that intelligently and economically blends stochastic inference with domain knowledge-based insights from the LLM, which is used to suggest new, better-performing areas of the search space for exploration. Our method fosters user engagement by offering real-time commentary on the optimization progress, explaining the reasoning behind the search strategies. We validate the effectiveness of our approach on synthetic benchmarks with up to 15 independent variables and demonstrate the ability of LLMs to reason in four real-world experimental tasks where context-aware suggestions boost optimization performance substantially.
Motivation & Objective
- Motivate and address slow initialization and local minima in high-dimensional black-box optimization.
- Incorporate domain knowledge via an LLM to steer exploration without over-reliance on human input.
- Develop an adaptive policy to regulate LLM involvement and balance exploration-exploitation.
- Enable user engagement through interpretable LLM commentary and hypothesis generation during optimization.
Proposed method
- Couples a Gaussian Process-based Bayesian optimization learner with an LLM to form a hybrid optimization framework.
- Repurposes LLMs to produce structured JSON-like Comments containing insights and hypotheses for the current optimization state.
- Uses an Experiment Card to initialize the LLM with problem context and objective, generating initial hypotheses and samples.
- Implements an adaptive heuristic policy that toggles between Vanilla BO, LLM-guided sampling, and LLM-guided selection based on GP uncertainty and plateau/dynamics metrics.
- Introduces a trust mechanism that tracks LLM intervention utility via a rolling trust score and adjusts plateau duration m accordingly.

Experimental results
Research questions
- RQ1Does BORA improve exploration efficiency and convergence speed compared to static-prior or vanilla BO baselines across synthetic and real-world tasks?
- RQ2Can LLM-generated hypotheses and commentary meaningfully accelerate finding high-objective regions in high-dimensional spaces?
- RQ3How does the adaptive policy regulate LLM involvement to balance cost, performance, and stability across optimization progress?
Key findings
- BORA significantly outperforms baselines on higher-dimensional problems (10D Levy, 15D Ackley) and multiple real-world tasks.
- LLM-informed initial sampling helps identify promising regions, with dynamic hypotheses improving exploration and mitigating stagnation.
- Hydrogen Production experiments show a 47% reduction in cumulative regret versus ColaBO, illustrating faster convergence in complex spaces.
- A dynamic BO/LLM synergy with adaptive trust and plateau adjustments yields sustained performance gains beyond static expert priors.
- Ablation studies indicate the benefit of the hybrid approach over using the LLM alone and over static knowledge priors.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.