Bayesian Optimization for Instruction Generation
Source abstract
Abstract
The performance of Large Language Models (LLMs) strongly depends on the selection of the best instructions for different downstream tasks, especially in the case of black-box LLMs. This study introduces BOInG (Bayesian Optimization for Instruction Generation), a method leveraging Bayesian Optimization (BO) to efficiently generate instructions while addressing the combinatorial nature of instruction search. Over the last decade, BO has emerged as a highly effective optimization method in various domains due to its flexibility and sample efficiency. At its core, BOInG employs Bayesian search in a low-dimensional continuous space, projecting solutions into a high-dimensional token embedding space to retrieve discrete tokens. These tokens act as seeds for the generation of human-readable, task-relevant instructions. Experimental results demonstrate that BOInG achieves comparable or superior performance to state-of-the-art methods, such as InstructZero and Instinct, with substantially lower resource requirements while also enabling the use of both white-box and black-box models. This approach offers both theoretical and practical benefits without requiring specialized hardware.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Video Analysis and Summarization · Intelligent Tutoring Systems and Adaptive Learning · Multimedia Communication and Technology
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science Systems and Communication, University of Milano-Bicocca, 20126 Milano, Italy
Department of Economics Management and Statistics, University of Milano-Bicocca, 20126 Milano, Italy
OAKS s.r.l., 20125 Milan, Italy
References (16)
Show source-provided references
1. Song, X., Tian, Y., Lange, R.T., Lee, C., Tang, Y., and Chen, Y. (2024). Position Paper: Leveraging Foundational Models for Black-Box Optimization: Benefits, challenges, and Future Directions. arXiv.
2. Liu, S., Chen, C., Qu, X., Tang, K., and Ong, Y.S. (2023). Large language models as evolutionary optimizers. arXiv.10.1109/CEC60901.2024.10611913 ↗
3. Song, X., Li, O., Lee, C., Peng, D., Perel, S., and Chen, Y. (2024). Omnipred: Language models as universal regressors. arXiv.
4. Lange, R.T., Tian, Y., and Tang, Y. (2024). Evolution Transformer: In-Context Evolutionary Optimization. arXiv.10.1145/3638530.3654393 ↗
5. Liu, F., Lin, X., Wang, Z., Yao, S., Tong, X., Yuan, M., and Zhang, Q. (2023). Large language model for multi-objective evolutionary optimization. arXiv.
6. Liu, F., Tong, X., Yuan, M., and Zhang, Q. (2023). Algorithm evolution using large language model. arXiv.
7. Li, J., Song, F., Jin, Y., Qiang, W., Zheng, C., Sun, F., and Xiong, H. (2024). BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstraction. arXiv.
8. Müller, S., Hollmann, N., Arango, S.P., Grabocka, J., and Hutter, F. (2021). Transformers can do bayesian inference. arXiv.
9. Liu, T., Astorga, N., Seedat, N., and van der Schaar, M. (2024). Large language models to enhance bayesian optimization. arXiv.
10. Archetti, F., and Candelieri, A. (2019). Bayesian Optimization and Data Science, Springer International Publishing.10.1007/978-3-030-24494-1 ↗
11. Garnett, R. (2023). Bayesian Optimization, Cambridge University Press.10.1017/9781108348973 ↗
12. Williams, C.K., and Rasmussen, C.E. (2006). Gaussian Processes for Machine Learning, MIT Press.10.7551/mitpress/3206.001.0001 ↗
13. Gramacy, R.B. (2020). Surrogates: Gaussian Process Modeling, Design, and Optimization for the Applied Sciences, Chapman and Hall/CRC.10.1201/9780367815493 ↗
14. Chen, L., Chen, J., Goldstein, T., Huang, H., and Zhou, T. (2023). InstructZero: Efficient instruction optimization for black-box large language models. arXiv.
15. Lin, X., Wu, Z., Dai, Z., Hu, W., Shu, Y., Ng, S.K., Jaillet, P., and Low, B.K.H. (2023). Use your instinct: Instruction optimization using neural bandits coupled with transformers. arXiv.
16. Sabbatella, A., Ponti, A., Giordani, I., Candelieri, A., and Archetti, F. (2024). Prompt Optimization in Large Language Models. Mathematics, 12.10.3390/math12060929 ↗