mlsanityData to 14 Oct 2026

LLM Based Bayesian Optimization for Prompt Search

arXiv 2510.04384 ↗First posted 5 Oct 2025cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Bayesian Optimization (BO) has been widely used to efficiently optimize expensive black-box functions with limited evaluations. In this paper, we investigate the use of BO for prompt engineering to enhance text classification with Large Language Models (LLMs). We employ an LLM-powered Gaussian Process (GP) as the surrogate model to estimate the performance of different prompt candidates. These candidates are generated by an LLM through the expansion of a set of seed prompts and are subsequently evaluated using an Upper Confidence Bound (UCB) acquisition function in conjunction with the GP posterior. The optimization process iteratively refines the prompts based on a subset of the data, aiming to improve classification accuracy while reducing the number of API calls by leveraging the prediction uncertainty of the LLM-based GP. The proposed BO-LLM algorithm is evaluated on two datasets, and its advantages are discussed in detail in this paper.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 5 Oct 2025.

Builds on

17 of 25 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  6. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  7. 2023Large Language Models as Optimizerscited by 864
  8. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  9. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  10. 2017"Liar, Liar Pants on Fire": A New Benchmark Dataset for Fake News Detectioncited by 363
  11. 2018Neural Architecture Search with Bayesian Optimisation and Optimal Transportcited by 195
  12. 2024Non-Determinism of "Deterministic" LLM Settingscited by 92
5 more
  1. 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
  2. 2024Prompt Design and Engineering: Introduction and Advanced Methodscited by 45
  3. 2023Large Language Models Are Zero-Shot Text Classifierscited by 35
  4. 2021Bayesian Optimization of Function Networkscited by 33
  5. 2024Causal Bayesian Optimization via Exogenous Distribution Learningcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.