mlsanityData to 7 Oct 2026

Hyperband-based Bayesian Optimization for Black-box Prompt Selection

arXiv 2412.07820 ↗First posted 10 Dec 2024cs.LG cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Optimal prompt selection is crucial for maximizing large language model (LLM) performance on downstream tasks, especially in black-box settings where models are only accessible via APIs. Black-box prompt selection is challenging due to potentially large, combinatorial search spaces, absence of gradient information, and high evaluation cost of prompts on a validation set. We propose HbBoPs, a novel method that combines a structural-aware deep kernel Gaussian Process with Hyperband as a multi-fidelity scheduler to efficiently select prompts. HbBoPs uses embeddings of instructions and few-shot exemplars, treating them as modular components within prompts. This enhances the surrogate model's ability to predict which prompt to evaluate next in a sample-efficient manner. Hyperband improves query-efficiency by adaptively allocating resources across different fidelity levels, reducing the number of validation instances required for evaluating prompts. Extensive experiments across ten diverse benchmarks and three LLMs demonstrate that HbBoPs outperforms state-of-the-art methods in both performance and efficiency.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 46 of its 64 references that are in the map. First posted on arXiv 10 Dec 2024.

Builds on

46 of 64 references.

References · 46

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  5. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  8. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  9. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
  10. 2023Large Language Models as Optimizerscited by 830
  11. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  12. 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 688
34 more
  1. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  2. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  3. 2018GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Accelerationcited by 603
  4. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  5. 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 466
  6. 2015Deep Kernel Learningcited by 440
  7. 2019Scalable Global Optimization via Local Bayesian Optimizationcited by 359
  8. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
  9. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  10. 2015Non-stochastic Best Arm Identification and Hyperparameter Optimizationcited by 219
  11. 2018WikiHow: A Large Scale Text Summarization Datasetcited by 203
  12. 2018A System for Massively Parallel Hyperparameter Tuningcited by 201
  13. 2013Bayesian Optimization in a Billion Dimensions via Random Embeddingscited by 178
  14. 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
  15. 2023Compositional Exemplars for In-context Learningcited by 143
  16. 2021High-Dimensional Bayesian Optimization with Sparse Axis-Aligned Subspacescited by 139
  17. 2015High Dimensional Bayesian Optimisation and Bandits via Additive Modelscited by 137
  18. 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
  19. 2024Vanilla Bayesian Optimization Performs Great in High Dimensionscited by 87
  20. 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
  21. 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 69
  22. 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
  23. 2022BBTv2: Towards a Gradient-Free Future with Large Language Modelscited by 53
  24. 2023A Study of Bayesian Neural Network Surrogates for Bayesian Optimizationcited by 50
  25. 2022GPS: Genetic Prompt Search for Efficient Few-shot Learningcited by 37
  26. 2024Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplarscited by 37
  27. 2024Efficient Prompt Optimization Through the Lens of Best Arm Identificationcited by 35
  28. 2024Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimizationcited by 29
  29. 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 28
  30. 2024Localized Zeroth-Order Prompt Optimizationcited by 23
  31. 2021Fixed-Budget Best-Arm Identification in Structured Banditscited by 22
  32. 2024Understanding LLM Embeddings for Regressioncited by 19
  33. 2023Reliable Gradient-free and Likelihood-free Prompt Tuningcited by 8
  34. 2024Language Model Prompt Selection via Simulation Optimizationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 4.

9 papers.